diff options
author | Clark Wang <xiaoning.wang@nxp.com> | 2021-06-04 11:01:13 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2021-11-02 16:51:42 +0800 |
commit | 4e5b5eb5784baba33d483fb80eeb8e71056e0f89 (patch) | |
tree | 8696676a2e8ff2379167561503fc3b731cf81ebe | |
parent | 1c539095e2e67b3b5eaa7098d345d843d2628751 (diff) |
MLK-25559-2 dt-bindings: pwm: rpmsg-imx: add pwm over rpmsg drivers doc
Add new dt-bingdings doc for pwm over rpmsg driver.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Jun Li <jun.li@nxp.com>
(cherry picked from commit 3fe5d73064c7bd6fafc139232176d5a311526179)
-rw-r--r-- | Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml b/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml new file mode 100644 index 000000000000..04ce7305535d --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-rpmsg-imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX PWM over RPMSG driver + +maintainers: + - Clark Wang <xiaoning.wang@nxp.com> + +description: | + Acore may need to use some TPM resources of Mcore on some SoC platforms. + This driver provide a protocol to send pwm request through RPMSG to + Mcore and control the TPM modules on Mcore. + Mcore will operate its TPM modules according to the Acore request. + +properties: + "#pwm-cells": + const: 3 + + compatible: + enum: + - fsl,pwm-rpchip + + fsl,pwm-channel-number: + maxItems: 1 + +required: + - "#pwm-cells" + - compatible + - fsl,pwm-channel-number + +additionalProperties: false + +examples: + - | + tpm_rpchip_0: pwm { + compatible = "fsl,pwm-rpchip"; + fsl,pwm-channel-number = <6>; + #pwm-cells = <3>; + status = "okay"; + }; |