Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1260519pxb; Thu, 14 Apr 2022 01:59:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwke6kjKxFUXMHQQeyVH8/TOl1sNAVOqqBe1XnEbrZFrgTo9veQheP8EbCOFcr8NiZH4JmW X-Received: by 2002:a17:90b:1b0f:b0:1c6:ed78:67ad with SMTP id nu15-20020a17090b1b0f00b001c6ed7867admr3166848pjb.41.1649926753693; Thu, 14 Apr 2022 01:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649926753; cv=none; d=google.com; s=arc-20160816; b=wfN3ppdNE1iGI2sUcUrqKyv4V537OkRgR3zp7afKOxoRuLeE7sMdMDuNSfHMxSG+MP dahicZXFcrpHZjIgiCWdXQqq5MzzZTAjhoPX7zLqDRPX346cgKg0BVUnzWfuaJOGbAi2 s1DJ51QecWelNsrC7xLVvHXSUlTjz7z2RvJL/2Ka/FQIZCvq/3FywA2e/0y2kjqMUa7K PySYrVBoQfRsnhZ05xQ1YGHy7eNdEKc33YNIbw+C7qmIidAeEkIOpfBZ7dWJDPJP98fq Cz4HCmqppLsnIxSvA819apIeSFh75SNJ7lUMxrEJHG3320exvfjpht5nPP/Amd3baT00 nA2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=E/KosFpseT7IWJRZQCnSiS447R6ssnKcrthoESTGiCY=; b=XJ0m4zXwqTceLqpqH9oapDlsghkTItBg27eOsLbQEtA9SuUVxhn8xlkUYqkA9NJaOc +S/1C0vBXZs4A5tWAf//aZCjz96az1SInFm+Bmbs9MeVklVpBqLWNE/UlMjxd2nnr4bY 3BAeporFzKyoNlL5uHaLF+BhUyYS/Y06gDhHRV7E3bGhPUJKkgAE9Dp834bqe9J5uuVf HFfd8x3MbSnyH7IXXgUd8Lo3RXK4L3n2ydND3WTI07mEiz+o9UZfefm+FOP9dL0gps1j YaWXOBE2kRtiSCrNludoNgDons7/z1t7G1NAW9/lvAu6GAif3T3ZRjlK/Az2gUqs/7SO a9Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Vh4Nsq/6"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu15-20020a17090b1b0f00b001c6f8b9aea5si1312639pjb.42.2022.04.14.01.59.02; Thu, 14 Apr 2022 01:59:13 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b="Vh4Nsq/6"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233508AbiDMP14 (ORCPT + 99 others); Wed, 13 Apr 2022 11:27:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbiDMP1z (ORCPT ); Wed, 13 Apr 2022 11:27:55 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F68D5DA00 for ; Wed, 13 Apr 2022 08:25:33 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id u15so4639445ejf.11 for ; Wed, 13 Apr 2022 08:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=E/KosFpseT7IWJRZQCnSiS447R6ssnKcrthoESTGiCY=; b=Vh4Nsq/68C5HjeI3A+yT1TCrzlxkKT0sfz8S3WArS7wXqU2HMY1kjSoZ15QEZmFtM6 OFYv1iWTnr+tlMIiILChInAOK+egjDR+MtIwNLJlFgSPS0IaHvcSB/B8FcrmDr+ZyIDg IiiQB3pNO94TEGvLWtXS/CjPEk0O7T7J0MsTPVtfkCt+WO4kRbnT4evsF7X3kPB8ayF4 5J/XJAFVO/Wopdl0EmW8QilO0Iz/XWwoNMkPhoQJPNm2KavV8w9DXemGntKKxv+uKR1E Mxe3ylpT7zTGScy4KM865rbxBZMJ4K0dj47qLEXSEyh6zUTCCLXrC6xnjkDTbvcgjPHW 96/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=E/KosFpseT7IWJRZQCnSiS447R6ssnKcrthoESTGiCY=; b=bWBrD3hfYGK1yKL4hxtLTOa2B5EgSEqgU33ZElLG6K5sepoZhdpjsbXVqtqRpBqhjj pEPQtXlCH/Q5u0u/hOSy6792AS1iGphUx3/UpspUbgsCHWlC4hSYuNiq+KtD8uavgFFn uFkvZC3OyFXhpeAsz8c44OKe/tomdyGN1oc6oleslbQbQlvOgUiByf0JytFpgY1spbSJ dh1scMQvM/KlMhc/2R+LLapQne3+nTrSZ4YJiDydBZqANRTNRCgb9Me/6cjJz4VyFbqh EioRveiDM+B8noY1r9SKz7BuhlhrdLnNhtoJmYr8mwL+bRzysS2Sgn5xwXJtqnLrskjo 24lg== X-Gm-Message-State: AOAM5308D/FWi3SmKbCMcyeX1ct9EDM78pk8jSYlM2EJMjXFshJjhYCL 9Ghm8uqjkil8z7imtd+0uIcrng== X-Received: by 2002:a17:907:2d27:b0:6e8:3ea6:7645 with SMTP id gs39-20020a1709072d2700b006e83ea67645mr28970048ejc.727.1649863531801; Wed, 13 Apr 2022 08:25:31 -0700 (PDT) Received: from [192.168.0.205] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id h7-20020a1709060f4700b006e8d0746969sm83440ejj.222.2022.04.13.08.25.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Apr 2022 08:25:30 -0700 (PDT) Message-ID: Date: Wed, 13 Apr 2022 17:25:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 10/14] dt-bindings: pinctrl: rt2880: fix binding name, pin groups and functions Content-Language: en-US To: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Luiz Angelo Daros de Luca , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Thomas Bogendoerfer , Matthias Brugger Cc: erkin.bozoglu@xeront.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org References: <20220413060729.27639-1-arinc.unal@arinc9.com> <20220413060729.27639-11-arinc.unal@arinc9.com> From: Krzysztof Kozlowski In-Reply-To: <20220413060729.27639-11-arinc.unal@arinc9.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 13/04/2022 08:07, Arınç ÜNAL wrote: > Change binding name from ralink,rt2880-pinmux to ralink,rt2880-pinctrl. > This is the binding for the Ralink RT2880 pinctrl subdriver. What I don't see here is why you are doing this. pinmux/pinctrl have the same meaning, I guess? > > Current pin group and function bindings are for MT7621. Put bindings for > RT2880 instead. > > Signed-off-by: Arınç ÜNAL > --- > ...pinmux.yaml => ralink,rt2880-pinctrl.yaml} | 24 +++++++++---------- > 1 file changed, 12 insertions(+), 12 deletions(-) > rename Documentation/devicetree/bindings/pinctrl/{ralink,rt2880-pinmux.yaml => ralink,rt2880-pinctrl.yaml} (56%) > > diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml > similarity index 56% > rename from Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml > rename to Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml > index 9de8b0c075e2..c657bbf9fdda 100644 > --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinmux.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml > @@ -1,21 +1,23 @@ > # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > %YAML 1.2 > --- > -$id: http://devicetree.org/schemas/pinctrl/ralink,rt2880-pinmux.yaml# > +$id: http://devicetree.org/schemas/pinctrl/ralink,rt2880-pinctrl.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > > -title: Ralink rt2880 pinmux controller > +title: Ralink RT2880 Pin Controller > > maintainers: > + - Arınç ÜNAL Mention this in commit msg. > - Sergio Paracuellos > > description: > - The rt2880 pinmux can only set the muxing of pin groups. Muxing indiviual pins > + Ralink RT2880 pin controller for RT2880 SoC. > + The pin controller can only set the muxing of pin groups. Muxing indiviual pins > is not supported. There is no pinconf support. > > properties: > compatible: > - const: ralink,rt2880-pinmux > + const: ralink,rt2880-pinctrl you need to deprecate old property and add a new one. > > patternProperties: > '-pins$': > @@ -28,14 +30,12 @@ patternProperties: > > properties: > groups: > - description: Name of the pin group to use for the functions. > - enum: [i2c, jtag, mdio, pcie, rgmii1, rgmii2, sdhci, spi, > - uart1, uart2, uart3, wdt] > + description: The pin group to select. > + enum: [i2c, spi, uartlite, jtag, mdio, sdram, pci] > + > function: > - description: The mux function to select > - enum: [gpio, i2c, i2s, jtag, mdio, nand1, nand2, pcie refclk, > - pcie rst, pcm, rgmii1, rgmii2, sdhci, spdif2, spdif3, > - spi, uart1, uart2, uart3, wdt refclk, wdt rst] > + description: The mux function to select. > + enum: [gpio, i2c, spi, uartlite, jtag, mdio, sdram, pci] > These were all incorrect for rt2880, I understand? Best regards, Krzysztof