From patchwork Thu Feb 1 17:49:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 868319 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zXSL34JMXz9t4B for ; Fri, 2 Feb 2018 04:49:31 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbeBARt3 (ORCPT ); Thu, 1 Feb 2018 12:49:29 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:44129 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752611AbeBARt3 (ORCPT ); Thu, 1 Feb 2018 12:49:29 -0500 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 1ehIzE-0005xQ-2e; Thu, 01 Feb 2018 18:49:24 +0100 From: Lucas Stach To: Linus Walleij , Rob Herring Cc: Mark Rutland , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, "A . s . Dong" , linux-imx@nxp.com, kernel@pengutronix.de, patchwork-lst@pengutronix.de Subject: [PATCH v2 1/3] dt-bindings: add binding for i.MX8MQ IOMUXC Date: Thu, 1 Feb 2018 18:49:21 +0100 Message-Id: <20180201174923.7385-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.15.1 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: devicetree@vger.kernel.org Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds the binding for the i.MX8MQ pin controller, in the same fashion as earlier i.MX SoCs. Signed-off-by: Lucas Stach --- v2: switch to generic pinconf properties --- .../bindings/pinctrl/fsl,imx8mq-pinctrl.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt new file mode 100644 index 000000000000..5c5d2d835d05 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt @@ -0,0 +1,39 @@ +* Freescale IMX8MQ IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory +for common binding part and usage. + +=== Pin Controller Node === + +Required properties: +- compatible: "fsl,imx8mq-iomuxc" +- reg: Must contain the base physical address and size of the iomuxc registers. + +=== Pin Configuration Node === +Required properties: +- pinmux: Array of integersy, representing a group of pins mux setting. + The format is pinmux = , PIN_FUNC_ID is a pin working on + a specific function. + + Refer to imx8mq-pinfunc.h in device tree source folder for all available + imx8mq PIN_FUNC_ID. + +Optional Properties: +- drive-strength Integer: controls Drive Strength + 0: driver disabled + 1: 255 Ohm + 2: 105 Ohm + 3: 75 Ohm + 4: 85 Ohm + 5: 65 Ohm + 6: 45 Ohm + 7: 40 Ohm +- slew-rate: Integer: controls Slew Rate + 0: Slow + 1: Medium + 2: Fast + 3: Maximum +- drive-open-drain Bool: enable Open-drian +- bias-pull-up Bool: enable Pull-up +- input-schmitt-enable Bool: enable schmitt-trigger +- input-enable Bool: enable input, overriding module settings