linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Sebastian Götte" <linux@jaseg.net>
To: dri-devel@lists.freedesktop.org
Cc: "Noralf Trønnes" <noralf@tronnes.org>,
	"Daniel Vetter" <daniel@ffwll.ch>,
	linux-kernel@vger.kernel.org, "David Airlie" <airlied@linux.ie>
Subject: [PATCH 4/6] dt-bindings: add gdepaper documentation
Date: Tue, 30 Jul 2019 22:48:26 +0900	[thread overview]
Message-ID: <5ba77164-cbb5-8c2f-5980-5dce22716329@jaseg.net> (raw)
In-Reply-To: <3c8fccc9-63f7-18bb-dcb5-dcd0b9e151d2@jaseg.net>

Signed-off-by: Jan Sebastian Götte <linux@jaseg.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


  parent reply	other threads:[~2019-07-30 13:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 13:46 [RFC PATCH 0/6] tiny: Add driver for gooddisplay epaper panels Jan Sebastian Götte
2019-07-30 13:47 ` [PATCH 1/6] drm: tiny: gdepaper: add TINYDRM_GDEPAPER config option Jan Sebastian Götte
2019-07-30 13:48 ` [PATCH 2/6] dt-bindings: add gooddisplay vendor prefix Jan Sebastian Götte
2019-07-30 13:48 ` [PATCH 3/6] dt-bindings: add good display epaper header Jan Sebastian Götte
2019-07-30 13:48 ` Jan Sebastian Götte [this message]
2019-07-30 13:48 ` [PATCH 5/6] drm: uapi: add gdepaper uapi header Jan Sebastian Götte
2019-07-30 14:08   ` Emil Velikov
2019-07-30 16:21     ` Jan Sebastian Götte
2019-07-30 16:49       ` Emil Velikov
2019-07-31  2:01         ` Jan Sebastian Götte
2019-07-31  6:47           ` Daniel Vetter
2019-07-30 13:48 ` [PATCH 6/6] drm: tiny: gdepaper: add driver for 2/3 color epaper displays Jan Sebastian Götte
2019-08-06 16:06   ` Noralf Trønnes
2019-08-10  5:17     ` Jan Sebastian Götte
2019-07-30 14:26 ` [RFC PATCH 0/6] tiny: Add driver for gooddisplay epaper panels Daniel Vetter
2019-07-30 16:24   ` Jan Sebastian Götte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ba77164-cbb5-8c2f-5980-5dce22716329@jaseg.net \
    --to=linux@jaseg.net \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=noralf@tronnes.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).