Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp626341ybf; Fri, 28 Feb 2020 04:43:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyVpnhKIIGaRVIV8mi+z0LQ/mVwrBn/lh9yTJ0Qr3OCorw/FD4J29kYBRtctA0nEXdUcGO+ X-Received: by 2002:a05:6830:10da:: with SMTP id z26mr2945328oto.27.1582893824455; Fri, 28 Feb 2020 04:43:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582893824; cv=none; d=google.com; s=arc-20160816; b=hA+W8W2cbPUutGgsQCL49DjV6QvM7Bm9P7oBoHMQiOylwo6oeRVe7BH8hks70Bvf16 zyXEpoiVdBCbNDJqlfj6sbWIDQOKZHGGaeYHh6V9isx98ubzHShjvtjWXXjrBb5MaZyb THqBsJiKLorTj1kLdNBf774+EyCrOV2C+MACy2hEkTo9h6H+Mur4Z+ov2/cjScDDtLiM o23/cmDG+43kpeOKGD8jRwTv9htr5Z86WCMWzSewVd3QDBPQpbpMv7byOBW2J7PHV/v7 +4+KyfnRNRSevJnSWDtYcmRVbVp6MQ6qRM3Ta1R/FH5bDz/1hQghT1jq3bTLeMyi6j71 D5FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=HYwYse0tso8jxxfRajtmEqRAcsSFAxLxtSu+HymmVok=; b=nUdLJ6kbQOsgRmSJw3c1F0S7aA0GQyhnhl345bOJsEFlQX2XnAG9HBruKxB9bkzm98 dj7v4TDK/qKvl6SO+LXs1Kz9+k5wryJdRsC8mINTfOIjuog7jaeEXmavDmL477LjK16H I7kuYADNKZcN51vOinXOEgH0jLjvGbgxhoUzmilGQZrSJlWmdE1Rld0m2DBOCs0F32N/ 8WXMsRZXWhBW9f0OSFKqEQjH/EEuX9y4McMXIvW0GnHEOe/9L+EcAM33wuL6STlGBaax V6rhrGKT8yntZYEj3aHT8ieh6E6D7qmkFXwMjYjocstEd4uDX9BQM0Vnuv8YmTenkPfj /ioQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t184si1871778oig.184.2020.02.28.04.43.32; Fri, 28 Feb 2020 04:43:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726366AbgB1Mm7 (ORCPT + 99 others); Fri, 28 Feb 2020 07:42:59 -0500 Received: from foss.arm.com ([217.140.110.172]:37676 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgB1Mm6 (ORCPT ); Fri, 28 Feb 2020 07:42:58 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 66E794B2; Fri, 28 Feb 2020 04:42:58 -0800 (PST) Received: from [10.1.196.37] (e121345-lin.cambridge.arm.com [10.1.196.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 229663F7B4; Fri, 28 Feb 2020 04:42:57 -0800 (PST) Subject: Re: [PATCH 3/4] dt-bindings: arm: fix Rockchip rk3399-evb bindings To: Johan Jonker , heiko@sntech.de Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20200228061436.13506-1-jbx6244@gmail.com> <20200228061436.13506-3-jbx6244@gmail.com> From: Robin Murphy Message-ID: <78b8b53f-2e2a-3804-41fb-bb2610947ca2@arm.com> Date: Fri, 28 Feb 2020 12:42:55 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200228061436.13506-3-jbx6244@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/02/2020 6:14 am, Johan Jonker wrote: > A test with the command below gives this error: > > arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: /: compatible: > ['rockchip,rk3399-evb', 'rockchip,rk3399', 'google,rk3399evb-rev2'] > is not valid under any of the given schemas > > Fix this error by adding 'google,rk3399evb-rev2' to the compatible > property in rockchip.yaml > > make ARCH=arm64 dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/rockchip.yaml > > Signed-off-by: Johan Jonker > --- > Documentation/devicetree/bindings/arm/rockchip.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml > index d303790f5..6c6e8273e 100644 > --- a/Documentation/devicetree/bindings/arm/rockchip.yaml > +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml > @@ -509,6 +509,7 @@ properties: > items: > - const: rockchip,rk3399-evb > - const: rockchip,rk3399 > + - const: google,rk3399evb-rev2 This looks wrong - the board can't reasonably be a *more* general match than the SoC. If this is supposed to represent a specific variant of the basic EVB design then it should come before "rockchip,rk3399-evb" (and possibly be optional if other variants also exist). Robin. > > - description: Rockchip RK3399 Sapphire standalone > items: >