]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: arm: fix Rockchip Kylin board bindings
authorJohan Jonker <jbx6244@gmail.com>
Mon, 2 Mar 2020 09:27:57 +0000 (10:27 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 11 Mar 2020 08:04:25 +0000 (09:04 +0100)
commita75650b4adc1c159f8aa2d79dc1ae21c80208325
treed8741ee235122c60109744f2dd703cf70cee269a
parent3299b489880bfbca554bf8c0b45aee91e1eaa32f
dt-bindings: arm: fix Rockchip Kylin board bindings

A test with the command below gives this error:

arch/arm/boot/dts/rk3036-kylin.dt.yaml: /: compatible:
['rockchip,rk3036-kylin', 'rockchip,rk3036']
is not valid under any of the given schemas

Normally the dt-binding is the authoritative part, so boards should follow
the binding, but in the kylin-case the compatible from the .dts is used for
years in the field now, so fix the binding, as otherwise
we would break old users.

Fix this error by changing 'rockchip,kylin-rk3036' to
'rockchip,rk3036-kylin' in rockchip.yaml.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/rockchip.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200302092759.3291-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Documentation/devicetree/bindings/arm/rockchip.yaml