From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BC87C432C0 for ; Tue, 3 Dec 2019 07:32:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 148472073C for ; Tue, 3 Dec 2019 07:32:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RmjbMrzL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 148472073C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amlogic.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jsCxLTTVJvBR8wKPKcK5MZ8HW/iT+jB8YFcyrfVQZJU=; b=RmjbMrzL1CDefh T/yKVuDZ9HM2ygK+HP9+Gnw57jY19n5A/rnhCu8++2b9PqJndyIXc48h3hK2Qab22GQN8yhRkT69I 67qjH69ds65VPU7s2WudxIXGTaQYwtzLR6ZY0HB9x3C5H/zlrJZKrglKEx44TTAhyCpyGVnS838FJ iGLyinrMAHubQmVJ/M3R2Vmtd+jx/g7ayACQs02NkKgYM7mPMjJpi0sKnS+u7N6ra/mVTv8fDxEP6 HtJlznotPbWIwAIwmAJLAkwrNgFrTTApGafZKYFCBA7d0O3t4QKmFG/10bhDDlcJXGP7P13E0IT1l nyM2vMyl5KgKd4RCkYMw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ic2fe-0006lt-7t; Tue, 03 Dec 2019 07:32:30 +0000 Received: from mail-sz.amlogic.com ([211.162.65.117]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ic2fb-0006kC-4l; Tue, 03 Dec 2019 07:32:28 +0000 Received: from droid12-sz.software.amlogic (10.28.8.22) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.1591.10; Tue, 3 Dec 2019 15:32:44 +0800 From: Xingyu Chen To: Kevin Hilman , Neil Armstrong , Martin Blumenstingl Subject: [PATCH] arm64: dts: a1: add saradc controller Date: Tue, 3 Dec 2019 15:32:12 +0800 Message-ID: <1575358332-44866-1-git-send-email-xingyu.chen@amlogic.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.28.8.22] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191202_233227_391457_C199ECDB X-CRM114-Status: UNSURE ( 8.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Qianggui Song , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jianxin Pan , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Jian Hu , Xingyu Chen , linux-amlogic@lists.infradead.org, Jonathan Cameron , Jerome Brunet Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org The saradc controller in Meson-A1 is the same as the Meson-G12 series SoCs, so we use the same compatible string. Signed-off-by: Xingyu Chen --- This patch is based on A1 clock patchset at [0]. [0] https://lore.kernel.org/linux-amlogic/20191129144605.182774-1-jian.hu@amlogic.com --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index 7210ad0..cad1756 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -93,6 +93,21 @@ clock-names = "xtal", "pclk", "baud"; status = "disabled"; }; + + saradc: adc@2c00 { + compatible = "amlogic,meson-g12a-saradc", + "amlogic,meson-saradc"; + reg = <0x0 0x2c00 0x0 0x48>; + #io-channel-cells = <1>; + interrupts = ; + clocks = <&xtal>, + <&clkc_periphs CLKID_SARADC>, + <&clkc_periphs CLKID_SARADC_CLK>, + <&clkc_periphs CLKID_SARADC_SEL>; + clock-names = "clkin", "core", "adc_clk", + "adc_sel"; + status = "disabled"; + }; }; gic: interrupt-controller@ff901000 { -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel