diff options
author | Johan Jonker <jbx6244@gmail.com> | 2020-05-24 19:06:36 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2020-06-17 11:29:48 +0300 |
commit | 2bc65fef4fe424f5f8295175f1b42f8b94c6df01 (patch) | |
tree | cf9cb2c770fa21d24127aaf631334e2960bd3a0e /arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts | |
parent | 8a445086f8af0b7b9bd8d1901d6f306bb154f70d (diff) | |
download | linux-2bc65fef4fe424f5f8295175f1b42f8b94c6df01.tar.xz |
arm64: dts: rockchip: rename label and nodename pinctrl subnodes that end with gpio
A test with the command below gives for example this error:
arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dt.yaml:
tsadc: tsadc-otp-gpio:
{'phandle': [[90]], 'rockchip,pins': [[0, 6, 0, 123]]}
is not of type 'array'
'gpio' is a sort of reserved nodename and should not be used
for pinctrl in combination with 'rockchip,pins', so change
nodes that end with 'gpio' to end with 'pin' or 'pins'.
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/
dtschema/schemas/gpio/gpio.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200524160636.16547-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts b/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts index cbde279ae81d..dbd2caba322f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts @@ -125,7 +125,7 @@ }; sdmmc { - sdmmc_cd_gpio: sdmmc-cd-gpio { + sdmmc_cd_pin: sdmmc-cd-pin { rockchip,pins = <2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; }; |