[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1605684945-29727-4-git-send-email-mikhail_durnev@mentor.com>
Date: Wed, 18 Nov 2020 17:35:45 +1000
From: mdurnev@...il.com
To: linux-kernel@...r.kernel.org
Cc: mikhail_durnev@...tor.com, dri-devel@...ts.freedesktop.org,
noralf@...nnes.org
Subject: [PATCH 3/3] dt-bindings: panel: Add bindings for MRB2801
From: Mikhail Durnev <mikhail_durnev@...tor.com>
Add binding for Ronbo MRB2801 display module.
This binding is for display panels using an Ilitek ILI9341 controller in
parallel mode.
Signed-off-by: Mikhail Durnev <mikhail_durnev@...tor.com>
---
.../devicetree/bindings/display/ronbo,mrb2801.txt | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/ronbo,mrb2801.txt
diff --git a/Documentation/devicetree/bindings/display/ronbo,mrb2801.txt b/Documentation/devicetree/bindings/display/ronbo,mrb2801.txt
new file mode 100644
index 0000000..db1a861e
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ronbo,mrb2801.txt
@@ -0,0 +1,42 @@
+MRB2801 display panel
+
+This binding is for display panels using an Ilitek ILI9341 controller in
+parallel mode.
+
+Required properties:
+- compatible: "ronbo,mrb2801"
+- dc-gpios: D/C pin
+- wr-gpios: W/R pin
+- db-gpios: 8 or 16 DB pins
+- reset-gpios: Reset pin
+- wr-up-down-delays: Delays in ns for changing W/R from down to up and from up to down
+
+Optional properties:
+- backlight: phandle of the backlight device attached to the panel
+- rotation: panel rotation in degrees counter clockwise (0,90,180,270)
+
+Example:
+ mrb2801{
+ compatible = "ronbo,mrb2801";
+ db-gpios = <&gpio 17 0>, /* DB0 */
+ <&gpio 18 0>, /* DB1 */
+ <&gpio 27 0>, /* DB2 */
+ <&gpio 22 0>, /* DB3 */
+ <&gpio 23 0>, /* DB4 */
+ <&gpio 24 0>, /* DB5 */
+ <&gpio 25 0>, /* DB6 */
+ <&gpio 4 0>, /* DB7 */
+ <&gpio 14 0>, /* DB8 */
+ <&gpio 15 0>, /* DB9 */
+ <&gpio 5 0>, /* DB10 */
+ <&gpio 6 0>, /* DB11 */
+ <&gpio 13 0>, /* DB12 */
+ <&gpio 19 0>, /* DB13 */
+ <&gpio 26 0>, /* DB14 */
+ <&gpio 12 0>; /* DB15 */
+ dc-gpios = <&gpio 16 0>; /* D/C */
+ wr-gpios = <&gpio 20 0>; /* W/R */
+ wr-up-down-delays = <10 51>;
+ reset-gpios = <&gpio 21 0>; /* RST */
+ backlight = <&backlight>;
+ };
--
2.7.4
Powered by blists - more mailing lists