From patchwork Fri Nov 20 15:48:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 7669241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DA175BF90C for ; Fri, 20 Nov 2015 15:46:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 16AE020430 for ; Fri, 20 Nov 2015 15:46:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30263203E3 for ; Fri, 20 Nov 2015 15:46:58 +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 1Zzns3-0007eO-MC; Fri, 20 Nov 2015 15:45:07 +0000 Received: from mail-bn1on0138.outbound.protection.outlook.com ([157.56.110.138] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zznrr-0007Ei-Qf for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 15:44:57 +0000 Received: from BN3PR0301CA0051.namprd03.prod.outlook.com (10.160.152.147) by BL2PR03MB547.namprd03.prod.outlook.com (10.141.90.20) with Microsoft SMTP Server (TLS) id 15.1.331.20; Fri, 20 Nov 2015 15:44:33 +0000 Received: from BL2FFO11FD031.protection.gbl (2a01:111:f400:7c09::112) by BN3PR0301CA0051.outlook.office365.com (2a01:111:e400:401e::19) with Microsoft SMTP Server (TLS) id 15.1.331.20 via Frontend Transport; Fri, 20 Nov 2015 15:44:33 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=freescale.com; Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD031.mail.protection.outlook.com (10.173.160.71) with Microsoft SMTP Server (TLS) id 15.1.331.11 via Frontend Transport; Fri, 20 Nov 2015 15:44:33 +0000 Received: from b51421-server.ap.freescale.net (b51421-server.ap.freescale.net [10.193.102.57]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id tAKFiGql017038; Fri, 20 Nov 2015 08:44:28 -0700 From: Haibo Chen To: , , , , , , , , , , , Subject: [PATCH v3 2/4] Documentation: add the binding file for Freescale imx7d ADC driver Date: Fri, 20 Nov 2015 23:48:13 +0800 Message-ID: <1448034495-1759-3-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448034495-1759-1-git-send-email-haibo.chen@freescale.com> References: <1448034495-1759-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD031; 1:Taa4TGl/eMIIBynBSLvTNBLeYlZL134KBP+zuDfcJHZlRI/RGV/jHzsAx/lrL00Zlcm61/H5Bf8zxa4tolNojk/OWKwN8UNVbESApd4fom6ySHiVFlav/k7R6PFHNV63qQzZbkjRUO09Aj26dFW2uv3NhEKWU89n7XJiUmVjtHoALWuaFDOzhmePfVP101sl5vHvcqDf+XqLQJp2tNeBrvZtmkMsIhZI/0Y1y1UZZVkDY6whQjhzXhpFN1XjohjKMWbzS8Zh6ke77SiAe6GIrvFYV6/yfQGkh70vwZ9FTJMNpLwf12m3aahHH+4w6BRBO4jV7xWQdOZZXEs1eE/iDElkwW8bbwlmUDUTAzS6OlEEZAWuOKKAy8Hm5AMozr1F4vwANDyXTkiLt4K79gjPj6ZmvyprIA6YxA/p3IKFVW0= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(199003)(189002)(76176999)(69596002)(50466002)(85326001)(5007970100001)(36756003)(48376002)(2950100001)(47776003)(77096005)(19580395003)(11100500001)(6806005)(5008740100001)(104016004)(19580405001)(86362001)(5001920100001)(5003940100001)(97736004)(92566002)(5001960100002)(5001770100001)(106466001)(81156007)(2201001)(50986999)(229853001)(87936001)(33646002)(586003)(189998001)(50226001)(7059030)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB547; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB547; 2:AshBu14Q8pwUoZLHrDvw3T/Q94eEFSDg11DKTjrqxlSsoXQraCg3VXUdHaqnrQNAj4anEHhdGvWOo2M6yDf2TqNVQvQhKkYPNSiOmlaKkAHwgp8O9HAtepzuwOgRvWxp/RwilSi2keY1cbdxfCKNQw==; 3:oy8kjiN2yG1t8pRZwEzk0v5jBEVjp+GOW+SusMjkRV+mtuN0507etyPpEqZJZs7SiP9Tc3QD37UcrzudB0bsglEppr+9OAVd0shLe2Z8omnxkSv0mWiYzJPny7Xy9EeUvFNgqIixSk7fEeYtyXAYYM+8Vu1rSbpPe17T2vojx+J3nD6ZFtvVLdAYKrNPdD2AgwbcsJ6K4aW+ESC6UBoFY+cBxNItdiMt0lMtLXuiDmU=; 25:qXeWopaoY+IhQ2MAk2eoV6K7xhi8Ptzy6N2eyRm1+rSi+g2GDT25rV6exewMmnOF7RmzcW+8mIfX/CT8TxZMG7Fl1FQbA1xy/haiPPKuzZXmLeH9+8kHZyHPd1B/PFrx6GStCkigeDTFuWDStOa9ndJH4VNUtX+fvEcc7DtE85N3aFAF0uR50hPBcvAv5xNFJe1IS8WyyCL8CsOSBz+XDQNKNxkLaIlWb/SDLFFq4UT0z7YcZ5uHYIjFGBvPHgSMb38Txm2iTdNqHS5ZZ6YCfA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB547; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB547; 20:HzJU/uNu8yRPXbUB/Da5KL8gmhI5XG5iucNj1KkbdCUplGWlPfsr6kSP8tQYxYSgYGiqWxxqM0EjcMVYHm8k4T3T0kYqg2y+I9xEh0sBJW9fu+IihpnSEgKGOC3JJrc3epLGFebk3bGmvqR4/j2zS64rQiicIIjYW63Td+CYxTicBzQ9Md9Qc83Uy04NeljfQ4R93bzw8qwKTNdTySHQ7cJt5YjGTzj1gjiENIq5s7mjKqQhq1vNt1i957/FWSqWRJ19z84LYXYgIi3pIGfIoZ2ox9NK1UZ3+snH9FTM6BWSNJ9zAYbPH1BFg+llsdavm8jBXlQrjaqGsrs9deZMf0P8cDJdfcNc0y+8M6BiF88=; 4:9M++7wwQXOTZxcbhrql+ebgniMyNj5XTl4kmLUbsroi7XdbLrd5rSvNN8aidaUaiOO3umwYcXKEkmJTdMCfh5kk7XgGGKxnu1o+pSqSL/PO4CRT+dM+ypdbLK2mzHCC7+0YNJroLh+Z8LqKMEwOlEnsCJdgW15Vvl28kYxv2imGcvKb5z7RDSsZG4KQ5nf8iHX41kD6CZHlo5aStXDdBVLrPe6PAV6vlKjrA2lH1yj3GVt5J1ZyWU7r+9bcEDHYBpIClN3qM1cHZLkeN+Za9re5+71weJ7S4xSRjpaVYuVgm9v3mTWyphp+QSWmT43j3z6YZWOhXoa7IDRxHzPjiBNmEQ3RRRJ0Pz7vpb65D/VGwYbGqjuUvfo0MHBEleSo2q1oORBMT0FJS6B1Yi1zknbD4ZqKQK0n/dlKmfPpfa8KBHB9ZztIvjI4RTuOS8bM4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001); SRVR:BL2PR03MB547; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB547; X-Forefront-PRVS: 07665BE9D1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB547; 23:UQ9vhNB+3FUkHgYfyl/Q9/5JocRZezXjlFnTfRlwOQ?= =?us-ascii?Q?ZIyrwUTbV+s4rk+qZShGh/lX2ZT98N4c9Jrs7DnFx/Lm48DCLcI5JW+JPvlH?= =?us-ascii?Q?GlsaGWaVlHhCGTwhdWVooZVOrg2p545GAzfb8xCj/NbIJNnvnIIpx0f41Q05?= =?us-ascii?Q?ijRhM2E9QxlN+2UdfGEmJ2z58afNeP2bv7OlQ56Ukd2BDqR6f5UXlBOKiZeG?= =?us-ascii?Q?wE/S+AbvB+cX2k4gUV6EnJ28O66Y4Yd3Mcsok8qBmusZhELvBV8Exki7IJ/N?= =?us-ascii?Q?raG8bJWkoQ+MbPAyab/oO5x24ofxz1GKG751ywmP55riEMAu9redtQIfipFo?= =?us-ascii?Q?zcDLWjm6XzeDTYa0zl35ZMbff+FtxSnvJ/LlXn0L153e7ZJW3U8v/eb68EEY?= =?us-ascii?Q?beoTGeuEwiXLTSD24QrxDlJ4sQtZK4TMafHNmVIhJjHRR/NB+boQY4ZkSHQn?= =?us-ascii?Q?mg/k943OEBSlky2w/kB6pQQdF/riv3rO1u9DIvpPAcFF/aB5W2piWsE7kGIB?= =?us-ascii?Q?5f7zmy90pxb9XmktAkHE6uU5CVt//l/+4UV8Z16qpEj0a9OeMyJ+wBZmTgT5?= =?us-ascii?Q?I0bIrGyX1AaCZJKGpcE1awa254AmC7piPqU5mt7FEVKsglVlzFZJYorFwkZ8?= =?us-ascii?Q?ZhM4QO532NLe9wJMMLaS449Xk0qBPyG+6wn8XtinhV7X3JKLS0YlEy3Zh8hc?= =?us-ascii?Q?do3hSKgdrjJVx1HU3ANLNRM8z4dHHv8ruvM9K1ns/qStio48XUeUfFuKX4Qa?= =?us-ascii?Q?F5zsf9xdQE/CVV9k76TZsrjJ4ipEsN9FlL+ERhO7rxe2QNpiIVjK5Z7Hrf5l?= =?us-ascii?Q?yxkKQ0+3dJhb1mzsb3aAyyeQM/Ev6nXo155CZCKSgrGGfkoIJIJW2JkbYZpE?= =?us-ascii?Q?hTqGi5z370+ak7/IHTP0phHNSSUmOCfQopV0FArnpHkgFGIMjyyqIePbc/25?= =?us-ascii?Q?xi1wu9/gbkuu6VPwsV8ER/mMsmLgBa/Ie99A39tbq6bErDglQMZrGNqAxm6h?= =?us-ascii?Q?2Xb3yX4uEYq6IG8Ln/JV07YGFWZmeC4IuajnfwfF6HZKwMYQFYRCKHx8H3Oq?= =?us-ascii?Q?yTla0Ofs5Br4XKw1uyB6AwAnZI2zUkwVRcDEnC/LEyi3FtPw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB547; 5:klkwSBTpB2RXkC3PkBVEd/eo1/Yo6LR7kN9Ob0g27c/WqAm5Taa5t/6+9Op26LiGdXD04UhgzdPfSOa3S4Gw96yGILQ+mle3b7w2qHA6K/8h1oQBCBTeC8jwXQzV+YdJuXbmN+Mb3O4tEbw2xnFdXw==; 24:k6kF5F97BI14WNDhHtSdEQQUReZHL5QH+c6Jahl/w2Y059805UOsHxwWXOjQm7AQayBGfmgopHxRR8jaD/12qLY8ihUOyYdv/w7unOuaWqY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2015 15:44:33.3632 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB547 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151120_074456_236639_428E958D X-CRM114-Status: GOOD ( 12.28 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 The patch adds the binding file for Freescale imx7d ADC driver. Signed-off-by: Haibo Chen Acked-by: Rob Herring --- .../devicetree/bindings/iio/adc/imx7d-adc.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt diff --git a/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt b/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt new file mode 100644 index 0000000..5c184b9 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt @@ -0,0 +1,22 @@ +Freescale imx7d ADC bindings + +The devicetree bindings are for the ADC driver written for +imx7d SoC. + +Required properties: +- compatible: Should be "fsl,imx7d-adc" +- reg: Offset and length of the register set for the ADC device +- interrupts: The interrupt number for the ADC device +- clocks: The root clock of the ADC controller +- clock-names: Must contain "adc", matching entry in the clocks property +- vref-supply: The regulator supply ADC reference voltage + +Example: +adc1: adc@30610000 { + compatible = "fsl,imx7d-adc"; + reg = <0x30610000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_ADC_ROOT_CLK>; + clock-names = "adc"; + vref-supply = <®_vcc_3v3_mcu>; +};