diff options
author | Bai Ping <ping.bai@nxp.com> | 2017-03-21 11:16:18 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | de4ab5ddf9862e06cec5d163121e8889dcd430f7 (patch) | |
tree | e9b45e774616081ee3471f0f6c65a18a723d390b /Documentation/devicetree/bindings/pwm | |
parent | bbe317874b9ab7a1e2caf7a60c8590e4775c70f9 (diff) |
MLK-14238-02 Doc: bingding: pwm: Add binging doc for tpm-pwm module
Add binding doc for tpm pwm module.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt b/Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt new file mode 100644 index 000000000000..ac445a7ceb93 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt @@ -0,0 +1,18 @@ +NXP TPM PWM controller + +Required properties: +- compatible: should be "nxp,tpm-pwm" +- reg: physical base address and length of the controller's registers +- #pwm-cells: should be 2. See pwm.txt in this directory for a description of + the cells format. +- nxp,pwm-number: the number of PWM devices + +Example: + +pwm0: tpm@40250000 { + compatible = "nxp,tpm-pwm"; + reg = <0x40250000 0x1000>; + nxp,pwm-number = <6>; + #pwm-cells = <2>; +}; + |