Merge tag 'drm-intel-next-2016-08-08' of git://anongit.freedesktop.org/drm-intel...
[cascardo/linux.git] / Documentation / devicetree / bindings / display / tilcdc / tilcdc.txt
1 Device-Tree bindings for tilcdc DRM driver
2
3 Required properties:
4  - compatible: value should be "ti,am33xx-tilcdc".
5  - interrupts: the interrupt number
6  - reg: base address and size of the LCDC device
7
8 Recommended properties:
9  - interrupt-parent: the phandle for the interrupt controller that
10    services interrupts for this device.
11  - ti,hwmods: Name of the hwmod associated to the LCDC
12
13 Optional properties:
14  - max-bandwidth: The maximum pixels per second that the memory
15    interface / lcd controller combination can sustain
16  - max-width: The maximum horizontal pixel width supported by
17    the lcd controller.
18  - max-pixelclock: The maximum pixel clock that can be supported
19    by the lcd controller in KHz.
20
21 Optional nodes:
22
23  - port/ports: to describe a connection to an external encoder. The
24    binding follows Documentation/devicetree/bindings/graph.txt and
25    suppors a single port with a single endpoint.
26
27  - See also Documentation/devicetree/bindings/display/tilcdc/panel.txt and
28    Documentation/devicetree/bindings/display/tilcdc/tfp410.txt for connecting
29    tfp410 DVI encoder or lcd panel to lcdc
30
31 Example:
32
33         fb: fb@4830e000 {
34                 compatible = "ti,am33xx-tilcdc";
35                 reg = <0x4830e000 0x1000>;
36                 interrupt-parent = <&intc>;
37                 interrupts = <36>;
38                 ti,hwmods = "lcdc";
39
40                 port {
41                         lcdc_0: endpoint@0 {
42                                 remote-endpoint = <&hdmi_0>;
43                         };
44                 };
45         };
46
47         tda19988: tda19988 {
48                 compatible = "nxp,tda998x";
49                 reg = <0x70>;
50
51                 pinctrl-names = "default", "off";
52                 pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
53                 pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
54
55                 port {
56                         hdmi_0: endpoint@0 {
57                                 remote-endpoint = <&lcdc_0>;
58                         };
59                 };
60         };