Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2193268ybf; Mon, 2 Mar 2020 03:58:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzcbaoO+wNf+Upqntzs8FaaqxQC2vVl1dHPXYVcGVhrqJUVmX+bdXipheUkrFclbHZaz9Ox X-Received: by 2002:a9d:da5:: with SMTP id 34mr11723867ots.226.1583150326835; Mon, 02 Mar 2020 03:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583150326; cv=none; d=google.com; s=arc-20160816; b=eQpa6gfuV4NULOJcgjA0z0GEz+C+dl1FOUzFfsBBIg0qyTJ0CeGxt+Zvm+Cf12Us9h Ika9PUIYDDkseekkKZfmh0twQ2BDwM6Tqgrx2yA7x+kXgnFT+COQtpar8RLqhqbcOlCA IzpLGuC3CALbQ9nzDlH59YFipXZY2BhMM+1EbFztaUEKbWCoZO6O1VaigrlEJbxQjItT lG4nGM+/NaUBV36wniCK67crc1rGab7ng5HoXaZ0aL7RaTIu6xpxCCyOnmLDJNmUuoN0 QDSr2jhVPfh5gfPqBs7yHJxsxf+vO9kZQ+f5JtXPdXzGZx4lkVhzaZ0nTy/Zz/4OU0pZ PA7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=+bOUkmuWmtrqLnmLhYcvBOjbDQxV1smzTu5vD7lLcDs=; b=NYM+7to39ROSVUfbIJALMl+P6biIiUzk/5F/ou9Pf3GPsh/NxAJhRtH888dCkMn0+r mns2lY8hncoZay+0+3W9OAcYlAqxas/YbUimm4VgSNMCe2yaIQxSAI9LHuPIsqf4Zs8d BI4ROId7TgJTZCZYe+ncX7rJedIVniwCX16cTycODfYX3VCYtmvfoIh4vC+Y0tGPaDeL BwwYC3P143ysZfHfVCWWgakJh9Pxroptmo0QHbPDpCtKqJEd3KiTUN4rTSTde80zzcCQ Y7jLMeNSDane5rzVb0JzCGRoB/UcGrveT38tMrvngOa4+QA2LbSRvy1siXwoYERHv5Q8 xNCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sIzU5chb; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 45si6158377otg.7.2020.03.02.03.58.35; Mon, 02 Mar 2020 03:58:46 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sIzU5chb; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727892AbgCBL6V (ORCPT + 99 others); Mon, 2 Mar 2020 06:58:21 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36220 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727485AbgCBL6V (ORCPT ); Mon, 2 Mar 2020 06:58:21 -0500 Received: by mail-wm1-f66.google.com with SMTP id g83so8192450wme.1; Mon, 02 Mar 2020 03:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+bOUkmuWmtrqLnmLhYcvBOjbDQxV1smzTu5vD7lLcDs=; b=sIzU5chb1GcVyQMtdhpn+YMKLwGB4nwgzWG4cTyD3MtUUTWThAccAtZgHBK2bvUasL R8Hbv6HtwejqQMuIQi1wfxlo+0bbSQMujWY58KyK2vyrPX1EdzYoYeRqnl+DsVKoNA2C gSFJd6WZtAo9jY3QDaXyVqLy7c/Lv7fjjA9lvu5SW03q6BkHXwJHqyaVkNm0G2zAvLSl TV5XCTgdRZ+MmZ/ZSS4mpaJx0+XPiVaeefJpxE/HbeQxRcZIqBQqzkDSGr2kFHMVBrVO TJ7LFy6gPcbPwtgaZ0LYmKTWqjRy4xVmEQGD7+FSkHJR37xQGgBwRKT4hgFWeRd7hKoY P5eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+bOUkmuWmtrqLnmLhYcvBOjbDQxV1smzTu5vD7lLcDs=; b=i6s+DdP6BU7to5db4XFtZ9AomZi1kfytN9KPwRjPrTmpjiCWyBVGjeDokAgxpVhQYM KbSN7ZcWoAuzj64+r5ehfrPam6zvfarB5jXfclnELj30bcsJ3X9HH8LFuTJanfJksthV yzfDzYygukKjSfGg9gFCcTsIg3yMFrY0YBuGq4f2MCJ+hU3RdfNMDmJ6MmbB2u2gplfX Z/xm215V7bq/6MTHZpRCNJFaq99VDIoYaXiK6V0wOCCYEFniWPdZTBHD6+uejBPyk+d7 3o3JKoD7DiCK5jdxk9i5bLU9G2/nt9qjXiKbWQ7s1K/ZqQQvxndfzlVQNPwE151uQr8Y 2k9A== X-Gm-Message-State: APjAAAWPQIQkNl/fuGywvKdfrQ1zNs5UVa+xbb1TK/iE5IF/khWNzwFT hA3vZDvlGnuc88K8qva38o8= X-Received: by 2002:a1c:a502:: with SMTP id o2mr12079496wme.94.1583150299586; Mon, 02 Mar 2020 03:58:19 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id o16sm12653303wrj.5.2020.03.02.03.58.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2020 03:58:19 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, 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: [PATCH 1/2] dt-bindings: usb: dwc2: add compatible property for rk3328 usb Date: Mon, 2 Mar 2020 12:58:11 +0100 Message-Id: <20200302115812.7207-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 - 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