Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1003055ybh; Tue, 10 Mar 2020 12:32:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsGKNch4+MYnxIjdieJZEgeGKFcxNjSqfOcghxIwwIzMCUBm+YEmL6tJrvz4jr1IEcL/GzI X-Received: by 2002:aca:4cd8:: with SMTP id z207mr2262895oia.155.1583868722254; Tue, 10 Mar 2020 12:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583868722; cv=none; d=google.com; s=arc-20160816; b=C0hYscBs1ETVEA5qqZnzvUdvW6Hzc6YWLeRL9KwfEj6Hb5suewRuY3sBwrP9H4NLjH LRKlKbbuQOj1hxn+16hLvdwrDJBjIHCbkpGisQb5PBdEBdDekpjfgC21QiOvKsFd+SrD tEOvvqG68R/rpm47x5DbgTs96XqdxI4ODlTZsVyVuwP7YyJ4chfaq5JO0EIn0+ZUeA7p rrPdnvvcZo4it2ISYnt8lXGL14Pb4jBR1PJQOkjG4RJ4nvja+iGpsZd/m5rHRHHvYJUP 4lv3KrPnWEgAY8e3iaonHHDaKKZPo/o4ydAH5mvRdYxH7QbakS5cfA51f/GB0jH5KWXu joXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TXsHaF4fOcNE2W9tq/AYJCOMZXblb3kZRBtXTvgUFHE=; b=Y7M/bXBDbfdxWM6JOd8MrwLTPHsr/eqIQiPRVXjgbfYhvraDRfULIEYbvm6uIOPhUI u6z+X0O2EMyXuiJkdgazLP7daDuukuvLpsw+z5B36xg4Vd7wYdKwfqH10FydsKJDWcp/ fr8CTYaXAxsR55vSczvuTIH1oC98G5I2TaI+vrY4CfGRmBl/UElzkZQCKyNG+aQIYa/6 W9FpDOdURUAOhAtKZ0fARI6xeqYUoelMvWK5C2OdlJ2JrPUZOWyuZ+cNVZ8FJQvAzpLp KypBdqPIvuclN9mU+81PekHwwKY3w9/uP/qmpi28DUggcLJXOmFjqsTz2FGO1GkazAwp FogQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26si1559026otq.165.2020.03.10.12.31.50; Tue, 10 Mar 2020 12:32:02 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727500AbgCJTaR (ORCPT + 99 others); Tue, 10 Mar 2020 15:30:17 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:41544 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbgCJTaR (ORCPT ); Tue, 10 Mar 2020 15:30:17 -0400 Received: by mail-oi1-f196.google.com with SMTP id i1so15093239oie.8; Tue, 10 Mar 2020 12:30:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TXsHaF4fOcNE2W9tq/AYJCOMZXblb3kZRBtXTvgUFHE=; b=OGX148O27UYvoSx71GxJXH+PkYU790X6bqS00mZHnvk6oewtAk4IIAFjoT6M9G5gCY Rv9eO/YMEZUgRMLckvgeZKjFyyhnLxcACHNVVdSmxK+g2Mab8/AsGVTvHpMsrDD80aJe qVV2hnFoK2DwhB4gjoYHdeI8oEZ82OQRkMH31v+B1irt6dM2aD0nB264thuvfyd43aag Lx9L4EZQPck7ENkytTKCXuOyU523seqvNBBthOa9uyAzDydVkRiOrDm2AusTVwfKeBlu H5xl0U4x8Uqk62hMFugmx5CwrC83CT3XMeNCIbtyxKoB8LyJT7a/YpL8zPsq4j4I+8OC x5pQ== X-Gm-Message-State: ANhLgQ14fenUmmwmtIOE+ZlEkQFb5n3DRJdfzLdZKTtwbItVfvjZKk6Y qfIe9KbPl0fXsFqc12Ngjg== X-Received: by 2002:a05:6808:56:: with SMTP id v22mr2265636oic.116.1583868614910; Tue, 10 Mar 2020 12:30:14 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w2sm11049466otq.10.2020.03.10.12.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 12:30:13 -0700 (PDT) Received: (nullmailer pid 18889 invoked by uid 1000); Tue, 10 Mar 2020 19:30:13 -0000 Date: Tue, 10 Mar 2020 14:30:13 -0500 From: Rob Herring To: Johan Jonker Cc: heiko@sntech.de, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] dt-bindings: usb: dwc2: add compatible property for rk3368 usb Message-ID: <20200310193013.GA18080@bogus> References: <20200302115812.7207-1-jbx6244@gmail.com> <20200302115812.7207-2-jbx6244@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200302115812.7207-2-jbx6244@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2020 at 12:58:12PM +0100, Johan Jonker wrote: > A test with the command below gives these errors: > > arch/arm64/boot/dts/rockchip/rk3368-evb-act8846.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3368-geekbox.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3368-r88.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > > The compatible property for rk3368 dwc2 usb was somehow never added to > the documention. Fix this error by adding > 'rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2' > to dwc2.yaml. > > make ARCH=arm64 dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/usb/dwc2.yaml > > Signed-off-by: Johan Jonker > --- > Documentation/devicetree/bindings/usb/dwc2.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml > index e9f4cea21..14aeb67e8 100644 > --- a/Documentation/devicetree/bindings/usb/dwc2.yaml > +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml > @@ -45,6 +45,10 @@ properties: > - const: rockchip,rk3328-usb > - const: rockchip,rk3066-usb > - const: snps,dwc2 > + - items: > + - const: rockchip,rk3368-usb And you can do the same thing with this. > + - const: rockchip,rk3066-usb > + - const: snps,dwc2 > - const: lantiq,arx100-usb > - const: lantiq,xrx200-usb > - items: > -- > 2.11.0 >