From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B48FEC43334 for ; Wed, 29 Jun 2022 17:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=D1FhhwjEci00AcYj+PpIkjeyhMIOzY6SB4i0W2A+s5Q=; b=yPCHVzinpcU9rR RG4TzFDwXmUEaKX4Oq7Ux2jxYT6kU6uQuZSt66uZ9cLOLA12HSoRtSk2EMvvePOUbiHEPFKC86Zzh TFB2jNzIvws2oRjN7gJ01pRqz2bZceKbThP4Ch9GtaZ+yMTUrHNGxlI5t4NpJS/kWp0KW1pYYPQRY 2pJZ8h/M4cyCcAFrxUapce+sDEQtVGlyzaUlOUyfuHx2+fEV3zP1yH34dMUmFIKbRKPm1UIAQPDJW eBOd6HlohXHgsRtbNM+pOEVpLehylG1V/N0jT0LCvYYK7X6DsngrK7OCn7C2nm6kfEgalo0hhvXe7 hxTiUMv/Det1UVzvvF6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6bt5-00DHzn-1S; Wed, 29 Jun 2022 17:54:04 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6bsz-00DHwz-Jy for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 17:53:59 +0000 Received: by mail-ej1-x632.google.com with SMTP id d2so22376976ejy.1 for ; Wed, 29 Jun 2022 10:53:54 -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 :references:from:in-reply-to:content-transfer-encoding; bh=QsHsxpU9tGa+aGdcCbpe2HZGvXnqiXDrYeH5Rg2GOUk=; b=vG58x7LD00TJa1n7JuY60BzBXWFJUi5zUQ77KSsQuEUpqFoHVsSDm2YyEVYRl6DmH/ Lxo1qAYH3+jsRqEGAT6LxB+rAIn5Vh4H7IUQebGk6ProtaluAvIJD990qvlXRNy70gIu X4m8EWzrBNvc9v83/T14RtP+3frVt0MmOeaRPpqg7xQSd4/rzrr5tWbv/nLw5DCpTtty D8JQuXuPNqXGbXGHAQz2e8KKX3u1sVpEQ2MXr9OBSMvZMlf/hNtrZaOpWt04oqzT7RlO aBaAYWD9T3wO4xpKaV1nfgTHBHYG4bi7U5SYDseQSk4x1LfMfDc4oaG0PD6SvzerXtpU /OjQ== 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:references:from:in-reply-to :content-transfer-encoding; bh=QsHsxpU9tGa+aGdcCbpe2HZGvXnqiXDrYeH5Rg2GOUk=; b=IV0amgiEPLOmC2XZQA2kbPYBsVe1hMguPbQmJKiWkMVUevv2AUxNfTNaHHwUSWaeJH OcmegC0vz/JldZiwtUIp8scY4hSgGRtkYkwtzdE9sRP2xbns+W6FxYoxw8TRPaqpEep7 eWa/8W6wx3csZXn13VWQhial5R230+gL1lPzxfNSx+awBwowvzEAI2wOe6lxRPxkyRoe 7IuVdkFoLU1H3G/jouZh/j0hBLAnTXZwOO6jQRAN26DPSsqOWhXVdIL9PK6YKebtozlM uwFTbIOUAxpp/1wvl2Wd6Uwtkij7kR6nqy1lfvSJhjbah6pR6mM59gJNjmrrjgEu7o7J WQRg== X-Gm-Message-State: AJIora/TdwxajiMQafIl/3jVJPH9uGQOSDirrDkUMwENNxsim2dic3DN jL4LH9AgX/HsTM0Hv5VYKN1rhg== X-Google-Smtp-Source: AGRyM1vFxZYGaApgEoUtkfHlAZbHmIOcpnhnleQF5yU3f85m0ctcUX/QttAdVsVjma8DmeXr0JpoUw== X-Received: by 2002:a17:906:149b:b0:726:2968:e32a with SMTP id x27-20020a170906149b00b007262968e32amr4558594ejc.71.1656525233471; Wed, 29 Jun 2022 10:53:53 -0700 (PDT) Received: from [192.168.0.187] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id p23-20020a1709061b5700b0070e3f58ed5csm8008044ejg.48.2022.06.29.10.53.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jun 2022 10:53:53 -0700 (PDT) Message-ID: Date: Wed, 29 Jun 2022 19:53:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v6 02/14] dt-bindings: pinctrl: imx: Add fsl,scu-iomux yaml file Content-Language: en-US To: "Viorel Suman (OSS)" , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Fabio Estevam , Shawn Guo , Stefan Agner , Pengutronix Kernel Team , Linus Walleij , Alessandro Zummo , Alexandre Belloni , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , NXP Linux Team , Abel Vesa , Viorel Suman , Oliver Graute , Liu Ying , Mirela Rabulea , Peng Fan , Ming Qian , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220629164414.301813-1-viorel.suman@oss.nxp.com> <20220629164414.301813-3-viorel.suman@oss.nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220629164414.301813-3-viorel.suman@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220629_105357_772921_FE8EED64 X-CRM114-Status: GOOD ( 24.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 29/06/2022 18:44, Viorel Suman (OSS) wrote: > From: Abel Vesa > > In order to replace the fsl,scu txt file from bindings/arm/freescale, > we need to split it between the right subsystems. This patch documents > separately the 'iomux/pinctrl' child node of the SCU main node. > > Signed-off-by: Abel Vesa > Signed-off-by: Viorel Suman > --- > .../bindings/pinctrl/fsl,scu-pinctrl.yaml | 68 +++++++++++++++++++ > 1 file changed, 68 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,scu-pinctrl.yaml > > diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,scu-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,scu-pinctrl.yaml > new file mode 100644 > index 000000000000..76a2e7b28172 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pinctrl/fsl,scu-pinctrl.yaml > @@ -0,0 +1,68 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pinctrl/fsl,scu-pinctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: i.MX SCU Client Device Node - Pinctrl bindings based on SCU Message Protocol > + > +maintainers: > + - Dong Aisheng > + > +description: i.MX SCU Client Device Node > + Client nodes are maintained as children of the relevant IMX-SCU device node. > + This binding uses the i.MX common pinctrl binding. > + (Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt) > + > +allOf: > + - $ref: "pinctrl.yaml#" Don't mix the quotes. You changed them to ', so stick with it. > + > +properties: > + compatible: > + enum: > + - fsl,imx8qm-iomuxc > + - fsl,imx8qxp-iomuxc > + - fsl,imx8dxl-iomuxc > + > +patternProperties: > + 'grp$': > + type: object > + description: > + Pinctrl node's client devices use subnodes for desired pin configuration. > + Client device subnodes use below standard properties. > + > + properties: > + fsl,pins: > + description: > + each entry consists of 3 integers and represents the pin ID, the mux value > + and config setting for the pin. The first 2 integers - pin_id and mux_val - are > + specified using a PIN_FUNC_ID macro, which can be found in > + . The last integer CONFIG is > + the pad setting value like pull-up on this pin. Please refer to the > + appropriate i.MX8 Reference Manual for detailed CONFIG settings. > + $ref: /schemas/types.yaml#/definitions/uint32-matrix Look at fsl,imx8mq-pinctrl.yaml. Each item is described (items under items). > + > + required: > + - fsl,pins > + > + additionalProperties: false > + > +required: > + - compatible > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + pinctrl { > + compatible = "fsl,imx8qxp-iomuxc"; > + > + pinctrl_lpuart0: lpuart0grp { > + fsl,pins = < > + 111 0 0x06000020 > + 112 0 0x06000020 > + >; > + }; > + }; Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel