OrangePi_CM5/Documentation/devicetree/bindings
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
..
arc
…
arm ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
ata ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
board
…
bus dt-bindings: bus: Add documentation for Tegra210 ACONNECT 2016-07-01 16:35:43 +02:00
c6x
…
clock ARM: SoC driver updates for v4.8 2016-08-01 18:36:01 -04:00
cpufreq
…
cris
…
crypto
…
devfreq
…
display ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio' 2016-08-24 21:09:24 +02:00
dma ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
edac
…
eeprom
…
extcon
…
firmware
…
fpga
…
fuse
…
goldfish
…
gpio This is the bulk of pin control changes for the v4.8 kernel cycle. 2016-07-28 17:06:51 -07:00
gpu
…
h8300
…
hsi
…
hwlock
…
hwmon Documentation: dtb: xgene: Add hwmon dts binding documentation 2016-07-21 14:58:57 -07:00
i2c DeviceTree update for 4.8: 2016-07-30 11:32:01 -07:00
iio ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-08-05 23:24:15 -04:00
interrupt-controller ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
iommu Merge branches 'x86/amd', 'x86/vt-d', 'arm/exynos', 'arm/mediatek', 'arm/msm', 'arm/rockchip', 'arm/smmu' and 'core' into next 2016-07-26 16:02:37 +02:00
leds - New Functionality 2016-08-01 07:32:32 -04:00
lpddr2
…
mailbox dt-bindings: add bindings documentation for PDC driver. 2016-07-28 09:34:46 +05:30
media ARM: SoC driver updates for v4.8 2016-08-01 18:36:01 -04:00
memory-controllers MTD updates for v4.8: 2016-08-02 17:05:11 -04:00
metag
…
mfd - Core Frameworks 2016-08-01 07:28:14 -04:00
mips
…
misc ramoops: use DT reserved-memory bindings 2016-08-05 11:21:36 -07:00
mmc doc: dt: fsl-imx-esdhc: add set tuning start point binding 2016-07-25 10:34:55 +02:00
mtd mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver 2016-07-18 09:58:16 -07:00
net ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
nios2
…
nvmem
…
opp
…
pci PCI changes for the v4.8 merge window: 2016-08-02 17:12:29 -04:00
phy ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
pinctrl Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux 2016-08-01 21:44:08 -04:00
power ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
power_supply
…
powerpc powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
pps
…
pwm pwm: Changes for v4.8-rc1 2016-08-06 00:01:33 -04:00
regmap Fix spelling errors in Documentation/devicetree 2016-07-22 14:54:05 -05:00
regulator pwm: Changes for v4.8-rc1 2016-08-06 00:01:33 -04:00
remoteproc
…
reserved-memory ramoops: use DT reserved-memory bindings 2016-08-05 11:21:36 -07:00
reset ARM: SoC driver updates for v4.8 2016-08-01 18:36:01 -04:00
rng ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
rtc
…
scsi
…
security/tpm
…
serial ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
serio
…
soc ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
sound sound updates for 4.8 2016-07-31 02:25:02 -07:00
spi Merge remote-tracking branches 'spi/topic/pxa2xx', 'spi/topic/rockchip', 'spi/topic/s3c64xx', 'spi/topic/sh' and 'spi/topic/sh-msiof' into spi-next 2016-07-24 22:08:25 +01:00
spmi
…
sram
…
staging
…
thermal
…
timer ARM: SoC driver updates for v4.8 2016-08-01 18:36:01 -04:00
ufs ufs: add TC G210 platform driver 2016-07-12 23:16:31 -04:00
usb ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
video/bridge
…
virtio
…
w1
…
watchdog watchdog: renesas-wdt: Add support for the r8a7796 wdt 2016-07-25 11:23:29 +02:00
x86
…
xillybus
…
ABI.txt
…
chosen.txt
…
common-properties.txt
…
graph.txt
…
ipmi.txt
…
marvell.txt
…
numa.txt
…
property-units.txt
…
resource-names.txt
…
sparc_sun_oracle_rng.txt
…
submitting-patches.txt
…
unittest.txt
…
vendor-prefixes.txt Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-08-05 23:24:15 -04:00
xilinx.txt
…