From de4ab5ddf9862e06cec5d163121e8889dcd430f7 Mon Sep 17 00:00:00 2001 From: Bai Ping Date: Tue, 21 Mar 2017 11:16:18 +0800 Subject: 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 --- Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt (limited to 'Documentation/devicetree/bindings/pwm') 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>; +}; + -- cgit v1.2.3