[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5ba77164-cbb5-8c2f-5980-5dce22716329@jaseg.net>
Date: Tue, 30 Jul 2019 22:48:26 +0900
From: Jan Sebastian Götte <linux@...eg.net>
To: dri-devel@...ts.freedesktop.org
Cc: Noralf Trønnes <noralf@...nnes.org>,
Daniel Vetter <daniel@...ll.ch>, linux-kernel@...r.kernel.org,
David Airlie <airlied@...ux.ie>
Subject: [PATCH 4/6] dt-bindings: add gdepaper documentation
Signed-off-by: Jan Sebastian Götte <linux@...eg.net>
---
.../devicetree/bindings/display/gdepaper.txt | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/gdepaper.txt
diff --git a/Documentation/devicetree/bindings/display/gdepaper.txt b/Documentation/devicetree/bindings/display/gdepaper.txt
new file mode 100644
index 000000000000..7b86304d982f
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/gdepaper.txt
@@ -0,0 +1,27 @@
+Good Display/Waveshare e-ink displays
+
+Required properties:
+- compatible: "gooddisplay,wfi0190cz22" for 2.7" b/w/red displays,
+ replace part number for other displays.
+ Use "gooddisplay,generic_epaper" to manually configure
+ the display's resolution etc.
+
+- dc-gpios: Data Command
+- reset-gpios: Reset pin
+- busy-gpios: Busy pin
+- spi-speed-hz SPI baud rate to use to when talking to the display
+
+The node for this driver must be a child node of a SPI controller, hence
+all mandatory properties described in ../spi/spi-bus.txt must be specified.
+
+Example:
+
+ epaper@0{
+ compatible = "gooddisplay,gdew042z15";
+ reg = <0>;
+ spi-speed-hz = <1000000>;
+ spi-max-frequency = <6000000>;
+ dc-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+ busy-gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
+ };
--
2.21.0
Powered by blists - more mailing lists