summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos5250-arndale.dts
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-08-24 22:07:16 +0900
committerKrzysztof Kozlowski <krzk@kernel.org>2016-08-24 21:09:24 +0200
commit05b01dd936b46f2c3cfbb10bc89c0ec79c745e5d (patch)
tree9420b5613fa1062098bddc6c89d6636ad5e27cff /arch/arm/boot/dts/exynos5250-arndale.dts
parent5a5232d1932b5d1ca472037bc8b38c21fa0cb6f8 (diff)
downloadtalos-obmc-linux-05b01dd936b46f2c3cfbb10bc89c0ec79c745e5d.tar.gz
talos-obmc-linux-05b01dd936b46f2c3cfbb10bc89c0ec79c745e5d.zip
ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'
This patch enables getting a HPD GPIO descriptor quicker. The exynos-hdmi driver uses "hpd" for HDMI hot plug detection. static int hdmi_resources_init(struct hdmi_context *hdata) { ... hdata->hpd_gpio = devm_gpiod_get(dev, "hpd", GPIOD_IN); ... } This calls 'of_find_gpio()' and it generates the GPIO consumer ID by referring GPIO suffix. So 'hpd-gpios' is preferred on getting a GPIO descriptor. However, if the device tree uses 'hpd-gpio', then the exynos-hdmi driver always retries to get a GPIO descriptor because the first GPIO suffix is not 'gpio' but 'gpios'. So you always see the debug message below. of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/soc/hdmi@14530000[0]' Use the preferred property, 'hpd-gpios' instead of 'hpd-gpio'. Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-arndale.dts')
-rw-r--r--arch/arm/boot/dts/exynos5250-arndale.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index ea70603f660d..3d981f32874d 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -152,7 +152,7 @@
};
&hdmi {
- hpd-gpio = <&gpx3 7 GPIO_ACTIVE_LOW>;
+ hpd-gpios = <&gpx3 7 GPIO_ACTIVE_LOW>;
vdd_osc-supply = <&ldo10_reg>;
vdd_pll-supply = <&ldo8_reg>;
vdd-supply = <&ldo8_reg>;
OpenPOWER on IntegriCloud