Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752241AbbKINki (ORCPT ); Mon, 9 Nov 2015 08:40:38 -0500 Received: from mail-bn1bon0134.outbound.protection.outlook.com ([157.56.111.134]:60932 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751149AbbKINke (ORCPT ); Mon, 9 Nov 2015 08:40:34 -0500 Authentication-Results: spf=fail (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 v2 2/4] Documentation: add the binding file for Freescale imx7d ADC driver Date: Mon, 9 Nov 2015 21:28:22 +0800 Message-ID: <1447075704-4605-3-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447075704-4605-1-git-send-email-haibo.chen@freescale.com> References: <1447075704-4605-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC016;1:+r6JPKIlDGGtGGXQXPYR6Z/GhyCD//wdhqcUu9lNdnuogis1wByrhHHvFcgpjFh8sL6V2bWxYIl5pHIxdzt4CmIY+MNabE2Ocuqj9TT7RcXUvPBGPHfTDXAPRXKRwzLRGul2S1dTmj4l5CB2DTgqtPMYOAhPjf6XPm7ZdK3m/Ae+flEJRQOgoprJnfZv741/SD2/Xx0jjQnNUxp3txoLAX/HeD4o9h8D4ag0TtFGrYrzHrakWdbfUYeNLWaE+rn8PvrZfwYepejm9fSXqp+S5F8o1HRrXjXtTyt6BYAbHAkbz8z21jKeZ3YsQPXwogAWB5LpJ9kSRgKK6OZ9nTxtIipNMlm1GxrUjT75DOdNTTSnQ5cvRAyHvVY1Z2WBiKouKIEnZ0dwA2s+rGXkJ4HT9Q== X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(36756003)(2201001)(47776003)(19580395003)(50226001)(50986999)(69596002)(76176999)(19580405001)(11100500001)(86362001)(104016004)(5007970100001)(6806005)(92566002)(33646002)(5008740100001)(5001960100002)(5001770100001)(189998001)(229853001)(106466001)(77096005)(2950100001)(50466002)(48376002)(85426001)(5003940100001)(105606002)(81156007)(87936001)(97736004)(7059030)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR03MB1383;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1383;2:GVR7IqxIkM2AMXxrkiXaYqJ01UcVLKUMu6EBkQv4ar8gLkMwr2MSFI8VCiJ7cRPozPhEz/5YSDUmsF5DNh5tyoJS5ozhq8UvSV9B7cvw22Ef0TW1IY6yEhnvrDoC8d27zMW9jpMWA5x4xZ/54pg5YnY3FH1zlBEGGsjsG0TrEdo=;3:JA1fULeNJag8J+RKIRpb5d5jEHLzu1rBaNWQg8CqcoWwRmKpdBmuqFHet9pDWy+NAEnMF+hFPKGasOhirSjCCH6om5N32FR9SPx/CBnOGeP392KUaEmFQLfVJbhs3kzjf+0gScQE/DzrYlkheBelLOgMBWzoVHfaOWqlcjmLP26M9KzDyChvdTgNjSgkvdaoOtHIzrvHnYFmiwe1v143g+kkwRW8g5Ysnewv5uzklK8=;25:31CUo8NSL4d1jyiTUt12uldqvlmOcuIBGxGu4QqiJqV3BWKXzI8tUJd5OiIkZQNPW/iJEeqbsOrhDAfaOROeJjyrGidJnoFB1Gvqda4E8pFWKDOEZH3/q1oXpbFpxdlbcb4mhBHHrAvt2WPfYIuDMmesLebvC6lnLZbVK05Wt9rNEunOiMuvLtC+EA2QOdaw5QXxrAV2/109mehhWvmFR5T3w30vivfFZfVny1jlv4pB1Ch26RFB9Olr1eV0rFFuhJ92Kyd2pEnSCzzMlN3mEQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1383; X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1383;20:EOYOr/LSMeql9nYtYM+BwDPC7jAI6kbgpflbshN2wIj0Zah4NUOewWzF3ou0x4LrtHiAzbRp+Z9qxHBDaZQGrJ1q9Zw1mcLKwhfK767GdKZ/Ym4DIwRRjejehUSWKvn7jeFkBRjO4FNR+mrQABBUBqHVZwmNFGuaFKzYN0a425m74evgkZH0crA9uGJtPNdc2L5g081SfBGzD5ne3vlwTIiVFq9Wz47NWvkiJGJCHCf+74n+vJBFGaKOqvXSMmsBcj5kX+UIYCuj1a1g7TK7sQAm1KPGshD4jr+YkDYWHqvhQqDtYBUU5cTROPIBxlpS5LNX2CduaEUX7NhfFSD1YJ39HmHNP/RMaB6uL48I00E=;4:LpcVpHmJRQlO1NK/HggTdOhMCfn9l8U3ziK0iR8q3Jn2xbn1QnIcQjIuYvpzylcve12lM6BQSPfLMYxr4v+l3HXTPNRjtVkpPAULI5GJ3zB+8YVlklCskQulX1IAjTTR011iFwWvrLwG1oXk5GqNCiRbNvmr2ggN9MjvrNIOmrb/2eaB7mG1HsfoA5BdhNIiRU3Dk+/pt/rrlGVJcwNW0ZKVZC9ZrMLAbIaD2w7c86qllEboCTY/8TKTwPHr2w7ziQZpp+O7RiTYQVPXJKL+BaOh0pNQobSxVqzO+311RosoB4yd3acdyuhh4XO6QjKtULEB/JA3sCyYOoqC/Qqy8c5A45CMlUjo6bnNe4i8lsxYv3b49rfH4ixRt2sN9vfb 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)(3002001)(10201501046);SRVR:BN3PR03MB1383;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1383; X-Forefront-PRVS: 0755F54DD9 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR03MB1383;23:lxXNaegrA/cnGsk/p0Kx/Jr9kC1RkRNkSVZCCXVRf?= =?us-ascii?Q?XlJjgi7vS/UbtU3Rzq7eHiY1qlvfmsOjCQmtry0liUni3jo4kqeszOUks9rM?= =?us-ascii?Q?hRyJrPcd0tDMwIFIsQ4LuPS3HE1+YXuaHAL83dFUr6+mdBkTqiFxrzi4bnw6?= =?us-ascii?Q?X6EgauyC+vfk0YLaMktPvL7Gtx0iKvPLaNGHrjD8ouogrdkng6FchiTfqGjR?= =?us-ascii?Q?Tv3rm+nswQCb5lZ/gnmBEq7YqKI5HFGNNiiSAG1FkujtjlmZcZhq54tvLyRL?= =?us-ascii?Q?YryBf2sfU8HaduzI2Eun+FVwfAaGF5iQD+Q4jGro/aGWJewqUf6BFP35vMfk?= =?us-ascii?Q?Y5aZpdVaJmkRawzvH+v2V4BLgSbIzTSfag1GTnDeb///tLQuicKSb1MAbHI+?= =?us-ascii?Q?5FNuwyxtCe+c0Dj7Z6Jabky7HBT4NVZy1bWxUlSS75pc1MB/+IZ6OxJak4M9?= =?us-ascii?Q?rk/ke9arvsfpHROPZqhzqrH8TKKgJWkeknZZ6ht11ph2pzzuDxvugufS1k+I?= =?us-ascii?Q?OSFpBRmH4PfzKCvjdCArBzUhHx09RRDYIatrf1nNPe/4rZruFNKMP12KuVOQ?= =?us-ascii?Q?ofdufvTWAvjP8MMNpueCvesFigb5E4ee1d1Kp4CadpTwif644udKyK3jbozk?= =?us-ascii?Q?iipSFL/9sO/GznVWw0kvJtgIJV4GQt8ynGHeS7eSMD3hMgqUrXg2LJoCscIY?= =?us-ascii?Q?7xOAc6Zzp3Vb9uxrlzjdhePfPJhlaFwZiA/nZvADrD089DSVMSFu0v6PpN9D?= =?us-ascii?Q?NOnVfpVOEW/HMVXSISLade3Z11LyX4vPKLW+b29KApzVKQw6mr4ubpREvHT0?= =?us-ascii?Q?pLO2FeXQ27rVtr1schxnndLs1C5U/vjpGCoEA7DT6sD3rAIGQX0sedTs4m16?= =?us-ascii?Q?Z8HwO/PGkOMQBECKL/xQuI+wwPVDvvMLozb7neWrG26Vfv6p2XsGqUk1kVaH?= =?us-ascii?Q?EiBro/q1ig0wOI2TWr2VSjQrX2og6LMwcFxIv0QqaTBtkRCmqUd24ui3g7cd?= =?us-ascii?Q?o0VHtwHm8aS6hphDelbrJYCLcOsOaUX+l+K0m5anVEzuYEQOCkD/mgHHvAo0?= =?us-ascii?Q?meKQeckIsxFkQsoRv1gRdz8zCjVQuGHZreBkadP1SHXuZ9T/+UH4brgEk1JA?= =?us-ascii?Q?/MVbgoGhYw=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1383;5:PJz+r1OXL0ZlOtFmIRcv/TWCcYtzcvuoGm+D75WX/Bnh25X3mNcWUeQJKp2tny7+PDGjM0XxD3r/PIwdz1bnBSd75d9JXy2KfBsnb/vtkIGyDpYD4HnE9gkjJUy3rAIYVhR14Y3ZE+fwb3v88U81cw==;24:w5aWYJVi7y2NBn49sEaZCHbZowJXPord8I2c+F75w5aIzfU1w/fzjCntRvWCJFwBRfoXE9YKblKmMjYHzTunJutvf4w2AbGBIKUQ2dzWkzQ=;20:CuHVWDEJXQ324wFgbLLmJ6N0KHVwK9JOlmTJu9askcHSmMK2IMuLPtJLtKjxpXD1CgNTqt0IFKvHgeZq+WOh6w== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2015 13:24:50.1793 (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: BN3PR03MB1383 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1641 Lines: 48 The patch adds the binding file for Freescale imx7d ADC driver. Signed-off-by: Haibo Chen --- .../devicetree/bindings/iio/adc/imx7d-adc.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 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..7f4ec1b --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt @@ -0,0 +1,26 @@ +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 + +Optional properties: +- num-channels: the number of channels used + +Example: +adc1: adc@30610000 { + compatible = "fsl,imx7d-adc"; + reg = <0x30610000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_ADC_ROOT_CLK>; + clock-names = "adc"; + num-channels = <4>; + 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/