From patchwork Wed Dec 7 05:53:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30634 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1354wrr; Tue, 6 Dec 2022 21:55:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pAT2m5yyvt92FEf3rxGQfvaVwvuVX3ptXOssL5QCybpnCimHWxNey9qfGQ5gIpzdKO9SY X-Received: by 2002:a17:906:18e9:b0:78d:48ac:9044 with SMTP id e9-20020a17090618e900b0078d48ac9044mr62819984ejf.613.1670392533416; Tue, 06 Dec 2022 21:55:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392533; cv=none; d=google.com; s=arc-20160816; b=sPNOyWqueCAKdGwg/96wfbZRr695yBQkQSmCurU69kpljfRq71202JvbuojfezRIRr B7zrnCM7TMOLqdmKLLcnMoF4yP3AAEoEvRpbjn3R9jxEbuNGMgYMSTOSItcdZgDYRYXE aS1NyiLWZn+87zggAB3jzMICty0P62PygBYHZKHbO3cmwnsyGMTucvZ62bx2kpUugpOY gx0fA/PHnQZCdi2BHuTTz9PY1fOcPZKf5r/Yu4nXdLgY1zPa6DUIig8sQ9R8KdbnF5kz 3hw7Z9zo46ZAhLyqfya/12OzgKHD5RKNNXWwGQFO500AWPMhKxSsqS91EoUuPC7cvi2V Pd3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fSSyF4hLM2tGISHm5KJvlPwUK4sEZ2x8Nhwq8gptpqE=; b=YYGgJpkHxMrwvn1RsVSO2RbsJU+vrBgP2mIvhgx5QDjlGSOXlK7LtxIRDVLQHsCK8g ZOEjCyEsIvIT8MnwSk1/Yy8EnD/q0MSC3eriIWNZl+Oze0TTgcgIOV1MuNBE+xBtfaaM a2fyIwLbWmn/kUF4xrKRhMQGsLPPaLYa/VoLH2+1QAvm7/FmvE/XvP1AUwvoYhMavpwQ MOtXfElyjuB7uP9BaaasD8xKWGFKTp87rmEACi8GERor7vqFvXMhN+KRk7KmmXNjvgdV lkFJMW0gaxBXIfWt3NEX6yBa6yLw0CrzyJ0r3i+f1TOut8AOFh0EoPiVgMDQ9ZMzwgJE bSHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a170906848900b0078e19e971b2si3267819ejx.915.2022.12.06.21.55.10; Tue, 06 Dec 2022 21:55:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbiLGFyr (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbiLGFye (ORCPT ); Wed, 7 Dec 2022 00:54:34 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE27C58BDE; Tue, 6 Dec 2022 21:54:32 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:31 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 4D3652059054; Wed, 7 Dec 2022 14:54:31 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:31 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id B9C371DA5; Wed, 7 Dec 2022 14:54:30 +0900 (JST) From: Kunihiko Hayashi To: Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v2 06/16] dt-bindings: phy: Fix node descriptions in uniphier-phy example Date: Wed, 7 Dec 2022 14:53:55 +0900 Message-Id: <20221207055405.30940-7-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221207055405.30940-1-hayashi.kunihiko@socionext.com> References: <20221207055405.30940-1-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751533520744644981?= X-GMAIL-MSGID: =?utf-8?q?1751533520744644981?= Prior to adding dt-bindings for SoC-dependent controllers, rename the phy nodes and their parent nodes to the generic names in the example. And also add missing reg property for the parent nodes. Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml | 1 + .../devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml | 4 ++-- .../bindings/phy/socionext,uniphier-usb3hs-phy.yaml | 5 +++-- .../bindings/phy/socionext,uniphier-usb3ss-phy.yaml | 5 +++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml index a3cd45acea28..b3928c519b08 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml @@ -120,6 +120,7 @@ examples: ahci-glue@65700000 { compatible = "socionext,uniphier-pxs3-ahci-glue", "simple-mfd"; + reg = <0x65700000 0x100>; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x65700000 0x100>; diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml index 63dab914a48d..5d93feb2758d 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml @@ -61,11 +61,11 @@ examples: - | // The UniPhier usb2-phy should be a subnode of a "syscon" compatible node. - soc-glue@5f800000 { + syscon@5f800000 { compatible = "socionext,uniphier-ld11-soc-glue", "simple-mfd", "syscon"; reg = <0x5f800000 0x2000>; - usb-controller { + usb-hub { compatible = "socionext,uniphier-ld11-usb2-phy"; #address-cells = <1>; #size-cells = <0>; diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml index 21e4414eea60..2dbdc14a03d9 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml @@ -146,13 +146,14 @@ additionalProperties: false examples: - | - usb-glue@65b00000 { + usb@65b00000 { compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd"; + reg = <0x65b00000 0x400>; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x65b00000 0x400>; - usb_hsphy0: hs-phy@200 { + usb_hsphy0: phy@200 { compatible = "socionext,uniphier-ld20-usb3-hsphy"; reg = <0x200 0x10>; #phy-cells = <0>; diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml index 4c26d2d2303d..f52dc5289dec 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml @@ -131,14 +131,15 @@ additionalProperties: false examples: - | - usb-glue@65b00000 { + usb@65b00000 { compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd"; + reg = <0x65b00000 0x400>; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x65b00000 0x400>; - usb_ssphy0: ss-phy@300 { + usb_ssphy0: phy@300 { compatible = "socionext,uniphier-ld20-usb3-ssphy"; reg = <0x300 0x10>; #phy-cells = <0>;