From patchwork Tue Jun 1 16:47: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: 12291871 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 3D8A3C47080 for ; Tue, 1 Jun 2021 16:48:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 08E9261263 for ; Tue, 1 Jun 2021 16:48:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08E9261263 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-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=n/eEHZepLN/M8gC2AxGBx6W+ksVtMl4ALh9tbdxXnwA=; b=YYrx/KbjnG7RgT RTpN4fOf/HtmpevmLP6Rn0OdhcOnUjkf4lefAgTq1sKTWm+cdX1QXze6jVMyR9xnITkf4/PfYzoWJ ROGn6WIZ7qzoe0ecoXhbaAjOW+iZpT/exGLHucw1Cpne33nE9lS4HaESe0LWalnd7dXwKS4wEfaG4 OGbhRWKuwUl6IDJh3vAbkCO4+29NEouIqb4jyBgHn2iqb5WOgeMLLfxPI7jYL6LCS+PWcizM7GU2o so9ELlJ4hiJB9Yglr9T3Jn/unmZF9O8HG7nQ25SEIa+jUgkJWHTaKtxYm4xodkVEcJ7EfbUa0ZzCb GfjdfIgGO9YWw85/cxaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo7Z6-00HXad-J8; Tue, 01 Jun 2021 16:48:28 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo7Yq-00HXRl-4b; Tue, 01 Jun 2021 16:48:13 +0000 Received: by mail-ej1-x631.google.com with SMTP id e18so7033482eje.5; Tue, 01 Jun 2021 09:48:12 -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=WOOpFeGlUeHFuUxXH9E07hzApnK74f31cpwmZjz5Zko=; b=TCYsPhZlkTdt56Sc8WOANos3NIJBG6aRMu3P1GjmG3ZProqmOWonYw4stDOm46sZu6 Wr7tajYEhyCk/rDNuxzMwZZsse/CP8O+aH+IKMU9if9G2oAlyU5NIgaxfqgHTBi6XuxO JyMBr/bxmAJUdorqLZOiG6yTLQmzwa0HSzZn5G+zrYcnozftLdL7ViFi0K2RYRn9bAhA ixCytL4YEGNwRsYXUkAe+F7y1M9ozTVim8H0O5ahdmThC+bq0sQVAgt3mqmEPX54zdbx rfnRMKvs2TpUJ1Hd3S3LO0gR2vts4cmF9ENeBmllKOgIYrE9PJuwa8Zfl7E48iY6cEr9 bpmQ== 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=WOOpFeGlUeHFuUxXH9E07hzApnK74f31cpwmZjz5Zko=; b=pU9oQ1itqf+dfHHBOTkwZ+V3LQKUx8wJby4FbHzwQQGJJfoYcpr7bnTtLSvlUbrttD hNgJmZHhBFDu0ix95u2XFnER5U5Er8gE++NOWEOwe4s727WsofBxLZJ6SnYJjGPZ5zuM Ygu2Vkh1pYSGKxEacyIWEF6j/TffqVD49BarTBiBkZAKwbVoiHwC1av24IB8UvhCB0Q1 zOuxJ65kV7i/6vsb99aN9v0SjPiJ/Z7Cqb2co3WJUrq5th47Ee6ihwJthxkt1XwExqLU 4GmcWJM04t/21c5iWGHPocDWJ4dFoLv/ORm0i3tGo/ahsOcOi4+w6EzLImGH+kjQe8oU 36Ag== X-Gm-Message-State: AOAM532vZSIBjQGbaVzJONz4Of7T/7LvBHmi8O28iO5R6iCEY06lCXKd kaZkof/XkHBHsJjFeJfghzM= X-Google-Smtp-Source: ABdhPJyzoB1A9RmPJMtKMwSU6+NKgfxr94jq881eNtKLMY8sLgS/qWtnESQyqvyJ7POkRqj8V9mC2Q== X-Received: by 2002:a17:906:ccde:: with SMTP id ot30mr30987501ejb.353.1622566091026; Tue, 01 Jun 2021 09:48: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 q18sm8327750edd.3.2021.06.01.09.48.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jun 2021 09:48:10 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, kishon@ti.com, vkoul@kernel.org, t.schramm@manjaro.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 v7 1/5] dt-bindings: phy: rename phy nodename in phy-rockchip-inno-usb2.yaml Date: Tue, 1 Jun 2021 18:47:56 +0200 Message-Id: <20210601164800.7670-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210601164800.7670-1-jbx6244@gmail.com> References: <20210601164800.7670-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_094812_199935_016CF062 X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=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 Acked-By: Vinod Koul --- .../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 a5b027a6e..5bebd86bf 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml @@ -30,9 +30,6 @@ properties: "#clock-cells": const: 0 - "#phy-cells": - const: 0 - clocks: maxItems: 1 @@ -120,7 +117,6 @@ required: - reg - clock-output-names - "#clock-cells" - - "#phy-cells" - host-port - otg-port @@ -131,26 +127,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>;