]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/pwm/atmel-hlcdc-pwm.txt
Merge tag 'dm-3.19-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[karo-tx-linux.git] / Documentation / devicetree / bindings / pwm / atmel-hlcdc-pwm.txt
1 Device-Tree bindings for Atmel's HLCDC (High-end LCD Controller) PWM driver
2
3 The Atmel HLCDC PWM is subdevice of the HLCDC MFD device.
4 See ../mfd/atmel-hlcdc.txt for more details.
5
6 Required properties:
7  - compatible: value should be one of the following:
8    "atmel,hlcdc-pwm"
9  - pinctr-names: the pin control state names. Should contain "default".
10  - pinctrl-0: should contain the pinctrl states described by pinctrl
11    default.
12  - #pwm-cells: should be set to 3. This PWM chip use the default 3 cells
13    bindings defined in pwm.txt in this directory.
14
15 Example:
16
17         hlcdc: hlcdc@f0030000 {
18                 compatible = "atmel,sama5d3-hlcdc";
19                 reg = <0xf0030000 0x2000>;
20                 clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
21                 clock-names = "periph_clk","sys_clk", "slow_clk";
22
23                 hlcdc_pwm: hlcdc-pwm {
24                         compatible = "atmel,hlcdc-pwm";
25                         pinctrl-names = "default";
26                         pinctrl-0 = <&pinctrl_lcd_pwm>;
27                         #pwm-cells = <3>;
28                 };
29         };