devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Lechner <david@lechnology.com>
To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>,
	David Lechner <david@lechnology.com>,
	Rob Herring <robh+dt@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v1 1/2] dt-bindings: Add binding for Ilitek ILI9225 display panels
Date: Tue,  7 Nov 2017 21:52:15 -0600	[thread overview]
Message-ID: <1510113136-6788-2-git-send-email-david@lechnology.com> (raw)
In-Reply-To: <1510113136-6788-1-git-send-email-david@lechnology.com>

This adds a new binding for display panels that use an Ilitek ILI9225
controller.

The "generic,2.2in-176x220-ili9225-tft" device listed has no identification
markings whatsoever and an hour of googling turned up nothing, hence the use
of "generic".

An example of this nameless device can be found at:
https://github.com/Nkawu/TFT_22_ILI9225

Signed-off-by: David Lechner <david@lechnology.com>
---
 .../devicetree/bindings/display/ilitek,ili9225.txt | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9225.txt

diff --git a/Documentation/devicetree/bindings/display/ilitek,ili9225.txt b/Documentation/devicetree/bindings/display/ilitek,ili9225.txt
new file mode 100644
index 0000000..5839f56
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ilitek,ili9225.txt
@@ -0,0 +1,25 @@
+Ilitek ILI9225 display panels
+
+This binding is for display panels using an Ilitek ILI9225 controller in SPI
+mode.
+
+Required properties:
+- compatible:	"generic,2.2in-176x220-ili9225-tft"
+- rs-gpios:	Register select signal
+- reset-gpios:	Reset pin
+
+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.
+
+Optional properties:
+- rotation:	panel rotation in degrees counter clockwise (0,90,180,270)
+
+Example:
+	display@0{
+		compatible = "generic,2.2in-176x220-ili9225-tft";
+		reg = <0>;
+		spi-max-frequency = <12000000>;
+		rs-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+		reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+		rotation = <270>;
+	};
-- 
2.7.4

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

  reply	other threads:[~2017-11-08  3:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-08  3:52 [PATCH v1 0/2] DRM driver for ILI9225 display panels David Lechner
2017-11-08  3:52 ` David Lechner [this message]
     [not found]   ` <1510113136-6788-2-git-send-email-david-nq/r/kbU++upp/zk7JDF2g@public.gmane.org>
2017-11-10 21:31     ` [PATCH v1 1/2] dt-bindings: Add binding for Ilitek " Rob Herring
2017-11-08  3:52 ` [PATCH v1 2/2] drm/tinydrm: add driver for ILI9225 panels David Lechner
     [not found]   ` <1510113136-6788-3-git-send-email-david-nq/r/kbU++upp/zk7JDF2g@public.gmane.org>
2017-11-10 18:44     ` Noralf Trønnes
2017-12-01 14:03   ` Linus Walleij
     [not found]     ` <CACRpkdYRQoTyzTOK=8n7sawDZAWS3sXRDdDdFpxhZKuV+DE5oQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-01 18:27       ` Noralf Trønnes
2017-12-04  7:45     ` Daniel Vetter
     [not found] ` <1510113136-6788-1-git-send-email-david-nq/r/kbU++upp/zk7JDF2g@public.gmane.org>
2017-11-10 12:33   ` [PATCH v1 0/2] DRM driver for ILI9225 display panels Noralf Trønnes

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=1510113136-6788-2-git-send-email-david@lechnology.com \
    --to=david@lechnology.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.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).