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>; + }; }; };