linux/Documentation/devicetree/bindings/display/exynos
Milo Kim 05b01dd936 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>
2016-08-24 21:09:24 +02:00
..
exynos-mic.txt dt-bindings: consolidate display related bindings 2015-10-22 09:21:21 -05:00
exynos7-decon.txt dt-bindings: consolidate display related bindings 2015-10-22 09:21:21 -05:00
exynos5433-decon.txt dt-bindings: video: exynos5433-decon: add bindings for DECON-TV 2016-04-30 01:03:54 +09:00
exynos_dp.txt drm: bridge: analogix/dp: try force hpd after plug in lookup failed 2016-04-05 10:13:07 +08:00
exynos_dsim.txt Documentation: dt: display: fix spelling mistake 2016-04-25 08:41:16 -05:00
exynos_hdmi.txt ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio' 2016-08-24 21:09:24 +02:00
exynos_hdmiddc.txt dt-bindings: consolidate display related bindings 2015-10-22 09:21:21 -05:00
exynos_hdmiphy.txt dt-bindings: consolidate display related bindings 2015-10-22 09:21:21 -05:00
exynos_mixer.txt dt-bindings: consolidate display related bindings 2015-10-22 09:21:21 -05:00
samsung-fimd.txt drm/exynos: add exynos5420 support for fimd 2016-03-01 23:37:21 +09:00