[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190611140412.32151-11-michael.drake@codethink.co.uk>
Date: Tue, 11 Jun 2019 15:04:11 +0100
From: Michael Drake <michael.drake@...ethink.co.uk>
To: Andrzej Hajda <a.hajda@...sung.com>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Michael Drake <michael.drake@...ethink.co.uk>
Cc: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-kernel@...ts.codethink.co.uk,
Patrick Glaser <pglaser@...la.com>, Nate Case <ncase@...la.com>
Subject: [PATCH v1 10/11] dt-bindings: display/bridge: Add config property for ti949
The config property can be used to provide an array of
register addresses and values to be written to configure
the device for the board.
Signed-off-by: Michael Drake <michael.drake@...ethink.co.uk>
Cc: Patrick Glaser <pglaser@...la.com>
Cc: Nate Case <ncase@...la.com>
---
.../bindings/display/bridge/ti,ds90ub949.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt
index 3ba3897d5e81..b1e38d732f17 100644
--- a/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt
+++ b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt
@@ -12,6 +12,8 @@ Required properties:
Optional properties:
- regulators: List of regulator name strings to enable for operation of device.
+- config: List of <register address>,<value> pairs to be set to configure
+ device on powerup. The register addresses and values are 8bit.
Example
-------
@@ -21,4 +23,15 @@ ti949: ds90ub949@0 {
regulators: "vcc",
"vcc_hdmi";
+ config:
+ /* GPIO0 is an output with remote value */
+ <0x0D>, <0x25>,
+ /* GPIO3 is an input for XRES */
+ <0x0F>, <0x03>,
+ /* GPIO2 is an input for backlight PWM */
+ <0x0E>, <0x30>,
+ /* Enables forward channel I2C pass through */
+ <0x17>, <0x9e>,
+ /* Enables PORT1 registers I2C access */
+ <0x1E>, <0x04>;
};
--
2.20.1
Powered by blists - more mailing lists