From patchwork Tue May 18 16:56:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12265187 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACE9AC433B4 for ; Tue, 18 May 2021 16:57:36 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37822611BD for ; Tue, 18 May 2021 16:57:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 37822611BD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kK9SO5c3blMuvSnziAcc6ma8YaDBsyg0/b9VfbUXrYU=; b=Ql9cHAKCE/+m0NWNG64Ah5OaB2 MY7Uxr7GEVaEP2HJCZ58IoWbvUirgZadQxnCTPvzkYDjSZd0rklGldlgsyiozTiRc1xMCEOqd7fPZ ItvEYYYkmShJAXgG4NdYKqNPAcbXgRibOf3HuQMadAP1K9Q5nQ7piAb85vtddIXvkjECeH0dVhUlU XFtrSqTiGU46g1RzlARZ4QdqwJaaBDbQ8PrfL8XLhG+eD+li3i9KHLYZF3sYS2PTyNU1kSam58+T3 l1RN070jg30xMDBkHK0PtbIhqoDmiE+RnyRHavAPCM2WWoKU4xhlZuq5UgkcUZn1y75c7yL0sVpus 2yGmA1BQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lj32B-001P8A-OR; Tue, 18 May 2021 16:57:31 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31t-001P2o-1L; Tue, 18 May 2021 16:57:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9oPRfPgvlocsiFSFvUCwi7MVnKk8KLH2Kuos4BaavcY=; b=eJ8W3ULwtFquLtckNiTevScoeh 0fASwhzXD2wO8vPh2CT9UkFP1RaWSswqFoNMXaim6xZjizigBvHPDzYOYfbuBmdnlISeUiLzW1PO1 QhvrHCsjGlQPAFSMVzlcgTt/l0R+lthfIL7glEZdtCVi2/7a03H9GDnWHyonwdS+J8LteAh697oVv 6d4wczTtKmF0A006tAWdHrUrO7vsrtIKyv39zBcYOF6bIRx06jVPWK9zmQ/Uq+qzsqqSL8kWasBqG QOxKwmirE9ixI+V7haDljEHgD3gJuEBvjJpWptR7gTKGa3HtqbBAOJKq6tXe2Nmj9CwzQlXDTRxdq 3V/qKj+A==; Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31q-00Ep1E-69; Tue, 18 May 2021 16:57:11 +0000 Received: by mail-ej1-x634.google.com with SMTP id z12so14215560ejw.0; Tue, 18 May 2021 09:57:09 -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=9oPRfPgvlocsiFSFvUCwi7MVnKk8KLH2Kuos4BaavcY=; b=cghBxpZFSevRzbEgKl7VhA9nz/fSgraSrimImam6yAKQKBSkBGsPWjwI5QuM0VBmsE qQQbQb592yxCuFGGkSLA7ty20d1ziFzo1aAxUz03mz163b+1HfCiWLwjcQHqelYgsh+N 8PtRQzblyIRPM3JLXtJhlTVuKKg7ncK36677r1cFjLK2hc+ZCSmQ/AZIFwAXTA6Zihok YmXM02vTutIvJImNqvx5yDo8c+c9Q7FKAydTTFM6PloiwtDY00lw9KI0y2JBsZLGBpRy QVSJl/LIOSpLcnayblLzW8UdIRpcbmVj6L2i4L5eV1/Vu5FuRqay/7EYUQcrqUiJpVuT Fw+g== 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=9oPRfPgvlocsiFSFvUCwi7MVnKk8KLH2Kuos4BaavcY=; b=Ih4xUMsDjiBa7d1FZ9aLN+fC71huF7VCEVFl2Esp8dtM2ueeLu1ctO8+4zftkUH+D8 OHXoTHHuP77qlc5TP7L8l0qfq0zd4ED1qiQUBsI6kQyZJgfjvi9eDRjhayCmB3SVHAAY XaBrJoMQqIY5m8wKv1aUhys4rQxdXYuHztbR3Da4FcTeO6yyiOJjhhIfkeqC95AitVxv R4K2ucLsMGbZYIAsklrjlehFTfGjltBA1w+70Qf+HoYWms14p2kZ+hmN3tUgkBcacibD J8iV7h/msMgeHKzl6Y1ENCRQphxgAY02H4+ykiz+zHh1MDvCC/end7bWws28e0bxeODy jG+Q== X-Gm-Message-State: AOAM530ZNXhNbrotvQk8t7vFzRV7KMyhaJF0A/AoK51U/BZq+w5X08lE pNxo1tdBUvCwoaK6ISHYMGY= X-Google-Smtp-Source: ABdhPJyCiaDiRFlxOOXYERxZFxdFggZiuFqEaCfF6xubgjYHPNusrJLBmpzhmi+IDAWRg3VzSMoy3Q== X-Received: by 2002:a17:906:b0d:: with SMTP id u13mr6749791ejg.159.1621357028351; Tue, 18 May 2021 09:57:08 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id n2sm13525676edi.32.2021.05.18.09.57.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 May 2021 09:57:08 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, kishon@ti.com, vkoul@kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/4] dt-bindings: phy: convert rockchip-usb-phy.txt to YAML Date: Tue, 18 May 2021 18:56:55 +0200 Message-Id: <20210518165658.12764-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210518165658.12764-1-jbx6244@gmail.com> References: <20210518165658.12764-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_095710_248177_EE9F6447 X-CRM114-Status: GOOD ( 17.99 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Current dts files with Rockchip 'usbphy' nodes are manually verified. In order to automate this process rockchip-usb-phy.txt has to be converted to YAML. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- Changed V6 remove some #phy-cells --- .../devicetree/bindings/phy/rockchip-usb-phy.txt | 52 -------------- .../devicetree/bindings/phy/rockchip-usb-phy.yaml | 81 ++++++++++++++++++++++ 2 files changed, 81 insertions(+), 52 deletions(-) delete mode 100644 Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt create mode 100644 Documentation/devicetree/bindings/phy/rockchip-usb-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt deleted file mode 100644 index 4ed569046..000000000 --- a/Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt +++ /dev/null @@ -1,52 +0,0 @@ -ROCKCHIP USB2 PHY - -Required properties: - - compatible: matching the soc type, one of - "rockchip,rk3066a-usb-phy" - "rockchip,rk3188-usb-phy" - "rockchip,rk3288-usb-phy" - - #address-cells: should be 1 - - #size-cells: should be 0 - -Deprecated properties: - - rockchip,grf : phandle to the syscon managing the "general - register files" - phy should be a child of the GRF instead - -Sub-nodes: -Each PHY should be represented as a sub-node. - -Sub-nodes -required properties: -- #phy-cells: should be 0 -- reg: PHY configure reg address offset in GRF - "0x320" - for PHY attach to OTG controller - "0x334" - for PHY attach to HOST0 controller - "0x348" - for PHY attach to HOST1 controller - -Optional Properties: -- clocks : phandle + clock specifier for the phy clocks -- clock-names: string, clock name, must be "phyclk" -- #clock-cells: for users of the phy-pll, should be 0 -- reset-names: Only allow the following entries: - - phy-reset -- resets: Must contain an entry for each entry in reset-names. -- vbus-supply: power-supply phandle for vbus power source - -Example: - -grf: syscon@ff770000 { - compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; - -... - - usbphy: phy { - compatible = "rockchip,rk3288-usb-phy"; - #address-cells = <1>; - #size-cells = <0>; - - usbphy0: usb-phy0 { - #phy-cells = <0>; - reg = <0x320>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/phy/rockchip-usb-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip-usb-phy.yaml new file mode 100644 index 000000000..f0fc8275d --- /dev/null +++ b/Documentation/devicetree/bindings/phy/rockchip-usb-phy.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip USB2.0 phy + +maintainers: + - Heiko Stuebner + +properties: + compatible: + oneOf: + - const: rockchip,rk3288-usb-phy + - items: + - enum: + - rockchip,rk3066a-usb-phy + - rockchip,rk3188-usb-phy + - const: rockchip,rk3288-usb-phy + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +patternProperties: + "usb-phy@[0-9a-f]+$": + type: object + + properties: + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + maxItems: 1 + + clock-names: + const: phyclk + + "#clock-cells": + const: 0 + + resets: + maxItems: 1 + + reset-names: + const: phy-reset + + vbus-supply: + description: phandle for vbus power source + + required: + - reg + - "#phy-cells" + + additionalProperties: false + +examples: + - | + usbphy: usbphy { + compatible = "rockchip,rk3288-usb-phy"; + #address-cells = <1>; + #size-cells = <0>; + + usbphy0: usb-phy@320 { + reg = <0x320>; + #phy-cells = <0>; + }; + }; From patchwork Tue May 18 16:56:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12265189 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68E07C433ED for ; Tue, 18 May 2021 16:57:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E3AB7611BD for ; Tue, 18 May 2021 16:57:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3AB7611BD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4L8KTi+VP+GqGdU/iuO2vYJEQIxLr+r9tbgEDxz7OLg=; b=bhEPMdEp9dVfmI4fR3+6ABBnE9 9IkLti4jhsknLeS8WEuqCEmXlccPeMI+cpvyrkG62S/dPSAzRdyp+4ieBXbY9Y+CLmcfOU51n+Kpx caDYrk+Iw4SEPTtjlpqtFqbjwUiBubMKeTWRRAGzP5jxk19VHu2/I47A4TIOxtMxTBFjPlZ+s31TJ 4Ux+RW68GAfKRk1WtTHW8nH7dJKqCZ2yXyJL4ZFomgrlMMvkgCGVLsvXmiatFQ4jdobt3bQzNr/zJ H2rfo+eMP040P6GY6DV/BeULWLryJnJtW/2XYVGKJiaezaiFxMAlGTxADFwpd7ALyboyhIv3F8w2A 5bomFjbA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lj32D-001P8t-S3; Tue, 18 May 2021 16:57:33 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31u-001P2y-0c; Tue, 18 May 2021 16:57:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DvNLypjfM9sD8GKMWXOboYCU4E+Qp3/OvFniS6apdzw=; b=lc+RAsJXuq6vGNVp+tLTkI9ZDF FczaVEY9FEe8PBInVF8JxUZgPbmtMfrS1op8K25eAJXKScngdLnJmtJG5WuRKBv9SGNL7XQkuTk6w 4W401DvPMV+0D2O/QFv/HsqjdwaadsXj/2DwwQR/5xMYkzp9Dnj2nnMW7ZNQVU+9QDmaN0wUO5Ejb m0rxHYNPipf9CupcZ+44zR9Vd7TDsWPlWmJZ/lc2cM8IHn7a/E1Cu12qzGSuXNxa/1FR5JLcJkBFS tjBDz9+NPcOEHQIYqgNSWX7svlWDtxGtjmA205TU3tV7wAfv/v3KM7MtNfVKIV8sdjaIxxeM2XTKY lSz5izHg==; Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31r-00Ep1U-Ed; Tue, 18 May 2021 16:57:12 +0000 Received: by mail-ej1-x632.google.com with SMTP id n2so15656311ejy.7; Tue, 18 May 2021 09:57:10 -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=DvNLypjfM9sD8GKMWXOboYCU4E+Qp3/OvFniS6apdzw=; b=CS2WEw9XafuQfNap4nHYlnZ7RfKYQbgqhXxUJfjnVJt4KcRqlFEOPE6XZ/Equ33tPz PGNKCPLJwlTc8Z+U92IYORstjt4xATQdAbbzIiYdeoJ63NBDlvu5Av1+NRFfC3zfGwuC fINEbFPFsnRnlk+rEApSsukd7DtQ5RYLKSxZx34KjbqRXccGhFjVgHlwktJGLhrsnmSA setMiXnrEPXylTOPd1vOpuXCJ07SAWe3oeVWgKdDh+9I+UTdeih/RajaXTP+jHfiYR9+ qmTUMIGWMi3TvEGZq+FI84IrbemrGmP+nGX5JARBSnezDH19c2yHnOJi2ZoQfhumocHS Y6Ww== 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=DvNLypjfM9sD8GKMWXOboYCU4E+Qp3/OvFniS6apdzw=; b=cel10NxCbZ2snqUokMQqa8yS+cC3CHRLmZ9JnDh2AuF6QpM7BejvXEtzVpgPDkOXbg cKWKWnaRYPveKbZsephPUjeK/t+xGA1yuVvsaerMa4VSQZUQOYVc+urc/dqZ0PIX13uz XcTW+eIwBYzrMIzCNdXrNo/NT32serlmvLjxzpwKdtqrLD+3DWoHuIq2LTz11Vk7jcFf eCUILfmFsAj5eJzRp71M+EbWp2SZ8BTfZEB4y7D7SM1RNi5COKWs5hONxICXLDvBTtI1 45IutWqY0oWyIBNp+qL3tcbjRnNoptxkFNfD0ts2tnHOwGTm5tt7f0czGfkNS7zPvAJ2 BowQ== X-Gm-Message-State: AOAM5301WELfFKPWVYGEkGH/obGfGzCOIBIX55T7HQkBZ0Vd761wwx+y LNDpM7OsysBApGv2lvvpPit48UHSzt0= X-Google-Smtp-Source: ABdhPJxtLBuRUVWJbVozy8aPZxKBVlLapGT+U169YFlwxZTcKYp1Fo37AV4yJ2yK4dRmarDP8rTT+g== X-Received: by 2002:a17:906:17cc:: with SMTP id u12mr6912213eje.170.1621357029653; Tue, 18 May 2021 09:57:09 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id n2sm13525676edi.32.2021.05.18.09.57.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 May 2021 09:57:09 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, kishon@ti.com, vkoul@kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/4] dt-bindings: phy: rename phy nodename in phy-rockchip-inno-usb2.yaml Date: Tue, 18 May 2021 18:56:56 +0200 Message-Id: <20210518165658.12764-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210518165658.12764-1-jbx6244@gmail.com> References: <20210518165658.12764-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_095711_510858_28E1C039 X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The pattern: "^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$" in phy-provider.yaml has required "#phy-cells" for phy nodes. The "phy-cells" in rockchip-inno-usb2 nodes are located in subnodes. Rename the nodename to pattern "usb2phy@[0-9a-f]+$" to prevent notifications. Remove unneeded "#phy-cells" from parent node. Also sort example. make ARCH=arm dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/ phy/phy-provider.yaml Signed-off-by: Johan Jonker Acked-by: Rob Herring --- .../devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml | 11 +++-------- Documentation/devicetree/bindings/soc/rockchip/grf.yaml | 4 ++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml index fb29ad807..fbe860fff 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml @@ -29,9 +29,6 @@ properties: "#clock-cells": const: 0 - "#phy-cells": - const: 0 - clocks: maxItems: 1 @@ -119,7 +116,6 @@ required: - reg - clock-output-names - "#clock-cells" - - "#phy-cells" - host-port - otg-port @@ -130,26 +126,25 @@ examples: #include #include #include - u2phy0: usb2-phy@e450 { + u2phy0: usb2phy@e450 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe450 0x10>; clocks = <&cru SCLK_USB2PHY0_REF>; clock-names = "phyclk"; clock-output-names = "clk_usbphy0_480m"; #clock-cells = <0>; - #phy-cells = <0>; u2phy0_host: host-port { - #phy-cells = <0>; interrupts = ; interrupt-names = "linestate"; + #phy-cells = <0>; }; u2phy0_otg: otg-port { - #phy-cells = <0>; interrupts = , , ; interrupt-names = "otg-bvalid", "otg-id", "linestate"; + #phy-cells = <0>; }; }; diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml index 84bdaf88d..43c288708 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml @@ -184,7 +184,7 @@ allOf: - "#size-cells" patternProperties: - "usb2-phy@[0-9a-f]+$": + "usb2phy@[0-9a-f]+$": type: object $ref: "/schemas/phy/phy-rockchip-inno-usb2.yaml#" @@ -233,7 +233,7 @@ examples: #phy-cells = <0>; }; - u2phy0: usb2-phy@e450 { + u2phy0: usb2phy@e450 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe450 0x10>; clocks = <&cru SCLK_USB2PHY0_REF>; From patchwork Tue May 18 16:56:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12265191 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F3AEC433B4 for ; Tue, 18 May 2021 16:58:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09041610CD for ; Tue, 18 May 2021 16:58:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09041610CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZUGvJObCa1mjrIN5G9y5iet3H5duSP+KGh/HNP6GH0M=; b=ZOp1bSL+/vw3C65RYluzcmlV8D LkJyvv7fV7bb4aNYeYgIWJodyFXISsrmbkzYYfo7GZZB7i8DHk9bGsZa8U4nHobDQ39JJGoPwwp/C H4exh66PBWOBO1xZ/aOgDUNiYWmGSTGvN4Wya0Ebf5ZVAhxLPqQsY47663go0cSt/pmytc8NoLxFb 9tbUnVS7k+7QUfnQBvRfq7hYl/5lmwCZ0sR63LZsO2jzQcIX3nDb0gJpPu2d1BiJ6lcZBFdMhoCxI HyGAOGqAPxn4SDrEpWKZjEYlg+1lYDMbENz2uJpZs2S8K1H7CiCF6h4HaNB34Q9tAM9vzj07iWaCN AsW8bKNQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lj32j-001PL0-6R; Tue, 18 May 2021 16:58:05 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31u-001P3H-VS; Tue, 18 May 2021 16:57:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=N9ujW2Qt+Tu2jJvNcfLPCqaX9eDRsnHYASEY0yw0Dq8=; b=KgmM/SY8q12RXrxCK4LRP1+bdt pjWKoeno05Nb/IVCJwWlCe8gS0zH5+4RfSpUtwmIpqAEclAbxeg6tqo/NkLaTF9PeDHQjWMekIxmc zFktfWgOrRJLN4hBJdsy9zOLJBy+LG87rkdIqccy5CLrz46b2svhXo2t8FiPcI5Edxrq5lZtlk/hh nhL0RmJmnC5NqjPe8Z8DVVjkwCIaa6h89bsCHFmFr//eTpWDh3ZuWr7cWnFduce21aTdxOpNMH50G E0YNGgunZLM/9IyCVoLkela9VmGXWjAgWdwygNfwHJPfJ2VjYUx3MaZHa1ln1zjVIpf7zM2nUcG/l aeM2Hqqw==; Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31s-00Ep1o-H7; Tue, 18 May 2021 16:57:13 +0000 Received: by mail-ej1-x62a.google.com with SMTP id n2so15656400ejy.7; Tue, 18 May 2021 09:57:11 -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=N9ujW2Qt+Tu2jJvNcfLPCqaX9eDRsnHYASEY0yw0Dq8=; b=ojtTWGFpHNUppvadJCAYjdoYALUkefFh5Xy0sK1ZUDsq6ctNPpEVZszIsucn9HC4Mw GWgvACJxYyerY+40xWclD/KiRpePGHzW9E3fIHv5MRmOzJkc8lO30NN5dJkcYdoUY1oZ h34iMm9vC26eWutAu7GBdYsOoP/TpnbqpkIJkL1vc8bXIpXJRVl52o18brE1Nfja8H8T kAB/Ei1Omw7UskKeI04iD2FCVgdEBBUt2K+Fyr39lrbY6Bts7EAEm6cFh+3bftff/5cl W7U8/5dix/1mqUd9RdW9gEehfiZ3n5Jr3Y0ZXLQ+3m2zp8c4YsUQl8iQFNGCxd9/Pe+D HwTw== 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=N9ujW2Qt+Tu2jJvNcfLPCqaX9eDRsnHYASEY0yw0Dq8=; b=iUolNyuI0JDleN4yz05PEpWeLqJzJYtMdDSDxQEa+BRfXIRLXmxrVIGnKT607IpP/Y bVDU00fVFoUQ7+KoDlhef/ej+bWupaACZt1SrZ0Cv930ihoDlsaaRzazMzAkGjbpsde0 q+qysU7k+7Xc9+wbUTsVyb5nL4KWpKE0vxLfjwe+oT3w+/F1/0nwZZGrDTruo1l7K+E/ gJzHBh985dzwA6iG2O/XA2G95AR+EJielLoVqP0pSMdfsDDunEt/jxCLqkhXySq0lxbv p03oTiWsh6rzIXzJlbIfI5+590Lh3D5/gcMc8+hkoTdWfjopfddu9lig1veUITfES+7F 1xXQ== X-Gm-Message-State: AOAM531mLd98DcniSbxd/mTvQBXX/gVaJ6Zd14t8lIy+uHyMfVbQyWGR rHZ7gFSRzZc4ffgQ66XGQm0qlFF9wkY= X-Google-Smtp-Source: ABdhPJwfpapo85Wh49dGvXSFDyNc0G2A96Py0HuVovh4Il+3IEoTCKjNOigTL8725aDGkcWbDu5rkw== X-Received: by 2002:a17:906:63d2:: with SMTP id u18mr7083280ejk.186.1621357030747; Tue, 18 May 2021 09:57:10 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id n2sm13525676edi.32.2021.05.18.09.57.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 May 2021 09:57:10 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, kishon@ti.com, vkoul@kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 3/4] ARM: dts: rockchip: rename nodename for phy-rockchip-inno-usb2 Date: Tue, 18 May 2021 18:56:57 +0200 Message-Id: <20210518165658.12764-4-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210518165658.12764-1-jbx6244@gmail.com> References: <20210518165658.12764-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_095712_583669_8BB391B0 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The pattern: "^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$" in phy-provider.yaml has required "#phy-cells" for phy nodes. The "phy-cells" in rockchip-inno-usb2 nodes are located in subnodes. Rename the nodename to pattern "usb2phy@[0-9a-f]+$" to prevent notifications. make ARCH=arm dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/ phy/phy-provider.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk322x.dtsi | 4 ++-- arch/arm/boot/dts/rv1108.dtsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 5774bc309..cffd7acfb 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -190,7 +190,7 @@ status = "disabled"; }; - u2phy0: usb2-phy@760 { + u2phy0: usb2phy@760 { compatible = "rockchip,rk3228-usb2phy"; reg = <0x0760 0x0c>; clocks = <&cru SCLK_OTGPHY0>; @@ -217,7 +217,7 @@ }; }; - u2phy1: usb2-phy@800 { + u2phy1: usb2phy@800 { compatible = "rockchip,rk3228-usb2phy"; reg = <0x0800 0x0c>; clocks = <&cru SCLK_OTGPHY1>; diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 884872ca5..9bd0acf3b 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -265,7 +265,7 @@ #address-cells = <1>; #size-cells = <1>; - u2phy: usb2-phy@100 { + u2phy: usb2phy@100 { compatible = "rockchip,rv1108-usb2phy"; reg = <0x100 0x0c>; clocks = <&cru SCLK_USBPHY>; From patchwork Tue May 18 16:56:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12265193 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D18BC43461 for ; Tue, 18 May 2021 16:58:16 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1211B61184 for ; Tue, 18 May 2021 16:58:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1211B61184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wTY0eIRtoMntePcD9/4t853TPBFt8SXrlAw7nMPP0Ek=; b=HfGicKkeIhlkgsU0Yna65yXadx n0caZ39xK3yanHQHx3ibe2TGciyto86HxBJ77Aqim6LM+0v2r8b3djpCnhDOqi8fklgKAilNDeT7s OBrNQqvlizeHOmB3/8DsI9fCj3UpVUdCZC56CyBaxVjBWkerMP/vjzbIGDeIeddpq3edbzTWW9QlS 9wO84cOY8hO/EEo2aPr3NoKQRl+pHBNFfijCroqmoJa2WFgliyarz7hrpu9baSoMMh6xykNFhdxkB x5PCLDEhJ7I4kRqsooha6F9jpAlw4kZvcVoJISXqlmq+3tTae0+keHy2nMi4CgGfHY3QovPw/5QJD /4cpxW5A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lj32m-001PMh-Sx; Tue, 18 May 2021 16:58:09 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31v-001P3c-Np; Tue, 18 May 2021 16:57:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DHH8YHAlTPU5T8bDwFoNt/piYkwaeBsEh0BIqwvr1v8=; b=ON6P2fOMK+g5+kYUhPeh/Ky/xc w+G9+wELFTNNR81CfvmcoGkizrMoyNc7CMvL4YnYzgOzb4sSjTHTPL3AWEEvt/AMFlxzuYcvMcn85 /nkmQPl9Hry3t9x5tYhNFAZ9DbiewVNJHqKw/In6lXwtPEn2xlVucPVFwc3SGsn+UmGuk7mhQMtGz JEacPfAaz8wdYNl39YXwg3ip+Ah4jhDlATzyh5jtPeFHBJxKBTIA0G9GbqOlT3vLas6aYSmfY0hcv l2WdoBo66zanxAf/wSmFeY54XP4S5NSTVdWAq4jo07web7wlX/PImGWgzL8zlKRKxQB2KV0sGG1Ab +woV2izQ==; Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj31t-00Ep2F-61; Tue, 18 May 2021 16:57:14 +0000 Received: by mail-ej1-x629.google.com with SMTP id k14so12186157eji.2; Tue, 18 May 2021 09:57:13 -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=DHH8YHAlTPU5T8bDwFoNt/piYkwaeBsEh0BIqwvr1v8=; b=Pr9vJRvAGeRZq3F9LEs3Ot8+o+c5VHPHPU2rvqxAlJqLbyhmKZdXY577NAgttua00w sLwqNiuRl/ipGfTh2jE4DVXIKXZWsk1vhGHmz3NLj5OjCiEGP+p1BKJ3rURY1vsgqPZr pqZzJaS7Zz0X4FTIkLwSH5yk5N2RZqvKhDtsalejQT51T1CYi7cevbzybEy+G2aQfsKS 11jN/tgEaC7v2zv+IuO9AzlGILN8RjTJrrtRNEskXtLd8adb8jEwM1ThqD0Yvs2fRjS8 3PAmmymqEwLRPi6FZ7FHI/Dnc8iOhCY0w/Yw5h6nZzcRXKI+98QAA7RcF9iaJuRgFI+E g9bg== 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=DHH8YHAlTPU5T8bDwFoNt/piYkwaeBsEh0BIqwvr1v8=; b=WGH1jQmbeb0CGR8pDxk3PfJ5QOu/Gqbu7FXDZT/yMKQy3tmlXWdlgZGwbC5yJvSn58 zeVrv5Ydv0Td+d709GidEoq553XKrv2QdiEmhqBcD81KBjakuS5EzDBf9FfvjlmT5XLe 9pn963y4OEki2k30oY/cFXjT1w+QkIuNtNT77SBTpgDvAsQaCJR7uoYSRxOkvjTdzCWG 6qTMGFPk+nXf8yOiOTysoo+i2XolCKMPvGRvCPoAvgLdBkeW6BOE9EQG+FfYpAXtj+mZ 9kCOjO61HK06srZ4cBSNdERQs7XJdnzwK6RmEoueKbOGObOI10lODvklEptFTQT8MjOP 74kg== X-Gm-Message-State: AOAM530Zxifi1kJu6o6VZ4kYelR2pTacGvppW/4UWLn/dOaV4FghGHQr RwdE9eDdugJ7G4t7FeYCBOY= X-Google-Smtp-Source: ABdhPJxCoRdQlBvUqCnmlq7ggRW09bTbmA0gtEsyu7TsFhhhCSuIPzqLSP7/iEmVQZpJfCnZxMrNnQ== X-Received: by 2002:a17:906:a0d3:: with SMTP id bh19mr6259825ejb.205.1621357031934; Tue, 18 May 2021 09:57:11 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id n2sm13525676edi.32.2021.05.18.09.57.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 May 2021 09:57:11 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, kishon@ti.com, vkoul@kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 4/4] arm64: dts: rockchip: rename nodename for phy-rockchip-inno-usb2 Date: Tue, 18 May 2021 18:56:58 +0200 Message-Id: <20210518165658.12764-5-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210518165658.12764-1-jbx6244@gmail.com> References: <20210518165658.12764-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_095713_240753_962E7C24 X-CRM114-Status: GOOD ( 12.31 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The pattern: "^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$" in phy-provider.yaml has required "#phy-cells" for phy nodes. The "phy-cells" in rockchip-inno-usb2 nodes are located in subnodes. Rename the nodename to pattern "usb2phy@[0-9a-f]+$" to prevent notifications. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/ phy/phy-provider.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 4e243d72e..248ebb61a 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -822,7 +822,7 @@ #address-cells = <1>; #size-cells = <1>; - u2phy: usb2-phy@100 { + u2phy: usb2phy@100 { compatible = "rockchip,px30-usb2phy"; reg = <0x100 0x20>; clocks = <&pmucru SCLK_USBPHY_REF>; diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index bc0bdc3d8..8c821acb2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -819,7 +819,7 @@ #address-cells = <1>; #size-cells = <1>; - u2phy: usb2-phy@100 { + u2phy: usb2phy@100 { compatible = "rockchip,rk3328-usb2phy"; reg = <0x100 0x10>; clocks = <&xin24m>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index a2eba5357..c1a253507 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1418,7 +1418,7 @@ status = "disabled"; }; - u2phy0: usb2-phy@e450 { + u2phy0: usb2phy@e450 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe450 0x10>; clocks = <&cru SCLK_USB2PHY0_REF>; @@ -1445,7 +1445,7 @@ }; }; - u2phy1: usb2-phy@e460 { + u2phy1: usb2phy@e460 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe460 0x10>; clocks = <&cru SCLK_USB2PHY1_REF>;