From patchwork Mon Mar 2 11:58:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11415385 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C254392A for ; Mon, 2 Mar 2020 11:58:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1D662465E for ; Mon, 2 Mar 2020 11:58:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sIzU5chb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727883AbgCBL6V (ORCPT ); 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-Google-Smtp-Source: APXvYqwn+pGS0GpOR51cYA0edtXDgnNHd3aAxUL57dOeGCuHOdepkQXfPsdL9BGqEiQLUUFCtRYQZQ== 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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: From patchwork Mon Mar 2 11:58:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11415383 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BBBA71395 for ; Mon, 2 Mar 2020 11:58:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9AFDC21739 for ; Mon, 2 Mar 2020 11:58:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ezO+T8QR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727902AbgCBL6Y (ORCPT ); Mon, 2 Mar 2020 06:58:24 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:34974 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727485AbgCBL6X (ORCPT ); Mon, 2 Mar 2020 06:58:23 -0500 Received: by mail-wm1-f66.google.com with SMTP id m3so10402084wmi.0; Mon, 02 Mar 2020 03:58:21 -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:in-reply-to:references; bh=iflJIvqjKSNmZN001KRyauVV1RXmgC8qmOhi3NV99NM=; b=ezO+T8QRjR4ODnmGvsIE0lrcK6rPy0G8gECUFGVgsrkx9JZfsEO7a1N/l0qa1g3+3p n9fZhznzVJPWvdHdzTKWt4uKBQTOsdfsAOso0ewM9QgdzzEMceDBMZsX826sdfKXe8ZG B0aBxChJaMHAsWd1ZQ9PD6AajioSEiqiT+OPFhIXg5ikIs5Hf9K+OljC6iNLuYcyYOdU rs66rtLbIgtaBWhiSmd6Bxd8LD5D/FBkgec5bocLw+MQ/kOHyMp0+yqKdGL3qZA+bNkv 8b8lTMr+fkYRhnAhL7lb5Qx3cI1OsfiGnIUStELGJr7jdeLSbvQIDJaOZtftoP+b26pI U24g== 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:in-reply-to :references; bh=iflJIvqjKSNmZN001KRyauVV1RXmgC8qmOhi3NV99NM=; b=eoKvr2xkuToQfqml/TTzIsXSASnK/b+VGQMjUUTr9YiWOiFMuWt2ziv2Rp0ikjqutc 2F1LqCJQbtNkIMpg5VjtBll8QypU1Yj4Uzssi834xvsmD3RDyeZVM3OuJCvCxVvhPPbf orqsrFFRvOOqD3fW+iCwjQhEPJB0fAwdpWE/dJ9tIiJh9XLWy6Mz1Y5TjEqNVfcqcaOG fZn/8bH+KIdKprBk5Kna1k5HgK8Tf4dIK5n7YtjmK43hdxEUKI8J3vEaGfd557NxjnTe JfZmW7ol1Flme6Zhb05JegNEY39gC4PFVGWIh4lQwrKLw4WfRf7GoS/EFA343gpHXQ+7 u4VQ== X-Gm-Message-State: ANhLgQ1/r8HtMt3R94foibwptxqc6Zf265PYyaxaCiyO2uTXYg0enjMt 6tXNuRUTFifxT6PcOP1YYSzcVnxO X-Google-Smtp-Source: ADFU+vuOFSIJepvCdWl91GQTBHdvvIeCtHEsEkk20T6cmsn+Xd75wm81zY1l1J8AeghRp+J1fjLtQQ== X-Received: by 2002:a1c:9d0d:: with SMTP id g13mr5238660wme.111.1583150300592; Mon, 02 Mar 2020 03:58:20 -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.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2020 03:58:20 -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 2/2] dt-bindings: usb: dwc2: add compatible property for rk3368 usb Date: Mon, 2 Mar 2020 12:58:12 +0100 Message-Id: <20200302115812.7207-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200302115812.7207-1-jbx6244@gmail.com> References: <20200302115812.7207-1-jbx6244@gmail.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 + - const: rockchip,rk3066-usb + - const: snps,dwc2 - const: lantiq,arx100-usb - const: lantiq,xrx200-usb - items: