Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1684517pxj; Wed, 19 May 2021 11:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS9RhfDwnYaZtd93npi+zS3tHq3J491YLxir/cx1kN22tiCyp+beoUCYAJ1tfOlF6kY9IU X-Received: by 2002:a5d:9c10:: with SMTP id 16mr876341ioe.101.1621448707049; Wed, 19 May 2021 11:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621448707; cv=none; d=google.com; s=arc-20160816; b=mxiugpkEV24AMvlYBIQoO3GQJjd3pb2zOACVkjxZn8qzcHOZdMSPdQ0kv1UsIEMoYa 55PsXBjdZ9j1DiR7ZFrvBMORjNqIbhKBf8KIeXIOnbONNVCF5JRsS7UPwgDXQdDAMzxd QSRCbEiPxo9yDLBHdRMkR9Odcwf61m71C1AgJNSDRhQdUxdAJLfZU8DNiCDsikSumb8D dANHwmTHaTcIax1a9l8xxRcxKRWOy+ib7xUTP2lEqy0l0/5O243Gfk0EXWFsRwWO55PA gu/UNQKAGOIoIjq/J7mecg8mWyOq1Wcw+REdC/g3senTi7EZyqb5C8/hACJruTT5WmZO IlzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=DvNLypjfM9sD8GKMWXOboYCU4E+Qp3/OvFniS6apdzw=; b=DwvfjX0V7PCdrfNwHPUVArrsjOpMJX2f/XY/9KCQyu3WuEaaMurbJh5htYNSud6N9q TyX1RugHTwBvSqtBT/ueWAr/F6+0JHBJIHH+cZ1Zwe2hP0H2K0WgaeAaYfLRIzJWXvtd KdcJfadTTu4aq+x9EgZYIaPxz8MCJFw0WRPhlbAJlb8kHJWwJen37L6BD5S8t0NRgm4M kHVBw7F6fuHk/ydJ7NKXPBI+JMMhiQWWupWmR3ENo6tLNSS/gNsJRwp/vEyWJObvejL+ 9jABMzK2VDPNZj42ZSou9rT0Oa0nEARnI8hQeJK70pYDanbTbvNSPOxNJbOryY4qAXVq ZCIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CS2WEw9X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id w14si417812ilu.141.2021.05.19.11.24.54; Wed, 19 May 2021 11:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CS2WEw9X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1350987AbhERQ6a (ORCPT + 99 others); Tue, 18 May 2021 12:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350969AbhERQ63 (ORCPT ); Tue, 18 May 2021 12:58:29 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3CECC061573; Tue, 18 May 2021 09:57:10 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id z12so14215656ejw.0; 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=TLOLhOktP7UOrFL+TLGlErON/d6aT9To/L7jKz69HhbjXtAUIUEFwNvBbvt3g+RRf+ H+14okWOE1X6BeWvVa2xxSmRNtqUVwFgcbd497lKWoAdVsCVuUl/vbzZAc3AWcAlnpZH PmFNOpBmA9YxrMy5oOFhD5xGf51HIYYj4X56e0XE6AZv8nzCPAUvSIpSvqQH7wIVNMTS PPyvBcUyiOcfJtyf0Z/TRZWSGxw6xcBy5l8/wj6cyz3uU+gf2inonVUSflsO/R4VXySQ nxAiVjuBkmwSyislsvVS6bJ1XBWMHWjP8QcSLAfAXTJ0YWGXH/sbEkFluP1s93Jsuews 2ZRw== X-Gm-Message-State: AOAM530SanR3UFKR4r1WTHqKJr26eWxyIZJt9VpFF5wCoCa8Yu1/sbcI 39X/E0ghiWceQq9dLkc/Pdo= 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- .../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>; -- 2.11.0