From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Drake Subject: [PATCH v1 10/11] dt-bindings: display/bridge: Add config property for ti949 Date: Tue, 11 Jun 2019 15:04:11 +0100 Message-ID: <20190611140412.32151-11-michael.drake@codethink.co.uk> References: <20190611140412.32151-1-michael.drake@codethink.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20190611140412.32151-1-michael.drake@codethink.co.uk> Sender: linux-kernel-owner@vger.kernel.org To: Andrzej Hajda , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Drake Cc: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , linux-kernel@lists.codethink.co.uk, Patrick Glaser , Nate Case List-Id: dri-devel@lists.freedesktop.org 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 Cc: Patrick Glaser Cc: Nate Case --- .../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 , 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