From: Robin Murphy Subject: Re: [PATCH 1/4] dt-bindings: arm: fix Rockchip Kylin board bindings Date: Fri, 28 Feb 2020 12:35:34 +0000 Message-ID: <73b41bd1-01e9-6af8-afc8-b1a96614d026@arm.com> References: <20200228061436.13506-1-jbx6244@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20200228061436.13506-1-jbx6244-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Content-Language: en-GB Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Johan Jonker , heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-rockchip.vger.kernel.org On 28/02/2020 6:14 am, Johan Jonker wrote: > 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 > > Fix this error by changing 'rockchip,kylin-rk3036' to > 'rockchip,rk3036-kylin' in rockchip.yaml. Although I can guess, it might be worth a note to explain why it's the binding rather than the DTS that gets changed here. Robin. > make ARCH=arm dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/rockchip.yaml > > Signed-off-by: Johan Jonker > --- > 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 >