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 0A715C433EF for ; Sun, 27 Mar 2022 19:10:06 +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:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cW4TfKydUnfyx6bONe62VVbAAtkdIjhLy7fcCEa3Dew=; b=EzdD4mx4Y3KvSU HFYVmapQs7xe5F2NaVPdjIKbAvvhTtR4lD0neVy1tb6ZUFXyKgJEM4fbOpYHshrHax+renbwnAkXs 0U6YqKRmNAobeCxcuoP+LF/395ZWENf12CpwTcJkDGsL9iUL3AiFtnzZXSpJRdnYGdnDZR2s+knnx Fn3SFRWD57s1pYZTbuLn1CH1UetFZLlH7u8B52F/X3X65Whqb/EyCe+BrlMeSjYXxZ5pABFxDjVwA CFC/i8ZUxpZc4TnJW4j78IbLBlvTuWqf038ee+CoxdbBkxssPfJsW7pyE92ElgDu6OiBkBkr9kWGH U8THV3JgmxciyOyPMRLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYYFx-005whT-2k; Sun, 27 Mar 2022 19:08:53 +0000 Received: from mail-ed1-f51.google.com ([209.85.208.51]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYYFu-005wgY-4F for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 19:08:51 +0000 Received: by mail-ed1-f51.google.com with SMTP id g20so14673699edw.6 for ; Sun, 27 Mar 2022 12:08:49 -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=jUX78lxvMhu0M5hNIDoB8Kg/eiFv9MlQM3djepFHqE4=; b=eK/Jk11syhF0v/mGgvA8EocideH6hGvALXrAAcm+vRLJWg3ZKiIhRyPDTee//EXCcE hp59AmwDaLRZtNv9kUekgQGSzwWiy/YNdQWEwK3gCGwL0HOujNZA81vDclHQfEAcq5Jl 7TsYohFEY65ZT2NwiMHxoTVdw1I0pWSn1GVj8T3a9FfXtXtpTcd0R9BT644RekisROs+ 2tkxEOJ0n01P8t0p9m48so0W847H5ufx0h5elDR4PYgD3Tps4Ms9tYZnxBldwwslgm9z /Hxa0waTpFdrj3YMN2qkwrg2zCs+sBl437pFaWYCR3LT3bc1W3uO8RoZA1kA46LUT2i7 6zJg== X-Gm-Message-State: AOAM531rFSONGjf5He//H7aQZ0/v2Dbbr7U8W0wv2+cCUfxptymphFyO vD4WHpZt6DhfP6ZbX4NAeNo= X-Google-Smtp-Source: ABdhPJyADU3wjgi1DFJ66YNFP/7n9r9cu4JjVI7yN4NV0e+nct/LrFTjhJY+VmBQ7LWMUgYFQ5bqVg== X-Received: by 2002:a05:6402:51d2:b0:419:7d2e:9d0 with SMTP id r18-20020a05640251d200b004197d2e09d0mr11725718edd.82.1648408128446; Sun, 27 Mar 2022 12:08:48 -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 ji15-20020a170907980f00b006df87edf6ebsm4934312ejc.154.2022.03.27.12.08.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Mar 2022 12:08:48 -0700 (PDT) Message-ID: <2af35b48-c49d-3a76-256b-c31d2650ed39@kernel.org> Date: Sun, 27 Mar 2022 21:08:46 +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> From: Krzysztof Kozlowski In-Reply-To: <20220326144313.673549-4-Mr.Bossman075@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_120850_208487_5DE7CCAE X-CRM114-Status: GOOD ( 20.10 ) 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 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? > + > +additionalProperties: false > + > +examples: > + - | > + iomuxc: iomuxc@400e8000 { > + compatible = "fsl,imxrt1170-iomuxc"; > + reg = <0x400e8000 0x4000>; > + pinctrl_lpuart1: lpuart1grp { > + fsl,pins = > + <0x16C 0x3B0 0x620 0x0 0x0 0xf1>, > + <0x170 0x3B4 0x61C 0x0 0x0 0xf1>; > + }; > + }; Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel