From patchwork Wed Dec 7 05:53:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 13066635 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C8D5BC352A1 for ; Wed, 7 Dec 2022 05:55:51 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=+sv5b6fnjfePVxfTHeIlsgOnHaqShTaayP9WVoVXfdA=; b=eKVB0vl7ql0AyV MooejR6tMLkYDkGY8UdOsbO4KJuokcEMnR3i+jdBo+lEA/olmUmI93MBY/4QrIiRqS77WnKkikA/a rsMvfgioQ+qP/zhXSQmbMIL47pfx34kSJczPtye2vi4qSpekIS0pOAMQVRN55lS2tHYWlPIoYEUon TatbdAq5Uyps9DIHULH21IUdviZPbuA00GNrBKtBaCivB1tsYZ44juxavc/BuLh+75Re4BVEtbq1F W80O6MTwLwsKzgemS5eJ3YQlLhQ8FJ6dlE8TTc9qKOgtV7H4vGaUSIQcODKXkkeTqG8/qnLJbdO3B ucXi3D6hP++mexFyU6hA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2nOV-00CH26-KB; Wed, 07 Dec 2022 05:54:59 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2nO3-00CGLP-5y for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2022 05:54:33 +0000 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:30 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 44CCF2059054; Wed, 7 Dec 2022 14:54:30 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:30 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 0FC4FA6B9C; 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 02/16] dt-bindings: reset: Fix node descriptions in uniphier-reset example Date: Wed, 7 Dec 2022 14:53:51 +0900 Message-Id: <20221207055405.30940-3-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221206_215431_359574_72AAA1E1 X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Prior to adding dt-bindings for SoC-dependent controllers, rename the reset nodes and their parent nodes to the generic names in the example. And also add the missing compatible string. Signed-off-by: Kunihiko Hayashi --- .../reset/socionext,uniphier-glue-reset.yaml | 7 +++-- .../reset/socionext,uniphier-reset.yaml | 28 +++++++++++-------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml index 0a2c13e1e230..e6c6cb2ab8b8 100644 --- a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml +++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml @@ -95,13 +95,14 @@ required: examples: - | - usb-glue@65b00000 { - compatible = "simple-mfd"; + usb@65b00000 { + compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd"; + reg = <0x65b00000 0x400>; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x65b00000 0x400>; - usb_rst: reset@0 { + usb_rst: reset-controller@0 { compatible = "socionext,uniphier-ld20-usb3-reset"; reg = <0x0 0x4>; #reset-cells = <1>; diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml index 6566804ec567..c8abc44582a7 100644 --- a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml +++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml @@ -66,11 +66,12 @@ required: examples: - | - sysctrl@61840000 { - compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon"; + syscon@61840000 { + compatible = "socionext,uniphier-ld11-sysctrl", + "simple-mfd", "syscon"; reg = <0x61840000 0x4000>; - reset { + reset-controller { compatible = "socionext,uniphier-ld11-reset"; #reset-cells = <1>; }; @@ -79,11 +80,12 @@ examples: }; - | - mioctrl@59810000 { - compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon"; + syscon@59810000 { + compatible = "socionext,uniphier-ld11-mioctrl", + "simple-mfd", "syscon"; reg = <0x59810000 0x800>; - reset { + reset-controller { compatible = "socionext,uniphier-ld11-mio-reset"; #reset-cells = <1>; }; @@ -92,11 +94,12 @@ examples: }; - | - perictrl@59820000 { - compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon"; + syscon@59820000 { + compatible = "socionext,uniphier-ld11-perictrl", + "simple-mfd", "syscon"; reg = <0x59820000 0x200>; - reset { + reset-controller { compatible = "socionext,uniphier-ld11-peri-reset"; #reset-cells = <1>; }; @@ -105,11 +108,12 @@ examples: }; - | - adamv@57920000 { - compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon"; + syscon@57920000 { + compatible = "socionext,uniphier-ld11-adamv", + "simple-mfd", "syscon"; reg = <0x57920000 0x1000>; - reset { + reset-controller { compatible = "socionext,uniphier-ld11-adamv-reset"; #reset-cells = <1>; };