From patchwork Mon Mar 12 09:36:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 10275755 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 4CBDC602C2 for ; Mon, 12 Mar 2018 09:34:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E7BE28B70 for ; Mon, 12 Mar 2018 09:34:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42E1828CD5; Mon, 12 Mar 2018 09:34:42 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 9707D28B70 for ; Mon, 12 Mar 2018 09:34:41 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=jUtlhWK8EiL1e4XEQ51FJNuwLoNTuZRw43AWzga4H8U=; b=O90jOql+BSIoLC gf7NZWcwwwnFuWhcqTGkKU3m3L5bzPl2Zll1+hkuCfQopBEEezbnBjMGGBopvM+1Wew6pHBpB77Gn aUzt0OwN25V3WE7koknhw1gZ0ue10ADAwKkzAeWAeJyKj9My/8kVFIiNnzoymr6XRQkSvYSIURB+l MR4ItM0r2SbkgHPNkExSEvMHS2Qj/4luqxRzbiOIXSxreYd9PBans1iRGUxIiebi2yVddNMGVEBYc JdCND7USWi/jCuQb+3AwsIzhKstC3DHtcn3LqDCk/vpHkVBqm6GHS8ArHbiYFrl+LQ1pzxQSKOa9p zb+zSAtiY4WaZBNjmzOQ==; 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 1evJqm-00057Q-Ii; Mon, 12 Mar 2018 09:34:36 +0000 Received: from mail-he1eur01on0057.outbound.protection.outlook.com ([104.47.0.57] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1evJqi-00055U-MF for linux-arm-kernel@lists.infradead.org; Mon, 12 Mar 2018 09:34:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=XjX1UTBrYerdY4adCPRJKUMHIRm608zAYKdRPakFubI=; b=mwIz+441ubUBI9mwfSTyISVSbJxqEyfqFLDjfcMpID2t2d4UJ+s3w/fnTG23eujdY6MPYBN7Q9/AqARRs7TgRxC6lnP1punThIPRj/3Y3T5revF3EJkow29Ea1C6En+g5BxlYaxv4RL5joF4DRvdJx/prWvY3ogBSQHstOcnsoQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; Received: from localhost.localdomain (92.121.68.129) by HE1PR04MB3113.eurprd04.prod.outlook.com (2603:10a6:7:20::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 09:34:14 +0000 From: Bai Ping To: linus.walleij@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH v5 1/2] dt-bindings: imx: update pinctrl doc for imx6sll Date: Mon, 12 Mar 2018 17:36:55 +0800 Message-Id: <1520847416-22732-1-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: HK2PR02CA0175.apcprd02.prod.outlook.com (2603:1096:201:21::11) To HE1PR04MB3113.eurprd04.prod.outlook.com (2603:10a6:7:20::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8f0203af-5311-45f3-710e-08d587fc6d3a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB3113; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB3113; 3:dpScSQZIIm8EGKOkT5lFSK27OXHCZYHM2k1juDA1Hwbiv9wLVB+/CR0eQ4gcaEGTA4VT+UDf1Fsuw3lbqPTHrIJ1FipBDuqHXIMTKZ4R4QxAv62qUgLBOySnLlbU4IKU1wWkiNKeFzvJkxy0mpAppB9H+emGP0iYn39HOKn+S/o5Qk6JAtjycGAmWT41mB6rG6jhfNI41dspQtrDOPZkV4lV5hQrUU2F8bMsskLMxWybXohbcVN8fLz7l2rHpo9b; 25:23KAVDuyBdFCeEmrOk0gGJkx6U3eVnLNRJCLkZ1wlKKqt5WAlFKN+hay9FsvEf8BF7k+HvkuHP3+kWdbS96dFRhsvsokfKHELZ4j5B54vFEGMNCHwJ60VqeDkpvyTvcf64ePAN4WsP+23+qslE3et4Ac64Pp41JHkySfGb9kaR9GqKoxRTbLn9YTe+1UpjgfQhfw01XSwpfTb4iWf6cRe6gITD0B69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Ac4otav1DifYU2A55i4gY+bXASL5w2CLarDodHRPTkXgf30OoQ77WDQDjztPAH80Sl0+vYSt51AAIGU6X0Pfa+LPzG2eHKVtXnFTFgqaZ3wcTZmQKzHQ6vRPJVL2clcRAg+GzQtrnLH/vaB/23wVP0h5oWp92OnA5x3KBjPwRtJoYn7cx3pjQ8iHa3CSJgyY9ElFL X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR04MB3113; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB3113; X-Forefront-PRVS: 06098A2863 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39860400002)(396003)(39380400002)(366004)(376002)(346002)(199004)(189003)(86362001)(386003)(6666003)(4326008)(26005)(2906002)(16526019)(186003)(25786009)(106356001)(97736004)(316002)(39060400002)(16586007)(6506007)(52116002)(51416003)(36756003)(53936002)(47776003)(66066001)(68736007)(6512007)(105586002)(50466002)(15650500001)(48376002)(3846002)(7736002)(50226002)(6486002)(81156014)(8676002)(81166006)(8936002)(5660300001)(478600001)(6116002)(305945005)(59450400001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB3113; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR04MB3113; 23:9V2yaLPdh3ygh6CSTVCXBb3LR41rJTxC3AJO0JWD1?= =?us-ascii?Q?Yh+xOiVx4ZS30klMRGimwQJKTXf/jJo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= =?us-ascii?Q?/Eg7YzQrZEmhI6ff5PVytFO6S7if0hoPkM/viUNQAdcoESlxaRVvKhL3aiP6?= =?us-ascii?Q?AB+SmuQXBRHkmqBgfdPG+ABy9H60Ii9zAimGffoe5yyVPkOoDF9a5zLDhMJU?= =?us-ascii?Q?QUsJbh20pMO6HZnH4rskHSjOUUlaRAmVipiqzNauFwB/lvcUs38+P3BopXOA?= =?us-ascii?Q?Iuu9df+3jzd1kTQMsag29ohMwpVoEbTk156RCJ+zwcxnvWkwS39BA=3D=3D?= X-Microsoft-Antispam-Message-Info: 68smis6yTV4NisGkCVpgQ8aIHR3VEq/HVdNMsqcXlWCmShVniD63wFCGBD+Y75DJ7SHByRj4+U1PEtIzOFiPPTBBc+U2j9buAAZ+nHWcOPGcjeE+hhkHXRA9kSfP96PeMyUvlsTrUD9tbc9Wkt7XlSfVYdexvvexo/4ZOR/9+FBqemCtiW3OG+UvcKz+KhXZ X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB3113; 6:Lcq1JojMw0KLbIJNnE3vd1irJqD/gTsOA+kIebjGu0p3QxEMhb3HruhuL/O8dUyKSx3/eknTf9+cqRDbNLerD1NMc5VRdRFLkkURaQVjVXAMz2oAayc4UKh08fH2bjEFb1BnSDjSMjPTmJJaYmJvQrowjwXrVutg7UZBKUnImPfjlB01m4Vp3jQH/rywBB3L7igmWHuPmprx9HvJSDr9Q3pBicENj0MshBjcPyV5hD4lM8/bMkqGWWek8HXBC8PGwXXndU/KtfSEHIg8/cs/2N4FhSGN3/0Ckz+vb/oaK+wlOcrLnJfdodJjM0hJ4xT9OQyv4l5kqbaolNdktPeIw1HLaHdyGdv0ticYLym2RBs=; 5:078DXxT4HJjImA608VAb8dwxjbC8vcKo1cQZTHG88Kyoen4vz/9piOyOs2/I8VIguvD+WLqUlddeivKHbdBdpCNykOybINsKAb/xfWQgtAw6RWTFMAhvliDCzbjp3foOV7baV4ZDAlKyLsHVGRTdYxu7t+mwlZcYeQh7sYon/Y0=; 24:Zv1u9VwfxUpMbhrtCQLQMkKaTCZ7OU6R6D9ksDgbJjkw2qJ5NExvuJ2RBcY/Ycjg+mkxnzzx5l5yGukkPwN6sqOU2xb5/sLkJYIIuG7Gam8=; 7:lr9WgWcIpGsvurc7Nr83sBM7S7MLdyAMolBUAtjuP+NNCKBf/lpm+ssM2OwXQ1A3vF6ccC3pOzotLrIyLQuCbGL4XBui2xSXhNDvKxuIoKvcDi3de3ypgFGmpNvNReD5/avIIzjgil5K41oBs8z3tTe0y8PawM6aoJLFWXEG4pi+M4phTulnSo6ITj1idsCp0hiU96PnhYpP+CFz+K9lAWRbXTaaKYW7Bnb2q+162aecWE+y/VjSQ5UjOuIwid9F SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 09:34:14.1066 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f0203af-5311-45f3-710e-08d587fc6d3a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180312_023432_921451_2E4DB436 X-CRM114-Status: GOOD ( 10.86 ) 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: fabio.estevam@nxp.com, aisheng.dong@nxp.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, jacky.baip@gmail.com 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 Add pinctrl binding doc update for imx6sll. Signed-off-by: Bai Ping Acked-by: Shawn Guo Acked-by: Dong Aisheng --- changes v2-v3: - add generic config binding change v3->v4: - add SION bit define - fix typo - move the pin header file to dts patch. change v4->5: - drop generic config, use the old fsl pin config style --- .../bindings/pinctrl/fsl,imx6sll-pinctrl.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt new file mode 100644 index 0000000..2e897a5 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt @@ -0,0 +1,40 @@ +* Freescale i.MX6 SLL IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6sll-iomuxc" +- fsl,pins: 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 + imx6sll-pinfunc.h under device tree source folder. The last integer CONFIG is + the pad setting value like pull-up on this pin. Please refer to i.MX6SLL + Reference Manual for detailed CONFIG settings. + +CONFIG bits definition: +PAD_CTL_LVE (1 << 22) +PAD_CTL_HYS (1 << 16) +PAD_CTL_PUS_100K_DOWN (0 << 14) +PAD_CTL_PUS_47K_UP (1 << 14) +PAD_CTL_PUS_100K_UP (2 << 14) +PAD_CTL_PUS_22K_UP (3 << 14) +PAD_CTL_PUE (1 << 13) +PAD_CTL_PKE (1 << 12) +PAD_CTL_ODE (1 << 11) +PAD_CTL_SPEED_LOW (0 << 6) +PAD_CTL_SPEED_MED (1 << 6) +PAD_CTL_SPEED_HIGH (3 << 6) +PAD_CTL_DSE_DISABLE (0 << 3) +PAD_CTL_DSE_260ohm (1 << 3) +PAD_CTL_DSE_130ohm (2 << 3) +PAD_CTL_DSE_87ohm (3 << 3) +PAD_CTL_DSE_65ohm (4 << 3) +PAD_CTL_DSE_52ohm (5 << 3) +PAD_CTL_DSE_43ohm (6 << 3) +PAD_CTL_DSE_37ohm (7 << 3) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) + +Refer to imx6sll-pinfunc.h in device tree source folder for all available +imx6sll PIN_FUNC_ID.