Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163162AbbKTPok (ORCPT ); Fri, 20 Nov 2015 10:44:40 -0500 Received: from mail-bn1on0118.outbound.protection.outlook.com ([157.56.110.118]:17589 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935060AbbKTPof (ORCPT ); Fri, 20 Nov 2015 10:44:35 -0500 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; From: Haibo Chen To: , , , , , , , , , , , CC: , , , 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 Content-Type: text/plain 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1590 Lines: 45 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>; +}; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/