Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3563931ybi; Mon, 27 May 2019 02:06:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpc3CQ6d8hvtZo7sL6qQ7d8Xei1pbEZdtbu3vjTYVGXvt8dtd5wenMvJEYvbDfFOBm2u1j X-Received: by 2002:a17:90a:db07:: with SMTP id g7mr20612412pjv.48.1558948013933; Mon, 27 May 2019 02:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558948013; cv=none; d=google.com; s=arc-20160816; b=JdDJ1AjdBC31T6WGQT6czuq1sX6tAVfw32urUokjwYJN1hEYbua/LlsP/hQWUh54/X 9o46mo3iwY1xW38g/hoEfTWtIRqztM9cDVOv7n8xjVc2GZS6qwZhfcNirXymBaoqH0Fv 6UNbvB3TrHaCTfAtguof4wJpUVHPegPc8gJtnq+AJtyszHrOfLHp71LBeeFlE4PsFNr3 vd+9Ubnzd5rYxePq7WNSNkUGCXBSwWY18kY7vkmNNYclgyHmz0ATAcyz7CKPsGhca/GL uXj4iVKNrvkou4i01po4aq2y1BzhZ4rqts+01Nda1GMMGLTMv9O81d4YSM5Tz/WcxZnQ GkOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=F8GIKRY3gfo0+JJi5Y78pgGPglgkcJE0Jj+oHvmMK4g=; b=QpoPDHuLQmz/sZM9BT9VdyJ1l3IvBLoAmzyxFZ7E6naleB3V8ysLh1lpVqfnPQzv7i LauguJWCip7SQyKAJ5Zkj4Ic42CkjvXquqMSsuyLzcDTqV3mhS4npYG7yzwIV5QyaT+2 5MdfVxUtmWRhyjfgMNNh+EmqlGqVsfVD55TkFUdCFd+4ymWg7MO5jYYnm4OLAoO2F2pq i1IAkKQlrmkow0Qg4ikYP20yx9lxk2Nge9C0ZE6RTg+lirKlF1u4nY4VJRwrrUCqkSqi riQEA0faXf7DSog7RJWHg6jh4n96bz4N0NPsQuqHjtS/TMYEYPrCz0QFWJeTnZClwrPv k7pQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u143si18840374pfc.203.2019.05.27.02.06.37; Mon, 27 May 2019 02:06:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbfE0JF1 (ORCPT + 99 others); Mon, 27 May 2019 05:05:27 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:5242 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726071AbfE0JF1 (ORCPT ); Mon, 27 May 2019 05:05:27 -0400 X-UUID: e728d218b57b4afb849db300589e8f9e-20190527 X-UUID: e728d218b57b4afb849db300589e8f9e-20190527 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1800965651; Mon, 27 May 2019 17:05:18 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 27 May 2019 17:05:16 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 27 May 2019 17:05:16 +0800 From: Erin Lo To: Matthias Brugger , Rob Herring , Mark Rutland CC: , srv_heupstream , , , , , , , , Zhiyong Tao Subject: [PATCH v11 4/6] arm64: dts: mt8183: Add auxadc device node Date: Mon, 27 May 2019 17:04:45 +0800 Message-ID: <1558947887-31084-5-git-send-email-erin.lo@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1558947887-31084-1-git-send-email-erin.lo@mediatek.com> References: <1558947887-31084-1-git-send-email-erin.lo@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 86344F063E3902451D494428EC4852C3D770CB4FF77B6F9EFE88C0BD1F55C02B2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhiyong Tao Add auxadc device node for MT8183 Signed-off-by: Zhiyong Tao Signed-off-by: Erin Lo --- This patch is based on patch "https://patchwork.kernel.org/patch/10913941/". --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index 9b52559..49909ac 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -26,6 +26,10 @@ }; }; +&auxadc { + status = "okay"; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index e74ea21..5672c18 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -245,6 +245,16 @@ clock-names = "spi", "wrap"; }; + auxadc: auxadc@11001000 { + compatible = "mediatek,mt8183-auxadc", + "mediatek,mt8173-auxadc"; + reg = <0 0x11001000 0 0x1000>; + clocks = <&infracfg CLK_INFRA_AUXADC>; + clock-names = "main"; + #io-channel-cells = <1>; + status = "disabled"; + }; + uart0: serial@11002000 { compatible = "mediatek,mt8183-uart", "mediatek,mt6577-uart"; -- 1.8.1.1.dirty