Skip to contentSkip to conversation

ARM: dts: imx6q-utilite-pro: add hpd gpio

PATCH RESEND Superseded christopher.spinrath at rwth-aachen.de 2 participants 2 messages Apr 4, 2017 – Apr 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ARM: dts: imx6q-utilite-pro: add hpd gpio

From: Christopher Spinrath <[email protected]>

The hpd pin of the second hdmi connector of the Utilite Pro is wired up to a gpio pin of the SoC. Reflect this in the device tree.

---

Hi Shawn,

this was Patch 2/2 of a mini series [1] I sent four weeks ago. The drm part (Patch 1/2) has already been merged into drm-next.

Any comments?

Cheers,
Christopher

 arch/arm/boot/dts/imx6q-utilite-pro.dts | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6q-utilite-pro.dts +9 -1
index 69bdd82..d900ad6 100644
@@ -101,9 +101,11 @@
 
 	hdmi-connector {
 		compatible = "hdmi-connector";
-
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_hpd>;
 		type = "a";
 		ddc-i2c-bus = <&i2c_dvi_ddc>;
+		hpd-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
 
 		port {
 			hdmi_connector_in: endpoint {
@@ -209,6 +211,12 @@
 		>;
 	};
 
+	pinctrl_hpd: hpdgrp {
+		fsl,pins = <
+			MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
+		>;
+	};
+
 	pinctrl_i2c1: i2c1grp {
 		fsl,pins = <
 			MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
Signature · 1 line
2.10.2
Applied
#1 lore raw

PATCH RESEND 1/1 ARM: dts: imx6q-utilite-pro: add hpd gpio

Quoted 6 lines · christopher.spinrath at rwth-aachen.de

From: Christopher Spinrath <[email protected]>

The hpd pin of the second hdmi connector of the Utilite Pro is wired up to a gpio pin of the SoC. Reflect this in the device tree.

Applied, thanks.