diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-01-27 22:35:43 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-09 23:15:48 +0200 |
commit | 4a9b8e4df51df8f21c2dacf54bcefa258beb5e8b (patch) | |
tree | 17e6e44d0531b7f7870b6731ead5c07d39b924be /Documentation/devicetree/bindings | |
parent | ee376dfac67d0fc3e3359c2b5c8ed5186e8a5616 (diff) | |
download | op-kernel-dev-4a9b8e4df51df8f21c2dacf54bcefa258beb5e8b.zip op-kernel-dev-4a9b8e4df51df8f21c2dacf54bcefa258beb5e8b.tar.gz |
dt-bindings: Add TPO TPG110 binding
This adds device tree bindings for the TPO TPG110 panel found
mounted in the Nomadik NHK8815.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt new file mode 100644 index 0000000..f5e3c6f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt @@ -0,0 +1,47 @@ +TPO TPG110 Panel +================ + +This binding builds on the DPI bindings, adding a few properties +as a superset of a DPI. See panel-dpi.txt for the required DPI +bindings. + +Required properties: +- compatible : "tpo,tpg110" +- grestb-gpios : panel reset GPIO +- scen-gpios : serial control enable GPIO +- scl-gpios : serial control clock line GPIO +- sda-gpios : serial control data line GPIO + +Required nodes: +- Video port for DPI input, see panel-dpi.txt +- Panel timing for DPI setup, see panel-dpi.txt + +Example +------- + +panel { + compatible = "tpo,tpg110", "panel-dpi"; + grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>; + scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; + scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; + backlight = <&bl>; + + port { + nomadik_clcd_panel: endpoint { + remote-endpoint = <&nomadik_clcd_pads>; + }; + }; + + panel-timing { + clock-frequency = <33200000>; + hactive = <800>; + hback-porch = <216>; + hfront-porch = <40>; + hsync-len = <1>; + vactive = <480>; + vback-porch = <35>; + vfront-porch = <10>; + vsync-len = <1>; + }; +}; |