Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp4604699pxb; Sun, 27 Mar 2022 23:10:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXFtu9wJE4j8wf8UoJtWmgG07h2macyREsDlkz6XThPoiy7dNexFoUWEGLllIqpQiTN2Wd X-Received: by 2002:a17:907:9622:b0:6e0:b38b:df18 with SMTP id gb34-20020a170907962200b006e0b38bdf18mr15663565ejc.182.1648447850994; Sun, 27 Mar 2022 23:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648447850; cv=none; d=google.com; s=arc-20160816; b=lj4RLZsOTyx/7rZcwpm0H2i93ygEEXdoJimLHP+9ZIGjaGtj9m05grprxjfnE3278U T1zoxhyrJ2eGn95wFiPmFISmbQyU0o2uFZDKuz7jkLWAy/hAUnHSA8D42TD3CXM+UevZ W0zDL6kNfl5XLpDO1Zs2XWpy5V1ZRMifHg9wTzbFWOrJpcwA8Zwf9Zc2kiy5ldWXmTw2 lQRYjZGGovC0TFSHk97yIBJNtoEZZ6xhbuHY7dWY/EJ5aWpHGB0oUTRzhdoJNEJMBViZ l2tJh3LJAYA52rsKFI/7GdlD+pPF4rUr50Q4Xg25MrQ44INy/xUMg2BvCGKYUyYchRGm Z3Cg== 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; bh=oDwBb4EBdk3r4Q2S2CBoQkv3TN3dzVfRBaGMfKsjK2w=; b=sBmezqFdAATTtTDUtyZ5//byHaZyxwpGpGyCAQ5zOrxLWdU59I8QoeZmNCvbAwDTod 8FNLC3Uwb0YNHRdw+5cX9boghenHRRl3AeA0NiLNsUvj4yL919jVhSNuYyJCXOfXNXHT f+9kDkkNi/3S0u/EYR3BgnVYlOj0R3IiRhlRD86h9SeHFezOqgUx8AJwGBwO2B0RhYbt O4/RmrKN89AT7Yqh1GX5UNryRcjBaqMNUmrclZ0KxMwK0b2/qd4wzu5o+4qWbT1rte/F kC3/1ZwndHDiCcm+1rG7tPbHYmhEO4o5Kw2js0NkmTJZXSYFy5S5pGk+PXTfkOBgVNq0 eMSg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020aa7da09000000b00418c2b5beaasi11126993eds.396.2022.03.27.23.10.25; Sun, 27 Mar 2022 23:10:50 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236482AbiC0Tcd (ORCPT + 99 others); Sun, 27 Mar 2022 15:32:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbiC0Tcc (ORCPT ); Sun, 27 Mar 2022 15:32:32 -0400 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC063403F0; Sun, 27 Mar 2022 12:30:52 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id a1so17432960wrh.10; Sun, 27 Mar 2022 12:30:52 -0700 (PDT) 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=oDwBb4EBdk3r4Q2S2CBoQkv3TN3dzVfRBaGMfKsjK2w=; b=naCXnBJBAx1T+AFt9LK6RejoC58GiXPiGJeV+jk+4tdk/ZdyI9dP2D5pBwHUe/4Iea 9TZkTejTwYLIXXcqjztzsYpjDDqGInwmrRFwZ8jrk670s0tHYzCVy1O10Vs+QJqA93d3 R8+DukUS+wx3f0vHT6Hz6oCYkghLCm9J3AvNF+ELNTM6P7yNnu96x5PC2THw5QfthWZ0 3hG6OyBhJWIt6OPXWq/Tyfs/j7CP6e4TBxECmfmYP+p7ZTceCyYys+lkAiYb8BbM/2/i myhd4Y2L2uSswLiOBNrB9ixKKCpqc1PEOZSOHrKoCatCXf6q1fh0z/dlfSEQeVeLN3so SsQg== X-Gm-Message-State: AOAM531rO0rJ9uJ7QQYURJRWkTwLy6dboHF9UC7ZsdMUmJNQrV4IwwXq uvWrey6z3L1KUUaV/wSC30U= X-Received: by 2002:a5d:688a:0:b0:204:6e3:f937 with SMTP id h10-20020a5d688a000000b0020406e3f937mr18538474wru.90.1648409451435; Sun, 27 Mar 2022 12:30:51 -0700 (PDT) Received: from [192.168.0.162] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.googlemail.com with ESMTPSA id b3-20020adfd1c3000000b00205820686dasm12119882wrd.5.2022.03.27.12.30.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Mar 2022 12:30:50 -0700 (PDT) Message-ID: <6d69f9cd-d4e3-8327-9c60-3cb0b1d3f70e@kernel.org> Date: Sun, 27 Mar 2022 21:30:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v1 03/12] dt-bindings: pinctrl: add i.MXRT1170 pinctrl Documentation Content-Language: en-US To: Jesse Taube , linux-imx@nxp.com Cc: robh+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, stefan@agner.ch, linus.walleij@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, arnd@arndb.de, olof@lixom.net, soc@kernel.org, linux@armlinux.org.uk, abel.vesa@nxp.com, dev@lynxeye.de, marcel.ziswiler@toradex.com, tharvey@gateworks.com, leoyang.li@nxp.com, sebastian.reichel@collabora.com, cniedermaier@dh-electronics.com, clin@suse.com, giulio.benetti@benettiengineering.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org References: <20220326144313.673549-1-Mr.Bossman075@gmail.com> <20220326144313.673549-4-Mr.Bossman075@gmail.com> <2af35b48-c49d-3a76-256b-c31d2650ed39@kernel.org> <8ce4ea34-f389-6eff-2e5b-0f23641df219@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <8ce4ea34-f389-6eff-2e5b-0f23641df219@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 27/03/2022 21:14, Jesse Taube wrote: > > > On 3/27/22 15:08, Krzysztof Kozlowski wrote: >> On 26/03/2022 15:43, Jesse Taube wrote: >>> Add i.MXRT1170 pinctrl binding Documentation >>> >>> Cc: Giulio Benetti >>> Signed-off-by: Jesse Taube >>> --- >>> .../bindings/pinctrl/fsl,imxrt1170.yaml | 77 +++++++++++++++++++ >>> 1 file changed, 77 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imxrt1170.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1170.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1170.yaml >>> new file mode 100644 >>> index 000000000000..2e880b3e537c >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1170.yaml >>> @@ -0,0 +1,77 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/pinctrl/fsl,imxrt1170.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Freescale i.MXRT1170 IOMUX Controller >>> + >>> +maintainers: >>> + - Giulio Benetti >>> + - Jesse Taube >>> + >>> +description: >>> + Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory >>> + for common binding part and usage. >>> + >>> +properties: >>> + compatible: >>> + const: fsl,imxrt1170-iomuxc >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> +# Client device subnode's properties >>> +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 6 integers and represents the mux and config >>> + setting for one pin. The first 5 integers >> + mux_val input_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 i.MXRT1170 Reference Manual for detailed CONFIG settings. >>> + $ref: /schemas/types.yaml#/definitions/uint32-matrix >>> + items: >>> + items: >>> + - description: | >>> + "mux_reg" indicates the offset of mux register. >>> + - description: | >>> + "conf_reg" indicates the offset of pad configuration register. >>> + - description: | >>> + "input_reg" indicates the offset of select input register. >>> + - description: | >>> + "mux_val" indicates the mux value to be applied. >>> + - description: | >>> + "input_val" indicates the select input value to be applied. >>> + - description: | >>> + "pad_setting" indicates the pad configuration value to be applied. >>> + required: >>> + - fsl,pins >>> + >>> + additionalProperties: false >>> + >>> +required: >>> + - compatible >>> + - reg >> >> You miss pinctrl.yaml, why? > In the file name? Because I forgot for the fsl,imxrt1050.yaml, I can > change for both files. >> No, you miss here inclusion of pinctrl.yaml schema. Best regards, Krzysztof