]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/drm/atmel/hlcdc-dc.txt
kernel: Remove unneeded return from void function
[karo-tx-linux.git] / Documentation / devicetree / bindings / drm / atmel / hlcdc-dc.txt
1 Device-Tree bindings for Atmel's HLCDC (High LCD Controller) DRM driver
2
3 The Atmel HLCDC Display Controller 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 "atmel,hlcdc-display-controller"
8  - pinctrl-names: the pin control state names. Should contain "default".
9  - pinctrl-0: should contain the default pinctrl states.
10  - #address-cells: should be set to 1.
11  - #size-cells: should be set to 0.
12
13 Required children nodes:
14  Children nodes are encoding available output ports and their connections
15  to external devices using the OF graph reprensentation (see ../graph.txt).
16  At least one port node is required.
17
18 Example:
19
20         hlcdc: hlcdc@f0030000 {
21                 compatible = "atmel,sama5d3-hlcdc";
22                 reg = <0xf0030000 0x2000>;
23                 interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
24                 clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
25                 clock-names = "periph_clk","sys_clk", "slow_clk";
26                 status = "disabled";
27
28                 hlcdc-display-controller {
29                         compatible = "atmel,hlcdc-display-controller";
30                         pinctrl-names = "default";
31                         pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
32                         #address-cells = <1>;
33                         #size-cells = <0>;
34
35                         port@0 {
36                                 #address-cells = <1>;
37                                 #size-cells = <0>;
38                                 reg = <0>;
39
40                                 hlcdc_panel_output: endpoint@0 {
41                                         reg = <0>;
42                                         remote-endpoint = <&panel_input>;
43                                 };
44                         };
45                 };
46
47                 hlcdc_pwm: hlcdc-pwm {
48                         compatible = "atmel,hlcdc-pwm";
49                         pinctrl-names = "default";
50                         pinctrl-0 = <&pinctrl_lcd_pwm>;
51                         #pwm-cells = <3>;
52                 };
53         };