]> git.baikalelectronics.ru Git - kernel.git/commitdiff
devicetree/bindings: display: Add bindings for two Mitsubishi panels
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 17 Nov 2016 23:06:02 +0000 (01:06 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Apr 2017 14:03:28 +0000 (17:03 +0300)
The AA104XD12 and AA121TD01 are LVDS display panels. Their bindings are
modelled on the the LVDS panel bindings.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt [new file with mode: 0644]
Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt
new file mode 100644 (file)
index 0000000..ced0121
--- /dev/null
@@ -0,0 +1,47 @@
+Mitsubishi AA204XD12 LVDS Display Panel
+=======================================
+
+The AA104XD12 is a 10.4" XGA TFT-LCD display panel.
+
+These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt
+with the following device-specific properties.
+
+
+Required properties:
+
+- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that
+  order.
+- vcc-supply: Reference to the regulator powering the panel VCC pins.
+
+
+Example
+-------
+
+panel {
+       compatible = "mitsubishi,aa104xd12", "panel-lvds";
+       vcc-supply = <&vcc_3v3>;
+
+       width-mm = <210>;
+       height-mm = <158>;
+
+       data-mapping = "jeida-24";
+
+       panel-timing {
+               /* 1024x768 @65Hz */
+               clock-frequency = <65000000>;
+               hactive = <1024>;
+               vactive = <768>;
+               hsync-len = <136>;
+               hfront-porch = <20>;
+               hback-porch = <160>;
+               vfront-porch = <3>;
+               vback-porch = <29>;
+               vsync-len = <6>;
+       };
+
+       port {
+               panel_in: endpoint {
+                       remote-endpoint = <&lvds_encoder>;
+               };
+       };
+};
diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt
new file mode 100644 (file)
index 0000000..d6e1097
--- /dev/null
@@ -0,0 +1,47 @@
+Mitsubishi AA121TD01 LVDS Display Panel
+=======================================
+
+The AA121TD01 is a 12.1" WXGA TFT-LCD display panel.
+
+These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt
+with the following device-specific properties.
+
+
+Required properties:
+
+- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that
+  order.
+- vcc-supply: Reference to the regulator powering the panel VCC pins.
+
+
+Example
+-------
+
+panel {
+       compatible = "mitsubishi,aa121td01", "panel-lvds";
+       vcc-supply = <&vcc_3v3>;
+
+       width-mm = <261>;
+       height-mm = <163>;
+
+       data-mapping = "jeida-24";
+
+       panel-timing {
+               /* 1280x800 @60Hz */
+               clock-frequency = <71000000>;
+               hactive = <1280>;
+               vactive = <800>;
+               hsync-len = <70>;
+               hfront-porch = <20>;
+               hback-porch = <70>;
+               vsync-len = <5>;
+               vfront-porch = <3>;
+               vback-porch = <15>;
+       };
+
+       port {
+               panel_in: endpoint {
+                       remote-endpoint = <&lvds_encoder>;
+               };
+       };
+};