X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=Documentation%2Fdevicetree%2Fbindings%2Fpwm%2Fpwm-sun4i.txt;fp=Documentation%2Fdevicetree%2Fbindings%2Fpwm%2Fpwm-sun4i.txt;h=ae0273e19506289420afc6862df09ad00c6e6a62;hb=bbf44583ace773a2e157339b0ce72f7d146685e9;hp=0000000000000000000000000000000000000000;hpb=5cfb02d6068288dbe05fc4a7adaa773cca45e406;p=firefly-linux-kernel-4.4.55.git diff --git a/Documentation/devicetree/bindings/pwm/pwm-sun4i.txt b/Documentation/devicetree/bindings/pwm/pwm-sun4i.txt new file mode 100644 index 000000000000..ae0273e19506 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-sun4i.txt @@ -0,0 +1,20 @@ +Allwinner sun4i and sun7i SoC PWM controller + +Required properties: + - compatible: should be one of: + - "allwinner,sun4i-a10-pwm" + - "allwinner,sun7i-a20-pwm" + - reg: physical base address and length of the controller's registers + - #pwm-cells: should be 3. See pwm.txt in this directory for a description of + the cells format. + - clocks: From common clock binding, handle to the parent clock. + +Example: + + pwm: pwm@01c20e00 { + compatible = "allwinner,sun7i-a20-pwm"; + reg = <0x01c20e00 0xc>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + };