Messages in this thread Patch in this message | | | 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 |
| |
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@codethink.co.uk> Cc: Patrick Glaser <pglaser@tesla.com> Cc: Nate Case <ncase@tesla.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
| |