From patchwork Wed Jun 17 15:39:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 6626881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 95DB29F399 for ; Wed, 17 Jun 2015 15:46:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A226920860 for ; Wed, 17 Jun 2015 15:46:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1491520861 for ; Wed, 17 Jun 2015 15:45:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5FUu-0004td-1S; Wed, 17 Jun 2015 15:43:28 +0000 Received: from mail-bn1bon0132.outbound.protection.outlook.com ([157.56.111.132] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5FTk-0004F1-2J for linux-arm-kernel@lists.infradead.org; Wed, 17 Jun 2015 15:42:17 +0000 Received: from DM2PR03CA0002.namprd03.prod.outlook.com (10.141.96.12) by SN1PR0301MB1646.namprd03.prod.outlook.com (10.162.130.140) with Microsoft SMTP Server (TLS) id 15.1.190.14; Wed, 17 Jun 2015 15:41:52 +0000 Received: from BN1BFFO11FD056.protection.gbl (2a01:111:f400:7c10::1:171) by DM2PR03CA0002.outlook.office365.com (2a01:111:e400:2428::12) with Microsoft SMTP Server (TLS) id 15.1.195.15 via Frontend Transport; Wed, 17 Jun 2015 15:41:52 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD056.mail.protection.outlook.com (10.58.145.11) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Wed, 17 Jun 2015 15:41:52 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t5HFfbME006016; Wed, 17 Jun 2015 08:41:49 -0700 From: To: , , , , Subject: [PATCH 3/8] Document: dt: binding: imx: update document for imx6ul support Date: Wed, 17 Jun 2015 23:39:24 +0800 Message-ID: <1434555569-8237-4-git-send-email-Frank.Li@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434555569-8237-1-git-send-email-Frank.Li@freescale.com> References: <1434555569-8237-1-git-send-email-Frank.Li@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD056; 1:HMwOvnX7v9Zz0MX8sFwN9XzkwZ8xB8tyGsWrB3w6oYxYePz7zCjn7BGysGnYqR1Vwl9wzoiPuo5INLoif47zFXaEZtTayZkEKT+NHxFbT3DfYCZqTdrUSHurz3SxY8xDCXT7X43lC2gqLcrvCBHewTfkZBlgw9KzabUVF/aWRkXsWnzA4Oy8LzztIXQAuTQJxxdoHfmlV2oOaI+pJjWFnJ8nwY30DdTRrSsETtWJYewufJo8ZLYK0CGxIvjXhltbxzNaPJxMbF5S3atjzOxKzhlLLbsfLuaxBZ2NiBcMZ7fkd+wBFD037mEMBQpzwi2VtFR8TsBQ1wMwC34BSH1wW094sYj33hsGM9pAITP9dTY= X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(5001770100001)(81156007)(6806004)(76176999)(50226001)(19580405001)(50466002)(19580395003)(48376002)(87936001)(86362001)(2950100001)(77096005)(86152002)(2201001)(189998001)(50986999)(92566002)(77156002)(62966003)(5001920100001)(5001960100002)(107886002)(106466001)(46102003)(47776003)(229853001)(85426001)(105606002)(36756003)(104016003)(32563001)(4001430100001)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0301MB1646; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1646; 2:TDKrTZyNm2P2CrL70oZcJvr8slkEdcXxJJHi41oxgKOYfZIUZ/xDh12DKCgTofmH; 2:xaKex4oCKYkgibXCaQ21Rs9s9STCSXiOcWQvPF9d9/Mw4hd5X1vfNGF6ijFBAJl6Y99inpDAmbdO7qb8N992jkCw6Pi4JH7I+UuHKRZUjcQAsEQXB/YU9Dz/bgabGlv/zH4jZzvGMnohH6Nb6quJv6BkXOwSu6gv2syXuAevtMuzm93IoiDEOCfMlh94bUH9zjo9CaNtqToqXudDJ36DUvZiadtlXzqq0XsSWYh3aKE=; 6:C+2Ce7Z+e1GDGh0gU/S9QfRJ6MpdMbXDXacgevn4SPIArCfqz9ELREVS3GRLjOPEkEv5TWEPp+0xVPM9/hD1KV0L/bWWdneslPR8XCu4YIkc7Zih+OF9J8q1P8qiiJyQ8WQxdkwhYC3l0EkF19hmoveuBbEYP/ZUJr+D/LKFRPtpeQ8dmFlsRl1YgC8hMMIlJMBdMT4y6yHNeKSXXiu8lxxRxTgIp0Lbx0weFyaJ0GV7ylfa4CxZuPEp6mA/x6EFNiQajsUD9e5AgFwbTVespg+Sz6BKnW0pqgRrZmoXQnhibIZpkCPgjcwx66ftXH8TqjOXppMhYOB3UuApZogVPw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1646; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:SN1PR0301MB1646; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1646; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1646; 3:89cA0IJ9QvM0MoaSJknveYgL96ypSeDEnC3CA8iwIPDMxn1XnWSuvMlORKj0JPHCk7FNAWDxrznkvmA9l3e6IWaTkeF30HB1tCPCdA4QI4WmmxjHKPPOGBlKxhpSLPQin8OCTIvW0b/qSSdRd9plbzGA/gGhp2ZFnvnXjBG5KVA5SuJ0XxNk7rAv2GDgFaIs2mUQZ+ulRofw5q9EA6OCWTmTNrT3yF0A8CtQ7NTBRSztJnC/DTqX2PxXIO95nV2CTDNvmWesKNUZ0lAHsmMFF3n17o9qdt3hze1IYhYzgik1SWDJf1ZoONW2GMJ6R/Yy X-Forefront-PRVS: 0610D16BBE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB1646; 9:DlGvZCLUFAhZPf/y1xNDGA+R0JMlJEJxJpl+vgDS?= =?us-ascii?Q?EzlHSX2SYVZmrw1KV4GztLS16zxqC7nSs2ZNOwBI7WaLKz2lVThnA4qE0gGi?= =?us-ascii?Q?4H9IT70k0L7Xxg4jLYK4lbCc5VaxJEf7tv59jDq795k88KFoxAUhpLN0zTwK?= =?us-ascii?Q?aR5efFS5CXDn1paJ3Rfae4mqTKYS1KJu5/XmhjLgIdP7n/Qj29ikAHAJdj/+?= =?us-ascii?Q?GEpmH48bPSdY2S2YStGQI0DOq9khONpyXL6F6KhJiVn3pQoYFvTdII5Dby2T?= =?us-ascii?Q?bRCwpLXFfHc1bG7tIIxh1pZANzdDv5Q0ScflSLYA31NE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hjdJ8A==; 10:6Vna/tX87roC9OEYZknkJlOMyPHOr0RpVOiiKrx5F6nt8zkq8/5eAEe93un7kmVoVN7KaPMM8uiHNB9cBrT47k1pRSLi8Qr/Btx3jwT1cMQ=; 6:X5W9fy+8O/MPhWoRgwG/tF7R3w77c1s1jCTCCjLJjtipe54eW9mVcg5ijy9pkDSL X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2015 15:41:52.4433 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150617_084216_369017_9B3055B4 X-CRM114-Status: UNSURE ( 6.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: linux-gpio@vger.kernel.org, robh+dt@kernel.org, Frank Li , devicetree@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Frank Li This part just add necessary change to boot imx6ul. Update clock and pinctrl for imx6ul Signed-off-by: Frank Li Signed-off-by: Frank Li --- .../devicetree/bindings/clock/imx6ul-clock.txt | 13 ++++++++ .../bindings/pinctrl/fsl,imx6ul-pinctrl.txt | 36 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/imx6ul-clock.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6ul-pinctrl.txt diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.txt b/Documentation/devicetree/bindings/clock/imx6ul-clock.txt new file mode 100644 index 0000000..3ff362e --- /dev/null +++ b/Documentation/devicetree/bindings/clock/imx6ul-clock.txt @@ -0,0 +1,13 @@ +* Clock bindings for Freescale i.MX6 UltraLite + +Required properties: +- compatible: Should be "fsl,imx6ul-ccm" +- reg: Address and length of the register set +- #clock-cells: Should be <1> +- clocks: list of clock specifiers, must contain an entry for each required + entry in clock-names +- clock-names: should include entries "ckil", "osc", "ipp_di0" and "ipp_di1" + +The clock consumer should specify the desired clock by having the clock +ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx6ul-clock.h +for the full list of i.MX6 UltraLite clock IDs. diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx6ul-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx6ul-pinctrl.txt new file mode 100644 index 0000000..a81bbf3 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx6ul-pinctrl.txt @@ -0,0 +1,36 @@ +* Freescale i.MX6 UltraLite IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6ul-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 + imx6ul-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.MX6 UltraLite + Reference Manual for detailed CONFIG settings. + +CONFIG bits definition: +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)