From patchwork Tue Dec 8 10:26:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 7796281 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 EFF86BEEE1 for ; Tue, 8 Dec 2015 10:24:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DFCEA204EB for ; Tue, 8 Dec 2015 10:24:53 +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 E6B3A2047C for ; Tue, 8 Dec 2015 10:24:52 +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 1a6FQM-0007Ru-6z; Tue, 08 Dec 2015 10:23:10 +0000 Received: from mail-by2on0119.outbound.protection.outlook.com ([207.46.100.119] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6FQB-0007Io-Fv for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 10:23:01 +0000 Received: from BLUPR03CA011.namprd03.prod.outlook.com (10.255.124.28) by BY1PR03MB1386.namprd03.prod.outlook.com (10.162.127.140) with Microsoft SMTP Server (TLS) id 15.1.337.19; Tue, 8 Dec 2015 10:22:37 +0000 Received: from BN1AFFO11FD020.protection.gbl (10.255.124.4) by BLUPR03CA011.outlook.office365.com (10.255.124.28) with Microsoft SMTP Server (TLS) id 15.1.337.19 via Frontend Transport; Tue, 8 Dec 2015 10:22:35 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.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 tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD020.mail.protection.outlook.com (10.58.52.80) with Microsoft SMTP Server (TLS) id 15.1.337.8 via Frontend Transport; Tue, 8 Dec 2015 10:22:36 +0000 Received: from b51421-server.ap.freescale.net (b51421-server.ap.freescale.net [10.193.101.138]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id tB8AMMdA022139; Tue, 8 Dec 2015 03:22:32 -0700 From: Haibo Chen To: , , , , , Subject: [PATCH v5 2/4] Documentation: add the binding file for Freescale imx7d ADC driver Date: Tue, 8 Dec 2015 18:26:21 +0800 Message-ID: <1449570383-25716-3-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449570383-25716-1-git-send-email-haibo.chen@freescale.com> References: <1449570383-25716-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD020; 1:jOR0BFi4Gzv1onL0fEpiUL7+kkKr1BI7tln1R//9+17xgT0a3oUUek/e9bR9v1qjnaaBv/vOabpQON3V8Gtl+7BaD6C+DnBn62mLdowH1I/U9ivHBpYgkZ/+tfzmu/kz6wcFCySf+bfRCW2jPjbxDPXph+Q7fBtP5Ccu0e5qB3l46guABlNWd9TBGxj8SjMMTOYCAyT7ZknXvWTMMzKFYPgiTzHqZxZdRUjcjBorj+yJvQ1L9lCIk6kv1veki9tryO43GzrJpeJFrOJPPoDlNNG/CKV42afUO5af9eKods3ST15EmcWlN07C8k+uBphmzHthbDL6Kja9GxCk8v5YjQNqey1bgVKwk6vBzGHrinkbZJpQISwifSMBXxLm8IphNXCUHShJELkbRpK4J2orQPbCpgnQAffGBsCk56xraVk= X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(189002)(199003)(189998001)(106466001)(50986999)(5003940100001)(33646002)(5001960100002)(2201001)(1220700001)(47776003)(86362001)(87936001)(2950100001)(85326001)(76176999)(50466002)(5001770100001)(81156007)(97736004)(77096005)(229853001)(36756003)(48376002)(6806005)(104016004)(586003)(1096002)(50226001)(92566002)(5008740100001)(19580405001)(19580395003)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1386; H:tx30smr01.am.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1386; 2:Xw7ljMyZRhiWXuEcXz0074TFGa67sU495zOx5RX6+DBID5sgEKU0PchJ6BWj++3RDbpSrxJYHOS34Q6czypRUopZSLWz5DbJ8Ql08ej+MHMBNEiOKpolBJxwvRIvrDkQJ3++WBM1KrlPhdAPq6LFnw==; 3:JGkvX2A/0/mVxcjHKF47VDGkSlmAy7spSL2NIWtoMac930P7vmTpe2Q50NqQYUPpT7MGl82cDKQC59PQ+TPVNp9VomfdbxhKhV8SqDk6mDBv9XSsCMPGi0JCklwKjppF83PQlGAg8BMWOkQCXY6rEpeHYt4vdieq6ddIueX7+u+ZYgS+JaS+fte8I8xYu2CAIuEjiuQmaVOPqog932P320XS8sBNyKt90gS6WZOGgWs=; 25:gtshgwB2VLv8E9Rec9DB3Diz0iYL8TDJf8e/EvsYlslfckG0K5cFtDohDfSRsVGRnK9/j4m9BJWcO1XYeYnYE1V2tBEqAncSh7yUPWlh+xuR0uu13MoCX/PjT9+AaAaNlZvZCKNKCotsvlifsKvMvneAIs0EbyLsmyTZO0dSf3w4eJQvSSo4P8W3b59Yj6Q/gQDYwWTzyNhDR4DJ4EPkmvQlbR4Y4lf8AfaaW3jWW1s1Hmviv5AeN8exJuVV11rgUxxW1Nfb6jSqHNXHvylTRg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1386; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1386; 20:shIXYKh3qAUxSnrHw+t3CCbQFfyFWMW88aeGDn9rZj2msgMb2t/xzlppqpvC1k34KausOtUpZG15ygWy5DacDeBSY/3c4DnjnQGkA+CFxtF0KHTFVnS0bridhuhgzUFCVtyAFN0t0klnt0wJU8DN6NjYDPwghs1zT0PcGrEN9ZKwwiKx9yCPkNbC8zGAxlk8AQd1JsB3tcGEP3NK48M/+3f0pm+vfj5hrJaUrI6nW1MwMPGQlLFEcacju8msudXXhNK+Xf2YYO+Ed5we3HKXHeUeoKPJo32+6RYUYIrjQn9RmdKOsGyNIXGDUpNChs/dkflvb+6qwBdtiduWoSjGJqEen/0/t0SJJtVnFUH/4t0=; 4:3h4P+2zrVycoBs4B6BoyLsME05FgEQxghIjE7M0Y/rB2SM6cqt/0BE3UBWsj9lyVk2bOu13DA1RtOxVTn4xuVru1ta9I0hHp840skEKE26scc2/2xb5ziJ5TXYXpCRuj9v9cm1UpC6IWaco6sBZVtAQDDx4/AVEnW2L0Z4L93r1yROD7L1sUdBGC+ewhClqHS2w8xwZ8m1pLNw8o59oYAlZ9cGQMM3AP4w1bjgb8HFIuMT+b4d/tq0DgMakFNeBJVC9nBLbAgE8uXr/vXCxUqYpd6GLJaCKGZbDoGuFEbvVAHf1k2bew7F7kRcPbe96gETLGxhXQXQZTyPT3lr7UDGLO7cm2Yf38GrkTQijlbq6/YpFlb2aCwdMfyrCoesWpJnG9Til+z4VmWObnfqnY2izModlCh0XkHmS2SUnBIX8WD/kCxZVxcKz9GL4GbZSo X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BY1PR03MB1386; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1386; X-Forefront-PRVS: 0784C803FD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1386; 23:0k3+o2+r8pANP/owZnkr1TT/rGBtteWTtnv3DVOqg?= =?us-ascii?Q?qlf6t2Gz01C1DjPukBHo7Gni9VfS5nDJpETqGwohVliY4enGgiTI+J2Npkfb?= =?us-ascii?Q?eA+yqR8dXJJTCloWUysgiSGroWQ+IdoN1oKahfABLa9ue6DAcGE9Imc9vYEI?= =?us-ascii?Q?xU5zfXY+T93vMfTsV6C4fbvqtfxL+J5qpaERYv6vaxnkzfX/d0fKEnz+Qc5t?= =?us-ascii?Q?QJktZi/KAWnbNyjWOmCHk4YnNiOjy5Ad9icZHrklz7QmsC/2BdIxvS5wnOM0?= =?us-ascii?Q?zeM15Mj92W0sWFaj8Ri8efcZxasAW839spiOvqxqygtwjq5X6Xh0+l+tUP6C?= =?us-ascii?Q?JZJkGzAsgrIoPUXNvJQkACcqxaZNihsgi37bgh0Fs8bhG1A0/oNQ4nMroSXG?= =?us-ascii?Q?Ebb0fqZg1jEE+KQnEXTmRESJGsIw9OpZsE+uFSpXElYUYDANS/T5Mjq3sccE?= =?us-ascii?Q?9Ve/8iYebnOZ1LWpuRIBUR0JWF2Gs9sOV8PiPRwvtyD1Qz72CPi+FPQmyYYs?= =?us-ascii?Q?ihAY9r1wzqO4GgpAtalKP6YC4K70NMpJfWExkW0Ztcmvzzdpba1pelR/gui9?= =?us-ascii?Q?siaUU+FxlYFYbqxVUFb2OxPu3tz/yutdIBvkKr00GHR8iQaGBWWwUCCfIoA+?= =?us-ascii?Q?JPUc/i5UajB3g9ZEh6T61PvCwS+pHCjCy25m2yFFfJz8wHHeufUgKtWZUn65?= =?us-ascii?Q?5DAEt1CnfLI/9bWIWVY1fOHExqqwPp+kfHJoSgAs8NuaDO61P8OeO6xKcQdR?= =?us-ascii?Q?trWc1g3Up+c443rk1/x738zOrFLIH8LjwlWpQC/D1/YYLSzzDFV+UUYHym4w?= =?us-ascii?Q?jr7KH/lQcxuZBdlzx6Lu6i+kefXsNrnRG0pN3wget+tbAjQ56eMfXsWxMfAf?= =?us-ascii?Q?0MhBvr1UmbNV6CGdK5KViCHPXTw6hSyjUZuBN4QLlhIBPazJOM8pFSM6nprC?= =?us-ascii?Q?t4R5Jo86PDwt3xUo3opOB97e6uExj2ITZ0+YJiu6pR5CEDeugGPgF6YbHNIY?= =?us-ascii?Q?Ew=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1386; 5:X0KXyVhabhTFSYo/m6NCFaBSofC9TlVeva+b9s6t5QaBTnrxpnrlypB6xBzQas1EYY1+8ycG7PWoxG4MO2FCv2xwNEIB+VaLcQjyz+skpxjJbJPdRlj2rOJwPaRQ6jkG6PwNgzo5rYVC5wBz3DaOfw==; 24:f4Cn54YPdY6+PgUNR/zRIAdso2AHXNhGuvV7vi93Km0WLpyAptGn5/1BBdCtZyvcQgcPzJthp9hkoha6KrRPZeyqbDmaH8vHlXl9lp+o2GY= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2015 10:22:36.3146 (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: BY1PR03MB1386 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151208_022259_752335_92753AF4 X-CRM114-Status: GOOD ( 15.29 ) 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, haibo.chen@freescale.com, 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.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_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>; +};