Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964822AbbLHKib (ORCPT ); Tue, 8 Dec 2015 05:38:31 -0500 Received: from mail-bn1bon0112.outbound.protection.outlook.com ([157.56.111.112]:12263 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932347AbbLHKi3 (ORCPT ); Tue, 8 Dec 2015 05:38:29 -0500 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; From: Haibo Chen To: , , , , , CC: , , , , 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 Content-Type: text/plain 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 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/