Message ID | 1448034495-1759-4-git-send-email-haibo.chen@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CB0219F1C2 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 20 Nov 2015 15:47:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 11EC5203E3 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 20 Nov 2015 15:47:22 +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 170CE2043C for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 20 Nov 2015 15:47:21 +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 1ZznsR-0000HC-Ku; Fri, 20 Nov 2015 15:45:31 +0000 Received: from mail-bn1bon0112.outbound.protection.outlook.com ([157.56.111.112] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zznrx-0007Fp-16 for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 15:45:03 +0000 Received: from DM2PR03CA0026.namprd03.prod.outlook.com (10.141.96.25) by DM2PR03MB560.namprd03.prod.outlook.com (10.141.83.19) with Microsoft SMTP Server (TLS) id 15.1.325.17; Fri, 20 Nov 2015 15:44:40 +0000 Received: from BL2FFO11FD026.protection.gbl (2a01:111:f400:7c09::186) by DM2PR03CA0026.outlook.office365.com (2a01:111:e400:2428::25) with Microsoft SMTP Server (TLS) id 15.1.331.20 via Frontend Transport; Fri, 20 Nov 2015 15:44:38 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.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 az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD026.mail.protection.outlook.com (10.173.161.105) with Microsoft SMTP Server (TLS) id 15.1.331.11 via Frontend Transport; Fri, 20 Nov 2015 15:44:38 +0000 Received: from b51421-server.ap.freescale.net (b51421-server.ap.freescale.net [10.193.102.57]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id tAKFiGqm017038; Fri, 20 Nov 2015 08:44:33 -0700 From: Haibo Chen <haibo.chen@freescale.com> To: <jic23@kernel.org>, <knaack.h@gmx.de>, <lars@metafoo.de>, <pmeerw@pmeerw.net>, <shawnguo@kernel.org>, <kernel@pengutronix.de>, <robh+dt@kernel.org>, <pawel.moll@arm.com>, <mark.rutland@arm.com>, <ijc+devicetree@hellion.org.uk>, <galak@codeaurora.org>, <linux@arm.linux.org.uk> Subject: [PATCH v3 3/4] ARM: dts: imx7d.dtsi: add ADC support Date: Fri, 20 Nov 2015 23:48:14 +0800 Message-ID: <1448034495-1759-4-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448034495-1759-1-git-send-email-haibo.chen@freescale.com> References: <1448034495-1759-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD026; 1:Plpfq9u5LlGyMoCgFOcbN/TBmbcGfjvNEEOApN7YEWyPhj3J2y5pFOZHlMWHpDZTKWvXaNdP6iaEeT1zL6RCaxBPNcl7FxUHQ3zqg9Ir43Jco7ggyms92MugG1QGNlWPsHEUjfEjqKLmomMoWK+ClCLA+rFT4eS+7AmrBlTiHlTKIuSNaLOjQMR0jSostwfryoSuApuP0Xp+Go2sTU83mypqsCmQLX0vgRGxJR+StWXx+Ijlo1C+WUdqAS05YY6MiM+J3FcIXnaWNanHAYnRTpMtjDJV6qQFK0F0T887Ua4qHnjgwdAI3oE1Vs79SpZ8yuvDRkTsG+5cI1LBW3F2r0w8ocVOTTvtSB1n6Xqmf6MqEH2DlRqmUjSP1ygbCj4trbHekeq/KoAdmDLZmQ+uOmYtwjCsawuYK0lkvsVetdw= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(189002)(199003)(50466002)(86362001)(2950100001)(76176999)(50986999)(5008740100001)(104016004)(50226001)(92566002)(77096005)(5007970100001)(36756003)(48376002)(189998001)(47776003)(229853001)(5001770100001)(5003940100001)(87936001)(33646002)(85326001)(6806005)(81156007)(11100500001)(2201001)(19580405001)(19580395003)(97736004)(586003)(5001920100001)(69596002)(5001960100002)(106466001)(7059030)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR03MB560; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB560; 2:yj8Ho6Y694luXzMRJo5qg/1SiXewpYlIU0oYsC9wJnbQUs8F70zuNQ1PwNMoa9RQnZCTEGUwO35u6OseHiajiU3y4GvASsZ13nawYCr9588t97VDptRo0M/YnYvpDXi2rdHp+hr02c5lbzYy1QXvpbX0qn7Ib+R/d+/qxZHo1iA=; 3:nFqDb0yykNJfqq5fr/x945Z+KLNgjVVz1z9IFdu2DS/KULvfgvGYoTeADMnwvfBOqxuPnAa2ImCSfW7o1wYSgEKvO+q4Dgn94yF2Ko229tPX4/nQwAnvNknbJ9MaKes3PzCDrrg6O7i8sNlJDKPrxiKtOGORjdAqtOfXS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SKQl9CZQIUFNhcZjrVGhm+VY/z/xjBEaX6ud2zRFAJcblBESFWoqwO51G23UMbeCJN9prnbw7IFhwUo2GktRfm9WfTbh0Sr4Y/erxRlT4k9+lV4ud41UCX9yEJhSjFxohvKMp9wyte06dYQ== X-Microsoft-Antispam-PRVS: <DM2PR03MB56040A18CC1C6017DB1660E9A1A0@DM2PR03MB560.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:DM2PR03MB560; BCL:0; PCL:0; RULEID:; SRVR:DM2PR03MB560; X-Forefront-PRVS: 07665BE9D1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR03MB560; 23:as62/nZ2pCjHWkArMuCzKdXNivO9RJnIpcMpshZQWJ?= =?us-ascii?Q?vTguwk/0R4mbkbMag2rI8ohOB1SCObCipDlKJh/FY+0P2iQyFFQvq71uaNRF?= =?us-ascii?Q?LuUubjHhyCxP2QY/n1j6AHA+OiU4jIrBsBTVCVY9H0S8Os0ZsOvaxotJ/qpQ?= =?us-ascii?Q?zE+y0dqMyEPi6G+RhWb1cZcQVwGszLNg+d+NiNaIvy3mPNP3Z9ItnvaNFZNP?= =?us-ascii?Q?BY91vVxe9K2hV+ovtcr6c5qUHURalDH1rXeeEfA+0CLHALw/i7EyzbJWvZ6/?= =?us-ascii?Q?YXMbQiyj88mDKQTv31AbTLkkRJNPiSduAAem1Rwig4FOw+7xQDbc4ykU1gSJ?= =?us-ascii?Q?Y+HT2HpldWLAIQNAln8wawHgAnX6C1E79Roev4DabAAH58oP85BwJTc4ZxmE?= =?us-ascii?Q?vnKEGyCM/972DLHq0c9TKSgUtO+WZpPhpvsSIShTpq9Ao9QIwfO15REbpkgl?= =?us-ascii?Q?T23lZj1r7oGWNqh4MhYmz51KxtVnsB3KzTvrxQQNY40yp5NBlosT9NIVTC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a3KFthghPxrvkt+StuQiqP8Ck7oquSExpP2GVI4jKXOZag== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2015 15:44:38.1712 (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: DM2PR03MB560 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151120_074501_444069_06F941CE X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, 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 |
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index ebc053a..aa0624d 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -583,6 +583,24 @@ reg = <0x30400000 0x400000>; ranges; + adc1: adc@30610000 { + compatible = "fsl,imx7d-adc"; + reg = <0x30610000 0x10000>; + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX7D_ADC_ROOT_CLK>; + clock-names = "adc"; + status = "disabled"; + }; + + adc2: adc@30620000 { + compatible = "fsl,imx7d-adc"; + reg = <0x30620000 0x10000>; + interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX7D_ADC_ROOT_CLK>; + clock-names = "adc"; + status = "disabled"; + }; + pwm1: pwm@30660000 { compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm"; reg = <0x30660000 0x10000>;
Add imx7d ADC support. Signed-off-by: Haibo Chen <haibo.chen@freescale.com> --- arch/arm/boot/dts/imx7d.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)