From patchwork Wed Mar 11 12:21:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11431517 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 3478818E8 for ; Wed, 11 Mar 2020 12:21:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13E5221655 for ; Wed, 11 Mar 2020 12:21:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YrNGJzGF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729369AbgCKMVc (ORCPT ); Wed, 11 Mar 2020 08:21:32 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37407 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729363AbgCKMVb (ORCPT ); Wed, 11 Mar 2020 08:21:31 -0400 Received: by mail-wm1-f65.google.com with SMTP id a141so1887923wme.2; Wed, 11 Mar 2020 05:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Bjy8AO/uhgcJDLcwPUOIt+S4XzlyY0iXNSdbKltQ36A=; b=YrNGJzGF8Sz2KBSWeK/hf7PDvkuhUmUPaFUWpED2XjFzw8lBww62twa0MakQBVltJP QSVOZsRbcvEHxN3/9nroTf6TmN4ijSRMvcYGRUrD8ILrTI8x02H2uRtst5zkj79NME9f fbRMlZ5KFxbjcKsaPAtBbJfRqjFTvqAGdLc7LR4DAX2yJEg7yxfT2JApHkLu+/5BAKgz 5RPMPL59oa9NJ5mbgSJho8Ku8mD9/LDcWmksukWb9N9YoIVhYOzXYOlZDaiWxSB7SgZW RclTYtjNVQsDIyIAiF/Mp11e25GRj2NZOBvAjC4YvjI/ehZiote6WpeYLRczD1+N4Ppz 0dpg== 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=Bjy8AO/uhgcJDLcwPUOIt+S4XzlyY0iXNSdbKltQ36A=; b=W9R2/0bG5lUYE3Culp93u1GgbXkYWV4F5Aoza+JgAoSKCIDnaUXaZ7A1iKYMulfeMz 1s6jKSFl3K2q6kn1T6N3HtmsIpQviI6MrraC7NzbXKBaTysSt6px/10fvOv6re+WUfLl hktaLYk+bZqKWyD5mUA3yW4xFKgMgpkxmAz6bHdesQWSf3MYHukEetTi4tLfph7/KiFo B+69gvupBzSLKBVzluKohNANw3QK7uVbvmyYqtdc/vMcFJ+zjfMiErx2s8O9aDraoOzY P2mH/tu2K7J7UfIJO5zV6WELlfLksA6QJKOaYKI0He5NqJdPQ3bexySx8HZEicsiufWk K//A== X-Gm-Message-State: ANhLgQ1YaFbCre8BK7ThJ+F6ypcb2+kLW9cCnzX8tfTjbZ6UUd/dg/5B 5ltVCiskvnesXD5H7xjTAGE= X-Google-Smtp-Source: ADFU+vuoxl7Rnu55mlVmnlycYhZAAsnWZUu9SUYm83N5yQjSKn6nH0w8BR0h43FMBG0sXrWPe1kBGg== X-Received: by 2002:a05:600c:2214:: with SMTP id z20mr3458638wml.57.1583929289117; Wed, 11 Mar 2020 05:21:29 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id u25sm7998875wml.17.2020.03.11.05.21.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2020 05:21:28 -0700 (PDT) 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 v2 1/2] dt-bindings: usb: dwc2: add compatible property for rk3328 usb Date: Wed, 11 Mar 2020 13:21:20 +0100 Message-Id: <20200311122121.8912-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 for example this error: 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 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 --- Changes v2: Combine compatible properties with enum. --- Documentation/devicetree/bindings/usb/dwc2.yaml | 29 +++++++------------------ 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index e95ba9373..d8d3c7c22 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -18,27 +18,14 @@ properties: - const: rockchip,rk3066-usb - const: snps,dwc2 - items: - - const: rockchip,px30-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3036-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rv1108-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3188-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3228-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3288-usb + - enum: + - rockchip,px30-usb + - rockchip,rk3036-usb + - rockchip,rk3188-usb + - rockchip,rk3228-usb + - rockchip,rk3288-usb + - rockchip,rk3328-usb + - rockchip,rv1108-usb - const: rockchip,rk3066-usb - const: snps,dwc2 - const: lantiq,arx100-usb From patchwork Wed Mar 11 12:21:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11431515 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 F017814B7 for ; Wed, 11 Mar 2020 12:21:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CEF5A21655 for ; Wed, 11 Mar 2020 12:21:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ipc4nGGl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729375AbgCKMVc (ORCPT ); Wed, 11 Mar 2020 08:21:32 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38043 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729095AbgCKMVb (ORCPT ); Wed, 11 Mar 2020 08:21:31 -0400 Received: by mail-wr1-f68.google.com with SMTP id t11so2351762wrw.5; Wed, 11 Mar 2020 05:21:30 -0700 (PDT) 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=6tI8IqiFkVMvrJ+LF1HeAfS7yMDlsfMjzHjhhujiGLg=; b=Ipc4nGGldeGiRNuTzxX+94IZMSFEy/DelczRwhnFCF1XEVPCvXkXJQvAKilzWQi+P0 5SqbX0JaMU8nI6UCls0Rn/kSyD4/rQnGO9uNzBFf1QP+bQtpalqR93/fG5HZIMSzvD3l uTHUCJSpYWZvAohvLVDR9tXOCE40D+RwUQcY/9SSTWkQqZ3HP94wTsR8n7vPxfPnuuV8 f5elSVSJ+xhyAqVB3K42JO6cZB8UPQqDDfWKYhNa3tR1weoJUqnsJ7MR/YWqOOxulCi5 zZSLFA30j7+EV5Uat4AvX+qmia2mtfTiASsFkdEwIFLBz8CG3qIuzV5u7Rm8XtpYPYbg IePQ== 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=6tI8IqiFkVMvrJ+LF1HeAfS7yMDlsfMjzHjhhujiGLg=; b=E9SJjuTumkNTXXFIwPzuL6MXm7YccAJu/eISur+YlvkELtud+zbLWP/X9epya/R1QW W9kslcVGDGRX0/Qv/9jbERM2Gw1NbulQwOh2LDKFsKjuRobbqnAxttS64L2wcwEdKqhV m2A2jDTJTjFi96AzOuoYTCTkm9bqXkLs+az8vlH1LhHF5cwgu/LuvApJtd5dCAPY+5xl A4NlUe/tJvVqtE9kfMpxr4Nt1S3MF+1OeYXHbpGrTrCl66bgJmaDpcI0lBaCN2TQjoHd wOJIFG7tdMoUFGyA9Hh+r0M9IQZA+U+imolo/GbscapkQy3BOkZxc///4f2mL1FcpvW9 KJTQ== X-Gm-Message-State: ANhLgQ1yoxVxqpITZ5bNyV4IgTdaS5cA81ImL7YYs0BXnysnze5F4zkP mcsdVHWmo+CoLIzIxvli59o= X-Google-Smtp-Source: ADFU+vswhcbaVOoEw7phI5b6dKzfHaE+NTsrEgnTVYhOrh/989nyMb/sImno+ijXAmm6my+y9cFQYg== X-Received: by 2002:a05:6000:118c:: with SMTP id g12mr4282670wrx.341.1583929290177; Wed, 11 Mar 2020 05:21:30 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id u25sm7998875wml.17.2020.03.11.05.21.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2020 05:21:29 -0700 (PDT) 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 v2 2/2] dt-bindings: usb: dwc2: add compatible property for rk3368 usb Date: Wed, 11 Mar 2020 13:21:21 +0100 Message-Id: <20200311122121.8912-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200311122121.8912-1-jbx6244@gmail.com> References: <20200311122121.8912-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 for example this error: 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 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 --- Changes v2: Combine compatible properties with enum. --- Documentation/devicetree/bindings/usb/dwc2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index d8d3c7c22..4eda7f221 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -25,6 +25,7 @@ properties: - rockchip,rk3228-usb - rockchip,rk3288-usb - rockchip,rk3328-usb + - rockchip,rk3368-usb - rockchip,rv1108-usb - const: rockchip,rk3066-usb - const: snps,dwc2