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 00035C433F5 for ; Thu, 25 Nov 2021 21:17:03 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C3JUmr2BoW2syNNc75GK2VnQ4PhHpErEySQCmpnDFKg=; b=nJamL4XSIGlUGf AWghG2uTSkQ7lpwuU5grMlvKxBwbjAi+LrZBzYO50gXS9YWd8Wx4mk/Gc+XROOBLw7WyCM6vxY5fS wTP8O3s6BSfqMndE+9URL14uEnQ7fYg96g4dOurN7oFKNt1QZgQMygppYWvGfG7bv0D57aV+lAO8Z 3bu0Czn2+lswGfxeMCB8e3ucng515cdoyvrYcPigRg/OnFIcDBooqqXOxE+UKbQsNffqngS3EOUh8 Cb5YyXdRR31TAdeNnazU42NFuZOCXcsrPxmtB/KgOOKD4P5N7ZS78gdrXv5VZstYLpmE6a+keKqN9 BxPJvd3Vox7qhuLycPag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqM5P-008fNj-Bx; Thu, 25 Nov 2021 21:15:19 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqM4x-008fGR-IY for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 21:14:53 +0000 Received: by mail-qk1-x72c.google.com with SMTP id t83so12883797qke.8 for ; Thu, 25 Nov 2021 13:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mWlDE9wPN5DJ1yGQE4Tgk+m6TLyjhj2NB8c5F++tYPw=; b=YZTFvs7LTHYPL6rcFc+BTkIR3jloR5ewoukXlkcVc/fR/aDhITNYRj1UNhzzEUBRdw vO2/SMlYNG/9L7iEloT3JLMZ4wsSrls029KtKgGEt3x6vso9WqACsM+XR+h9HNznwkhJ qf0r83NQx6l2/xPrfdXbRVRE4kW+S3WA784811vDZklc7rUbYSgB2qxoPE16rcO0mZ/R zQBfZOSrx0HrxuOwrxFVBhXESEbkKj8d4GkMsQ74gpb9VgFxvtr4toLL0iPL/YmFfshq IxGIowUjXnVQQ6EsqD6ouB5KKZMR1p6wlBwOqmUZRTjWRPtzUA3jHheADspSsuGMA0Fv sbSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mWlDE9wPN5DJ1yGQE4Tgk+m6TLyjhj2NB8c5F++tYPw=; b=yO/czLcNnU8S7L9LoLIDk+IB4xcGR9ga9rr747Dmg8cZW9gEslsoVAA8Nlc3uTRRIh TeYyN2kJkJH+Dlg+5OHPyu4btsY8xHv+V2qic2Wkg+HISnhZ3IQDE802bxL0r5As8Ln5 wk+0ZU7WwueCi1/S3zbm20juxbg5/t5fpxblHBPZDQJsmHNW8XRPd8pRcUOH8t7j0RBC A5FIjS2AlQnyKh9SuDyVMIqKBqIKHIEAfeZA5XAGhm4ryAUGS6P4ZbCnAV6crm5OAw01 Y9omPflH+j7CoXGybb/TEDyn1zgf+ZEY7Q+W2pu6o7FHzRw6W65sCrPMcnukUpLwn8rj RLVQ== X-Gm-Message-State: AOAM530G9uFFokQvQeKZnUWPhZ4aJ2Ex2YdxGuLzIXd8ee3HKq7euyIg KWY56grPzEO6h1RB2ClbLQA= X-Google-Smtp-Source: ABdhPJxsERgerN73f2lBXqrIay0q2SfiEQHG5N7slGfb7mqoA0oI9us+PKc4oChZfqLoVy9rR6HrdA== X-Received: by 2002:a05:620a:1350:: with SMTP id c16mr18629492qkl.229.1637874889415; Thu, 25 Nov 2021 13:14:49 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id j22sm2068175qko.68.2021.11.25.13.14.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 13:14:49 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-imx@nxp.com Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, ulf.hansson@linaro.org, aisheng.dong@nxp.com, stefan@agner.ch, linus.walleij@linaro.org, gregkh@linuxfoundation.org, arnd@arndb.de, olof@lixom.net, soc@kernel.org, linux@armlinux.org.uk, abel.vesa@nxp.com, adrian.hunter@intel.com, jirislaby@kernel.org, giulio.benetti@benettiengineering.com, nobuhiro1.iwamatsu@toshiba.co.jp, Mr.Bossman075@gmail.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, Jesse Taube Subject: [PATCH v3 02/13] dt-bindings: pinctrl: add i.MXRT1050 pinctrl binding doc Date: Thu, 25 Nov 2021 16:14:32 -0500 Message-Id: <20211125211443.1150135-3-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211125211443.1150135-1-Mr.Bossman075@gmail.com> References: <20211125211443.1150135-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_131451_641988_7C422B1F X-CRM114-Status: GOOD ( 15.72 ) 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 From: Jesse Taube Add i.MXRT1050 pinctrl binding doc Cc: Giulio Benetti Signed-off-by: Jesse Taube --- V1->V2: * Replace macros with values * Add tab for last pinctrl value V2->V3: * Remove imxrt1050-evk container * Remove unnecessary handles * 2 space tabs to 4 --- .../bindings/pinctrl/fsl,imxrt1050.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml new file mode 100644 index 000000000000..1278f7293560 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/fsl,imxrt1050.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale IMXRT1050 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,imxrt1050-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 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.MXRT1050 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 + +additionalProperties: false + +examples: + - | + iomuxc: iomuxc@401f8000 { + compatible = "fsl,imxrt1050-iomuxc"; + reg = <0x401f8000 0x4000>; + + pinctrl_lpuart1: lpuart1grp { + fsl,pins = + <0x0EC 0x2DC 0x000 0x2 0x0 0xf1>, + <0x0F0 0x2E0 0x000 0x2 0x0 0xf1>; + }; + }; -- 2.34.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel