Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/bridge: Add sii902x DT bindings doc

Add Sii9022 DT bindings description.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
---
Changes since v6:
- make 'reset-gpios' optional

Changes since v1:
- rename doc file
- s/sil902/sii902/

+35
+35
Documentation/devicetree/bindings/display/bridge/sii902x.txt
··· 1 + sii902x HDMI bridge bindings 2 + 3 + Required properties: 4 + - compatible: "sil,sii9022" 5 + - reg: i2c address of the bridge 6 + 7 + Optional properties: 8 + - interrupts-extended or interrupt-parent + interrupts: describe 9 + the interrupt line used to inform the host about hotplug events. 10 + - reset-gpios: OF device-tree gpio specification for RST_N pin. 11 + 12 + Optional subnodes: 13 + - video input: this subnode can contain a video input port node 14 + to connect the bridge to a display controller output (See this 15 + documentation [1]). 16 + 17 + [1]: Documentation/devicetree/bindings/media/video-interfaces.txt 18 + 19 + Example: 20 + hdmi-bridge@39 { 21 + compatible = "sil,sii9022"; 22 + reg = <0x39>; 23 + reset-gpios = <&pioA 1 0>; 24 + ports { 25 + #address-cells = <1>; 26 + #size-cells = <0>; 27 + 28 + port@0 { 29 + reg = <0>; 30 + bridge_in: endpoint { 31 + remote-endpoint = <&dc_out>; 32 + }; 33 + }; 34 + }; 35 + };