Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1002377ybh; Tue, 10 Mar 2020 12:31:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtAhunettOUHnCg0/AwDCPecyueooudYk/6EUE9Z1x9ZWoPFwBXIbA77A5TRaq5eVeYncA5 X-Received: by 2002:aca:bfc6:: with SMTP id p189mr2346171oif.21.1583868673437; Tue, 10 Mar 2020 12:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583868673; cv=none; d=google.com; s=arc-20160816; b=XM+QCYG6Zh/G6hYwUZGD82UeB+Ao6HO990EvkY9ge9UZx/W27WecKRxkn7cwiRYqHN 4V/Bah0Pi/nGPfSmmt+vwmh25D4Znf4x6ZBJbPv+9Ogdwahe1PNsP/FazQGGdSOVdTU8 DfQzCrgBHKYA8Q+Ve2PRuvmWaWa62KpYuO2izxUUPg4VytQCeelpwzhapDrFjOSgjMHp EL5Yj2thh7NduJjJEisWr4pw1MRWxI+HIIrXA3zPgE9Mm2MLy8mRoyg8dtRWsetES7Tz iF6jL9kZXYN94kVMoP1LPiP+SahN8YmCHUb5ZKybKkzNGLj1hc+8lfXmkKbJBFzmeLDA rC4Q== 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=Ti2DUsUootG5Bb/9jhB9jDTpr9Lf8fcuPShhiLFGbzM=; b=CWpZF55ZQkcvzH2bQdxg24LjHo0FkgH9KRMu5kR1A/vOVJ3SpXnONNkXtEJi2l28mi LnYlold99z4SXGi315cEQBzKizCFoJL/new0OC+ddoZks+XPpUUTKuU68hrdT7Uv1/dV 5O6ThpkyN4dkm6acGpq3hb2NFp8NS40PqVFzX+bEPk0PYz6Jd2aSJlKG234wYqjdsEny cPQev1kqiLU6Kx+z10UyR6c3uIKdmzv8a+dzRpguG7Lnn8ITPmVm2qWwvOeRUErDokSL fCcLmfOY/VnUPmqcUOcvr1LAsszBic8z2KsIWxcLI74BL8ZFJNEEu/w575yZ3A2W5rvW JuQQ== 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 t12si6113850oij.179.2020.03.10.12.31.01; Tue, 10 Mar 2020 12:31:13 -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 S1727146AbgCJT3f (ORCPT + 99 others); Tue, 10 Mar 2020 15:29:35 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:39018 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbgCJT3f (ORCPT ); Tue, 10 Mar 2020 15:29:35 -0400 Received: by mail-oi1-f195.google.com with SMTP id d63so8315975oig.6; Tue, 10 Mar 2020 12:29:34 -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=Ti2DUsUootG5Bb/9jhB9jDTpr9Lf8fcuPShhiLFGbzM=; b=XkiXm48dhGj1zviyak5rl6WPvlc/PXIeKsmSfUkH47YV5fN6mbG+iIgnPQHE+lr+4v VpAIlbAvMoFoRvquYUoJjJ3qK/NFLIcuhvmr30RJJfGhX70ju89AmbdpQwVDkXDIM8KQ v7R0+G64tV4wx2FTxaEwxUVkop8PwQZKLN5rTuKG8M9/3O2+pRxcxEXFJJsfnr0Em9Hq 711+tpT+O8k/CfEk/5R7eIOgOLl9W/kgYWIiZpDTR4HDTFPJREathiMSsmKdWLfC3eZ0 9fe/kCJrMJTDK0UEJbFoDASNijrnwX6dHfLQd6g+puJu+E+jXrQza01yt0df2JrgWW2p kQuQ== X-Gm-Message-State: ANhLgQ29z+j0z3KGVjXTz0pJc4/jBkcrJ/NNFskWSBBfdqJej/gRr0v1 L3YJLalIHRx+R9q4Mb0wi4cNvsE= X-Received: by 2002:aca:e106:: with SMTP id y6mr2370120oig.131.1583868574471; Tue, 10 Mar 2020 12:29:34 -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 3sm16382764otd.15.2020.03.10.12.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 12:29:33 -0700 (PDT) Received: (nullmailer pid 17778 invoked by uid 1000); Tue, 10 Mar 2020 19:29:33 -0000 Date: Tue, 10 Mar 2020 14:29:33 -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 1/2] dt-bindings: usb: dwc2: add compatible property for rk3328 usb Message-ID: <20200310192933.GA15236@bogus> References: <20200302115812.7207-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200302115812.7207-1-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:11PM +0100, Johan Jonker wrote: > A test with the command below gives these errors: > > arch/arm64/boot/dts/rockchip/rk3328-a1.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3328-rock64.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dt.yaml: usb@ff580000: compatible: > ['rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] > is not valid under any of the given schemas > > The compatible property for rk3328 dwc2 usb was somehow never added to > the documention. Fix this error by adding > 'rockchip,rk3328-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 e95ba9373..e9f4cea21 100644 > --- a/Documentation/devicetree/bindings/usb/dwc2.yaml > +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml > @@ -41,6 +41,10 @@ properties: > - const: rockchip,rk3288-usb Convert this entry to an 'enum' and add 'rockchip,rk3328-usb' here. > - const: rockchip,rk3066-usb > - const: snps,dwc2 > + - items: > + - const: rockchip,rk3328-usb > + - const: rockchip,rk3066-usb > + - const: snps,dwc2 > - const: lantiq,arx100-usb > - const: lantiq,xrx200-usb > - items: > -- > 2.11.0 >