From patchwork Wed Jan 17 18:28:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 10170397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7ED8D603B5 for ; Wed, 17 Jan 2018 18:28:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 726291FFDB for ; Wed, 17 Jan 2018 18:28:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 670C81FFEB; Wed, 17 Jan 2018 18:28:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D1A731FFDB for ; Wed, 17 Jan 2018 18:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=fN/1vQJ7q2nG4pPuMWoaDXvcfEohbaUWAYwuZHNuFR8=; b=X5Y q9uUXhowZvreNfOF1qKMFo3UlCqvaTuiWfKeYTr/ptO2b7DI/MsBpkxxNDz70qtKBOUw9fY2lRA2O HATmpTsueWcgqy1JQGMnYyF0+f4NmEw1OwcgGuF4yPLGpt5Mh5G+Hhr0eTtlIxbp7o/hF5JIHtc/a 6bd6x8Jkm+zRL3gMimYO5jxWlKhhAHL9DXdBaQlqwZCtsWADEr4vACsv+y6zgQgBx2uWuJ0RvAlyx IxrFrynr7trezDFoNK3Si0NBAOjggMvejo3JjgzlZSdc8JY9BrDO7ZoIyz4GTMgaIlLLACMWU86D5 d49jRLvzafG5b0o5nLeTRccx7Ef9JWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebsRl-0001LD-Ed; Wed, 17 Jan 2018 18:28:25 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebsRh-0001K2-HL for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 18:28:23 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1ebsRR-0000OJ-VT; Wed, 17 Jan 2018 19:28:05 +0100 From: Lucas Stach To: Linus Walleij , Rob Herring , Mark Rutland Subject: [PATCH 1/2] dt-bindings: add binding for i.MX8MQ IOMUXC Date: Wed, 17 Jan 2018 19:28:03 +0100 Message-Id: <20180117182804.26323-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.11.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, patchwork-lst@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the binding for the i.MX8MQ pin controller, in the same fashion as earlier i.MX SoCs. Signed-off-by: Lucas Stach --- .../bindings/pinctrl/nxp,imx8mq-pinctrl.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/nxp,imx8mq-pinctrl.txt diff --git a/Documentation/devicetree/bindings/pinctrl/nxp,imx8mq-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/nxp,imx8mq-pinctrl.txt new file mode 100644 index 000000000000..2f7e88356321 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/nxp,imx8mq-pinctrl.txt @@ -0,0 +1,33 @@ +* NXP IMX8MQ IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "nxp,imx8mq-iomuxc" +- fsl,pins: two integers array, represents a group of pins mux and config + setting. The format is fsl,pins = , PIN_FUNC_ID is a + pin working on a specific function, CONFIG is the pad setting value like + pull-up for this pin. Please refer to imx8mq datasheet for the valid pad + config settings. + +CONFIG bits definition: +PAD_CTL_LVTTL (1 << 8) +PAD_CTL_HYS (1 << 7) +PAD_CTL_PUE (1 << 6) +PAD_CTL_ODE (1 << 5) +PAD_CTL_SRE_MAX (3 << 3) +PAD_CTL_SRE_FAST (2 << 3) +PAD_CTL_SRE_MEDIUM (1 << 3) +PAD_CTL_SRE_SLOW (0 << 3) +PAD_CTL_DSE_DISABLE (0 << 0) +PAD_CTL_DSE_255ohm (1 << 0) +PAD_CTL_DSE_105ohm (2 << 0) +PAD_CTL_DSE_75ohm (3 << 0) +PAD_CTL_DSE_85ohm (4 << 0) +PAD_CTL_DSE_65ohm (5 << 0) +PAD_CTL_DSE_45ohm (6 << 0) +PAD_CTL_DSE_40ohm (7 << 0) + +Refer to imx8mq-pinfunc.h in device tree source folder for all available +imx8mq PIN_FUNC_ID.