Configures the GE B850v3 LVDS/DP++ bridge on the dts file.

Cc: Martyn Welch <martyn.welch at collabora.co.uk>
Cc: Martin Donnelly <martin.donnelly at ge.com>
Cc: Javier Martinez Canillas <javier at dowhile0.org>
Cc: Enric Balletbo i Serra <enric.balletbo at collabora.com>
Cc: Philipp Zabel <p.zabel at pengutronix.de>
Cc: Rob Herring <robh at kernel.org>
Cc: Fabio Estevam <fabio.estevam at nxp.com>
Signed-off-by: Peter Senna Tschudin <peter.senna at collabora.com>
---
 arch/arm/boot/dts/imx6q-b850v3.dts | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-b850v3.dts 
b/arch/arm/boot/dts/imx6q-b850v3.dts
index 167f744..ce0ca3a 100644
--- a/arch/arm/boot/dts/imx6q-b850v3.dts
+++ b/arch/arm/boot/dts/imx6q-b850v3.dts
@@ -72,6 +72,13 @@
                fsl,data-mapping = "spwg";
                fsl,data-width = <24>;
                status = "okay";
+
+               port at 4 {
+                       reg = <4>;
+                       lvds0_out: endpoint {
+                               remote-endpoint = <&b850v3_lvds_dp_bridge_in>;
+                       };
+               };
        };
 };

@@ -142,3 +149,26 @@
                reg = <0x4a>;
        };
 };
+
+&mux2_i2c2 {
+       status = "okay";
+       clock-frequency = <100000>;
+
+       b850v3-lvds-dp-bridge at 73 {
+               compatible = "ge,b850v3-lvds-dp";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               reg = <0x73 0x72>;
+               reg-names = "main", "edid";
+
+               interrupt-parent = <&gpio2>;
+               interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
+
+               port {
+                       b850v3_lvds_dp_bridge_in: endpoint {
+                               remote-endpoint = <&lvds0_out>;
+                       };
+               };
+       };
+};
-- 
2.5.5

Reply via email to