About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / pwm / pwm-sun4i.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

1	Allwinner sun4i and sun7i SoC PWM controller
2	
3	Required properties:
4	  - compatible: should be one of:
5	    - "allwinner,sun4i-a10-pwm"
6	    - "allwinner,sun5i-a10s-pwm"
7	    - "allwinner,sun5i-a13-pwm"
8	    - "allwinner,sun7i-a20-pwm"
9	    - "allwinner,sun8i-h3-pwm"
10	  - reg: physical base address and length of the controller's registers
11	  - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
12	    the cells format.
13	  - clocks: From common clock binding, handle to the parent clock.
14	
15	Example:
16	
17		pwm: pwm@1c20e00 {
18			compatible = "allwinner,sun7i-a20-pwm";
19			reg = <0x01c20e00 0xc>;
20			clocks = <&osc24M>;
21			#pwm-cells = <3>;
22		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog