From patchwork Tue Dec 13 08:24:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32675 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2702669wrr; Tue, 13 Dec 2022 00:26:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4qK0j9zVdYk7cuoi6miXGkdoQLTjpqTcfQ0cOWOhRM57p996aVOaFlq9L8aGHKncN4smTN X-Received: by 2002:a17:906:6b13:b0:7ae:29fa:ba8f with SMTP id q19-20020a1709066b1300b007ae29faba8fmr20929356ejr.2.1670919994405; Tue, 13 Dec 2022 00:26:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670919994; cv=none; d=google.com; s=arc-20160816; b=coJHwZSZYUFHqnRSsahGa+3qTE7zKIaeTvbV1H+feMqz78eXClOiLFBFnP1tC2q+PH GLzLaSTPNrVlaDmEcbFlhCgEh6a3w1hL1DJSrllkC9ppp84+N+nlfoJVIYoo216ix28M 7iXV7ASjA+Q/YRgJEtvCj4ukGeZ4Jhydcm9ssZ3JiWwW4Nrm1O+vcl684VlDMv4AOOeE 7qqWuPm4Sd2F4WAK9RWSrp5Ql4bc27vcId5HQ2xPkZvcoxyKbB5S4tVlfhLWBa6FBUF+ 0llwIolY8e8Gelu5BWuGV1S15gagon/DvQlU5tSfeteC/HYBJtHVd+5nOnEv3nl2LxZU llRQ== 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=LE/kF9//JW6g2CAbIsPOB4KmiEEX9qNenobnVmvYFCI=; b=hWvmN2ytPnbInb82JRKLL0B6LCDqF+E/viambidI3/VkN8KA7gEGKjefIvwb6LrdVs IhBhlv4FK6gKFrpqaxRvHlDbYEbMNkLcw142tH7uXxPIMk2+4MK5nJLjQqHDjGlGnYal Bpb1ujt4ZK252IBgAUdPdXUJPzzkQAi1PFClDXvN2Pw6fqHf4eO4OpVrwu8IsaVIMkJW dDaTOF0U0n3Ta8sHniWt6tIqEzzvzeqkpLcT2U/Hv9XEL9LK4WqJU0wrOgOn3Gw90CSQ kP2AUYuML90nJYWLhhDPMjFEP7Bgxj5Uaom/DkSmFb1ACTXcKe+kXUW1KSmfUgEzLJrw Iwyg== 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 a11-20020aa7d74b000000b0046ae4ddd92csi8077785eds.187.2022.12.13.00.26.10; Tue, 13 Dec 2022 00:26:34 -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 S234742AbiLMIZI (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231888AbiLMIZG (ORCPT ); Tue, 13 Dec 2022 03:25:06 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 266BD13CEE; Tue, 13 Dec 2022 00:25:04 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:03 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 693D62059054; Tue, 13 Dec 2022 17:25:03 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:03 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 3A1D4A855F; Tue, 13 Dec 2022 17:25:03 +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 v3 01/17] dt-bindings: clock: Fix node descriptions in uniphier-clock example Date: Tue, 13 Dec 2022 17:24:33 +0900 Message-Id: <20221213082449.2721-2-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086604089653977?= X-GMAIL-MSGID: =?utf-8?q?1752086604089653977?= Prior to adding dt-bindings for SoC-dependent controllers, rename the clock nodes to the generic names in the example. And drop redundant examples and a parent node of the clock as it is not directly necessary. Signed-off-by: Kunihiko Hayashi Reviewed-by: Krzysztof Kozlowski --- .../clock/socionext,uniphier-clock.yaml | 39 ++----------------- 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml b/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml index 9a0cc7341630..4e82582fb2f3 100644 --- a/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml +++ b/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml @@ -61,40 +61,7 @@ required: examples: - | - sysctrl@61840000 { - compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon"; - reg = <0x61840000 0x4000>; - - clock { - compatible = "socionext,uniphier-ld11-clock"; - #clock-cells = <1>; - }; - - // other nodes ... - }; - - - | - mioctrl@59810000 { - compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon"; - reg = <0x59810000 0x800>; - - clock { - compatible = "socionext,uniphier-ld11-mio-clock"; - #clock-cells = <1>; - }; - - // other nodes ... - }; - - - | - perictrl@59820000 { - compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon"; - reg = <0x59820000 0x200>; - - clock { - compatible = "socionext,uniphier-ld11-peri-clock"; - #clock-cells = <1>; - }; - - // other nodes ... + clock-controller { + compatible = "socionext,uniphier-ld11-clock"; + #clock-cells = <1>; }; From patchwork Tue Dec 13 08:24:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32676 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2702784wrr; Tue, 13 Dec 2022 00:26:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4JEsTxU+sPk85zT6nwB42V3M6Xr2YBnlcYrKG+R/+TDZNbAmMdibV+C5yzL+Z4Xxu+sKR/ X-Received: by 2002:a17:906:9f1e:b0:7c0:7d35:e9db with SMTP id fy30-20020a1709069f1e00b007c07d35e9dbmr21358209ejc.15.1670920015789; Tue, 13 Dec 2022 00:26:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920015; cv=none; d=google.com; s=arc-20160816; b=0s5h0FslBSjRp/F0MhtH2Fjsbl0Mz5amR+bB4j8o8z6Hp34i3tnlzCnMHZl2xNPuvP jVLOSV9sUl1Ala6whPWouArEPoF5thSJTmfeHde+j8x9Z5i6+g9p4YMQ3tia6cREJ1Pa IXFY0tn9L9EYXdcSpWRNeuomG9jzQeBnGlN1jIfkNeXtyvME7IGazB2yX+rx0td+c7To mkA4h1ppMnQQDss8NIpe8KUKfH0waQfoXRZNqq2kucFpXicS4RiRTY3U7r085mYFIRDm HSL6Xd3mA9dAd2MYpjb9kkW9itDPJxPZSNok2D6Yhjt5LZMNjzOqkySyxpNLHhD/5FK/ v9HQ== 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=cKVeUWlMG3WjEjCN/yo7o9BY3xYH0tByb/huujiqw/0=; b=VOw88qKaoEintTDW0+AGPF8546vmI+thATowhmlsdwFJ5/E8J7bNpLreHDbWgoPNSK BwODeHYXKLbOwqYwubNY2IhsRu/mmwLUz1mjHzrkqYCR+CujV4wMF00QN8EMGDsJnOhf jujndHaUUtGgEV0ujC7W0nz/F7Qged//KmOl/Zl9ziRGryRP9ALRYv3wn9UlPrU5KjJi GK1nTxchHsmXTibDR+Vjd24/VgKhUr/YedT8EXf+3TevNQPMAjp4/ErRH8stVCaXGr9T LLFMydfyTDZoLZdcTfh6nBjxiaSoCDQh2QCOnOeV36bVLj+TBzA8F+S9U/W7bzBS6wdN gb6g== 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-20020a170906234900b00797670441desi6483555eja.911.2022.12.13.00.26.32; Tue, 13 Dec 2022 00:26:55 -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 S234788AbiLMIZ0 (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234565AbiLMIZH (ORCPT ); Tue, 13 Dec 2022 03:25:07 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D960E13D60; Tue, 13 Dec 2022 00:25:05 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:04 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 06B052059054; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 5E9ECA855C; Tue, 13 Dec 2022 17:25:03 +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 v3 02/17] dt-bindings: reset: Fix node descriptions in uniphier-reset example Date: Tue, 13 Dec 2022 17:24:34 +0900 Message-Id: <20221213082449.2721-3-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086626276408788?= X-GMAIL-MSGID: =?utf-8?q?1752086626276408788?= Prior to adding dt-bindings for SoC-dependent controllers, rename the reset nodes to the generic names in the example. And drop redundant examples and a parent node of the reset as it is not directly necessary. Signed-off-by: Kunihiko Hayashi Reviewed-by: Krzysztof Kozlowski --- .../reset/socionext,uniphier-glue-reset.yaml | 23 +++----- .../reset/socionext,uniphier-reset.yaml | 52 ++----------------- 2 files changed, 11 insertions(+), 64 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..fa253c518d79 100644 --- a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml +++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml @@ -95,19 +95,12 @@ required: examples: - | - usb-glue@65b00000 { - compatible = "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x65b00000 0x400>; - - usb_rst: reset@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>; - }; + usb_rst: 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>; }; diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml index 6566804ec567..033b252a3dfe 100644 --- a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml +++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml @@ -66,53 +66,7 @@ required: examples: - | - sysctrl@61840000 { - compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon"; - reg = <0x61840000 0x4000>; - - reset { - compatible = "socionext,uniphier-ld11-reset"; - #reset-cells = <1>; - }; - - // other nodes ... - }; - - - | - mioctrl@59810000 { - compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon"; - reg = <0x59810000 0x800>; - - reset { - compatible = "socionext,uniphier-ld11-mio-reset"; - #reset-cells = <1>; - }; - - // other nodes ... - }; - - - | - perictrl@59820000 { - compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon"; - reg = <0x59820000 0x200>; - - reset { - compatible = "socionext,uniphier-ld11-peri-reset"; - #reset-cells = <1>; - }; - - // other nodes ... - }; - - - | - adamv@57920000 { - compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon"; - reg = <0x57920000 0x1000>; - - reset { - compatible = "socionext,uniphier-ld11-adamv-reset"; - #reset-cells = <1>; - }; - - // other nodes ... + reset-controller { + compatible = "socionext,uniphier-ld11-reset"; + #reset-cells = <1>; }; From patchwork Tue Dec 13 08:24:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32677 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2702861wrr; Tue, 13 Dec 2022 00:27:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VB72uhkAarHk60vEybGZu+VQST/8Hw8DJwlM8i+cpS3UtbtKzV23Qaae7nF33f3w3V8qh X-Received: by 2002:a50:eb01:0:b0:46f:9507:36bc with SMTP id y1-20020a50eb01000000b0046f950736bcmr12687590edp.16.1670920030371; Tue, 13 Dec 2022 00:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920030; cv=none; d=google.com; s=arc-20160816; b=TMevaawybGCJD7ZjDP82t8XE6sFqEoUn5UDg/ObkbVtYO8VVTm9rdaYPttnJoDTjOl 1ijUEjSdMniavU4FA95KPYqu7QHo8G2b8eKdhM0ewYpICASuOdwf0Ks0NuT6iS1Mz+tu UL8JvUTooG+Hfd/M2oB5qWUbScmrmtIio86zP/NrXO+gsbv37WYfMt2ul5pYEyzsFJOn b/EkJCzHAJVNoo3sfj8LZ+5aNXnHFEMX++HaZg/5ARRWRf87FwdU+3ArKXhPnBEdNwvF OkYNAG7FmfH+ljA4HyWKfyh0kMYqHbB7Pmf+ltk14lOVrXJIpfxdAWjbHlpcqAvhtyDd waEg== 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=lk6nnImlj0B9R8iFTcsd7En3oXhLFcL8MaOLAak4DcA=; b=xcJECEpCG8Y/Mwv0u8+Gkgh6ibfqqbEvp8zYw555Xz37M7PCox4JYc7mVrdDb2CSob fKUxFF9BGJDTYy6JwQHMEZt6zquOVsPmlSijdXojHW2hy1rwDXzL/cc7W2/5rrroby1g zkSA1cBSsaHCVFTVrFXqyKEjDC0XKneBwPZuAfZ1pkc/6JKEIhXXGUjLjdLkiEYKm93p +C9DYvLUAh4unHFedx2tumGHCK4PaX/hMOhinsBBct9GVlPANywc5cIgy8FQjJwTzTYQ sdMjT3z4IAs2x4hx7Yr30cQ8r/rmNI/CaTwnR/70FIsNbAhRVYPQhQk/wUcWd77Px8O/ +stw== 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 e22-20020a50ec96000000b00461d2ed78acsi690334edr.378.2022.12.13.00.26.43; Tue, 13 Dec 2022 00:27:10 -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 S234781AbiLMIZT (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234447AbiLMIZG (ORCPT ); Tue, 13 Dec 2022 03:25:06 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9C1E9B4B4; Tue, 13 Dec 2022 00:25:05 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:04 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 072252058B4F; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 832031CDE; Tue, 13 Dec 2022 17:25:03 +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 v3 03/17] dt-bindings: pinctrl: Fix node descriptions in uniphier-pinctrl example Date: Tue, 13 Dec 2022 17:24:35 +0900 Message-Id: <20221213082449.2721-4-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086641619779750?= X-GMAIL-MSGID: =?utf-8?q?1752086641619779750?= Drop parent node of the pinctrl as it is not directly necessary, and add more examples, that is "groups", "function", and a child node to set pin attributes, to express this pinctrl node in detail. Signed-off-by: Kunihiko Hayashi --- .../pinctrl/socionext,uniphier-pinctrl.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml index 14a8c0215cc6..bc34e2c872bc 100644 --- a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + %YAML 1.2 --- $id: http://devicetree.org/schemas/pinctrl/socionext,uniphier-pinctrl.yaml# @@ -69,11 +70,17 @@ examples: - | // The UniPhier pinctrl should be a subnode of a "syscon" compatible node. - soc-glue@5f800000 { - compatible = "socionext,uniphier-pro4-soc-glue", "simple-mfd", "syscon"; - reg = <0x5f800000 0x2000>; + pinctrl { + compatible = "socionext,uniphier-ld20-pinctrl"; + + pinctrl_ether_rgmii: ether-rgmii { + groups = "ether_rgmii"; + function = "ether_rgmii"; - pinctrl: pinctrl { - compatible = "socionext,uniphier-pro4-pinctrl"; + tx { + pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1", + "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL"; + drive-strength = <9>; + }; }; }; From patchwork Tue Dec 13 08:24:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32678 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2702972wrr; Tue, 13 Dec 2022 00:27:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6gJ9AaAg0FJ1La00xH2qH2y2GOfkVdyFmrnTEjoCJ6P2uDApF+kQzJqnbOQ67tBbrimZvz X-Received: by 2002:a17:906:859a:b0:7c1:4bb2:f62c with SMTP id v26-20020a170906859a00b007c14bb2f62cmr13600119ejx.40.1670920052941; Tue, 13 Dec 2022 00:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920052; cv=none; d=google.com; s=arc-20160816; b=h6LNl1cI/7kGUgIvznF6f7IM3gZ+EgI+PeGm+DcelHsVjfa/sb30HZcOqTSl7qdsFG tf2fhHQtH7rUcAC3Iw5ljzQpQZw/lVhxq66ho3ftIf8kQ68MiCGbjsSP9qP8FstPTHaQ /d8dC4fXigkElpNUtRRBXjmDHzumA9G6yomOWE7gh3/pFiNmcQ0qBvAkKhgyFIEBQUHP f0u9EPtODi4aTCRFpaTuWcxLb7V8UP5XCbJiwP7Hvo6xMcZ6j0miRjEymi0tSEiuGD01 lFREcBFPrQYBbUnMKvQHciFtUYsXR96Rs1rj+EnHbQVglxKWY7dr5orKogggBhucxuJn gmuQ== 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=tb1cER3Gp0EXlkyKSYwQKBI//CPy5z7VQDRAYLmR8jA=; b=hPidTsYbu+132M/4rV3cTcf9MTHHRqsDfQFsW/FKSdkruFgXbGGhtzqm3vsvy8/DvR SV0t0zEOlJz5yH4DwwAZNkCgJ35JAIKrRyxWEG2HKvfMbW507/QUNDEFOvpL2fzmjjYt 8D+9CC6vo0WDF/wmSoi43ysb1zvM7A63NBFO9ARTp/7puteZBOtDZDquXmrEazEyHv3C 0jSDnFELOGg5f+Q4jAMFk9/a9GZcMCqhSJK1Q8NYz1dor4iyYyTcCT3gmtOKNtDTpkHG 8NPy1Zpzw3sbd0E1pR8QrbEFGZUXxT9Gwth/t+ZdrrPubMN8k91M7qmgUBJzVjJAXBVC EyCg== 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 gh16-20020a170906e09000b007c0bc7057ddsi5736860ejb.909.2022.12.13.00.27.09; Tue, 13 Dec 2022 00:27:32 -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 S234746AbiLMIZb (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234631AbiLMIZH (ORCPT ); Tue, 13 Dec 2022 03:25:07 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9EF0013DCF; Tue, 13 Dec 2022 00:25:06 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:04 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 0BD132058442; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id A9678A855C; Tue, 13 Dec 2022 17:25:03 +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 v3 04/17] dt-bindings: regulator: Fix node descriptions in uniphier-regulator example Date: Tue, 13 Dec 2022 17:24:36 +0900 Message-Id: <20221213082449.2721-5-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086665362721487?= X-GMAIL-MSGID: =?utf-8?q?1752086665362721487?= Drop a parent node of the regulator as it is not directly necessary. Signed-off-by: Kunihiko Hayashi Acked-by: Krzysztof Kozlowski --- .../socionext,uniphier-regulator.yaml | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/socionext,uniphier-regulator.yaml b/Documentation/devicetree/bindings/regulator/socionext,uniphier-regulator.yaml index c0acf949753d..a6949a581cd1 100644 --- a/Documentation/devicetree/bindings/regulator/socionext,uniphier-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/socionext,uniphier-regulator.yaml @@ -89,18 +89,11 @@ required: examples: - | - usb-glue@65b00000 { - compatible = "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x65b00000 0x400>; - - usb_vbus0: regulators@100 { - compatible = "socionext,uniphier-ld20-usb3-regulator"; - reg = <0x100 0x10>; - clock-names = "link"; - clocks = <&sys_clk 14>; - reset-names = "link"; - resets = <&sys_rst 14>; - }; + usb_vbus0: regulators@100 { + compatible = "socionext,uniphier-ld20-usb3-regulator"; + reg = <0x100 0x10>; + clock-names = "link"; + clocks = <&sys_clk 14>; + reset-names = "link"; + resets = <&sys_rst 14>; }; From patchwork Tue Dec 13 08:24:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32680 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703039wrr; Tue, 13 Dec 2022 00:27:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf4EV3Ua8wmdLE1Jg8aMVNeHh2QU0T24dAiaXtL/WYV0XOBGDu+vf1f87tbBzRdN968MnR8B X-Received: by 2002:a17:906:164d:b0:7ad:e255:9238 with SMTP id n13-20020a170906164d00b007ade2559238mr16293775ejd.21.1670920063477; Tue, 13 Dec 2022 00:27:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920063; cv=none; d=google.com; s=arc-20160816; b=nzw4wPsWjQkooBzXJTITmdXzyJTO62A3OnTg87fnaRGI3hrGTr4qt/rvDR0pc2Q1Ey ZpTV0AR8FXxtXa1ggB8Ym01hsFUrri2biL+TptQR5Lp/IeygQQY6RaZ0ds/37/mv4umM rtlufPK94OS5O+wr68aoXoSjQQF9xZ189nyeyF7Dk/uCVLoNf1SqxcZNPOj1YW/vqTF/ Ixx3CN+S39M5yVRXuqic+Fri/Inj937FbzZqd+7LiOwCTMM0ZqZE9+iXpxXoOVIhisBG P2tUs5MN7B+GY72eb94G3iF1uOdsyxQvFzpbYyLbPHy/COAqH+BE4nbIzGVuRtZwCdS+ 6cTQ== 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=+brzDXxSwR1AS91JaKv6lwPArsuFhb3nmlAFn4LbLH4=; b=PYz6DKfnugvjsSkCNjdfCNm6palK3QySSpSIQ/hBNqeUiGOUavlMe1Lnjf5eDMkBpm zJPcuhdSlK+gKNqW+rdNj/b8S7N+d6yaNrgDnOm8DFjFQXJFn18nMk9bfA2awixMlotO VVYeWNsxD4ThqBhtz9ql7aMS56HES2mEBucuZhTRpa+APMi4Pao+Nu82Rzy8AzI0gJT9 /6d4TFNqAj88HvgsycIBAhzH06RfslFdXTL38sBZxpdG1XbtEKeEbpXmxrJqOXCuvbnl WWQcAT0dvvcO/VjCMBJRcSb4k55LplTlg86mI7QktNHsZ0GccuHA4HTHb9jIQxg+wvDj wWcg== 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 xd11-20020a170907078b00b007ae3f78c8d5si8880363ejb.787.2022.12.13.00.27.20; Tue, 13 Dec 2022 00:27:43 -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 S233923AbiLMIZo (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234732AbiLMIZI (ORCPT ); Tue, 13 Dec 2022 03:25:08 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD4C613DD6; Tue, 13 Dec 2022 00:25:06 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:04 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 842912059054; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id CDFF8A855F; Tue, 13 Dec 2022 17:25:03 +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 v3 05/17] dt-bindings: watchdog: Fix node descriptions in uniphier-wdt example Date: Tue, 13 Dec 2022 17:24:37 +0900 Message-Id: <20221213082449.2721-6-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086676033907627?= X-GMAIL-MSGID: =?utf-8?q?1752086676033907627?= Drop a parent node of the watchdog as it is not directly necessary. Signed-off-by: Kunihiko Hayashi Acked-by: Krzysztof Kozlowski --- .../bindings/watchdog/socionext,uniphier-wdt.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml index 90698cfa8f94..70c005fdd197 100644 --- a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml @@ -25,12 +25,6 @@ examples: - | // The UniPhier watchdog should be a subnode of a "syscon" compatible node. - sysctrl@61840000 { - compatible = "socionext,uniphier-ld11-sysctrl", - "simple-mfd", "syscon"; - reg = <0x61840000 0x10000>; - - watchdog { - compatible = "socionext,uniphier-wdt"; - }; + watchdog { + compatible = "socionext,uniphier-wdt"; }; From patchwork Tue Dec 13 08:24:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32684 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703594wrr; Tue, 13 Dec 2022 00:29:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf77MuoIrxwQCapn/6ZkwJRKn7ZzewEz93CsjV40syzUcKn1JlF1FILB4BrmFbGO0yDcjl7K X-Received: by 2002:a05:6402:378c:b0:45c:835b:ac66 with SMTP id et12-20020a056402378c00b0045c835bac66mr15241193edb.33.1670920159276; Tue, 13 Dec 2022 00:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920159; cv=none; d=google.com; s=arc-20160816; b=RBo09Q4V0N6jXioxWJFVr0BqE9lumCNxdPJfc/LJfC/xdX2EAuXg9XdVoovppe+3es EUFmNATOZylJG/sbTMT0dv7tM0UQncJc9pNvK5VUj5wHmAqHVIEoHcSVN8PpAfTKmwmL ACSvnZNNvCUHsivxPOUGW1SyNpaW8f9qnWF+W/t9yjyQqOjS36zrd/qgkIYorYb0gXNd sJQrQyrL4wbpeciJaJJuKIv0TkcxRDWauiYkVyaUhSA8wuRA5pSSciXIL9VzfLDcDaHW SoM+0LFlHhjYFUvB6Tqv/4VorIC/sgOe59z3S8XfywjYjba2ugY7HrEsTadlRZdLD44g Bnaw== 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=3i1oXy1LvNaEZ0En+Xe5tI/0XuW8AOkBXB5t1vSG4nU=; b=Pw1IlYaUqgyk/o25GpgAakvIi+Y8JOZSLWyyHS9qmhVi0H6bzraeTtXtMs7NzhLzK0 d8ohOYUktyxelgmy/XTRvU0/NCHhxeWtFmJ6+eOVXcSYf/PO06a9cMmpNvEZVdKOfzNi ba92AHkRJUY1lBM3ECJgWlyVOcqMlL4wwse3Sp+kpkZjFcF4banL396CPTrmuD8XHtPg rM+2MW5JcDj2C1wyqM6f7VNRVOhGgThW0aEdcpHgtoUWwnMMKiYqwbAMnRIgcjfIpkve EYVe/WBB8IYs2kfYZzDc/3ZYagBl84oXG8FzQwXRNBbzdya2DGyZLm48o/BtdgBosq2c KNJw== 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 hb6-20020a170907160600b007b273d1f664si8233531ejc.128.2022.12.13.00.28.55; Tue, 13 Dec 2022 00:29: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 S234809AbiLMIZe (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234707AbiLMIZI (ORCPT ); Tue, 13 Dec 2022 03:25:08 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9F01613DD3; Tue, 13 Dec 2022 00:25:06 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:04 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 6D5532059054; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 06F6BA855C; Tue, 13 Dec 2022 17:25:04 +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 v3 06/17] dt-bindings: thermal: Fix node descriptions in uniphier-thermal example Date: Tue, 13 Dec 2022 17:24:38 +0900 Message-Id: <20221213082449.2721-7-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086777307080405?= X-GMAIL-MSGID: =?utf-8?q?1752086777307080405?= Prior to adding dt-bindings for SoC-dependent controllers, rename the thermal node and its parent node to the generic names in the example. And drop a parent node of the thermal-sensor as it is not directly necessary. Signed-off-by: Kunihiko Hayashi Acked-by: Krzysztof Kozlowski --- .../thermal/socionext,uniphier-thermal.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml index c5b25ce44956..6f975821fa5e 100644 --- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml @@ -46,14 +46,9 @@ examples: - | // The UniPhier thermal should be a subnode of a "syscon" compatible node. - sysctrl@61840000 { - compatible = "socionext,uniphier-ld20-sysctrl", - "simple-mfd", "syscon"; - reg = <0x61840000 0x10000>; - - pvtctl: thermal { - compatible = "socionext,uniphier-ld20-thermal"; - interrupts = <0 3 1>; - #thermal-sensor-cells = <0>; - }; + #include + pvtctl: thermal-sensor { + compatible = "socionext,uniphier-ld20-thermal"; + interrupts = ; + #thermal-sensor-cells = <0>; }; From patchwork Tue Dec 13 08:24:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703598wrr; Tue, 13 Dec 2022 00:29:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6y1/GMFPB54YKhGMFwtMQrzYwhfQcb5vmrKiDm+x9JZx5+dIkePjY/E6b5KkZlF0Zru7x5 X-Received: by 2002:a17:907:20ce:b0:7c1:6344:845 with SMTP id qq14-20020a17090720ce00b007c163440845mr8963746ejb.34.1670920160121; Tue, 13 Dec 2022 00:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920160; cv=none; d=google.com; s=arc-20160816; b=Ad29z6WM4Z63Zmg46uINVkNU1x+2+rE5vFRic8EXbKQrzV4SqgFUxFXhnlQIh85eyr TBIm0JkYQJxJ7TJ79en0AwkT/xqjIugd4y7G8MPiE4KGxDefGA5ioKiGHJXhi2Dzgaj0 lGfIfyhW7EBIUMMPVWMQ+1HynxM43ZSb6oIDzvFMsVaScHasxs3zOKVmgEwfrJ1lq8IJ frNcjE5pRJvM4oG5q7BEHdiZkxU2I+NS/n1tJjpxU6fT3R8WAdBVGuMyXxJ0Zc3N+Z09 ESFyC0oSk33UmxXPkl4eUgRZuJUE4D2e9ZaLBu6jCQxmn3VVp2jkR2ezDi/98nW2R7Ad A52w== 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=jg4xne1So9Z9wznwPamXhJr+Cm/R9zrrcxNz9aZ1/8Y=; b=xuwYVXCgOQMovLQ9Bjzhw/2htIRJEpU01YOO/8cIiwdDpyI+Hnxqd6tgZcDSgFhc5x qFv8mQH374GzUUCFckGoFCqlwqtHcIOBnxxDOZSt6XT0+OHg31DEOssvdCNKz6u6X0RT x9cH8iC7/r3h3q/2B/mpZpfg7dCFk4jApYdo01Ckgh1jypSNgJbgtoznZ5fmUHyTPNj8 jYzuNbmFPzZkt1I952GoP+d/RNiAUQV3dBTxgZazuk6zOCGDeOfFLsnn/tNlBtsS8dEu 0F+mvHlDJ1Gx1A3yh6UmAkX1N8U24fSN6rm6+VFR/kA4TghrC0JBiWtdQk8+g9OTsPY+ PGVg== 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 mp16-20020a1709071b1000b007330c08fe49si7412801ejc.206.2022.12.13.00.28.57; Tue, 13 Dec 2022 00:29: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 S234822AbiLMIZx (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234743AbiLMIZI (ORCPT ); Tue, 13 Dec 2022 03:25:08 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 736DE13D0A; Tue, 13 Dec 2022 00:25:07 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:04 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 87D622058B4F; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 2B9F9A855F; Tue, 13 Dec 2022 17:25:04 +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 v3 07/17] dt-bindings: phy: Fix node descriptions in uniphier-phy example Date: Tue, 13 Dec 2022 17:24:39 +0900 Message-Id: <20221213082449.2721-8-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086777484241609?= X-GMAIL-MSGID: =?utf-8?q?1752086777484241609?= 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 drop parent nodes of each phy as they are not directly necessary here. Signed-off-by: Kunihiko Hayashi Acked-by: Krzysztof Kozlowski ] --- .../phy/socionext,uniphier-ahci-phy.yaml | 24 ++++------- .../phy/socionext,uniphier-usb2-phy.yaml | 41 ++++++++----------- .../phy/socionext,uniphier-usb3hs-phy.yaml | 29 +++++-------- .../phy/socionext,uniphier-usb3ss-phy.yaml | 26 ++++-------- 4 files changed, 46 insertions(+), 74 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..de3cffc850bc 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml @@ -117,20 +117,12 @@ additionalProperties: false examples: - | - ahci-glue@65700000 { - compatible = "socionext,uniphier-pxs3-ahci-glue", - "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x65700000 0x100>; - - ahci_phy: phy@10 { - compatible = "socionext,uniphier-pxs3-ahci-phy"; - reg = <0x10 0x10>; - #phy-cells = <0>; - clock-names = "link", "phy"; - clocks = <&sys_clk 28>, <&sys_clk 30>; - reset-names = "link", "phy"; - resets = <&sys_rst 28>, <&sys_rst 30>; - }; + ahci_phy: phy@10 { + compatible = "socionext,uniphier-pxs3-ahci-phy"; + reg = <0x10 0x10>; + #phy-cells = <0>; + clock-names = "link", "phy"; + clocks = <&sys_clk 28>, <&sys_clk 30>; + reset-names = "link", "phy"; + resets = <&sys_rst 28>, <&sys_rst 30>; }; diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml index 63dab914a48d..19522c54f448 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml @@ -61,28 +61,23 @@ examples: - | // The UniPhier usb2-phy should be a subnode of a "syscon" compatible node. - soc-glue@5f800000 { - compatible = "socionext,uniphier-ld11-soc-glue", "simple-mfd", "syscon"; - reg = <0x5f800000 0x2000>; - - usb-controller { - compatible = "socionext,uniphier-ld11-usb2-phy"; - #address-cells = <1>; - #size-cells = <0>; - - usb_phy0: phy@0 { - reg = <0>; - #phy-cells = <0>; - }; - - usb_phy1: phy@1 { - reg = <1>; - #phy-cells = <0>; - }; - - usb_phy2: phy@2 { - reg = <2>; - #phy-cells = <0>; - }; + usb-hub { + compatible = "socionext,uniphier-ld11-usb2-phy"; + #address-cells = <1>; + #size-cells = <0>; + + usb_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + usb_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + + usb_phy2: phy@2 { + reg = <2>; + #phy-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..2107d98ace15 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml @@ -146,22 +146,15 @@ additionalProperties: false examples: - | - usb-glue@65b00000 { - compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x65b00000 0x400>; - - usb_hsphy0: hs-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>; - vbus-supply = <&usb_vbus0>; - nvmem-cell-names = "rterm", "sel_t", "hs_i"; - nvmem-cells = <&usb_rterm0>, <&usb_sel_t0>, <&usb_hs_i0>; - }; + usb_hsphy0: 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>; + vbus-supply = <&usb_vbus0>; + nvmem-cell-names = "rterm", "sel_t", "hs_i"; + nvmem-cells = <&usb_rterm0>, <&usb_sel_t0>, <&usb_hs_i0>; }; diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml index 4c26d2d2303d..8f5aa6238bf3 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml @@ -131,21 +131,13 @@ additionalProperties: false examples: - | - usb-glue@65b00000 { - compatible = "socionext,uniphier-ld20-dwc3-glue", - "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x65b00000 0x400>; - - usb_ssphy0: ss-phy@300 { - compatible = "socionext,uniphier-ld20-usb3-ssphy"; - reg = <0x300 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>; - vbus-supply = <&usb_vbus0>; - }; + usb_ssphy0: phy@300 { + compatible = "socionext,uniphier-ld20-usb3-ssphy"; + reg = <0x300 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>; + vbus-supply = <&usb_vbus0>; }; From patchwork Tue Dec 13 08:24:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32687 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703603wrr; Tue, 13 Dec 2022 00:29:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf7rS9NT5k56cmkpK7Fg7KBDsUpKsqBkRDiCLn9St7R3BnIel9sS/eWnmMmzGhPVQtG6ndol X-Received: by 2002:a05:6402:4511:b0:461:e5d1:73c5 with SMTP id ez17-20020a056402451100b00461e5d173c5mr15647604edb.32.1670920161476; Tue, 13 Dec 2022 00:29:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920161; cv=none; d=google.com; s=arc-20160816; b=xb3Q/n10RNIPYobl/AjMabKHAaqNPOlHiAKTXWCb7KL2QKq8kOzCn6VNGT/NThJvRE 6LwKvDZRZwGB/KpZ2NSl7QZI+ejB/39HO+J85t7P/Lax0wKtTBhsLp8gBeoJwU9/YFcN y6SLcDe+UN1dt/XUpjBr3gwwJItmN3Ogel8+33uBqjJCqX7pY4ShJ8FL9kwIvBsjYfqd CsU/TWd3iLo2g87b06TG/3fRVvVVzLftB+qsw+W1MoKO9NK1tJUGsI0vw2cV2wImZRf9 C7ry6DRZl6110j3s0ahDv7yWSoJkaFsRchXDDxNNdZvgDx40ScFOkBDWXKwvTYZdybsI hcGg== 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=6jqVXlMvp1EjZa1JXvFaSw5S8ftJQ9LuyQy8bQkrI1c=; b=oNitDgHSz+Q1VLPOYGzPr+GjYSazW1Q4ydmsTUHtlAmb+5Wpg4k5JPHepO+llos77+ NEKgtndcdN8EJASowtVBvMc0JrI1JngSXqwvY2MOr7XsSw1gICnHnCeWu/eywmXKZ7IZ 4oTIEdNUC7Fxgw600KOVnuQg0U1YitOcK3qjm7J3ASxPogIpPpdZjFPw7SQjF1hB59AL MdaPUABvpo8BD1UBMxw4nMXqSPQ2dn9xG6K1U/RSdDzqIbT1CEVv4193uQIJjrzdHSh+ PGRf0na47lUrBXstzAmYBf/WCACav36QTwT8XtUIVClbP/kU+et6VOZxMqtQvjTPjWkv BzFw== 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 m4-20020a056402430400b0046c641a3108si322919edc.148.2022.12.13.00.28.58; Tue, 13 Dec 2022 00:29:21 -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 S234827AbiLMIZ5 (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234747AbiLMIZI (ORCPT ); Tue, 13 Dec 2022 03:25:08 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E508713D60; Tue, 13 Dec 2022 00:25:07 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:05 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id EB1042059054; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 5056CA855C; Tue, 13 Dec 2022 17:25:04 +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 v3 08/17] dt-bindings: nvmem: Fix node descriptions in uniphier-efuse example Date: Tue, 13 Dec 2022 17:24:40 +0900 Message-Id: <20221213082449.2721-9-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086779121668514?= X-GMAIL-MSGID: =?utf-8?q?1752086779121668514?= Prior to adding dt-bindings for SoC-dependent controllers, rename the parent node to the generic name in the example. And drop a parent node of the nvmem as it is not directly necessary here. Signed-off-by: Kunihiko Hayashi Acked-by: Krzysztof Kozlowski --- .../nvmem/socionext,uniphier-efuse.yaml | 101 ++++++++---------- 1 file changed, 46 insertions(+), 55 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml index 2578e39deda9..a1dea3d7669c 100644 --- a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml +++ b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml @@ -31,65 +31,56 @@ unevaluatedProperties: false examples: - | - // The UniPhier eFuse should be a subnode of a "soc-glue" node. + efuse@100 { + compatible = "socionext,uniphier-efuse"; + reg = <0x100 0x28>; + }; - soc-glue@5f900000 { - compatible = "simple-mfd"; + efuse@200 { + compatible = "socionext,uniphier-efuse"; + reg = <0x200 0x68>; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0x5f900000 0x2000>; - efuse@100 { - compatible = "socionext,uniphier-efuse"; - reg = <0x100 0x28>; + /* Data cells */ + usb_rterm0: trim@54,4 { + reg = <0x54 1>; + bits = <4 2>; }; - - efuse@200 { - compatible = "socionext,uniphier-efuse"; - reg = <0x200 0x68>; - #address-cells = <1>; - #size-cells = <1>; - - /* Data cells */ - usb_rterm0: trim@54,4 { - reg = <0x54 1>; - bits = <4 2>; - }; - usb_rterm1: trim@55,4 { - reg = <0x55 1>; - bits = <4 2>; - }; - usb_rterm2: trim@58,4 { - reg = <0x58 1>; - bits = <4 2>; - }; - usb_rterm3: trim@59,4 { - reg = <0x59 1>; - bits = <4 2>; - }; - usb_sel_t0: trim@54,0 { - reg = <0x54 1>; - bits = <0 4>; - }; - usb_sel_t1: trim@55,0 { - reg = <0x55 1>; - bits = <0 4>; - }; - usb_sel_t2: trim@58,0 { - reg = <0x58 1>; - bits = <0 4>; - }; - usb_sel_t3: trim@59,0 { - reg = <0x59 1>; - bits = <0 4>; - }; - usb_hs_i0: trim@56,0 { - reg = <0x56 1>; - bits = <0 4>; - }; - usb_hs_i2: trim@5a,0 { - reg = <0x5a 1>; - bits = <0 4>; - }; + usb_rterm1: trim@55,4 { + reg = <0x55 1>; + bits = <4 2>; + }; + usb_rterm2: trim@58,4 { + reg = <0x58 1>; + bits = <4 2>; + }; + usb_rterm3: trim@59,4 { + reg = <0x59 1>; + bits = <4 2>; + }; + usb_sel_t0: trim@54,0 { + reg = <0x54 1>; + bits = <0 4>; + }; + usb_sel_t1: trim@55,0 { + reg = <0x55 1>; + bits = <0 4>; + }; + usb_sel_t2: trim@58,0 { + reg = <0x58 1>; + bits = <0 4>; + }; + usb_sel_t3: trim@59,0 { + reg = <0x59 1>; + bits = <0 4>; + }; + usb_hs_i0: trim@56,0 { + reg = <0x56 1>; + bits = <0 4>; + }; + usb_hs_i2: trim@5a,0 { + reg = <0x5a 1>; + bits = <0 4>; }; }; From patchwork Tue Dec 13 08:24:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703597wrr; Tue, 13 Dec 2022 00:29:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf5AmnefIesExhGdX2U2uqEGD7SjJlypLA8aKw8pgRZm8LKj/x2D2TDVXTRMkp6RBnW57Ule X-Received: by 2002:aa7:c047:0:b0:46d:6efb:b47a with SMTP id k7-20020aa7c047000000b0046d6efbb47amr15704635edo.41.1670920159802; Tue, 13 Dec 2022 00:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920159; cv=none; d=google.com; s=arc-20160816; b=HGdPbz6NdxnwEttEGoT/ASNndME2VzZobX6ZQ75FrO5Njuudg03Fp3HwzdrnAbGEy7 PlABf3AQz/hAZsCJZ+fQr7i6cK8j0bWGd0zAjatZ2PhX2bXvpuXvw/0TbRalmJq9Y5O5 Nt/yJzI6tcop5rLGs8DmgzSNktq+OBAeZIzxKG81TWHlKWB+MSHjvimpwKnIcEULTYly 4sr8GLzQy9/Re8xF5Rnpb4GfjHV/V5XFb5VlPCj3NozwHcBVVTSnmB4/xBIa6o43qiQW bq8IcBAW0frGFUKGXnL/ebWUl0dAw7zerq9sjDJRPQQggGOGKqoabjP3K6pfMf5tAa3M HhfA== 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=d93LIjKSCKU3JL6nIDjmePOvTMykK0KsVXdhJKccM1s=; b=H8jR73ak+UKxm4yLwvKsAcCvceuYRdKh83CtQs96hnZ+V0WPVK5Szb3DFKW0M3a107 g8rWu4PKFPUTRyPzNlDhRBO1T+aJxjW7ZxdGFywLtmKy4BxsyBxY/uJL0eJ649yoRQII JQrCwdVX2LOa25FYhUinRf47jJpJGuzFzlvFoA9PyzMwZ5XzRSQBUUgGz3fM7XU0M04J E59xmBkw4QgOcwMs4vUY38jmADTHdaT/Acy1+SqtAbkbyPYvY6rNIztme9EjUhNDH8gx vSa8uQWkJQ1uLCz6WpJrFT8afebdT+2bpVglIkciM6XpdJ4oYXyvTQYI/pKiqzMDjROw RFtQ== 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 b10-20020a056402278a00b0046c3cd49b0fsi10150598ede.301.2022.12.13.00.28.56; Tue, 13 Dec 2022 00:29: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 S234732AbiLMIZs (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234740AbiLMIZI (ORCPT ); Tue, 13 Dec 2022 03:25:08 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C6D8713DF1; Tue, 13 Dec 2022 00:25:06 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:05 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id EEBA82058B4F; Tue, 13 Dec 2022 17:25:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:04 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 74B70A855F; Tue, 13 Dec 2022 17:25:04 +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 v3 09/17] dt-bindings: soc: socionext: Add UniPhier system controller Date: Tue, 13 Dec 2022 17:24:41 +0900 Message-Id: <20221213082449.2721-10-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086777474342545?= X-GMAIL-MSGID: =?utf-8?q?1752086777474342545?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext/socionext,uniphier-sysctrl.yaml | 104 ++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 105 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..3acb14201d1a --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml @@ -0,0 +1,104 @@ +# 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 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + + watchdog: + $ref: /schemas/watchdog/socionext,uniphier-wdt.yaml# + + thermal-sensor: + $ref: /schemas/thermal/socionext,uniphier-thermal.yaml# + +allOf: + - if: + properties: + compatible: + contains: + const: socionext,uniphier-ld4-sysctrl + then: + properties: + watchdog: false + + - if: + properties: + compatible: + contains: + enum: + - socionext,uniphier-ld4-sysctrl + - socionext,uniphier-pro4-sysctrl + - socionext,uniphier-sld8-sysctrl + - socionext,uniphier-ld11-sysctrl + then: + properties: + thermal-sensor: 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 Tue Dec 13 08:24:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32689 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703678wrr; Tue, 13 Dec 2022 00:29:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5FaC/1DUGfFyodIqtSCjtsscNCNj09KfcPymxEKkcG2eMTr3ypxd6VefFAyOyCnbOYdqq3 X-Received: by 2002:a17:906:a057:b0:79d:e7d3:4bc8 with SMTP id bg23-20020a170906a05700b0079de7d34bc8mr16254353ejb.54.1670920176069; Tue, 13 Dec 2022 00:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920176; cv=none; d=google.com; s=arc-20160816; b=voUdeGikDr2kFZpXubvPhCv9GjPjbw6SV0/GvLU11nrHmZyVNts4LNn8J/o1cEWKeX 8FyH0g+o/4cQ36dDgCTPBox2heZqvRLizypT+8MOZ1gV6lswqpfYsWNp+eZ5opjW+6+f e96So5fqRtcVQ6pAg4ltoN5dXZjWft+Z9r1oDWSypd/BHL9yV7m/7DRiqoCdMCMDaHMe oHDvE5UXZ02WqM7pnpK3PpoHfv2yiG8C9E0Prgi9i0+yV5kHwZlnl+hJgavlt4KqXP8t SpYglDLSFL7xN5cLaAFXADSuBWiix5mDM/EzictiaiLZsqlF2VTuYnN/aHPZga5DkjSR vXaA== 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=Hf7jAfdwVYJaAXrzTFUTNn3MflY8uXjLd7E7ZXg/E9g=; b=s/+kFATiaRFrRdFIEVA0amxrvw5aDs5IDs71O4NAnUucAd67oar+/ALER/h4hFofW+ 7rRuoso1WkpMUQdO02LbOuMkD9ouEtJzcgs5K/BIbP0KZTZg8AMSa96Oka/NPCYRQnAJ XKAn5l8XO1ZdrsQIF1LRNZgFvIicSWn6Syq3da9m/ia3k/OrJPFH80IFY2ceI6OceIdQ wXhmk2leVwKZkAKbDLuHbKwopgx0i1f3YQ36H9vtt14566tSyjRjIXm/4+CE277uOW12 VJNanSUNJn5B9MR8LYPmPfIOefB4kfm7sjpxoiCu+YN09ZVPjiJ7b0wQHWi+1CiEi3g6 Gutw== 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 hz5-20020a1709072ce500b007add8160fd4si8236258ejc.766.2022.12.13.00.29.11; Tue, 13 Dec 2022 00:29: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 S234773AbiLMI0K (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234752AbiLMIZK (ORCPT ); Tue, 13 Dec 2022 03:25:10 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0FBA713E01; Tue, 13 Dec 2022 00:25:07 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:05 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 755CC2059054; Tue, 13 Dec 2022 17:25:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:05 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id CCA1BA855C; Tue, 13 Dec 2022 17:25:04 +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 v3 10/17] dt-bindings: soc: socionext: Add UniPhier SoC-glue logic Date: Tue, 13 Dec 2022 17:24:42 +0900 Message-Id: <20221213082449.2721-11-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086794170554429?= X-GMAIL-MSGID: =?utf-8?q?1752086794170554429?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext,uniphier-soc-glue.yaml | 115 ++++++++++++++++++ 1 file changed, 115 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..4b6852db4747 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml @@ -0,0 +1,115 @@ +# 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: + $ref: /schemas/pinctrl/socionext,uniphier-pinctrl.yaml# + + usb-hub: + $ref: /schemas/phy/socionext,uniphier-usb2-phy.yaml# + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + +allOf: + - if: + not: + properties: + compatible: + contains: + enum: + - socionext,uniphier-pro4-soc-glue + - socionext,uniphier-ld11-soc-glue + then: + properties: + usb-hub: false + + - if: + not: + properties: + compatible: + contains: + const: socionext,uniphier-pro4-soc-glue + then: + properties: + clock-controller: 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 Tue Dec 13 08:24:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32679 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703015wrr; Tue, 13 Dec 2022 00:27:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BLZbnOgYM112aas1ouTbC98ycDk1kuY9tUeNhJEzG4iC9fCUW+1UAvMAYEkHYgLNnY70f X-Received: by 2002:a50:ef0e:0:b0:470:400e:9b20 with SMTP id m14-20020a50ef0e000000b00470400e9b20mr472239eds.24.1670920059436; Tue, 13 Dec 2022 00:27:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920059; cv=none; d=google.com; s=arc-20160816; b=EElnCnWWLMXR2/ExBDSm5cx9Aejw3CqB8qDoX/i/mnZ7o92046nsTAPbQPGrmwa3qL bCcUyK2lwCKZ7c6XysGDGydheHjDXavFT88a5YQT713J3jMeffrM4WtTMZb4hZ60R/jI BoFrDXQkESTAXD6pzTvmLnS7fap05yfvvg066oPD5wK0Efsdvx7tHsbvpmboSMgMlhGb /OTAym1GHpDw/rGOsOIoyvL5hNjxopYhM9xoxTqQrJHUt9+acYbaAGkVoYkKzx/Laf/f nIiZWUORpOjm4hYjocJMTpoUGE/MB1K3WEA+qeVBsymx40nrFY6pXcqiNeCbUf3zhB4g RHOQ== 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=XQb8KBHE8yFw/0WRquy6DdUIlrQVmAsHKB3ar4fzw5Y=; b=nXVR++pXVKxFW46DPFpoP5P/FfkmjpxuT998gMN9D/2IMANhSuJqZmAn3A02rvy+zO TRq5Txgd4MwkiEnTe/pEFR3WIfggrtamH76b16UOQAt0/PCy5gD4fo0xzIY3pLE9KOQ9 VALialX6Ad9BFrqfssL53Re9OD78M+U8TwUUD46SsFiZisK8OYQ5WmzNHEBGP3xWC2Se Q1FkkkSBd2cvMHHrtIg4S+xYmfaFinAdwT0oMUYdm9Rd035sTgGTrcPki/DyJhki+5Jq sDWr2sRWewrRN5FPy9fO+GHn4iTaaVhJbiw2BS6yBGy7pw+40KVeXBZXY5jqw0Y9MBeE wKfw== 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 s20-20020a056402521400b00469a7893548si10952608edd.539.2022.12.13.00.27.16; Tue, 13 Dec 2022 00:27:39 -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 S234669AbiLMIZg (ORCPT + 99 others); Tue, 13 Dec 2022 03:25:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234733AbiLMIZI (ORCPT ); Tue, 13 Dec 2022 03:25:08 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D34713CEE; Tue, 13 Dec 2022 00:25:06 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:05 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 78A672058B4F; Tue, 13 Dec 2022 17:25:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:05 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id EF303A855F; Tue, 13 Dec 2022 17:25:04 +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 v3 11/17] dt-bindings: soc: socionext: Add UniPhier SoC-glue logic debug part Date: Tue, 13 Dec 2022 17:24:43 +0900 Message-Id: <20221213082449.2721-12-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086672508856022?= X-GMAIL-MSGID: =?utf-8?q?1752086672508856022?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext,uniphier-soc-glue-debug.yaml | 68 +++++++++++++++++++ 1 file changed, 68 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..1341544d1df5 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml @@ -0,0 +1,68 @@ +# 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>; + }; + }; From patchwork Tue Dec 13 08:24:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32682 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703300wrr; Tue, 13 Dec 2022 00:28:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf6N9L+6OV/V5EMQqm4vnusfGSe69RcTmJV/8TbCNt5voMa/Zuvr6PXJgrSyqHNkx1EBKk/3 X-Received: by 2002:a17:907:c78f:b0:7c1:4e8f:df2f with SMTP id tz15-20020a170907c78f00b007c14e8fdf2fmr14991765ejc.17.1670920107553; Tue, 13 Dec 2022 00:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920107; cv=none; d=google.com; s=arc-20160816; b=kOJmzSIpivz9qWK4jbiF3Qk90XnTr2/1NR7mGxHH0/3BwTixAUmkUMhNGiZUVSRC+G e3s1Et4nOmnjcQgPFmu/O1vwyDi3sgFFGUQ320xbvcT/JC7F8x0VdkSzb8tgUXzvrpjI IqExgoo5IxW132q0a6aA+46PzoWwjvrquo1WzRl/MTcaR6wiEZmyv/V5gFpL7J1qIyDX sh1sbOLSaGQK6OLW8BSi5AySm6HvTx6JidlUAATB/AtG40jiXDXW11MkCO/nIgWajh2L nHo/wXcPMVoUyhRVB4K8BOzjileR4XDmGRzRPNIgRvvAayNhbAuW1Rqw8m2vjH6kVt2o x5IA== 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=GH9S8QJH+vsUm4Njuu9faq/JliggUYQGPFe3kihZHKg=; b=QZ3Wm5kHQA8+G1Z5xwSJxRMIRFb4BLxAvJKocmiqAMJC4xDHBj/osHlSQCOse5rxL0 kyKBpRqQXgRsZwru7RhqyCVinxI1E0TMX+2NNTlkw7j0QN9WjfSkVb+RbiRiPt4UlGaB HSOFZOZNIRkZP6P7yEPRprn6A5zN7rqhD2bpKGeZSX4gtXYs9rKhWtSy/Q/O8Dt1auOa L+xgkbJIbdiQucKAXmRyiMAk0HnbX7g02zqiuNB+HUMXXMXzsy0lRocotdnyCwTBPuMI 4dKp/yOh4ZgpIm7CfGmqFk+sTBfQ2Yvtpl4cUsPfkgpJLSb0lZw2GhUSdnLAcNLChA4j ZleQ== 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 go12-20020a1709070d8c00b007a5cdd9550esi9055982ejc.201.2022.12.13.00.28.04; Tue, 13 Dec 2022 00:28: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 S234861AbiLMI0W (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234763AbiLMIZN (ORCPT ); Tue, 13 Dec 2022 03:25:13 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3930013DF1; Tue, 13 Dec 2022 00:25:09 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:05 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 78BC52058442; Tue, 13 Dec 2022 17:25:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:05 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 1F568A855C; Tue, 13 Dec 2022 17:25:05 +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 v3 12/17] dt-bindings: soc: socionext: Add UniPhier peripheral block Date: Tue, 13 Dec 2022 17:24:44 +0900 Message-Id: <20221213082449.2721-13-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086722664931284?= X-GMAIL-MSGID: =?utf-8?q?1752086722664931284?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext,uniphier-perictrl.yaml | 64 +++++++++++++++++++ 1 file changed, 64 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..0adcffe859ab --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml @@ -0,0 +1,64 @@ +# 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 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $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 Tue Dec 13 08:24:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32690 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703717wrr; Tue, 13 Dec 2022 00:29:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5MLm1pG2VKaNSUVxxQDs6PEjhPX0H/2NYmLEDflHwVphRMX6w+N8LO85b8f68Yx3IUHTgl X-Received: by 2002:a17:906:1711:b0:7c1:3fbd:d569 with SMTP id c17-20020a170906171100b007c13fbdd569mr14118049eje.8.1670920182432; Tue, 13 Dec 2022 00:29:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920182; cv=none; d=google.com; s=arc-20160816; b=KeZE+weiPrVkhvRmgN3S9chRglkWQmr8LJFTF1MX6eNpjqmXAaY6YoUfir4HX5NmFZ NUtBoETjSKs0QtO83s+80FuuF7d/QTqsqhZgBhrzMcZcQG22QmpKeD0YfIF0AGZXpX/z xfpKY6AbVVkd2+IfxlAnrhDjXcClrnI09NbWJxAum5t75y1T1XX2UCH70h08CipVSXHp pfxaamdPB7Tg+FDWlsCC4xs7Fs0kbnOkiyGE9ED84vQ955bVfsdTMOyjx/axsmRaVogS 6UgFfFxv+hTjZGu7I2nkkznmLubHc9S33UTiYD+GlAJSCyDkyZd9gNlmDfDhtnfVShD2 j8ZQ== 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=CJixSTgpqF3OdK0vDhDwHMjBwJ1gZ7rzK8/3T+dLPIk=; b=jPJNtp+YfkZ4c3+Rq70wpDjHLB1JJgc0LJPQjxaHbAkzwDyhqceMWtXab4JMrB8/qG tziEJr3Cn3NGztOMchoN8Q3S7P2CS2hACindvrU3w1hN3ADD0Q5oYxsD7JPruM/2jMOR N1VBE6b/e5lMOzMzO4BOYC/xmbqLOO+pqXsPFOoSEymUmgKoRIYJazb3tmlQhdsQIbNx LE3KVdss+bVGn8t4C1/LBmSYyAE5zc+XPy0JDs/N7nojMhy+yfbVqM1ojvp4AFxlYTnh M+UhSMdK9URvrQ/7d3Wyy5g+3Bfs7HyryUEnVCh6X1zXM0HoA5oLhBGxvxzQyfAu/abx rKJg== 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 lo8-20020a170906fa0800b007c0e155ead2si6924539ejb.369.2022.12.13.00.29.19; Tue, 13 Dec 2022 00:29:42 -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 S234847AbiLMI0N (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234755AbiLMIZL (ORCPT ); Tue, 13 Dec 2022 03:25:11 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C32F0B4B4; Tue, 13 Dec 2022 00:25:08 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:05 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 8F90F2058B4F; Tue, 13 Dec 2022 17:25:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:05 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 43C1DA855F; Tue, 13 Dec 2022 17:25:05 +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 v3 13/17] dt-bindings: soc: socionext: Add UniPhier media I/O block Date: Tue, 13 Dec 2022 17:24:45 +0900 Message-Id: <20221213082449.2721-14-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086801083987682?= X-GMAIL-MSGID: =?utf-8?q?1752086801083987682?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext/socionext,uniphier-mioctrl.yaml | 65 +++++++++++++++++++ 1 file changed, 65 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..2cc38bb5038e --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.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-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 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $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 Tue Dec 13 08:24:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32688 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703660wrr; Tue, 13 Dec 2022 00:29:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf491KApEcxU1NF/UlOvWc82hXT2sQPe12V+vXpq/r6AXFObVU5Ou8xcbiVV0OBP4A71sHCh X-Received: by 2002:a17:906:8049:b0:7c1:6040:2318 with SMTP id x9-20020a170906804900b007c160402318mr1815165ejw.35.1670920173711; Tue, 13 Dec 2022 00:29:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920173; cv=none; d=google.com; s=arc-20160816; b=dxBQlcWYN3zW8ouJxc5hLaHoHCNfY/3W8UM48ivsmqWPugm7HaMEmLKhU3dx4SWa+R s2gCloFILSlAffZkMH2XQyRg0xKi+MXpIfg7ZnhEIspLrUztmwp1eV+t91qIRt46IQZa JA7j9ps+WTiEUoPKUPvmLxQOOerzFWdC/epInX+ICB6A1LKLn/2EB08lEpyNJXjJFgbx Sa9m6srHfqgiINWclsfvGQ2UznO2TZr5RFn8bRaHn3khHQfmugnsl09ia61W8ja/pFiV Vd6YCILxzCqqgmjRGlLYWGu/dM6h1B6EN9YzoZaxXuE2JRPkL1oSTTfOdo21XBpopMic BsDA== 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=FIDVP8zdvh0edF0v1Ol01YI+Q60E7TIY8S2SCHo4aPc=; b=GxDImI9C0cm7DfPX5JcVN7/JWUi2KYqX+H5Cu7ebv2QKrfrAV9xgsdt+2Ze3o1jrU/ wBIWCz8HziIPxmWBa+nzr5LwxvaM2bqzymoagO90JqQqn/Q3CkVYjpAe+LenzQkpoZRt aMsrib38WBr932mZciknK1jCCBrwz9YJTJkaSyFSmLw6rbOk855n4UmpW/FnKVg9+U1X Bzqc60CjpYaDXdnFfz5WA/A77Nst3JphnQoto4eQKktFd+mb23MI8B+IaDDmCMFbWQLg zrtkfrHTMP7WMa0A8V3F2746+B8w5yHdLOPxd7RlYYOfaXbFXtJhfnAyB/7bbSkhRXV2 a0Ew== 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 v15-20020a056402348f00b0045cecdc1fbcsi9990758edc.9.2022.12.13.00.29.10; Tue, 13 Dec 2022 00:29: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 S234833AbiLMI0D (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234753AbiLMIZK (ORCPT ); Tue, 13 Dec 2022 03:25:10 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C3ACB13E8B; Tue, 13 Dec 2022 00:25:08 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:06 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 156A72058B4F; Tue, 13 Dec 2022 17:25:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:06 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 6832EA855C; Tue, 13 Dec 2022 17:25:05 +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 v3 14/17] dt-bindings: soc: socionext: Add UniPhier SD interface block Date: Tue, 13 Dec 2022 17:24:46 +0900 Message-Id: <20221213082449.2721-15-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086792369212315?= X-GMAIL-MSGID: =?utf-8?q?1752086792369212315?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext/socionext,uniphier-sdctrl.yaml | 61 +++++++++++++++++++ 1 file changed, 61 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..cb3b0d42739f --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml @@ -0,0 +1,61 @@ +# 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 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $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 Tue Dec 13 08:24:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32681 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703171wrr; Tue, 13 Dec 2022 00:28:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bc8dpOebtOhZU5pBM23bxou+DG8BqkIGMZwkVreK5a14bg+VLq+4Tk5LmKC9bJu6Qg/IF X-Received: by 2002:aa7:cd78:0:b0:46c:be9f:7c3b with SMTP id ca24-20020aa7cd78000000b0046cbe9f7c3bmr15717346edb.19.1670920090331; Tue, 13 Dec 2022 00:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920090; cv=none; d=google.com; s=arc-20160816; b=rcNJbrwwmNGrynskn3G1ZgZ7+36qaXr680cI9bYNMDvr52yEBFQSM/elzOkDWNj4Bf rbXjh9Q75fyiNx4oVIro2/MM7as9KSxsGVEeCIr7IMgeiawAmLiAV5Nfd1QNIOCSPkPh zdhvOr7K/Bqtn1Bw6uOnZHRv91kloFSdkSRLTpdSDsepircxOzoCSzD7qS4DO7mEODBo ATB/3uHK3/LtdQJskdsvRsEsSvpVaYr4OITUcGfEkjxhd4hua8LEH9rTYtI39AxtdbwK zrughRn89tvNWY29Cnv9YxYs+q97Awn67OfAtQLFj+yH7glpIlERmMBykQmMWSQVkZ25 g7BA== 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=gK4AxCtA7kokzQr7v2Wpaio1lvqSTtcWVkoSgL5B7Y8=; b=LA1XlMYj0+GDgipRkTsIwrkfKpmrs8esYQhGXc2+1NI2/hrR6Jr9MMHs2S6RYUcjfr OdNbGj5P90/hWhE5OQ0tOWq3RhkPXj4YOhyJCf2J4OE+sfDYPYd0pgwIez1gFQPlWb75 bFXRnHxgf6Qa1A8zKrepXZcHomvJPDGsO6sDA5dXd9nldDVsBMkGY02/ne5grXo537RA uztkKh7+D1xfTqQOo8Cs5puC0OuZH7mTie/mogTLE0Qo8EdTh9+GVtpHSoMhGgWmzLdA H4S+msokYa0hRW/M+6Nk3CtfE80w8kl6R7/wWYIhp6/+mjrCAmzi225XkqDPlYKU+jbi Mojg== 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 b9-20020a056402084900b0046b1827eda2si10841974edz.74.2022.12.13.00.27.47; Tue, 13 Dec 2022 00:28:10 -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 S234852AbiLMI0S (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234762AbiLMIZM (ORCPT ); Tue, 13 Dec 2022 03:25:12 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 67DAF13FA1; Tue, 13 Dec 2022 00:25:09 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:06 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 1921C2059054; Tue, 13 Dec 2022 17:25:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:06 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 8CFBCA855F; Tue, 13 Dec 2022 17:25:05 +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 v3 15/17] dt-bindings: soc: socionext: Add UniPhier ADAMV block Date: Tue, 13 Dec 2022 17:24:47 +0900 Message-Id: <20221213082449.2721-16-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086704552719884?= X-GMAIL-MSGID: =?utf-8?q?1752086704552719884?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext/socionext,uniphier-adamv.yaml | 50 +++++++++++++++++++ 1 file changed, 50 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..32d9cc2d72a8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml @@ -0,0 +1,50 @@ +# 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 + + reset-controller: + $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 Tue Dec 13 08:24:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32683 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703352wrr; Tue, 13 Dec 2022 00:28:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf6gnLAykK8qbNBmdMOPnF6cs/q6gVN309UxX1eEboECTKenWXxNJWIOcMtUVVaxgKdcuw5l X-Received: by 2002:a17:906:5496:b0:7bc:14e7:cfae with SMTP id r22-20020a170906549600b007bc14e7cfaemr15701403ejo.49.1670920117358; Tue, 13 Dec 2022 00:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920117; cv=none; d=google.com; s=arc-20160816; b=GbxP0aT3ugHjUgbJSXfJX2WaKnix/vVS3uBWYUJXFuAiRom4ztodWft7NM4q/TKiyx MGh615qh2qMAqEoK8nXaWm3kcLohCKcPxqEBnzzhXMZvF3nzDjnzV7kh+IAn36F8AzM6 sU+U5syL0c8neHbpyjtZ67Moa6HpZpzxmzrqIo1iHU4RtC/wnbvr9b695irPOO0RSNEN VZRcps52Y03P9mW5giNVeVa+572TWpTOm6usAeS1+unf+PkBhDPO6ErJ+g0ZF1HjKNLG yKR0Rx84rnnydafDEc3l9eNQSU9/QMmGr1aoNKUQyBBiGyEEV1x7wLp4qGtmP8qresOU WHmg== 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=PhOZc6xzlBCCOwKc4UNw4Ljedtr1BsuBeSGOey4Ywco=; b=oFuubx1Uol/B7Ld708hjRkfCNipwSy5uNncpqvuEPK5BhCsvzBZFpUiQLB15QMfVGb rLg5mUAP4dCE1oRA98dCUd43tw39isfDfHZvvllvsxj6YiLpuDa5fd+fD58Ytu4chg6F rhpo2dIgWop0MnQsRWAZS9LLvboW9b1cIBBJ/UIn+WKGs6qfZ11sYKCpXXv/U6F+4jgj XK/+XG11AL+J+JHETnNqFIEna9I53tO69VbNiaHBzI2tifbEMptDZawzCZX0/S37IBbj YK+B4kAZCmyfLIcuxk36tUMkcNnlr2uEfxRqhyHxHWDDwB/d3m3Gpu5XhdZgdWYZOGmd jsyg== 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 di9-20020a170906730900b007c16344082dsi1097764ejc.799.2022.12.13.00.28.13; Tue, 13 Dec 2022 00:28:37 -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 S234869AbiLMI01 (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234765AbiLMIZN (ORCPT ); Tue, 13 Dec 2022 03:25:13 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 675F413F6E; Tue, 13 Dec 2022 00:25:09 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:06 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id F30662058B4F; Tue, 13 Dec 2022 17:25:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:05 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id B1DB9A855C; Tue, 13 Dec 2022 17:25:05 +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 v3 16/17] dt-bindings: soc: socionext: Add UniPhier DWC3 USB glue layer Date: Tue, 13 Dec 2022 17:24:48 +0900 Message-Id: <20221213082449.2721-17-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086733381919253?= X-GMAIL-MSGID: =?utf-8?q?1752086733381919253?= 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 Reviewed-by: Krzysztof Kozlowski --- .../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..bd0def7236b5 --- /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 Tue Dec 13 08:24:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32691 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703895wrr; Tue, 13 Dec 2022 00:30:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf4CErsgBqAmpONO0gNf2vGGM0BFcKK859S3ivOCXVfayk+C1ckGispWiZNaNcdQRTQSWAnL X-Received: by 2002:a17:906:704d:b0:7b9:62ab:dc3f with SMTP id r13-20020a170906704d00b007b962abdc3fmr21800625ejj.1.1670920214196; Tue, 13 Dec 2022 00:30:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920214; cv=none; d=google.com; s=arc-20160816; b=u5TOOPHL1qkS5kIY5k7gPdSG+6lQqDCZw3qXGcVSgbNYcAHW8hbBCFA7Zkxvlx25SV bbxC5eSsFGS1tcCyNrnCwGy/CyW1F7xkxKsQkZpaeoeUV1vd7WRoTDX1QkSPKKxG9zOk d0AhTci8oIw7tzRxqqWLtd2sVTQ2yTsJsaYooPcVJxABMhfci80doFy3lj1tN7eeMdhi fFQmoiyDWynVlq8gdrbfAMkZ085onLuEOifaOU0AvW04cZ0ptD+vnEEjvROOYOx5XWAK oTUpwCUBBykfmub8JxmZlGGS7rvXf3SRr2qE/WTMYyGf875hzE4w2+r0qkzCmgxzHWKG QXqA== 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=wFKfpWeIjU2ShumYillI02yREYvfrYj4AFrr4sfDFdI=; b=VZBpO63BQY/cwsltAZs9Ge+WR9mbckV+dhEt1PAREVSXvT7Z03ss1dYKAFzd5/xgul 9RrNPcFzepJvmfLXHK/hzdpxzLpWTigETDL69/s6eSGYeIsX++xjJFChwc806WUS0vGD dbmjCGIu+w6GjtRV7sCfeYBgRmwVG4NVWAEkh4+VI4fm5Yasrbv7hBI7SfAmOFMR8r8R U76bvV15EFJjcVA8IhPV9pWFsk2xUhuZ+XYy1ha3crzEknYm+JReuf5p8ZMQywPyT+ZX uEcTzsAtWL0iiCBppS5F+5RWNiNMCcBetbUqYehpNg+GoEOm4XG2WDPod394M+cM6Usg sCfg== 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 ht18-20020a170907609200b007bdd38a5d5asi7525725ejc.636.2022.12.13.00.29.50; Tue, 13 Dec 2022 00:30:14 -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 S234879AbiLMI0b (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234764AbiLMIZN (ORCPT ); Tue, 13 Dec 2022 03:25:13 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 394B513DF9; Tue, 13 Dec 2022 00:25:08 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:06 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 7CBBE2059054; Tue, 13 Dec 2022 17:25:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:06 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id D6428A855C; Tue, 13 Dec 2022 17:25:05 +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 v3 17/17] dt-bindings: soc: socionext: Add UniPhier AHCI glue layer Date: Tue, 13 Dec 2022 17:24:49 +0900 Message-Id: <20221213082449.2721-18-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-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?1752086834778011417?= X-GMAIL-MSGID: =?utf-8?q?1752086834778011417?= 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 Reviewed-by: Krzysztof Kozlowski --- .../socionext,uniphier-ahci-glue.yaml | 77 +++++++++++++++++++ 1 file changed, 77 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..09f861cc068f --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-ahci-glue.yaml @@ -0,0 +1,77 @@ +# 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: false + +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>; + }; + };