From patchwork Wed Dec 7 05:53:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30631 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1283wrr; Tue, 6 Dec 2022 21:55:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5oUWkpjuA8uNlKhrseMj3e+GeE1LGt5N9YNJDMwfvfLrcwPv3vh+EK1ElH8nfWCpnMaYVN X-Received: by 2002:a17:906:fc9:b0:7ae:ef99:6fb2 with SMTP id c9-20020a1709060fc900b007aeef996fb2mr74671910ejk.761.1670392519602; Tue, 06 Dec 2022 21:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392519; cv=none; d=google.com; s=arc-20160816; b=yTBDPGgPSvkCQYSh7wnHD/8jfi6LaM4XlKnWDvKCDF98epbmB9lZ2YM64DpybA4QLr 5et/FWpTS0nvRH44ihUXfhWvvSrocUty/6Gqdyk2/PqYUIUigRts9Y0SKwRniEGFdajk Z6K4ZFlMgc100+pgW3gG+kYFeqXhrxBGaicF5nf8p54eGW67nYEqMkAa2pZT/TkvnCxQ 5O81xGE9maTqcLtVgvubVYX9AJ+Vc8VY5zEruMfsYVBxKaiHeF8yPGRPJ05AZVBTlPo1 OBc/KMoMm6OkCYt8A6DT3PuPcWfYucLX2mIld6H/ZmaafrNY1XWZ6Q3iWcZ65cVvaB6P y01A== 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=E1Ib7Y6XKYbCsQ5aZPbJI5i1rnRqKMpZBY7gsNTGLZU=; b=0yMIChPT78B4D5Jj7SGhwCE11PLwL7LZrSHsUyxZIpQqE/U8Rl24xHIOZGAMFN/uwP L5uApaLWmIdxGkcUBUHwqzdfNot98BDqqbzuB2YyWZxHx38bRfvol49imskgCjg9e8kU ec1Fr10+ze/6Qw7Yj+XSZmQeGD9vZu30azWWvP2vrr8RrsDkHOr3A6FAvbZCS0TIh5Jr BtxqUjeAfqtxDVELHLrThalJizc5jtC1gs37wZnLqP0EWjMr9Y79Kh6suy5EXNBlNEwH 6U1w7yNNXf7INeSTUcBDVAunDekVSv6nIGNMImO/vgO1yycJ5aLWrolrLasDNMO2ew7a XwfA== 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 y24-20020aa7d518000000b0046c44118d51si3314620edq.57.2022.12.06.21.54.56; Tue, 06 Dec 2022 21:55:19 -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 S229714AbiLGFyf (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:35 -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 S229674AbiLGFyc (ORCPT ); Wed, 7 Dec 2022 00:54:32 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C7D2558BE4; Tue, 6 Dec 2022 21:54:30 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) 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 iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 409492058B4F; 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 E1D251DA5; Wed, 7 Dec 2022 14:54:29 +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 01/16] dt-bindings: clock: Fix node descriptions in uniphier-clock example Date: Wed, 7 Dec 2022 14:53:50 +0900 Message-Id: <20221207055405.30940-2-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?1751533506603067753?= X-GMAIL-MSGID: =?utf-8?q?1751533506603067753?= Prior to adding dt-bindings for SoC-dependent controllers, rename the clock nodes their parent nodes to the generic names in the example. And also fix the missing compatible string. Signed-off-by: Kunihiko Hayashi --- .../clock/socionext,uniphier-clock.yaml | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml b/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml index 9a0cc7341630..672450a1ecda 100644 --- a/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml +++ b/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml @@ -61,11 +61,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>; - clock { + clock-controller { compatible = "socionext,uniphier-ld11-clock"; #clock-cells = <1>; }; @@ -74,11 +75,12 @@ examples: }; - | - mioctrl@59810000 { - compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon"; + syscon@59810000 { + compatible = "socionext,uniphier-ld11-mioctrl", + "simple-mfd", "syscon"; reg = <0x59810000 0x800>; - clock { + clock-controller { compatible = "socionext,uniphier-ld11-mio-clock"; #clock-cells = <1>; }; @@ -87,11 +89,12 @@ examples: }; - | - perictrl@59820000 { - compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon"; + syscon@59820000 { + compatible = "socionext,uniphier-ld11-perictrl", + "simple-mfd", "syscon"; reg = <0x59820000 0x200>; - clock { + clock-controller { compatible = "socionext,uniphier-ld11-peri-clock"; #clock-cells = <1>; }; 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: 30637 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1453wrr; Tue, 6 Dec 2022 21:55:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf4nON1A/3NiljWIG1ZRD7uEyVssbhaFDR1yZGsE+6Xmk+Q3hSst1BDaGHJteu5pnG220wWw X-Received: by 2002:aa7:c509:0:b0:46c:42b8:b3b8 with SMTP id o9-20020aa7c509000000b0046c42b8b3b8mr18109608edq.37.1670392551633; Tue, 06 Dec 2022 21:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392551; cv=none; d=google.com; s=arc-20160816; b=XZLUKbBcG+EjvxFkYSvMnqZLCsMVO74PCgdCY7qJTsydnrMjl2FYF1eQpKOHmjOcuo r7irfUKtHSQB84k1RdVv7aVvObuJQwHU2KSUmbsysq8wi71Yq6ankOYicqy8cR09f0+5 X0utwdb/YA7GRTpMFiym0ABK8z0qIHmtSd9axEwR2vRy08VTT5MM/GosMCdtVQInWUPC 6ElMusxqNpRJAEHomceWx5qs6JfnL1cAkUkBKkv/2d8gbwEGMho6hrYWJD5rmjzKg1yq v9GB8JAPbgomv5WCkXvuSDstg0JtIR7vVeY9zlrC7ghoKrEOLfdCsez8y8z89g2r9jm/ U+Uw== 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=1+cjZo7lfvJdpUBYMw1AygDI7+j7qUQopCrzPyQ3vdE=; b=xRF+NA/Y23ki7urlDnXFpg2/0s4iueqrq8SxJMWRudWeUKJTfbIRw5j119Av8R7Cx8 lEA450PjeYk5oQWNazr+zFz+UVLh9S8/FrmfxMIA8Ors9oe5fnka3ep9ups5zQ0/yiBM 68ZFyyvzTxm9EAcEe7NgqwVDZfaoqBz5zkHIe9z83HQ0HxkPc1chlQfRZd/9ekNwRKF/ hw35Vx8SdAcm48h7fAjDFF2vTwPIc0KLfIgOXVMCsa6J5XsRdwjuDqW3mQF5iBGXbLmJ 5K2mKKBgFPMXINn5iGI2KIc5/xbKn4cU/P0tKeLzl3fwPsEVBS5Nf7lUqe3ljk9RseoH KW0g== 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 dk23-20020a0564021d9700b00462c7bbc03esi3320159edb.114.2022.12.06.21.55.28; Tue, 06 Dec 2022 21:55:51 -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 S229753AbiLGFyk (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbiLGFyd (ORCPT ); Wed, 7 Dec 2022 00:54:33 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D977558BE5; Tue, 6 Dec 2022 21:54:30 -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: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-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?1751533540510582931?= X-GMAIL-MSGID: =?utf-8?q?1751533540510582931?= 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>; }; From patchwork Wed Dec 7 05:53:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30633 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1346wrr; Tue, 6 Dec 2022 21:55:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf6rqW3c/N4AhzvwpYG2cDzwBnC7xB2LZgdCrjtmSQc7ssMlXqdIxz3WV1LyVtkfTe8kedH3 X-Received: by 2002:aa7:dc0c:0:b0:461:6f87:20bb with SMTP id b12-20020aa7dc0c000000b004616f8720bbmr80334401edu.300.1670392531888; Tue, 06 Dec 2022 21:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392531; cv=none; d=google.com; s=arc-20160816; b=Y73K2wh2oKj7U8+oO2RlYiyPLCTcs6RTo0+Nn3Nb/FRt7Y4Fqp5nPH+Il08F/x2GqL VDE5SK6tIqIuH3RsQosy/P3wJCYOnw+Qnt+o30zY1mWhUfAZBbQHmlU0nYEhAkxxjCW4 darHCwVZxIF+B+1U5g9vZSSJkgHhnD7+4aT/Md4mCKP7EJxmu7eo/1i9L0MH4md/Pyjp kq+NbX+nT5ZgK9ywuytlNekmIX1KusemK8K0/z7idiCTfymUsdmx5VqKYgsLZVz25+PG M9sqC6eQwXZY8cFAYqW6hr2Xnc4F4EL4ZzyXCvDDf8wiwWao6z9duWmxpbSXcg2XGiqO +amg== 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=S4Re4qJ4xPLcmRYCxL5MTBaKdkJhcudU1O57S+x0Kf4=; b=Umyj7hKKje7Bey9RW9zMl9VNHAFyXorXa915R9qJjmRy22s+q0JZ9CMI99nTJIzPBX 9ydooa3Ms4f0FLz7oVB4AYMoZPh+SuCuFhzVXLQhScf5nX+yVwAt/wHyl5zDQpT2d4ib Z6GKllKmpcDVGMt6Pyza2Xei2fmInIZYb5CqeN70mgj1HQhTrqwlfup6Y/sTGp0nKlB+ 6HTTXgNe8Fa/YBYnXNwWw8M2jejg14Du263Ez9RSyO1ar6bm8XWZGTlnbRedx6AFkn8J L4kHu3kKk4XNVunYwlTkSLIsSlCCL63swFo1zT7Rn7/xnGVxjcyEvi1V5+pZUqUZABO5 U7Sw== 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 gv11-20020a1709072bcb00b007c115fb8501si1600470ejc.252.2022.12.06.21.55.08; Tue, 06 Dec 2022 21:55:31 -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 S229763AbiLGFyo (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbiLGFyd (ORCPT ); Wed, 7 Dec 2022 00:54:33 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DE65859142; Tue, 6 Dec 2022 21:54:31 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:30 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 745DA2058B4F; 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 31FE91DA5; 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 03/16] dt-bindings: pinctrl: Fix node descriptions in uniphier-pinctrl example Date: Wed, 7 Dec 2022 14:53:52 +0900 Message-Id: <20221207055405.30940-4-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?1751533519554731280?= X-GMAIL-MSGID: =?utf-8?q?1751533519554731280?= Rename the parent node to the generic node name "syscon". Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml index 14a8c0215cc6..186fc550af4c 100644 --- a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml @@ -69,7 +69,7 @@ examples: - | // The UniPhier pinctrl should be a subnode of a "syscon" compatible node. - soc-glue@5f800000 { + syscon@5f800000 { compatible = "socionext,uniphier-pro4-soc-glue", "simple-mfd", "syscon"; reg = <0x5f800000 0x2000>; From patchwork Wed Dec 7 05:53:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30638 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1459wrr; Tue, 6 Dec 2022 21:55:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf4w4t0WZdEx0b7yCHV5qZDfRggBchsWRgdcG3kkwQZOiUeenGRRA/XcoiVpXyiWUQTXCn2Z X-Received: by 2002:a05:6402:5011:b0:469:9c84:3bdd with SMTP id p17-20020a056402501100b004699c843bddmr39644308eda.302.1670392552589; Tue, 06 Dec 2022 21:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392552; cv=none; d=google.com; s=arc-20160816; b=otBcUdfm2hARgHSWcPKqp1xvqMKlk5DTOe2hft6OwJdKHkxX0SLFrP8dJFYXt96iC2 1yfwpnQCUSTAwRCFsb3LP9APgXsc3k3CfAgGmPodCgM14s8KA2sNQhUkzTTY6QBD3zdi tDKQbeY/koHYp5jVl7dt8B5/GMeGRl4pDxyZt9T3T0yeEgTz1q4OBm4ktdvocs2+40wj LiJBDTNXwpVjlAKsQATCyieUfvG1xZxJkt1V5fsGXFejeC+84jjM2z+2721FpA+5fGc/ I/5kPB93Jo4hSpp7K3x4l8hEtrZKRB2LF7zGxRrK/kUSixhfwkMzd3aSa5KN9d4w8psf rtqg== 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=ymw0eU9Uw0p+Korn4Qh8P6/G6DPlmdw28uSxqE9Pc4E=; b=jyXdTQY0w+R8//CbvfFP0CTHJcr2lTzJLqA8etpsxZ639vY7JnNbbfr0TIu3CpIuHl i96QFMmP9qPsKLXlI6BDV5aN2Tqc0oTlZQAgM0k6PIVCmf155h4Tj2OOxrH7sxiFoeHn GVMVANDZyo1F1F4orFmfpR9aumBoXyAgpcm8kT0+EutQl1qSVuLYEiNBY9DkBGXhfAMi QqVwt49UX1kNFtNq7u3eGxA9Vu5GgZG8HSiacLb+DToXYJd4AmZOQ4ppAWl0tlwkVLDE 9x9Peh4estTKs52KoAqku1+c+9bJb5dukbnQzB7tfFLeRMGP43mYiqLoHKwxpf/elMRd zCQQ== 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 sa30-20020a1709076d1e00b007ae3958c7besi14625615ejc.97.2022.12.06.21.55.29; Tue, 06 Dec 2022 21:55:52 -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 S229825AbiLGFzB (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbiLGFyg (ORCPT ); Wed, 7 Dec 2022 00:54:36 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2AE1D58BEC; Tue, 6 Dec 2022 21:54:32 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) 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 iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 4C1552058B4F; 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 5F1ED1DA6; 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 04/16] dt-bindings: watchdog: Fix node descriptions in uniphier-wdt example Date: Wed, 7 Dec 2022 14:53:53 +0900 Message-Id: <20221207055405.30940-5-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?1751533541418101079?= X-GMAIL-MSGID: =?utf-8?q?1751533541418101079?= Rename the parent node to the generic node name "syscon". Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml index 90698cfa8f94..33fb94f9c730 100644 --- a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml @@ -25,7 +25,7 @@ examples: - | // The UniPhier watchdog should be a subnode of a "syscon" compatible node. - sysctrl@61840000 { + syscon@61840000 { compatible = "socionext,uniphier-ld11-sysctrl", "simple-mfd", "syscon"; reg = <0x61840000 0x10000>; From patchwork Wed Dec 7 05:53:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1315wrr; Tue, 6 Dec 2022 21:55:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf59ubeMs6ejF0S/249bOrvnzvm5HanFRA1KfW8MruMWRaV33yakURxvN7bL1InhlhTHxV/e X-Received: by 2002:aa7:db91:0:b0:458:bd09:1b20 with SMTP id u17-20020aa7db91000000b00458bd091b20mr81576331edt.176.1670392525437; Tue, 06 Dec 2022 21:55:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392525; cv=none; d=google.com; s=arc-20160816; b=gu5jRrMdrLtsOfeOovq3963hmFehPldv9/NwOkWWECdEOIRPpxskHWosfqc/qEyE6o vAD96nFCITFFMC/yHm2eBDBYAk2ZrDhBApuIBh6GMbUNWP4oiR7p0E/0U+MQ+L9n8K6X a9hmbic0e8Uyy5yzXtU8abtIUjCSdfXCIIZmzOm7KR/pZoxJ8XicOeymA9B6GiYgIwFw tSp50B2vWOHRmlOxlD66vur2S9sq7mj1fsbgXrWhVjYTXNzU2aS4nKhlVwrzdIh3YSXy YV2DE53L+Orb4YDxnEr/mlduk8lG2E8pT6U5xmoEWXYlhbuYzTLzo2GNp/eUZ+WNj17G U6Sw== 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=QrnmkSqjg2mwagCR8d8cRV7meuTpL6zDzBKUCXNIRiU=; b=WWbgfJq9jlSFPjplMwt5MNwwLMYEOkjjFvX+VxTkYpiiLM2aqb8e3g+0E+owb/xzHl 2GAK0sQG2JXDwcrbkSR8agI2Gcx/Vi3EEXwu40Rez+WOfBjlmuCqIknoT3O/PEacY2Rd f1iV2xjBQlFDLic5JvSeohltXkXU/swDgnvKIrAZ5p3kUpSKy245LCQzGqmDZ0rU8CAx l+L1CzgU9G4Q5yANegYMkxEPkgS1FKVMDkNvHa53ljDR7i3CBU9moCIG7oVaeobXSYMo uVDZ0q5pBHXAHAOj9UpnqujCSjBIbLd+Nug+12mpouH6/HFXp5bnV7QQM1aIZWRYgi/3 l+PQ== 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 gz11-20020a170907a04b00b0078e0e866a4dsi11646274ejc.682.2022.12.06.21.55.02; Tue, 06 Dec 2022 21:55:25 -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 S229738AbiLGFyh (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbiLGFyd (ORCPT ); Wed, 7 Dec 2022 00:54:33 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D6DB858BFF; Tue, 6 Dec 2022 21:54:31 -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-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id F20052059054; 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 8C84CA6B9C; 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 05/16] dt-bindings: thermal: Fix node descriptions in uniphier-thermal example Date: Wed, 7 Dec 2022 14:53:54 +0900 Message-Id: <20221207055405.30940-6-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?1751533512833004489?= X-GMAIL-MSGID: =?utf-8?q?1751533512833004489?= Prior to adding dt-bindings for SoC-dependent controllers, rename the thermal node and its parent node to the generic names in the example. Signed-off-by: Kunihiko Hayashi --- .../bindings/thermal/socionext,uniphier-thermal.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml index c5b25ce44956..dcc02f86ac5a 100644 --- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml @@ -46,12 +46,12 @@ examples: - | // The UniPhier thermal should be a subnode of a "syscon" compatible node. - sysctrl@61840000 { + syscon@61840000 { compatible = "socionext,uniphier-ld20-sysctrl", "simple-mfd", "syscon"; reg = <0x61840000 0x10000>; - pvtctl: thermal { + pvtctl: thermal-sensor { compatible = "socionext,uniphier-ld20-thermal"; interrupts = <0 3 1>; #thermal-sensor-cells = <0>; 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>; From patchwork Wed Dec 7 05:53:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30636 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1402wrr; Tue, 6 Dec 2022 21:55:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf7l5fqIDcy/xWwaOma3+2niMzrCP8h2mYgEF3TRXh9OG5Tb/qtNLhpMPwO051RdGFopa30U X-Received: by 2002:aa7:d80d:0:b0:46b:7645:86a9 with SMTP id v13-20020aa7d80d000000b0046b764586a9mr31444632edq.311.1670392544462; Tue, 06 Dec 2022 21:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392544; cv=none; d=google.com; s=arc-20160816; b=OuLaxVhIm0hGDe7nXvNyTRy/X8z87GRDDUnluDm7zHS0Mx+YeimiZQ9sVcIHSoRRea 3lRbl9z4Vk8ziXLiWkmbDDEEFokheLrFmubTdFEcO3zCOpdDtqCPAMGZ/TKcw12mzqMt ABrfiA0FgJY1WZ3ZXu6Yo/B3O5H/AFOeUZjN9AC25x0NH/NUnb7aOVWytyzayYpBUBur nCQIjRd/yfFJlCH08lHlNXjoMCi2DW0B632ovzCbmu3ojbFBlCZcJxqP3OYN3TpvBBNz 8bWGsefTZDmIFSWJUJ4UdzUONXuTRp23SSFpLZzsv63WJT5Zunbgpymi0lXYI/iuRwCy ay6Q== 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=cjXyN3d3TTXzdtYKSbfm2PJuRCcG/3RWo6+FjP+YrVE=; b=nPc1j0TfpYowYZorNYETHQQ5q7pskJvvwuDo17I5iXGzaA1eJx6dk269+ycLEwR1Il FUA2eOIrdjB8TL22uZMAOioE5h1WnadCSqzoF8RIqPp/wXLdZyHGmwxgbsAWnpfHuybg isSSY5dabLn2xLJkxxRYuK41ikm0simeAvZfazy+hwtf+a5LrcWKicg4THapKR4P5guh OnOGieH49rvfBLhgrcnkJvrsNjrD0MI7j2iQDDUhtkwra3J5fRrpPRs2W/ognq/LXZpN TI/U92+E6Wej8s2Y/XoAE8IqVfZRNpo36M9t5guXWnNRcvcyAAj7ebSVd3FVIKxXNtQY Pyzg== 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 r5-20020aa7c145000000b00468468cd389si3192320edp.205.2022.12.06.21.55.20; Tue, 06 Dec 2022 21:55:44 -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 S229732AbiLGFyy (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbiLGFyf (ORCPT ); Wed, 7 Dec 2022 00:54:35 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2ABAC58BD5; Tue, 6 Dec 2022 21:54:32 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:31 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 7BB222058B4F; 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 DDC301DA6; 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 07/16] dt-bindings: nvmem: Fix node descriptions in uniphier-efuse example Date: Wed, 7 Dec 2022 14:53:56 +0900 Message-Id: <20221207055405.30940-8-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?1751533532857805965?= X-GMAIL-MSGID: =?utf-8?q?1751533532857805965?= Prior to adding dt-bindings for SoC-dependent controllers, rename the parent node to the generic name in the example. And also add missing compatibles and reg property for the parent nodes. Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml index 2578e39deda9..33ba78083b38 100644 --- a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml +++ b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml @@ -33,8 +33,10 @@ examples: - | // The UniPhier eFuse should be a subnode of a "soc-glue" node. - soc-glue@5f900000 { - compatible = "simple-mfd"; + syscon@5f900000 { + compatible = "socionext,uniphier-ld20-soc-glue-debug", + "simple-mfd", "syscon"; + reg = <0x5f900000 0x2000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x5f900000 0x2000>; From patchwork Wed Dec 7 05:53:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30635 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1367wrr; Tue, 6 Dec 2022 21:55:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf6eyQ/yQgW5z9ahIDg4d1BwLBc7saMhT1sdCNSlmNp1zTqCLpK0xIcgShgZ5w6+Re3ZyoTO X-Received: by 2002:a05:6402:14:b0:461:deed:6d20 with SMTP id d20-20020a056402001400b00461deed6d20mr82875756edu.55.1670392536845; Tue, 06 Dec 2022 21:55:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392536; cv=none; d=google.com; s=arc-20160816; b=ocZpXiFm5wCUc66ytugfpn/YbQ+7TBB5P6Wy/qGhzn8hRla6OYf5gg5zqgZ/4mP5Uk aMsx57RoQ9zbCs9WHRb9Dyb/7kc3BFz0YMcRNzsoWFpvZ6h6j7Qdi4sbSV74gZPEE25X +d/T6UTTFW55/t0b+fsZf1n6SolSl+qaS2bPlFVDaU8cdOBBAJ0VFwczpV+ll0KKPasU RZSJkqN/JBrr5jBWqY9PezK6/YzS99JEM0KRiCPrdr9dtASHNnDnfT64/UC04yqJ2B3E 2r17vX8NTHv2CoNUNO+iy6niWyGBnVD7wkz20Q2Az/tjDCmSU/hEZcxBICO4vnVB112y TF6Q== 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=PMCq5QVaTcc6ziUNBpxoatK395Mcgzya7Cp9weJszXM=; b=oKRoe+wdIJR6JZ8v1RLyIiNnJUAdIOZxlwVV/cdptHAEJADMaGrnIHfheYnIpW+TIQ pfNuGzEnEo9ObyeCF002/cGQ/b7yseYhU9dfTdpxNm4T10iG46CxD2qWXiMiMxAeNZWX g8+03oXWyhiXXndb3BK1r6W0ibF7xVfNRhIMF/PU8SfaBUZxk9gysjgYUgJalqkJ0B7H WyoVW5CP40ry26/wzntJXO/zcRBaJXNUIS2lOOiabejr4Sa6UO0cpP74bnTpcLV5kdon CJkMJeoE+CUflz5Wl3d3DwNzQIhFV/L/ICpAFnk8kTQ3CMWHYM1QmuMfgFv4aZ3AIXVn L3og== 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 u3-20020aa7d983000000b0046207099f6bsi3372815eds.613.2022.12.06.21.55.14; Tue, 06 Dec 2022 21:55:36 -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 S229790AbiLGFyt (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbiLGFye (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 EB6B558BF6; 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-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 7F92B2059054; 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 155931DA5; Wed, 7 Dec 2022 14:54:31 +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 08/16] dt-bindings: soc: socionext: Add UniPhier system controller Date: Wed, 7 Dec 2022 14:53:57 +0900 Message-Id: <20221207055405.30940-9-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?1751533524608515357?= X-GMAIL-MSGID: =?utf-8?q?1751533524608515357?= Add devicetree binding schema for the system controller implemented on Socionext Uniphier SoCs. This system controller has multiple functions such as clock control, reset control, internal watchdog timer, thermal management, and so on. Signed-off-by: Kunihiko Hayashi --- .../socionext/socionext,uniphier-sysctrl.yaml | 105 ++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 106 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml new file mode 100644 index 000000000000..c1b7cec8def4 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml @@ -0,0 +1,105 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sysctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier system controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + System controller implemented on Socionext UniPhier SoCs has multiple + functions such as clock control, reset control, internal watchdog timer, + thermal management, and so on. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-sysctrl + - socionext,uniphier-pro4-sysctrl + - socionext,uniphier-pro5-sysctrl + - socionext,uniphier-pxs2-sysctrl + - socionext,uniphier-sld8-sysctrl + - socionext,uniphier-ld11-sysctrl + - socionext,uniphier-ld20-sysctrl + - socionext,uniphier-pxs3-sysctrl + - socionext,uniphier-nx1-sysctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + + "^watchdog(@[0-9a-f]+)?$": + $ref: /schemas/watchdog/socionext,uniphier-wdt.yaml# + + "^thermal-sensor(@[0-9a-f]+)?$": + $ref: /schemas/thermal/socionext,uniphier-thermal.yaml# + +allOf: + - if: + properties: + compatible: + contains: + const: socionext,uniphier-ld4-sysctrl + then: + patternProperties: + "^watchdog(@[0-9a-f]+)?$": false + + - if: + properties: + compatible: + contains: + enum: + - socionext,uniphier-ld4-sysctrl + - socionext,uniphier-pro4-sysctrl + - socionext,uniphier-sld8-sysctrl + - socionext,uniphier-ld11-sysctrl + then: + patternProperties: + "^thermal-sensor(@[0-9a-f]+)?$": false + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + syscon@61840000 { + compatible = "socionext,uniphier-ld20-sysctrl", + "simple-mfd", "syscon"; + reg = <0x61840000 0x4000>; + + clock-controller { + compatible = "socionext,uniphier-ld20-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-reset"; + #reset-cells = <1>; + }; + + watchdog { + compatible = "socionext,uniphier-wdt"; + }; + + thermal-sensor { + compatible = "socionext,uniphier-ld20-thermal"; + interrupts = ; + #thermal-sensor-cells = <0>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 0d8faba73fe8..8cec8ea46dd1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3103,6 +3103,7 @@ S: Maintained F: Documentation/devicetree/bindings/arm/socionext/uniphier.yaml F: Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml +F: Documentation/devicetree/bindings/soc/socionext/socionext,uniphier*.yaml F: arch/arm/boot/dts/uniphier* F: arch/arm/include/asm/hardware/cache-uniphier.h F: arch/arm/mach-uniphier/ From patchwork Wed Dec 7 05:53:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30639 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1511wrr; Tue, 6 Dec 2022 21:56:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf65re5Vcr23pXWk2Rj6j0h7zr7oI14ppn61TiX2gr/3gPaCH7wjCeB4I+2zq/IYGkquURwZ X-Received: by 2002:a65:458a:0:b0:477:9a46:d058 with SMTP id o10-20020a65458a000000b004779a46d058mr63232073pgq.280.1670392563140; Tue, 06 Dec 2022 21:56:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392563; cv=none; d=google.com; s=arc-20160816; b=O4vi2tJZTsZCPQ5CHAHKVKfznzB4ekZAIMo4YcAL0aFrfIiiX0ZgN4P2Oh3ebyOqwb q3WHKgXml9tU0cilPNGmGg4CdNJ+TGRsCKCTUgowaDDpN58/E2mPXmTmo8bS3qGeZCRt vqw6Om1gnuJhYoOeseDmkG67yXXytVlS2p6V8rFmhW+WQjEEtVHr5eqJKa4n7AKn+giy 0G3+aHiOxv+FLPvxB0XvIwAf6DhW6tuRV4UJ3de0cm+k+hq19jfGl3gZv9XH6FBUPYDF eJ5L30tMgw1uhQBAx/r1mZZ8fXGd7eMggnuH40xo7y4BP4tWiBxyWobD9xSMlKPOhSn7 7sKg== 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=flp1PKUkkZrG88uJHAddRxG6xEaBP3Ok6PO2cFfQSCo=; b=btOYSxrf4iKu7myrdNcwcxN7cx5GIyCRcqIHvSKXfYepI3AVY99xCZaHH0+ozUBoAA ael2AdGTE4sULKxTER7kjWNlr85F2mGbulHAPv5S5Rbe/+vMzcu1xKtshgVchpGWGErZ W8t44XiujwskzLQVlgd0PcCsjr/HGhpJ26e5jIB7hgFQzu2uV2voW7FCwh24SafVF7TS nEGqlpu6hLILotjJ7FKIVJiACfPqZ+GD+oGyvot6x9dvqaGDwYdsw/socV+60FM8YIev Mk7Cr7DpwWbD/YPRY9kcRTuxWq8gKYuHijQD3rV9oWZt1Fx96K6sMtaJWgtXyOkXbXbz 965w== 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 o13-20020a17090a744d00b0020da3876a77si532040pjk.119.2022.12.06.21.55.49; Tue, 06 Dec 2022 21:56:03 -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 S229819AbiLGFy7 (ORCPT + 99 others); Wed, 7 Dec 2022 00:54:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbiLGFyf (ORCPT ); Wed, 7 Dec 2022 00:54:35 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3FC1E59146; Tue, 6 Dec 2022 21:54:33 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) 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 iyokan2-ex.css.socionext.com (Postfix) with ESMTP id C9F982058B4F; 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 37D431DA6; Wed, 7 Dec 2022 14:54:31 +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 09/16] dt-bindings: soc: socionext: Add UniPhier SoC-glue logic Date: Wed, 7 Dec 2022 14:53:58 +0900 Message-Id: <20221207055405.30940-10-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?1751533552289740429?= X-GMAIL-MSGID: =?utf-8?q?1751533552289740429?= Add devicetree binding schema for the SoC-glue logic implemented on Socionext Uniphier SoCs. This SoC-glue logic is a set of miscellaneous function registers handling signals for specific devices outside system components, and also has multiple functions such as I/O pinmux, usb-phy, debug, clock-mux for a specific SoC, and so on. Signed-off-by: Kunihiko Hayashi --- .../socionext,uniphier-soc-glue.yaml | 113 ++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml new file mode 100644 index 000000000000..6fc790963660 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml @@ -0,0 +1,113 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SoC-glue logic + +maintainers: + - Kunihiko Hayashi + +description: |+ + SoC-glue logic implemented on Socionext UniPhier SoCs is a collection of + miscellaneous function registers handling signals outside system components. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-soc-glue + - socionext,uniphier-pro4-soc-glue + - socionext,uniphier-pro5-soc-glue + - socionext,uniphier-pxs2-soc-glue + - socionext,uniphier-sld8-soc-glue + - socionext,uniphier-ld11-soc-glue + - socionext,uniphier-ld20-soc-glue + - socionext,uniphier-pxs3-soc-glue + - socionext,uniphier-nx1-soc-glue + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^pinctrl(@[0-9a-f]+)?$": + $ref: /schemas/pinctrl/socionext,uniphier-pinctrl.yaml# + + "^usb-hub(@[0-9a-f]+)?$": + $ref: /schemas/phy/socionext,uniphier-usb2-phy.yaml# + + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + +allOf: + - if: + properties: + compatible: + contains: + enum: + - socionext,uniphier-pro4-soc-glue + - socionext,uniphier-ld11-soc-glue + else: + patternProperties: + "^usb-hub(@[0-9a-f]+)?$": false + + - if: + properties: + compatible: + contains: + const: socionext,uniphier-pro4-soc-glue + else: + patternProperties: + "^clock-controller(@[0-9a-f]+)?$": false + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@5f800000 { + compatible = "socionext,uniphier-pro4-soc-glue", + "simple-mfd", "syscon"; + reg = <0x5f800000 0x2000>; + + pinctrl { + compatible = "socionext,uniphier-pro4-pinctrl"; + }; + + usb-hub { + compatible = "socionext,uniphier-pro4-usb2-phy"; + #address-cells = <1>; + #size-cells = <0>; + + phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + + phy@2 { + reg = <2>; + #phy-cells = <0>; + }; + + phy@3 { + reg = <3>; + #phy-cells = <0>; + }; + }; + + clock-controller { + compatible = "socionext,uniphier-pro4-sg-clock"; + #clock-cells = <1>; + }; + }; From patchwork Wed Dec 7 05:53:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30642 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1931wrr; Tue, 6 Dec 2022 21:57:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf7GaLOT23M/LmD+CS0BMyuLd39I+uc6C+15pRa6FQ1mE8IQ36U8e33V2zYcWFhFYg3sL7xv X-Received: by 2002:a17:906:2e83:b0:78d:b3f0:b5c0 with SMTP id o3-20020a1709062e8300b0078db3f0b5c0mr78378910eji.141.1670392640390; Tue, 06 Dec 2022 21:57:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392640; cv=none; d=google.com; s=arc-20160816; b=VQDZ/o3tNn8C6QQHNIeraDt8CPaE1BmdRc52e7ETlUhqlrEAgmlUzXU6HmzLUz+tTK WZGXSTQITLq3g0Gv1cfAha3ykSn/jNJcsUrNV84j1Cv3COlkuzC/tkcXDUPxAu4nR/qa trs5Sh6FMieeexkysfUU9Wv5khaATvZpDfpoHFcYz9lE5ZUtqzuJflyPGmeLAwkKHlO8 fMFK8Ux1QeVJgYazmtEjfu14UXzmuK7XnA/0gu9NfUtyBykLSCVKWGDJcX2vBFnxyP8M GHk+BYDBcCvchFHnpnGuMEOUGOAMM4tNDf3fe8YgjprW0NNKRU/EUwC5JMwFbRCPaWqd Fbzw== 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=V+jkCJvmWhQbeKO6W1hNe5bQ6lc8HBArzyULpiGlXHM=; b=BjV8xauuGodQSJJP75+1x5ZY7rOx2aNAPRHj7uhPG1ygC/YEoElsYBNzdusTBp32NL nO3YmM8JY8qwy+h31fxtJB7dsyEBt4cRWAeoZiAjbld1PQeaF2dOEV5Xm7vcWVRNbvZh CAXBkZSaFWer8gelDGMndPf6QTzxH+1EwcAzhlqzJQ4pmwVOsUvDxfl3KrZgOvrOtti3 w9sBpKeOkZc33IHfbZuuUycHo+cH96sdtRc40lXgiKYX0t+MzKEgyGZ+qZ1uE6rRhIjD dokr3F2n9qSrrZoE3z2qJNVyg+OFOjLo4PMppU8D3SpnzhmMoDWP3AUCetswJaZA9+5V cICg== 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 hv9-20020a17090760c900b007c103ce0cc7si4657081ejc.740.2022.12.06.21.56.57; Tue, 06 Dec 2022 21:57:20 -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 S229853AbiLGFzI (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbiLGFyh (ORCPT ); Wed, 7 Dec 2022 00:54:37 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3431458BCF; Tue, 6 Dec 2022 21:54:33 -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 CB13C2059054; 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 5BCCB1DA5; Wed, 7 Dec 2022 14:54:31 +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 10/16] dt-bindings: soc: socionext: Add UniPhier SoC-glue logic debug part Date: Wed, 7 Dec 2022 14:53:59 +0900 Message-Id: <20221207055405.30940-11-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?1751533633220228813?= X-GMAIL-MSGID: =?utf-8?q?1751533633220228813?= Add devicetree binding schema for the SoC-glue logic debug part implemented on Socionext Uniphier SoCs. This SoC-glue logic debug part is a set of miscellaneous function registers handling signals for specific devices outside system components, and also has multiple functions such as efuse, debug unit, several monitors for specific SoC, and so on. Signed-off-by: Kunihiko Hayashi --- .../socionext,uniphier-soc-glue-debug.yaml | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml new file mode 100644 index 000000000000..db13c56b77b6 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml @@ -0,0 +1,73 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SoC-glue logic debug part + +maintainers: + - Kunihiko Hayashi + +description: |+ + SoC-glue logic debug part implemented on Socionext UniPhier SoCs is + a collection of miscellaneous function registers handling signals outside + system components for debug and monitor use. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-soc-glue-debug + - socionext,uniphier-pro4-soc-glue-debug + - socionext,uniphier-pro5-soc-glue-debug + - socionext,uniphier-pxs2-soc-glue-debug + - socionext,uniphier-sld8-soc-glue-debug + - socionext,uniphier-ld11-soc-glue-debug + - socionext,uniphier-ld20-soc-glue-debug + - socionext,uniphier-pxs3-soc-glue-debug + - socionext,uniphier-nx1-soc-glue-debug + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + ranges: true + +patternProperties: + "^efuse(@[0-9a-f]+)?$": + $ref: /schemas/nvmem/socionext,uniphier-efuse.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@5f900000 { + compatible = "socionext,uniphier-pxs2-soc-glue-debug", + "simple-mfd", "syscon"; + reg = <0x5f900000 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x5f900000 0x2000>; + + efuse@100 { + compatible = "socionext,uniphier-efuse"; + reg = <0x100 0x28>; + }; + + efuse@200 { + compatible = "socionext,uniphier-efuse"; + reg = <0x200 0x58>; + }; + }; From patchwork Wed Dec 7 05:54:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30645 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2098wrr; Tue, 6 Dec 2022 21:58:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf4XgDXTVJkFrXH8m8tp/LK1PQCni3hWDrDxm+5jhoMYTXZ8NoQkm95Is9Ab+rtPihQBAscL X-Received: by 2002:a17:902:e886:b0:188:7675:763a with SMTP id w6-20020a170902e88600b001887675763amr75245742plg.133.1670392683240; Tue, 06 Dec 2022 21:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392683; cv=none; d=google.com; s=arc-20160816; b=GBS0Wjsy95tWJBPDWmqYVXvfgZ0APDAYs6E/K13c27mDbWPAGQRm+o+M5vNKYOy8d3 BJJ7ud+O9FwX/8aigge3NZldo9gX5a6/ze0+gvRQ5OUD/pbu/IQYml2+6G90sH5C7bNX OnjRtmwkMzOi/aalKAFQ9HvtT8qIvIf0vVHItgjlwGUCiQCuy6Xm/cq1MOZ/zfoCC+tn IQ8Ml6eAN42RVn8+Z9OfSFqlcb8N6/obGuK73oLnJVVe7po+19aej1CUnbM1CLAqEDNq w84Ld9Wn5jDAgCu6ELymSA1YHxrcr7Z6syjV23wEYly5FRUvWxknKlmsJV6QN4yiBUDR GSAg== 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=I6ozFBYV/oSicc40jRHUd/PLdqt1gUGfKKs7dFLHvpg=; b=keh6gVaHXPLzi9N8EcjlSm9Wr1Zf/wFkemGpGw7FbKUCwpSnVcCszNCzrWx6n6k0GR Ew9rqcS7GiBtXMuT/ZXr+k5jzdF5bwWFyPfUIZM1x7tyU1+LX4KhTu1aA3kB7IFJp4rb Q/9GWgGGruKs6NX9Y8sXf+POtYoY6RRw4gjOqaAveTmJs2kivIGrqQ1niI/jeJ4Ijvpd nm+nXs+KGkRWN5if6/80p20cnVyhBLbuwcYdHI93vZ0p/XKoei95XxcMKY2KDYVJp5Ix ZDv/lS4862/j+zYQ+dH+KvC7gbppIbzqaVMnoYqPw4QxpDzES8D+LZVk4xqwawWlwfSM BcoQ== 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 m20-20020a170902c45400b00189b908dd2esi13449729plm.469.2022.12.06.21.57.50; Tue, 06 Dec 2022 21:58:03 -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 S229866AbiLGFzL (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbiLGFyh (ORCPT ); Wed, 7 Dec 2022 00:54:37 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E6FBD58BE3; Tue, 6 Dec 2022 21:54:34 -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:32 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 05BD52059054; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 7FB9C1DA5; Wed, 7 Dec 2022 14:54:31 +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 11/16] dt-bindings: soc: socionext: Add UniPhier peripheral block Date: Wed, 7 Dec 2022 14:54:00 +0900 Message-Id: <20221207055405.30940-12-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?1751533678058793454?= X-GMAIL-MSGID: =?utf-8?q?1751533678058793454?= Add devicetree binding schema for the peripheral block implemented on Socionext Uniphier SoCs. Peripheral block implemented on Socionext UniPhier SoCs is an integrated component of the peripherals including UART, I2C/FI2C, and SCSSI. Peripheral block has some function logics to control the component. Signed-off-by: Kunihiko Hayashi --- .../socionext,uniphier-perictrl.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml new file mode 100644 index 000000000000..23223a9fe76a --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier peripheral block controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + Peripheral block implemented on Socionext UniPhier SoCs is an integrated + component of the peripherals including UART, I2C/FI2C, and SCSSI. + Peripheral block controller is a logic to control the component. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-perictrl + - socionext,uniphier-pro4-perictrl + - socionext,uniphier-pro5-perictrl + - socionext,uniphier-pxs2-perictrl + - socionext,uniphier-sld8-perictrl + - socionext,uniphier-ld11-perictrl + - socionext,uniphier-ld20-perictrl + - socionext,uniphier-pxs3-perictrl + - socionext,uniphier-nx1-perictrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@59820000 { + compatible = "socionext,uniphier-ld20-perictrl", + "simple-mfd", "syscon"; + reg = <0x59820000 0x200>; + + clock-controller { + compatible = "socionext,uniphier-ld20-peri-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-peri-reset"; + #reset-cells = <1>; + }; + }; From patchwork Wed Dec 7 05:54:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30640 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1627wrr; Tue, 6 Dec 2022 21:56:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf7H3N0Fc+/FMiztvVsuuD+JUYfwqk3GgKhLgCuOrR5IIIVpgD7IJz8o8QFzr7D8Xx9J4Wu3 X-Received: by 2002:a63:60b:0:b0:478:9d0a:4097 with SMTP id 11-20020a63060b000000b004789d0a4097mr16248270pgg.75.1670392587741; Tue, 06 Dec 2022 21:56:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392587; cv=none; d=google.com; s=arc-20160816; b=B6cvHbKrd4tufoMXpvEJCNB/rhXvoqeiEiOB3mB9xvhA8/x50Njr2Bw0yhwmpeZsrd 0xw4ovmwulongm7xxzCoQOnwTDhELtpFEwL07hI1KPm7gN2aCQHq34+rwiA5bcU4n5Cm 3x/fEKYAeP7yu8h1tL6FRj+cV8YpSOr6cl9QJljkY9YxeqRyc+fsdgeuqfmHHVR2IO4L Hw5pLf7xkDp8aJYlSQjq5AJptUSx8xQm13IYfQ3i7jV3MyJ/CjC5WmhnCLv3XCaYsFi2 nWkebBBDy6euak40zfkfL1ZKRW7USgNi3KFJsP63rlw782/VcLcQOA8mftjuf5+sHaPy w5EQ== 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=C56aHPJTOVDaZ5bVGVcQPj+CFlvl8iKKXaGrxg3CBXs=; b=IDIWSm+HFyCh/CZUJLEGpvxdfrT9HdyRNG4fAq/RjAi3On14QIrZYtPlVTtdXhYvXP olyc4O22j6rMcRjF8CqLq95erGekRXkPc50QeL2hiPKT54tGL1D6tQ0w5/YU9nmN7TDj rqFMdhJR3aHPRBzJc/xqM113SdXcFZ7ff5kt2CjdFxOB1DCRLgOvYjP1RRBZG8TGx+Hh Evg5h3UB5ur4MyjueKuyry8+GRilCamSqyWk13Z5x7oa+cozWExWawoZ+RFx6RHo9hr1 ikNU/1JwkSTTHHMPUzHR97iAfXLzMRvGMs1AcsvDQIXHElpCPlsSXkuH2QzLsvrxPXMw Kfkg== 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 x1-20020a056a00188100b00557c8a20395si21320166pfh.120.2022.12.06.21.56.11; Tue, 06 Dec 2022 21:56:27 -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 S229843AbiLGFzG (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbiLGFyh (ORCPT ); Wed, 7 Dec 2022 00:54:37 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3D71C58BE5; Tue, 6 Dec 2022 21:54:35 -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:32 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 0A9AB2058442; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id A3B2A1DA6; Wed, 7 Dec 2022 14:54:31 +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 12/16] dt-bindings: soc: socionext: Add UniPhier media I/O block Date: Wed, 7 Dec 2022 14:54:01 +0900 Message-Id: <20221207055405.30940-13-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?1751533577968416192?= X-GMAIL-MSGID: =?utf-8?q?1751533577968416192?= Add devicetree binding schema for the media I/O block implemented on Socionext Uniphier SoCs. This block is implemented on LD4, sLD8, Pro4, and LD11 SoCs. Media I/O block implemented on Socionext UniPhier SoCs is an integrated component of the stream type peripherals including SD, USB2.0, eMMC, and MIO-DMAC. Media I/O block has a common logic to control the component. Signed-off-by: Kunihiko Hayashi --- .../socionext/socionext,uniphier-mioctrl.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml new file mode 100644 index 000000000000..1994355a27d3 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier media I/O block (MIO) controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + Media I/O block implemented on Socionext UniPhier SoCs is a legacy + integrated component of the stream type peripherals including USB2.0, + SD/eMMC, and MIO-DMAC. + Media I/O block has a common logic to control the component. + + Recent SoCs have SD interface logic specialized only for SD functions + as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-mioctrl + - socionext,uniphier-pro4-mioctrl + - socionext,uniphier-sld8-mioctrl + - socionext,uniphier-ld11-mioctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@5b3e0000 { + compatible = "socionext,uniphier-ld11-mioctrl", + "simple-mfd", "syscon"; + reg = <0x5b3e0000 0x800>; + + clock-controller { + compatible = "socionext,uniphier-ld11-mio-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld11-mio-reset"; + #reset-cells = <1>; + resets = <&sys_rst 7>; + }; + }; + From patchwork Wed Dec 7 05:54:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30644 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2080wrr; Tue, 6 Dec 2022 21:57:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf5M9BDcTmblOnIc9o3qlfavQ1nMRgRFM7PqEX54eOMMZZoUaFulCtgowylV68sgBRyMs2L2 X-Received: by 2002:a05:6a00:10cd:b0:567:546c:718b with SMTP id d13-20020a056a0010cd00b00567546c718bmr72830173pfu.17.1670392677632; Tue, 06 Dec 2022 21:57:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392677; cv=none; d=google.com; s=arc-20160816; b=vsXJxUB/fRRXN+orS4WxlbjY9OON8DnjV049r9xeL0P/QkXr2biiCYViW6Hpr9Q20D +P1s5A61kuDvIykAK7w1L+TNWXA3TKx4+5pGokf13eC1a6ShhxC8ogvkIQJdLndDU8pE p+QSnVGJi0NHdJIYCSdFI1v3Dlv8nyHSSzAsVEIpg+PzWNbzJwJyomA/encsRKhc1+Fk TKFQl9lJTJHTVY/qxAGpgjUf/UOcxWWghFdian6/xwwOk/9+qXbUC5QgdtYu6nbiVCSO wtQotGFaFYEYISmiV2N7+aVHWfGRVgKxXHraZ0T6TGwuycUi9bxla4Y4KrqUZKjpXCFn L8Xw== 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=UYuuz6YI7mn6614KDwcH7UG+KRrsEDzMzbvjix+qfBc=; b=m0c8NTkRC21LNQaPzM2yBzq+hWPH8TUVhqky7oBiuNG2OY7QqOmRMGjXVUEACCRGTS O4MyGw8w4sBdSSh0BwqfZ2+RJhMvStiAmBxOnSX/vozULBdkTdQl9ev3/ZjR8a+kB5AD aov0Y8FTh5YkDTnO+YNOdlRzIJ6ReRPNOsVXqT0SYyV/OAsMQVP+g6/wlTQhDQbN6JPW e08+//KPht5CdFuOPO2H2Dt5U9jYNOUy//3rdkQuEZCPX1J7/7JI/TP5SAgPR7XEfYti WZ+zQTU1NLt8siyOkg0iKq9cUyx+q8vYKn2TO5dPFdyPXER1ldgv6z2k9A/X1Y0BYtdT 7bhg== 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 j4-20020a170903028400b00189734b4f02si19128601plr.69.2022.12.06.21.57.44; Tue, 06 Dec 2022 21:57:57 -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 S229838AbiLGFzE (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbiLGFyh (ORCPT ); Wed, 7 Dec 2022 00:54:37 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0313D58BE4; Tue, 6 Dec 2022 21:54:34 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:32 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 53C352058B4F; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id C7B821DA5; Wed, 7 Dec 2022 14:54:31 +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 13/16] dt-bindings: soc: socionext: Add UniPhier SD interface block Date: Wed, 7 Dec 2022 14:54:02 +0900 Message-Id: <20221207055405.30940-14-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?1751533672284567751?= X-GMAIL-MSGID: =?utf-8?q?1751533672284567751?= Add devicetree binding schema for the SD interface block implemented on Socionext Uniphier SoCs. This SD interface block is attached outside SDHC, and has some SD related functions such as clock control, reset control, mode switch, and so on. Signed-off-by: Kunihiko Hayashi --- .../socionext/socionext,uniphier-sdctrl.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml new file mode 100644 index 000000000000..af73f7f3f8d7 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sdctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SD interface logic + +maintainers: + - Kunihiko Hayashi + +description: |+ + SD interface logic implemented on Socionext UniPhier SoCs is + attached outside SDHC, and has some SD related functions such as + clock control, reset control, mode switch, and so on. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-pro5-sdctrl + - socionext,uniphier-pxs2-sdctrl + - socionext,uniphier-ld11-sdctrl + - socionext,uniphier-ld20-sdctrl + - socionext,uniphier-pxs3-sdctrl + - socionext,uniphier-nx1-sdctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@59810000 { + compatible = "socionext,uniphier-ld20-sdctrl", + "simple-mfd", "syscon"; + reg = <0x59810000 0x400>; + + clock-controller { + compatible = "socionext,uniphier-ld20-sd-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-sd-reset"; + #reset-cells = <1>; + }; + }; From patchwork Wed Dec 7 05:54:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30647 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2672wrr; Tue, 6 Dec 2022 22:00:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf78ac2DgfM6luEMSijcvAK3NNjDTqs5FeqfoF1PLNAjEK0adfF+g7JN7AuMG5Rdr0NreEk5 X-Received: by 2002:a17:90a:e006:b0:219:cb01:1ad2 with SMTP id u6-20020a17090ae00600b00219cb011ad2mr15298338pjy.229.1670392816046; Tue, 06 Dec 2022 22:00:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392816; cv=none; d=google.com; s=arc-20160816; b=w0L9Q3OtjtKI62mD9RDkCRWUr1ikzPDKa5MRbMDflroXHh9XlzVQEkhlZwZk7U05zl MEgn6EX6EYW93GlfZ2AbjyNZUAOWCuveuRYUI5ddz2i5FFYZ3UBn2SmMehXdtP6D3ILl OvTiCg4BuwfXje2xMPWYU+nvfK1SZ0UhrBS8oz8fLFndqvbLDP40DD9wB7s9EEfM+jMe EjeF/m5JnIKATYSZFh7MDSOJQJsaJzj3MmlFcslhl7ZEie+u+eKfO032BBv7bqv1lBML shjRduGpxCZmQogCUj978K+UIHacLMihpCClPH44TYxOFRd44n7zvD/lUGMVAu0mmIom i85w== 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=0ARqHZofkxpdboO/paTpPCl+d85bUwf6v2qrjPdU7lk=; b=qp7bNVHpMVBBdVnplOxeGnJX3YPH1de8g+WxS/4q1Qr5ck3Bo1X+kOl0IlsppuS+1o 1QRMmEye217p6FMc9cl6u+MLWrZcmZ+hLrQEqmrc4HCp1CZjzPs0tcQcmrARvw1+iiZC 0xwjDB9RV0My+CY2BUhyQr2wMwQvXbHh5C9ELulbhXcxVZPQ53op4xYJ/RFANH12vUTJ Sm7MkPFVbfRTp6rW4QFahm2eOolmux0lqYwLUhV0XASe0iSFuthh/oaIrBJ0NGwMGZF3 O69dmklSV2Cto4IWkKdKak9qYPJvldm3GOY/g4/KWyr+LRr/xhgAQS6aDD9O98UUKi6s 4gjg== 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 c22-20020aa781d6000000b00572f208f7basi18861511pfn.149.2022.12.06.22.00.02; Tue, 06 Dec 2022 22:00:16 -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 S229778AbiLGFzX (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbiLGFyq (ORCPT ); Wed, 7 Dec 2022 00:54:46 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8724958BE1; Tue, 6 Dec 2022 21:54:37 -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:32 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 875A82059054; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id EB9E71DA6; Wed, 7 Dec 2022 14:54:31 +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 14/16] dt-bindings: soc: socionext: Add UniPhier ADAMV block Date: Wed, 7 Dec 2022 14:54:03 +0900 Message-Id: <20221207055405.30940-15-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?1751533817429903739?= X-GMAIL-MSGID: =?utf-8?q?1751533817429903739?= Add devicetree binding schema for the ADAMV block implemented on Socionext Uniphier SoCs. The ADAMV block is analog signal amplifier that is a part of the external video and audio I/O system. This block is implemented on LD11 and LD20, and this is defined for controlling audio I/O reset only. Signed-off-by: Kunihiko Hayashi --- .../socionext/socionext,uniphier-adamv.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml new file mode 100644 index 000000000000..3d61d2919049 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-adamv.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier ADAMV block + +maintainers: + - Kunihiko Hayashi + +description: |+ + ADAMV block implemented on Socionext UniPhier SoCs is an analog signal + amplifier that is a part of the external video and audio I/O system. + + This block is defined for controlling audio I/O reset only. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld11-adamv + - socionext,uniphier-ld20-adamv + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@57920000 { + compatible = "socionext,uniphier-ld20-adamv", + "simple-mfd", "syscon"; + reg = <0x57920000 0x1000>; + + reset-controller { + compatible = "socionext,uniphier-ld20-adamv-reset"; + #reset-cells = <1>; + }; + }; From patchwork Wed Dec 7 05:54:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30649 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2974wrr; Tue, 6 Dec 2022 22:01:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tFkiPn2AqWjtg1cZ2eDx+yHgAjupehdLfTwYCQzDbiyx0HLvF6XVacPl6tgKxGVwEcPbZ X-Received: by 2002:a17:906:1686:b0:7ba:489e:8489 with SMTP id s6-20020a170906168600b007ba489e8489mr54313161ejd.669.1670392863989; Tue, 06 Dec 2022 22:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392863; cv=none; d=google.com; s=arc-20160816; b=ntqQ6FPWZDtpy9aFDnB2Eca/0q6OdSFYUt9888HRjRr9qsG7a4O2RufU2ALy80tt9g ySZgAxPFAbagRfLfJCgbLRRSz0cLNdjAg7PfAGP4dYYivJo33a1Wb1iL5yJYwb9bFdLH u1szNgEEnxlbbZW+5m1kPm2U7G1jDg3sobBtPqCEX6VOIpGinT7eGTFhcvCZYIc2+FH3 +SqBZrA5lFNylH9X4LDjSdiTg5TOqacTVmvUOSz5XKJ5tPUDrNMY1c6ShKwtCOmmM2Q9 gRv7p66QEoUxs+mNi/ogAt2PCQEqlc/lJvhCCRLlUKE6+gfntqcpPO+AA8yXJ+jWmby7 mJTA== 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=eTjU1qo6EhsxJPYE+NkWllZ//78QpX3+IpUM9KgQnHI=; b=t4olEKUbDfLK08QpkggfsozTFQuWVAnmy+Yv1CpgcsHuLsm9Igvl8KIolx0RQZ5EZq 86x6Hovj55ve8luGYIPR2F/ND6RS9ChPZiY7DRjTAIB9ejnDzHIwp3udlhr6XaP5oGzk VEqx8xh3GjeCvVTtcAqjfvxu9GVk+WUIXszLK+QkaZ4kenNdgivwFMy5u2KZrdwDyYiN 8RPhULnllYfqgkCNNDcLFzcYjmPOrc6hsjxKSBHziqgyGJx6UtYm31vOi+qBnC8Nakrh O8xaq5Sm7wsZ0b48E+1+jfGJM3IR1nUzped166LMkpl2JwPDjYt3EbtAC0CvW7BvdkAp 4lZg== 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 hv9-20020a17090760c900b007c103ce0cc7si4657081ejc.740.2022.12.06.22.00.39; Tue, 06 Dec 2022 22:01:03 -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 S229691AbiLGFzT (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbiLGFyi (ORCPT ); Wed, 7 Dec 2022 00:54:38 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC36E5914D; Tue, 6 Dec 2022 21:54:35 -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:32 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 54F012059054; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 1A5221DA5; Wed, 7 Dec 2022 14:54:32 +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 15/16] dt-bindings: soc: socionext: Add UniPhier DWC3 USB glue layer Date: Wed, 7 Dec 2022 14:54:04 +0900 Message-Id: <20221207055405.30940-16-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?1751533867539988918?= X-GMAIL-MSGID: =?utf-8?q?1751533867539988918?= Add DT binding schema for components belonging to the platform-specific DWC3 USB glue layer implemented in UniPhier SoCs. This USB glue layer works as a sideband logic for the host controller, including core reset, vbus control, PHYs, and some signals to the controller. Signed-off-by: Kunihiko Hayashi --- .../socionext,uniphier-dwc3-glue.yaml | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml new file mode 100644 index 000000000000..1b5585a5a3a2 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml @@ -0,0 +1,106 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-dwc3-glue.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SoC DWC3 USB3.0 glue layer + +maintainers: + - Kunihiko Hayashi + +description: |+ + DWC3 USB3.0 glue layer implemented on Socionext UniPhier SoCs is + a sideband logic handling signals to DWC3 host controller inside + USB3.0 component. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-pro4-dwc3-glue + - socionext,uniphier-pro5-dwc3-glue + - socionext,uniphier-pxs2-dwc3-glue + - socionext,uniphier-ld20-dwc3-glue + - socionext,uniphier-pxs3-dwc3-glue + - socionext,uniphier-nx1-dwc3-glue + - const: simple-mfd + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + ranges: true + +patternProperties: + "^reset-controller@[0-9a-f]+$": + $ref: /schemas/reset/socionext,uniphier-glue-reset.yaml# + + "^regulator@[0-9a-f]+$": + $ref: /schemas/regulator/socionext,uniphier-regulator.yaml# + + "^phy@[0-9a-f]+$": + oneOf: + - $ref: /schemas/phy/socionext,uniphier-usb3hs-phy.yaml# + - $ref: /schemas/phy/socionext,uniphier-usb3ss-phy.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + usb@65b00000 { + compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd"; + reg = <0x65b00000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x65b00000 0x400>; + + reset-controller@0 { + compatible = "socionext,uniphier-ld20-usb3-reset"; + reg = <0x0 0x4>; + #reset-cells = <1>; + clock-names = "link"; + clocks = <&sys_clk 14>; + reset-names = "link"; + resets = <&sys_rst 14>; + }; + + regulator@100 { + compatible = "socionext,uniphier-ld20-usb3-regulator"; + reg = <0x100 0x10>; + clock-names = "link"; + clocks = <&sys_clk 14>; + reset-names = "link"; + resets = <&sys_rst 14>; + }; + + phy@200 { + compatible = "socionext,uniphier-ld20-usb3-hsphy"; + reg = <0x200 0x10>; + #phy-cells = <0>; + clock-names = "link", "phy"; + clocks = <&sys_clk 14>, <&sys_clk 16>; + reset-names = "link", "phy"; + resets = <&sys_rst 14>, <&sys_rst 16>; + }; + + phy@300 { + compatible = "socionext,uniphier-ld20-usb3-ssphy"; + reg = <0x300 0x10>; + #phy-cells = <0>; + clock-names = "link", "phy"; + clocks = <&sys_clk 14>, <&sys_clk 18>; + reset-names = "link", "phy"; + resets = <&sys_rst 14>, <&sys_rst 18>; + }; + }; + From patchwork Wed Dec 7 05:54:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 30646 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2190wrr; Tue, 6 Dec 2022 21:58:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6npTjwWmXRkFR6q2Ix6j/tf5cCDSS+uI2uoPqcyDQPHbOkpJ1A3hkmetkYl6Q14wxKkYyg X-Received: by 2002:a63:520b:0:b0:43c:6412:994f with SMTP id g11-20020a63520b000000b0043c6412994fmr61812740pgb.421.1670392697796; Tue, 06 Dec 2022 21:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670392697; cv=none; d=google.com; s=arc-20160816; b=x6SxgYlyYAccTdo/p++/xQMf9pVDaYkRYbIKX8aLbj/+dsacGk4DUutw3ETOVRfE0C EisedWMvebDjWSICKAeeli7E7TR3IPFuAuXY9c/xTGePR6kwAmymbXXnkX8ELAyqKsSV JuU7hEXKJLJ5Rptl4JQNMOA8AsjvbnbNbJJ8JjDNMdftfesmwp1weE0giACKkerfEz41 12NOZ2Gvyq4yMELEbRjiwNBvl6yt+47Koe3baIno1c8u6RMpT9KAlXfeiMdNNgI3aTvg jVE3Xw95yJHnnRKwUhPjrhqdD8J3Rzj+10y06Jb57XWW9M8wyRShElRxx0VGcH8rHiUO cYnA== 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=2KPQ5WQusyx34brJiE3IerTmR9vQWYAIYtKKj1f0nnE=; b=hAvHU8cRTZMYLGL617LqUlhNf9rwPnlo0+5SlfnpvOSqvJrESF8kGu79KfHF1t004M N7HBuL/23Ct8E034mAcEPmN0swJcMawyK1hfivsShr9JFavD5bLpKqbKKIqm45N2L8hM jxd9KPYcR/e8mscMd232HrZl9LxwRsStwBScvfcHh4HgOPbAH6waH3au1MaNGQp4Lg2U 4ppW8aGtCi4buYFKOMXmrxRsBSxQ4G0I5AhVNz6CZPf6YzlFSDrxSsUb58V0hysLpDR9 RqldY+ZBhgoOjMdhEyP191BsIBtonr8MmxMlU4Z2PE+k8X/Axo4CzaS+rYGRbgD5Hnc8 kIkQ== 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 g6-20020a056a001a0600b00556c1c66b61si20213392pfv.143.2022.12.06.21.58.05; Tue, 06 Dec 2022 21:58:17 -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 S229872AbiLGFzQ (ORCPT + 99 others); Wed, 7 Dec 2022 00:55:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbiLGFyi (ORCPT ); Wed, 7 Dec 2022 00:54:38 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5DFD059153; Tue, 6 Dec 2022 21:54:36 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:32 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id D1ECA2058B4F; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 3E5901DA6; Wed, 7 Dec 2022 14:54:32 +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 16/16] dt-bindings: soc: socionext: Add UniPhier AHCI glue layer Date: Wed, 7 Dec 2022 14:54:05 +0900 Message-Id: <20221207055405.30940-17-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?1751533693114177564?= X-GMAIL-MSGID: =?utf-8?q?1751533693114177564?= Add DT binding schema for components belonging to the platform-specific AHCI glue layer implemented in UniPhier SoCs. This AHCI glue layer works as a sideband logic for the host controller, including core reset, PHYs, and some signals to the controller. Signed-off-by: Kunihiko Hayashi --- .../socionext,uniphier-ahci-glue.yaml | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-ahci-glue.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-ahci-glue.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-ahci-glue.yaml new file mode 100644 index 000000000000..bf37be8a778d --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-ahci-glue.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-ahci-glue.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SoC AHCI glue layer + +maintainers: + - Kunihiko Hayashi + +description: |+ + AHCI glue layer implemented on Socionext UniPhier SoCs is a sideband + logic handling signals to AHCI host controller inside AHCI component. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-pro4-ahci-glue + - socionext,uniphier-pxs2-ahci-glue + - socionext,uniphier-pxs3-ahci-glue + - const: simple-mfd + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + ranges: true + +patternProperties: + "^reset-controller@[0-9a-f]+$": + $ref: /schemas/reset/socionext,uniphier-glue-reset.yaml# + + "phy@[0-9a-f]+$": + $ref: /schemas/phy/socionext,uniphier-ahci-phy.yaml# + +required: + - compatible + - reg + +additionalProperties: + type: object + +examples: + - | + sata-controller@65700000 { + compatible = "socionext,uniphier-pxs3-ahci-glue", "simple-mfd"; + reg = <0x65b00000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x65700000 0x100>; + + reset-controller@0 { + compatible = "socionext,uniphier-pxs3-ahci-reset"; + reg = <0x0 0x4>; + clock-names = "link"; + clocks = <&sys_clk 28>; + reset-names = "link"; + resets = <&sys_rst 28>; + #reset-cells = <1>; + }; + + phy@10 { + compatible = "socionext,uniphier-pxs3-ahci-phy"; + reg = <0x10 0x10>; + clock-names = "link", "phy"; + clocks = <&sys_clk 28>, <&sys_clk 30>; + reset-names = "link", "phy"; + resets = <&sys_rst 28>, <&sys_rst 30>; + #phy-cells = <0>; + }; + };