From: Sam Ravnborg <sam@ravnborg.org>
To: Noralf T <noralf@tronnes.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Cc: Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH v1 4/5] dt-bindings: add winstar,wg160160 display bindings
Date: Thu, 2 Aug 2018 21:45:35 +0200 [thread overview]
Message-ID: <20180802194536.10820-4-sam@ravnborg.org> (raw)
In-Reply-To: <20180802193909.GA11443@ravnborg.org>
The winstar display uses the pardata binding.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
.../bindings/display/winstar,wg160160.txt | 53 ++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/winstar,wg160160.txt
diff --git a/Documentation/devicetree/bindings/display/winstar,wg160160.txt b/Documentation/devicetree/bindings/display/winstar,wg160160.txt
new file mode 100644
index 000000000000..893065d558c1
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/winstar,wg160160.txt
@@ -0,0 +1,53 @@
+DT binding for Winstar WG160160
+
+This binding is for the Winstar WG160160 display using a RA8822 controller
+
+Required properties:
+- compatible: "winstar,wg160160"
+- reg: numeric identifier for the display
+
+The node for this driver must be a child node of a parallel-data-bus, hence
+all mandatory properties described in ../pardata/parallel-data-bus.txt
+must be specified.
+
+Optional properties:
+- chipselect-gpios: GPIO used for chipselect of the display
+- reset-gpios: GPIO that can be used to do a hardware reset of the display
+- backlight: phandle of the backlight device attached to the panel
+- regulator: phandle of the regulator that provides the supply voltage
+
+Example:
+
+ backlight: backlight {
+ compatible = "gpio-backlight";
+ }
+
+ power: regulator@0 {
+ }
+
+ pardatabus {
+ compatible = "parallel-data-bus";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pardata>;
+ data-gpios = <&pioe 0 GPIO_ACTIVE_HIGH
+ &pioe 1 GPIO_ACTIVE_HIGH
+ &pioe 2 GPIO_ACTIVE_HIGH
+ &pioe 3 GPIO_ACTIVE_HIGH
+ &pioe 4 GPIO_ACTIVE_HIGH
+ &pioe 5 GPIO_ACTIVE_HIGH
+ &pioe 6 GPIO_ACTIVE_HIGH
+ &pioe 7 GPIO_ACTIVE_HIGH>;
+ enable-gpios = <&pioe 8 GPIO_ACTIVE_HIGH>;
+ rs-gpios = <&pioe 12 GPIO_ACTIVE_HIGH>;
+ readdwrite-gpios = <&pioe 11 GPIO_ACTIVE_HIGH>;
+
+ wg160160@0 {
+ compatible = "winstar,wg160160";
+ reg = <1>;
+ reset-gpios = <&pioe 13 GPIO_ACTIVE_LOW>;
+ chipselect-gpios = <&pioe 9 GPIO_ACTIVE_LOW>;
+ backlight = &backlight;
+ power = &power;
+ }
+ }
+
--
2.12.0
next prev parent reply other threads:[~2018-08-02 19:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-02 19:39 [RFC PATCH v1 0/5] Add pardata bus + tinydrm driver Sam Ravnborg
2018-08-02 19:45 ` [PATCH v1 1/5] dt-bindings: add parallel data bus (pardata) Sam Ravnborg
2018-08-02 19:45 ` [PATCH v1 2/5] pardata: new bus for parallel data access Sam Ravnborg
2018-08-07 16:40 ` Noralf Trønnes
2018-08-08 8:24 ` Sam Ravnborg
2018-08-08 16:22 ` Noralf Trønnes
2020-01-20 10:10 ` Geert Uytterhoeven
2020-01-20 18:48 ` Sam Ravnborg
2020-01-20 19:12 ` Geert Uytterhoeven
2020-01-20 19:23 ` Sam Ravnborg
2018-08-02 19:45 ` [PATCH v1 3/5] tinydrm: add support for parallel data displays Sam Ravnborg
2018-08-02 19:45 ` Sam Ravnborg [this message]
2018-08-02 19:45 ` [PATCH v1 5/5] tinydrm: add winstar wg160160 driver Sam Ravnborg
2018-08-06 9:15 ` Dan Carpenter
2018-08-06 12:07 ` Sam Ravnborg
2018-08-07 17:35 ` Noralf Trønnes
2018-08-08 8:32 ` Sam Ravnborg
2018-08-08 16:31 ` Noralf Trønnes
2018-08-02 19:46 ` [RFC PATCH v1 0/5] Add pardata bus + tinydrm driver Miguel Ojeda
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=20180802194536.10820-4-sam@ravnborg.org \
--to=sam@ravnborg.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.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
Powered by JetHome