Rob Clark | 16ea975 | 2013-01-08 15:04:28 -0600 | [diff] [blame] | 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 | |
Darren Etheridge | 4e56434 | 2013-06-21 13:52:23 -0500 | [diff] [blame] | 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 | |
Jyri Sarha | 103cd8b | 2015-02-10 14:13:23 +0200 | [diff] [blame] | 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 | |
Rob Clark | 16ea975 | 2013-01-08 15:04:28 -0600 | [diff] [blame] | 27 | Example: |
| 28 | |
| 29 | fb: fb@4830e000 { |
| 30 | compatible = "ti,am33xx-tilcdc"; |
| 31 | reg = <0x4830e000 0x1000>; |
| 32 | interrupt-parent = <&intc>; |
| 33 | interrupts = <36>; |
| 34 | ti,hwmods = "lcdc"; |
Jyri Sarha | 103cd8b | 2015-02-10 14:13:23 +0200 | [diff] [blame] | 35 | |
| 36 | port { |
| 37 | lcdc_0: endpoint@0 { |
| 38 | remote-endpoint = <&hdmi_0>; |
| 39 | }; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | tda19988: tda19988 { |
| 44 | compatible = "nxp,tda998x"; |
| 45 | reg = <0x70>; |
| 46 | |
| 47 | pinctrl-names = "default", "off"; |
| 48 | pinctrl-0 = <&nxp_hdmi_bonelt_pins>; |
| 49 | pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>; |
| 50 | |
| 51 | port { |
| 52 | hdmi_0: endpoint@0 { |
| 53 | remote-endpoint = <&lcdc_0>; |
| 54 | }; |
| 55 | }; |
Rob Clark | 16ea975 | 2013-01-08 15:04:28 -0600 | [diff] [blame] | 56 | }; |