Signed-off-by: Robert Chiras <robert.chi...@nxp.com>
---
 .../bindings/display/panel/raydium,rm67191.txt     | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 
Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt

diff --git 
a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt 
b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt
new file mode 100644
index 0000000..0fe6d4b
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt
@@ -0,0 +1,38 @@
+Raydium RM67171 OLED LCD panel with MIPI-DSI protocol
+
+Required properties:
+- compatible:          "raydium,rm67191"
+- reg:                 virtual channel for MIPI-DSI protocol
+                       must be <0>
+- dsi-lanes:           number of DSI lanes to be used
+                       must be <3> or <4>
+- port:                input port node with endpoint definition as
+                       defined in Documentation/devicetree/bindings/graph.txt;
+                       the input port should be connected to a MIPI-DSI device
+                       driver
+
+Optional properties:
+- reset-gpio:          a GPIO spec for the RST_B GPIO pin
+- pinctrl-0            phandle to the pin settings for the reset pin
+- panel-width-mm:      physical panel width [mm]
+- panel-height-mm:     physical panel height [mm]
+
+[1]: Documentation/devicetree/bindings/display/display-timing.txt
+
+Example:
+
+       panel@0 {
+               compatible = "raydium,rm67191";
+               reg = <0>;
+               pinctrl-0 = <&pinctrl_mipi_dsi_0_1_en>;
+               reset-gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
+               dsi-lanes = <4>;
+               panel-width-mm = <68>;
+               panel-height-mm = <121>;
+
+               port {
+                       panel1_in: endpoint {
+                               remote-endpoint = <&mipi1_out>;
+                       };
+               };
+       };
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to