Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755590AbbLAISt (ORCPT ); Tue, 1 Dec 2015 03:18:49 -0500 Received: from mail-bl2on0140.outbound.protection.outlook.com ([65.55.169.140]:14448 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755455AbbLAISf (ORCPT ); Tue, 1 Dec 2015 03:18:35 -0500 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) 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 v4 2/4] Documentation: add the binding file for Freescale imx7d ADC driver Date: Tue, 1 Dec 2015 16:22:28 +0800 Message-ID: <1448958150-25579-3-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448958150-25579-1-git-send-email-haibo.chen@freescale.com> References: <1448958150-25579-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD051;1:OHWbvd2rV3TjU3Bm25zrd2RL3vaAmqt+KIwuK5VO04q/uka7xUVLP4zMeZyn9+Bctw4/ouyALDTZevSt6EPqAl49vp2iWnyJ60MMKZZ5A4D7D7HwA+QLiDbKPVs1n7+Yyk7asrpagbCXv8+wCHMIWuQSrEtBZd+v5t722oy3nY7Az/r9Yiv5e/AhJYHnRgwfH2H79xcAr9N3ttAdj3vp5EVYqBqft58WjMlsXzfntN9ehj2X4rYoa5itwSIVwcsxzvRFS5tPrCsnYKdFevYD7KhvuXX7q8mSH/OsPu7UBgXMo4KAbQbC3zI3+11m8E9HwYnY1kuKVFElDvXWoNrN8Ram7feoVvX9vyTP8rV5tjPfRxNSeuQAcRLD7R/7/nyAlBeX07WKpB0Okx9dcjBYvZh6/O/wXuRsBLFLjGjrlcY= X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(448002)(189002)(199003)(1096002)(6806005)(2201001)(5001770100001)(2950100001)(77096005)(229853001)(586003)(50466002)(189998001)(5001960100002)(104016004)(86362001)(19580405001)(106466001)(48376002)(81156007)(5008740100001)(76176999)(87936001)(50986999)(50226001)(19580395003)(11100500001)(97736004)(85326001)(33646002)(1220700001)(5003940100001)(69596002)(92566002)(36756003)(47776003)(7059030);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR03MB1382;H:az84smr01.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;BN3PR03MB1382;2:Rw7E8RCSnncGhVy3h8IrNwKjTtCn7Kocn1WnMdgXuom818wq41ZbJvmWbDrbilpMvsmneuU5VxX5YqEVatd8xUnNJxkHB0VTqT3cSwfk0DL3na9WY9OXHmYJfAp8iOsEfGh5O8nZ1q0o3z7ANVOndw==;3:exXXKgfvxTRFSU+EoTrDIkh0WIggAOY3UxvgZPbIAyOmzWU99PnlCw2jpvTB80DDXvpLWQ4yTUYGVIBzse1twui2Cwb9BUs/ep9d2BLDvkRt6G4GyJNDHRQu0P6fLunU/H9ypLZLy8WhcNQpBL0sMWNa9iRy4eBe22lYFo34D4Z7I2O8jdV6/Vh1FU+Z1wKOnU3haEPigflMsQBErLPiaYaAVtJbk/m6esckehrVsHI=;25:I+//b7saL3L/LhvwcUklnW1IjZitHpJZ/5Wnwj5l20lgUPZnnCYXGwvV6KU6YKJq3EXhxFi+tKUMrrQGx/zFt+YVVSnttyvNw33zBVp8B+htPv674+SYCh7WwhS7LsWlx78zb0B/YnGeExz0pl8zGRbVxej0OJHmvpdb1qlnjrcllxbbjKHCw50b1yfS1NBFFLRh3t7FeIJziUe2sPMSztgi591elsSAjFAUBDoUoHFrceqd3OEhMIZC6+Yt6CqEKhBc5TcSUxL2z2rwXsEt3w== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1382; X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1382;20:nqybC65su6KaUiWEt250SYb7Cl1KeVSOLuMJ6fhiL8WDYWQHjf1ElDpy0IFjQiZcRQjIx4veQ+fb+zodo82z+rlCtL8Yz0cf0cbxbz+FoYJ4kCxzHkPRe7VF8qaH/UCPe6BNLMFJyVQpwL3WCaM3nia4fL39MFBk9RYwld74tDpscrvfyUlB4pK6vlyg438moIOjUlT5BK4NBOjB0x0vabi5hwcYdsCCRZQHm5X5vzN6ZwPCT/QC0xunNT21UEkn4xtwWoOxoq5bbLUBm+UNJQOYEfdVmAofy6o9Uz5fS3FTnHGNNjReWX2bm0WQPl9jdwt0z/zcVn3tPg/sJXSgNL+zUro35E0CISz2PoB0M4s=;4:Sz0Oiv0NdWSlvvAKJNFLxvJLTDAIOhxY1G1lFTBeXvC7e23VTBpCW8+uXZA+3brxwEx8rCAyGNBeglN97pwZx1pQnyuFpw/urje4MIrsyYDU9ax/0U0v51kACGyGaAvxAZvuFZRZdZnI6r2VOCaqHXQH1b4dgtbjIahM5aC5hli6M6wpUU+2Bv5yCwFm5qlE1BygReuedp+41NFCsVnbv77sD8PwADOTE2hqsOrAptIcLtMjn0wCF/mj2f6r6Puu/HZTpXjMgU05sUYqIje2a1QjkmoxXOzYEjEMTtBiYIhDKlaPP0ZJd3OYaoy7zLTgcma9UXpDSMALVVeVvuOsa7Sx4ovWtr5kMMx/lOhe7U4t5gCzG+jOfZkGGTZy609eeJlCbZfXyQ8UgF3fDNg/UqceQEGMvfXjwDrRIuvRAR/FPfb1tu9MKwIcRoKVBNjV X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(10201501046)(3002001);SRVR:BN3PR03MB1382;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1382; X-Forefront-PRVS: 07778E4001 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR03MB1382;23:mY4NjnkHLsbyigGsOGZ+Zs5MA90/7weoORzk7PkRO?= =?us-ascii?Q?gDVlL5oV6t9o9ir9sRVKg/GkDJVB8M0Oud7Tej5o+5YXzKZVMgNZqxoIglVD?= =?us-ascii?Q?flZMiv7YNXTdwNR10cW+39dhc0b1M1btemyK5lr+6sTr1COtIM32VKMXKVyl?= =?us-ascii?Q?h22iLj4TbmDyKkEN2ivjY02tqUyVVLiHUrPU3Jbm6x4c4favTVRQFWHbC6BP?= =?us-ascii?Q?s9cqZR6ktnfwDMA+GEdeCm402rP4hl/UY4F13/Pz3MS7+rP8Xa8kSMUjmZA8?= =?us-ascii?Q?g/YGM7X9VP0hsVzliyNDs2ZjW5mw8iPw/TLbeeykoqjqg1UueQrczxJFsdCt?= =?us-ascii?Q?um08s/ZImW2zDFQoyZ3vyx2zghJbKSUGoxghlnkxKutChiLc3sQYo7etU3uD?= =?us-ascii?Q?B/le3BY9m/zoGkHUM0uzCLfWxoxeyuarY9k4xzDyn4eh28WidVyX/bzOSV/m?= =?us-ascii?Q?7ZgbnkoCLRJ7uOVkGqbRRPqw634l1vUdmUUHe5fdPb9aU+YXeAoyyTi9wtz3?= =?us-ascii?Q?dF54fY1/8eqMGjd3nazJuC74ySr2eHvRjQUJMz8Lb9Lbgh+uv63s3ZIw1bw/?= =?us-ascii?Q?p6tGqbnbkiua6T+7CtyUrTI74IFDcf5CvfJrf8xma64lSZ9EWtbAcn/5+5GK?= =?us-ascii?Q?w7zs+nOBH9+Slb+EKQcWbB9c0PiAtnRQrp151UblEDg5ECIOkpA33Pt5kyTB?= =?us-ascii?Q?AeNtEjniT5suQiICB8Z5Ap4d2fGQiDKCEy+9t29rV3xxElengccVA7xgzTcM?= =?us-ascii?Q?yetp7nZsTbAj7dsnkFdHBG41PN8LoBIyDwqLMy5CMBNhgnxpKVtc/l4BE+4X?= =?us-ascii?Q?5N46u/ws0QRrpA6SuYyI3iNE1D6KBoj+vN6rl9FmvAMLhiLPHyo6pMQUEfXe?= =?us-ascii?Q?d2Rgmn2QR7dLqTO7nKHDKkf6HEW9YKRwiG2ShVUjbe8EyKNHdN4x+YzfBIPo?= =?us-ascii?Q?9EPyN/JarMhuYIqJxGNacrrLeSSwgZuct+ic3zOqxFilPa4Se0SBHbxu7bGx?= =?us-ascii?Q?7lZkVR3/uQ8ndphT9pGI5praXDvl7vIyW5xiz2UPGGXpgZCWnacBm5saW7Aa?= =?us-ascii?Q?ior0lo=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1382;5:P1qlpxekKtVRg9zS6JPuZ02AMo7WuvFPCEopMby+3Kj8on8uiuyTPekgXPjdOP7lzW2QPQnH3+mul/kKDRp0dm8+ZwSr8zNrd3uC0heYWu6OA0fT2nTrUhZJLW1pKuHTYYcNBbFCPqSfd4dXRZQ+0A==;24:XPnYpnuCik67n8IHu472XzV0Cywc9YxuRgSiENdznoEYI7c0QlWcc9kHfWvDtdoX3bveQ2De2w9eywIQJUmAW11BAFzm79oRgajMRAAkF3o= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2015 08:18:32.3791 (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: BN3PR03MB1382 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/