From patchwork Tue Dec 8 10:26:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 7796301 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 4ED2DBEEE1 for ; Tue, 8 Dec 2015 10:25:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 795E320515 for ; Tue, 8 Dec 2015 10:25:35 +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 8CEFD204FB for ; Tue, 8 Dec 2015 10:25:34 +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 1a6FQy-0007oB-AO; Tue, 08 Dec 2015 10:23:48 +0000 Received: from mail-bn1bon0130.outbound.protection.outlook.com ([157.56.111.130] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6FQK-0007KE-Ar for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 10:23:09 +0000 Received: from BLUPR03CA002.namprd03.prod.outlook.com (10.255.124.19) by BY1PR03MB1388.namprd03.prod.outlook.com (10.162.127.142) with Microsoft SMTP Server (TLS) id 15.1.337.19; Tue, 8 Dec 2015 10:22:44 +0000 Received: from BY2FFO11FD010.protection.gbl (10.255.124.4) by BLUPR03CA002.outlook.office365.com (10.255.124.19) with Microsoft SMTP Server (TLS) id 15.1.337.19 via Frontend Transport; Tue, 8 Dec 2015 10:22:44 +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 BY2FFO11FD010.mail.protection.outlook.com (10.1.14.74) with Microsoft SMTP Server (TLS) id 15.1.337.8 via Frontend Transport; Tue, 8 Dec 2015 10:22:43 +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 tB8AMMdC022139; Tue, 8 Dec 2015 03:22:39 -0700 From: Haibo Chen To: , , , , , Subject: [PATCH v5 4/4] ARM: dts: imx7d-sdb: add ADC support Date: Tue, 8 Dec 2015 18:26:23 +0800 Message-ID: <1449570383-25716-5-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; BY2FFO11FD010; 1:C5WNfT+hMOQE/JER1ZU7rxphuW+dPE8EnZ7joItbgcHbQs/KYh31fq/ncuuyqii2vLAmGxFjS8ji/4Wgmf9DKlnjwgURU5Ixsh1gSFFj31NqF0yzRKhVXqLWkBue+9Qf5zs7s31i8qGjC0BbvroglQL0kYY7baDvaWxCsfrQL/ESq9cg9JLp13t3Aphy9aNVEaRh7X54vxrEeXP4s0IvKOsQcmXIoHYUiM+MX7b1Ty0wHfLhTjdoA2IjdxAFQMTUN0WcxvNNK9ZN8VARAeNhHCxIFXDn7ROe6fzvHSl5xVnjIQedguBYlnIuAbpgDWd3uSVukPjSORf2umzVIirnMNbMQ6NF2Hk+RI3fvb776WY09dYd47qzs8dl4Ya4mwC3sJvPkqexz8LZ2I4frgW/+8r0hR0Hz2HXB1w3pE1YM3o= X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(199003)(189002)(19580405001)(5003940100001)(5001770100001)(36756003)(229853001)(48376002)(19580395003)(2201001)(50226001)(5001960100002)(11100500001)(81156007)(97736004)(2950100001)(106466001)(33646002)(76176999)(189998001)(47776003)(77096005)(92566002)(87936001)(50986999)(586003)(86362001)(50466002)(104016004)(5008740100001)(6806005)(1096002)(1220700001)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1388; H:tx30smr01.am.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1388; 2:uFdoybrG8ztApaCd6AQEYtwixh/0Xf+3fbasN1XWDoK9bEzi/JwPMU7Ym1LVfS1E4XEOaV4Ge11djxWPUZFUqB/n4wf4GFL9VDrRHbMwC69HS5+vHhmXXYPAGYMvAaTN8ZNosZkyVwA+vnRqUFVVGw==; 3:pkRmu28i7mzCSHWctjMKFzy3h0cFs9hqMtcT628oSLow2zjMJS1j4017V8SgM6w2NcnM4+IrqnDJlkVaRZjrq+WsJtSK8KknEhR3NrTuizw6sF5Ql/mSpECPqKWRJdRX/hklWBj7qirQWvaRIJLi/omGJ1zs3TPSUOZSN2+rNg7gnysMb4P8/mYbHPHmgxowbjpR/XXo8lSikZtl90RpzEdgNpOs41mO95l8srfzGLs=; 25:BR44O5wPLcuKtHi0Ug0qBVpVOKFgQYC/lCDAhF64UEZGtHf8j9B1tdBIydD9bFXRrZ5m/Tj/Niym2Y7rxO1f1FmwPofmlZ9SqVCliSYVqSKXX/Fwi+EvWJTRhe5rN+vjWuPaBE0rBJYM/QS6qvIAmcWXFkdhEaCVqxYlEku33wyr5sHlLzyYDHCWVsM+42Jpk4Zj+Q+KrS/XRkdO/7uKHiDrGKG07viRJ+37F04ePzySy3Ddo20sEEuvkUNEdrmUdyz7nhKKo6tnoZzOQGTyhg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1388; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1388; 20:Ud8WcpxYD91ukXOOcE7SS9fjZ5xN+ns+VisCKVT9lxef1VrO7Ox20ViKacMr7KN9R4yf14UmI02cZLaXNSXTO7iHazmBvjYsfUza2oNDjrs0yQkXBpiBw6DqpWlReVwGK6Sqq+ZjgU3eI0D4AQ3cRgzYRxOMLys5/0SJDmPtOqmLFg1FRE815j1JZ74ZvcHEkuxp0lGEIVYNQXbpY73DcwrHi+wMyZK/RD381P/pZ5N7RftLIbW8ZQ6hEVgyCx7uPzGdCw4kALG1sBBsM0k4+32oMHQqi+VVrtbR1BIUOLpLdagnv9kLLxX6HjOa2Snn8ajeMLXqCkPT6C62RYOTx9NYN00Qq/3fq8aiccRT1UU=; 4:0aX0xVM1hQBkhYV3dN8Gzghxr5e2iZaq3sSMc+UfXtTHP96TI7hpFyFPBMgbeyMpmSiVr3MEnkZ3Ol+eiPPCB2uqzpt3Bej/y1txQsh//P3C1JCIPMHPWVICC8VGiDtfXp5J/zTKychhA3Cb3n37euqUFCTKDPAcKSiq/qU/uqniaNhsWipnYs9lsW9IAZFrybScr4W10HYBb4fRdNH+1us9Wcyyudk+Kl0aHXmLHR1HRLOXu2/2KRqhDJ0GsrMR0kkNs0HEwxTQvELVCB3vKx4sysyHkGoBM1wzcQkA3u/5HwUghy2B6c6VXVu2nSy5qBqu7JBfZayIE4wyI6xvch8xLNxjsBMruHls/K5IFf351LfMw5JwHjl2sd8GW9Z4IA8RT0xEnvxmInAAP7sMflkYN1L1lP6yqYbOmLH7rU5befZisoUM2MhjxXgfb9MC 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:BY1PR03MB1388; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1388; X-Forefront-PRVS: 0784C803FD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1388; 23:H0NG6iqu/MWU69RLvnypcqjKZG1Y9PkbOu7AMicRv?= =?us-ascii?Q?g/cHlrCtZ/DN0gSVSlQJtEGT6IJWJdvbfZXReoJSMsaBStWjppc7fU8rMsak?= =?us-ascii?Q?rA8HnYP83JedzVsDo3NZORZqPl/mwGjR3+JPjrB2EQeVPHZ8Pk+XiTLNdYWg?= =?us-ascii?Q?gL5vcnEqgQ0oo9FVLPQJNsaWS8zGWU3w/KQn7yJYuQzlGAIXuwptQlyWisDU?= =?us-ascii?Q?iqhaEIK6oUlruNGL2im87L4Dpdr+/FUAblNoP9oyrl+RdzaobuFZ02o+KZGa?= =?us-ascii?Q?Dqu3H4MkOS3uk4iPSVUOZMizAa3Sx69ANX+h0j5hcY3lAA0ZKk7lLN7tmE+e?= =?us-ascii?Q?ZW56NH62nndVL0hRy2n7jcgW0aVzMbrp9w8+zr84dhtVnN/PDh/wrAYfdfS4?= =?us-ascii?Q?1uNEwjpD7DRAgR/JSTyIrrinsf5ZrrNez4LWALSlwIvnsuLNc0vHQFP7/nNk?= =?us-ascii?Q?89jHu5EA1QWaNhvEPXnKfgtPrpyd/Jwcdus0pLzaCrlCM//kXzvwHlPyeh/e?= =?us-ascii?Q?Cya++5Phn/A/oIcOByrV4p5dpkgVJtV9wJXiqdlboQKA9KEcTQdIlY/ODXF7?= =?us-ascii?Q?SBBw8vOFACCZ2FggJLJEaMU8MSnEGDbpmKO35Cd/XeHMlwIhqCStxwj2UjFs?= =?us-ascii?Q?noez+iqvqDX4uRsmD0V6VA9qJSVm5d3RcBAJ996ntKwBJYr7grIlBv1/3rSn?= =?us-ascii?Q?Z1kKr7D14PQY0EtXoFzzEEamLY+hMTvs7Vbingxtc1u+8IhXn6nV4w9InGCD?= =?us-ascii?Q?+/DJpS9SL78fy3WHS5uYNhauhSwDJSCoO92UUy7AGQvC4NLBZm1PxVFYo3GL?= =?us-ascii?Q?pjmdR5CwexTta75ZcOYokePZOosJtsUuNvFe64hiBmWBzx674V7WBzyq6dxN?= =?us-ascii?Q?0b1c+dbRlX5F00DWS5vLersZ7dpM1BX0WWFEuuWrDDJtWGoErV1fyDJtNGqs?= =?us-ascii?Q?mzlkIB2ciptaElJI3kAQPnMOIZt0qTL4ACyRrlhrjCFVu66ghGbDd6mZnvgW?= =?us-ascii?Q?0hNmlTzuQubCiwNsDtdH9fJ?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1388; 5:ysAWIBc6jYrYWaNutUHxvj2Lcl1dDklRDDYDdvmjI9cqsbAoCIDh5D/Lnd3yZA/9t0ky+9zRdibBtmdHkb4SuWC2eiBiuf5BD/IhCAqt5VnaL70wPXTmWPK9xOyD9etDxo0T2bs5gj65pGQNIaCicQ==; 24:vq5bhMvBizisZ8fJ6Ld14HGW0oJshL57MqxQaJ7ZuOEKuPQa11cUpKXpnzb7/TA7sNUfLeCqEfNmztx7R3M1zjWFAVPCPQFabWlXt2hWFs0= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2015 10:22:43.3092 (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: BY1PR03MB1388 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151208_022308_708045_A11C0E46 X-CRM114-Status: GOOD ( 11.73 ) 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 Add ADC support for imx7d-sdb board. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d-sdb.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 432aaf5..b2c4536 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -97,6 +97,16 @@ }; }; +&adc1 { + vref-supply = <®_vref_1v8>; + status = "okay"; +}; + +&adc2 { + vref-supply = <®_vref_1v8>; + status = "okay"; +}; + &cpu0 { arm-supply = <&sw1a_reg>; };