LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: David Lechner <david@lechnology.com>
To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org
Cc: "David Lechner" <david@lechnology.com>,
	"Noralf Trønnes" <noralf@tronnes.org>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	limor@ladyada.net, "Nitin Patil" <nitin@mindsensors.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 3/4] dt-bindings: new binding for Ilitek ILI9341 display panels
Date: Fri, 25 May 2018 14:36:22 -0500	[thread overview]
Message-ID: <20180525193623.15533-4-david@lechnology.com> (raw)
In-Reply-To: <20180525193623.15533-1-david@lechnology.com>

This adds a new binding for Ilitek ILI9341 display panels. It includes
a compatible string for one display (more can be added in the future).

The vendor prefix "noname" is used because the vendor is not known.
The YX240QV29-T panel[1] is found, for example, in an Adafruit breakout
board[2] and in Mindsensors' PiStorms[3].

[1]: https://cdn-learn.adafruit.com/assets/assets/000/046/879/original/SPEC-YX240QV29-T_Rev.A__1_.pdf
[2]: https://www.adafruit.com/product/2478
[3]: http://www.mindsensors.com/stem-with-robotics/13-pistorms-v2-base-kit-raspberry-pi-brain-for-lego-robot

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

diff --git a/Documentation/devicetree/bindings/display/ilitek,ili9341.txt b/Documentation/devicetree/bindings/display/ilitek,ili9341.txt
new file mode 100644
index 000000000000..169b32e4ee4e
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/ilitek,ili9341.txt
@@ -0,0 +1,27 @@
+Ilitek ILI9341 display panels
+
+This binding is for display panels using an Ilitek ILI9341 controller in SPI
+mode.
+
+Required properties:
+- compatible:	"adafruit,yx240qv29", "ilitek,ili9341"
+- dc-gpios:	D/C pin
+- 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)
+- backlight:	phandle of the backlight device attached to the panel
+
+Example:
+	display@0{
+		compatible = "adafruit,yx240qv29", "ilitek,ili9341";
+		reg = <0>;
+		spi-max-frequency = <32000000>;
+		dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+		reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+		rotation = <270>;
+		backlight = <&backlight>;
+	};
-- 
2.17.0

  parent reply	other threads:[~2018-05-25 19:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25 19:36 [PATCH v2 0/4] drm/tinydrm: new dirver for ILI9341 displays David Lechner
2018-05-25 19:36 ` [PATCH v2 1/4] MAINTAINERS: fix path to ilitek,ili9225 device tree bindings David Lechner
2018-05-25 19:36 ` [PATCH v2 2/4] dt-bindings: Add vendor prefix for Adafruit David Lechner
2018-05-31  3:38   ` Rob Herring
2018-05-25 19:36 ` David Lechner [this message]
2018-05-25 20:14   ` [PATCH v2 3/4] dt-bindings: new binding for Ilitek ILI9341 display panels David Lechner
2018-05-31  3:39     ` Rob Herring
2018-05-25 19:36 ` [PATCH v2 4/4] drm/tinydrm: new driver for " David Lechner
2018-05-27 14:04   ` kbuild test robot
2018-05-27 14:04   ` kbuild test robot
2018-05-27 14:50   ` kbuild test robot
2018-05-25 19:36 ` [PATCH v2 0/4] drm/tinydrm: new dirver for ILI9341 displays Robert P. J. Day
2018-06-03 22:00 ` Noralf Trønnes
2018-06-04  1:21   ` David Lechner
2018-06-05 15:49     ` Noralf Trønnes
2018-06-19 15:36       ` Noralf Trønnes
2018-06-20  9:07         ` Daniel Vetter
2018-06-26 18:16           ` David Lechner
2018-06-27  6:58             ` Daniel Vetter
2018-06-27 18:08               ` David Lechner

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=20180525193623.15533-4-david@lechnology.com \
    --to=david@lechnology.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=limor@ladyada.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nitin@mindsensors.com \
    --cc=noralf@tronnes.org \
    --cc=robh+dt@kernel.org \
    --subject='Re: [PATCH v2 3/4] dt-bindings: new binding for Ilitek ILI9341 display panels' \
    /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

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).