linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: arm: fix Rockchip Kylin board bindings
@ 2020-03-02  9:27 Johan Jonker
  2020-03-02  9:27 ` [PATCH v2 2/3] dt-bindings: arm: add Rockchip rk3036-evb board Johan Jonker
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Johan Jonker @ 2020-03-02  9:27 UTC (permalink / raw)
  To: heiko; +Cc: robh+dt, devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

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>
---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index 874b0eaa2..203158038 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -443,7 +443,7 @@ properties:
 
       - description: Rockchip Kylin
         items:
-          - const: rockchip,kylin-rk3036
+          - const: rockchip,rk3036-kylin
           - const: rockchip,rk3036
 
       - description: Rockchip PX3 Evaluation board
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-11  8:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02  9:27 [PATCH v2 1/3] dt-bindings: arm: fix Rockchip Kylin board bindings Johan Jonker
2020-03-02  9:27 ` [PATCH v2 2/3] dt-bindings: arm: add Rockchip rk3036-evb board Johan Jonker
2020-03-10 19:27   ` Rob Herring
2020-03-02  9:27 ` [PATCH v2 3/3] arm64: dts: rockchip: fix compatible property for rk3399-evb Johan Jonker
2020-03-10 19:27 ` [PATCH v2 1/3] dt-bindings: arm: fix Rockchip Kylin board bindings Rob Herring
2020-03-11  8:05 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).