diff mbox series

[2/2] dt-bindings: display: bridge: TI FPD-Link III Serializer/Deserializer

Message ID 20190313183527.22883-2-vince.k.kim@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] drm/bridge: add initial support for TI FPDLINK bridge drivers | expand

Commit Message

Vince Kim March 13, 2019, 6:34 p.m. UTC
Add documments of device tree bindings for TI FPD-Link III Serializer
and Deserializer chips;  DS90UB927, DS90UB949, DS90UB948

Signed-off-by: Vince Kim <vince.k.kim@gmail.com>
---
 .../bindings/display/bridge/ti,ds90ub9xx.txt  | 39 +++++++++++++++++++
 .../bindings/display/bridge/ti,fpdlink.txt    | 25 ++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt
 create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt
new file mode 100644
index 000000000000..351d9cb79ebd
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt
@@ -0,0 +1,39 @@ 
+Binding for TI FPD-Link III Bridge Serializers; TI DS90UB927, DS90UB949
+TI FPD-Link III Bridge Deserializer; DS90UB948
+
+Required properties:
+- compatible: shall be one of
+		"ti,ds90ub927"
+		"ti,ds90ub948"
+		"ti,ds90ub949"
+- reg: i2c device address
+
+
+Optional properties:
+- power-en-pin: GPIO pin for power enable
+- reg_config: register address and value to be written during initialization
+
+
+Example:
+--------
+I2c-master-node {
+...
+	fpdlink_serializer_i2c3: serializer@0c {
+		status = "okay";
+		compatible = "ti,ds90ub949";
+		reg = <0x0c>;
+	/* Enabling passthrough for GPIO0 on serializer for touchscreen IRQ */
+		reg_config = <0x0d 0x25>;
+	};
+
+	fpdlink_deserializer_i2c3: deserializer@2c {
+		status = "okay";
+		compatible = "ti,ds90ub948";
+		power-en-pin =  <&gpio9 8  GPIO_ACTIVE_HIGH>;
+		reg = <0x2c>;
+		/* 0x90 for DISP enable, 0x9 is for Touch enable on GPIO1 and 2*/
+		reg_config = <0x1e 0x99>;
+	};
+...
+}
+
diff --git a/Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt b/Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt
new file mode 100644
index 000000000000..2f2e1a269722
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt
@@ -0,0 +1,25 @@ 
+Binding for TI FPD-Link III Bridge driver
+
+Wrapper DRM Bridge driver for TI FPD-Link III Serializer and Deserializer
+
+Required properties:
+- compatible: "ti,fpdlink"
+- fpdlink-serializer-i2c-handle: i2c node for TI FPD-Link III serializer driver
+- fpdlink-deserializer-i2c-handle: i2c node for TI FPD-Link III deserializer driver
+
+
+Example:
+--------
+fpdlink_lvds: fpdlink_bridge@0 {
+	status = "okay";
+	compatible = "ti,fpdlink";
+	fpdlink-serializer-i2c-handle = <&fpdlink_serializer_i2c0>;
+	fpdlink-deserializer-i2c-handle = <&fpdlink_deserializer_i2c0>;
+};
+
+consumer: {
+...
+	fpdlink-bridge-handle = <&fpdlink_lvds>;
+...
+}
+