diff options
author | Bai Ping <ping.bai@nxp.com> | 2017-03-21 11:16:18 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2017-06-09 22:18:26 +0800 |
commit | 0b79fcffd71a99ebf3b9812bc2338e165367387e (patch) | |
tree | 34781b63a0986b297fd5e9f90a537459b3cc2e0f /Documentation | |
parent | e7afa768ae9970789c4ee40aeaa20cb3b9568686 (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')
-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>; +}; + |