ARM: dts: imx6q-utilite-pro: add hpd gpio
authorChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
Tue, 4 Apr 2017 19:41:30 +0000 (21:41 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Apr 2017 08:16:24 +0000 (16:16 +0800)
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.

Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-utilite-pro.dts

index 69bdd82ce21fc732259aee42a1c80e01025ee1ff..d900ad6ec5f826ff7a2f960d1b66ba1144e40d78 100644 (file)
 
        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 {
                >;
        };
 
+       pinctrl_hpd: hpdgrp {
+               fsl,pins = <
+                       MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
+               >;
+       };
+
        pinctrl_i2c1: i2c1grp {
                fsl,pins = <
                        MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1