arm64: dts: rename grf-gpio nodename in rk3328.dtsi
authorJohan Jonker <jbx6244@gmail.com>
Wed, 12 May 2021 12:23:46 +0000 (14:23 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 May 2021 14:39:37 +0000 (16:39 +0200)
commit19486fe587b8ed17daf87a6419b51e3a65ce565c
treeb1a7abd41257d593fa700e0feb5ac360ee56dfbd
parent5a65adfa2ad1542f856fc7de3999d51f3a35d2e2
arm64: dts: rename grf-gpio nodename in rk3328.dtsi

A test with the command below gives this error:

/arch/arm64/boot/dts/rockchip/rk3328-a1.dt.yaml: syscon@ff100000:
grf-gpio: {'compatible': ['rockchip,rk3328-grf-gpio'],
'gpio-controller': True, '#gpio-cells': [[2]], 'phandle': [[68]]} is not
of type 'array'

Due to the regex "(?<!,nr)-gpios?$" anything that ends on
'-gpio', '-gpios' gives a match.

Rename 'grf-gpio' nodename to generic 'gpio'

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/
schemas/gpio/gpio-consumer.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20210512122346.9463-5-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi