Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8022932rwb; Tue, 13 Dec 2022 00:43:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf42U/birtYy5SG6lKVAxHtFXewjT4SemcV6FgjI/n33j3/+Yk+kgAit5pdL4ObgT8rpC501 X-Received: by 2002:a17:907:c78f:b0:7c1:4e8f:df2f with SMTP id tz15-20020a170907c78f00b007c14e8fdf2fmr15035211ejc.17.1670921021735; Tue, 13 Dec 2022 00:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670921021; cv=none; d=google.com; s=arc-20160816; b=zd2olQmQAUBBAUP/aMCZjru4eiat4fW+bc/yVcFInRRzmzMy0pWzAO8ndwFQ2PNBGF gcMwgbVlUGJlpPwDVwHiDUM1ZjcAMFu0tBGIvQ2LcphRbQUzlFpFvtD/H1GVCguI7Acq YbMU+v/lgjwb//1EKXsa1gbAYyiYJlCZbtQiOpkdI3okq8+ylCUgVPAgz9kaPWEhK++1 fIzQLzHRMIOdG+u0hpdNy6lByx0uUgSpoccA8RK8LNcbiMW3goLkBX7mPlAQLd7Qv5+/ dpSOpdt3/FU92IWP6p99i9BMLXB1g0kbe1F9dZt+ZOQUHSyuP2U5Byy/eCnv+tpQBCsk RFfg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cz26-20020a0564021cba00b004602a1b7da9si8427201edb.133.2022.12.13.00.43.23; Tue, 13 Dec 2022 00:43:41 -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 + 75 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 Content-Transfer-Encoding: 8bit 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 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>; + }; }; }; -- 2.25.1