Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752374AbbKIN7S (ORCPT ); Mon, 9 Nov 2015 08:59:18 -0500 Received: from mail-bn1bbn0108.outbound.protection.outlook.com ([157.56.111.108]:51360 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751616AbbKIN7P (ORCPT ); Mon, 9 Nov 2015 08:59:15 -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 3/4] ARM: dts: imx7d.dtsi: add ADC support Date: Mon, 9 Nov 2015 21:28:23 +0800 Message-ID: <1447075704-4605-4-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;BL2FFO11FD042;1:hhVZk+bG11NBYr6Bwi+9p2ORgwBANrcy8UHCXn99YmnhZxeQP4GwrIrIDxfvSSLlmcRWEFH8AN/z42nUMAHR4q9SZ6lVo0+CjBJmz556Ztfmw2IUio+C+8tR+u2JqMadkSM2qTwXKOIBGmJX/huMeOOq+v/in3R3CfsmNL/ZZ0S4L1RnCOTtbw8oqTxDg8QbqPcjhxCNEp72qBzhBdpWzX4I6mK4mQq6+07iRP78hz/q9Bqe9AIz1rHW+0Y6WU1ShtoFGR1vlZUANRV4Lp9mW22KdI42tJXGosanWNIRuR46GdpHUaEEMwzdZ5a3kidNYGpvpv7xeFoLvIUlClR8pRSLFCydeL8uC3IpD70FOAcqtcUtmXE4vEEzr7oVFrNYaDw94FoZwo4Kqe8Yw4RjUw== X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(47776003)(5003940100001)(106466001)(85426001)(105606002)(229853001)(5001960100002)(5001920100001)(5001770100001)(97736004)(81156007)(36756003)(87936001)(19580405001)(5007970100001)(92566002)(19580395003)(69596002)(2950100001)(33646002)(77096005)(50226001)(189998001)(50986999)(48376002)(50466002)(76176999)(2201001)(86362001)(6806005)(104016004)(5008740100001)(11100500001)(7059030)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR03MB1387;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1387;2:FaZgkJpMZk0IrZwWsgn4OPV8D5frTvYyYIh0bcAizJKCYXszRwYRXIqnBOwtSglMWp6ob4LfsQzopq7HiLNXX1piyutqyNKO+wBm0/X9dng+oK/3vK5XskwIg2IT90IGDj+trGWjcYOdOLUbeZA1V6vh3rrerascZz6jk22rSvg=;3:OUFdn7S0LRRlUSorgp5aWNATPmMHHOVbvj6gWxIPtVFgqERqBfVrdDEns39UtGAlCa0YwmdT75mzsfCIONqJ26aMQlJ8OAvUIF6xRKQ9Xp/iHfuznrwq/HT7HDXdMzhPsqRhYZLBubKV8sLdr+/nTcinQrZIPuTEFpmndn5J5T968FQOWE2ooU3jyg4g/YeHo4DYQeZmpM8c4F0EBhHtAXQSl/VbqJPpWIVjoC12w6Q=;25:BPE3yS9nCkX1hQoXtHeZSwcGJRmxOwlzuV1iAp9/PeqR3fC0og8zPp6gHR7x5ju+eYwr1doa+EclCCPuGgrIhEpAFBPIEPyZRmsZuYfkxXnQOmjJ2UJtzdNbZt4NFUcMazw09byVDBji6qua1CXhluGUPR3OOfenB0ocwglfpgpaBS+zm3ML7druwbEM8fpZjFPcv7zk/tHEpwYFI+65bTkxm1KzgpOK1eNooj8IqkwTg8ApJspnetW83WMLJI2YTyNcmOkYSPtoH3ruX2xkaA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1387; X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1387;20:zakPNBS29QSHmNlZHkMQ1uRTw1HnqnYo9OGxVuy8CKShVe+p8USIdUX3me3rbwKNIXhROJP0643GaXsfi2xMDIVSoJZHBzZOmnN2/XLq4u0UF+8QLHkNhhOK+9SSSnWwdlVDhF+RQrEkcaKXS4aBMg6zmMWRUSOrsKoFVXpor9d9HXETGnTDymjWrOZn1EHLQCGVrl2EY0JhKT8oKfiQSOJQ4stPbFjmv5yy2nPgFWbAy3XsMM9R6/fPK8aX5mdKUR/Pa5juGzqjrChOUvhztZVnoEKeJQkGvd0W1oundHd2Nrsb1wcmEKAhHRpJ/LAmiRyroJhRdmBzZgr3oxpXEq4dev53c7Wtd4DkVBaEHuM=;4:8ViitBGQp9vmSqoFbN6ofv5NRHKGB+wd0F6qxm15G7/nhrrNheX1vDGBALSelicgcia4abCVAJq+5jA+FDy+a9ZPHwhtPINEzbUNG2QdCfyx/thstAEblX7ivlfiK0W3/IVo9jWnTcZaBn9OfFDxRsZOX9ZwLZ/0HWdhp7baT6K534WYS/qnIq3BU3f6pCXVZGW/B1rhozFFwPntjiIT6c/SF7nNud6LyFXdIXiTS6ulv6a1erSe3NbTOwRRBnZUtBq5jt8tiPaZ/7eGd7PAnoB/pXM1/Bz+kgSi4ytrPt2sjLH54PR50nNMPrt9VGzXwCua+obRAsZ/W5U3IxTQdSch0n8E/dPWoaT6ZR2lQ9aRdcfMDRqZP0WubUL60S6N 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:BY1PR03MB1387;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1387; X-Forefront-PRVS: 0755F54DD9 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR03MB1387;23:PZN2/Gj+i+9wJidZCtWasplzbi5a4Vb+nqDTw3dMI?= =?us-ascii?Q?FYMl+R/6Lua2R1N59i5/wDd2jlrQsAdjxNCBTWMyHDfOZBczq+1zdbfe/dGO?= =?us-ascii?Q?bGblBQUZGnibeRFBgEUM2IUUSoy2qMLI1ZrcZNHoYWzwCgSYtn3mxCBO8+Rc?= =?us-ascii?Q?p3JUM9MuOgp8lJSV/Rc/CdfZrAUJjleGSRr2yHF0/Fljn0U2f7xFVsxeWDQl?= =?us-ascii?Q?9REKw7k3t5uyWX34TXU/YNe96eeqMkm+DRxswPZjcsas1J82tD8RAWDuZsEt?= =?us-ascii?Q?e8SjBTVSngfzUum9hAfjPoh1UJznrvEKgyriigMhSu/np+DN7SVFGFjiplds?= =?us-ascii?Q?IwsFdAjFjYszw204xOq2SDpi5LUePisBtbV6zgufN3u+LnGNwOP3V0HY9zzF?= =?us-ascii?Q?xcJzGUQliPojZ3VdxFREJVZbghit+l3PvQ2wMAex3rG4BufIu7Vrd57RItVm?= =?us-ascii?Q?+2NkKas2LdvS9mcYOv6aB4vnW7J7HAXxZRX2Gxk+rDabiBl03qQVMEcOnce2?= =?us-ascii?Q?0hgzU4Fyw/ZxaDsDM2gEYDGpt7vKH7O3HjorJA9pViySzNcKI2F/++KPi940?= =?us-ascii?Q?0aY2e5Bu7ubTSHq63VgR/fPIoLWp5qO9SYSJNxjrnBWh8y52aEQ3kTk2ycpd?= =?us-ascii?Q?CFI1fUzCCBLoF+B3ng4nsNH+iI6WYYSlHD1eHeqzWE6+cVaD3J2GnMuKgxiG?= =?us-ascii?Q?VuOTeFWEexv3s+U12DCZXCH312sv/FmKIa7DLLXo9TFzoeOp5IBGqlCt5H6E?= =?us-ascii?Q?+s7W44HYzFKhsSWycfVjzkYfqUkhLMUY0MLIIDjTDa4CTs/z9r/yiiwOMbEX?= =?us-ascii?Q?ua23K5p6AULbU3TeC59A5ybVbiwvtYsW3tl8rTbQvpDhmZ7oHyYfNPAt9Efw?= =?us-ascii?Q?mDI4lXpY1IEQ3kIsEWCqiX9JOUswM/ylS0eSlkhAsu1wqkkIHl0zL7+4O1sZ?= =?us-ascii?Q?T45lErQKsrJBBiZHfUfLsXo94qObGSWSfrdXZqvER6I7Qx1WW8Jn3MDmH5WJ?= =?us-ascii?Q?XTTko4Vfy13aPUdnaNtYfHKtGZBpNEGm0m38aFq7Yw+x2F1X4NLMFU2A9Sme?= =?us-ascii?Q?VWZqr9t0d3qwCnc0y+X8LGKWic111itSvYnkU814KcQ0spDCtRuaZ9sUF83x?= =?us-ascii?Q?CzF9VgDn3NeFWEiQtnXWg/0feSDW5GZKv2feiojr+w07Ms9gewr/Q=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1387;5:mE+P3/+4TNjK9xlRQQUQ6vse3jwXs59nyqWPrfWmBan7paukaLC5a2NUbIyPObdcmKpz0VzNZgz1cMcCsctJMPybCtXiwLofh3u27UHXCEh70iOOzHLJD2/IfpGgiQNg2PpxWpXoYM2cqEszb3/N8w==;24:F/mh9AjzFym3izJarSG6q5VCO5BTdTA1ddUSZkD+yOAJpwx3IGoFzFpL+q71FxYVmrqPe2NbC0u6bwEb3KKghXTK0z7jtQoTY679QgLjYQ0=;20:hAs3Vc4xpEkOpOcnp1ECAcflffkBD0Gkl555F25kArFcYO7VRjXWLlrOut+i1ItT/srdqNqKSsVPDoSy0ovAdw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2015 13:24:54.8788 (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: BY1PR03MB1387 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1325 Lines: 46 Add imx7d ADC support. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index ebc053a..87c3319 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -583,6 +583,26 @@ reg = <0x30400000 0x400000>; ranges; + adc1: adc@30610000 { + compatible = "fsl,imx7d-adc"; + reg = <0x30610000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_ADC_ROOT_CLK>; + num-channels = <4>; + clock-names = "adc"; + status = "disabled"; + }; + + adc2: adc@30620000 { + compatible = "fsl,imx7d-adc"; + reg = <0x30620000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_ADC_ROOT_CLK>; + num-channels = <4>; + clock-names = "adc"; + status = "disabled"; + }; + pwm1: pwm@30660000 { compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm"; reg = <0x30660000 0x10000>; -- 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/