Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2972yba; Tue, 23 Apr 2019 18:15:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmH7LRjnDmWaacmTQR52R/0sMrTXKLxQbcqw8ahxPqWYnyTCBbPpkJSSqwl4jjXtITgr2/ X-Received: by 2002:a65:654c:: with SMTP id a12mr28059010pgw.101.1556068510141; Tue, 23 Apr 2019 18:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556068510; cv=none; d=google.com; s=arc-20160816; b=YIk4ZzrKKpRsLcp4PLCumBe3rOeHBUmMrfTisc9jqG0iNy+6I7197YBzf8jkUJQ5N6 R8QAX8zuhi7up3nER7Xzan0VUgn6ZZ1YV2tUJSE8ZfCR9Bo9L3pmdegZ/bi5g4clfvR0 EU2wqcNDAjxgXXBFa7AMelA9JKUqdDzYvwvP7eHhGHaaxN+dVfVRwQ6YfXwAo9eddxjc 21w7LoG/MpyWiwdeiOn5/jk38qptdiXoZb/jh+He+461NahHR+82as9lqfhg0lG2zdVC Zzv1sGVSbF3bt6dAbkomPYuJKNED6jmuP+Lac9jCejAxFX0MIqtJPCj6SBHJdDpB8b2O 4FXw== 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=VWSLfsbhquvENBygIVppIPzM0C5DINSj12Dt6H2RGZI=; b=ZynCKsteII6tetz3Gz754pW22aSJYtBBlUY241Oe3rS+URcSWlur1FiAfGf1X1zwsI ZcKPag3TE4hFM4eIoLQNGSXupppaANcvH8C4+TmXGYiLKl1fjJHmlq1KUKmQdKNS/ckd avRr9A7HnYIxxVVak9s18vjJmLP0C0Fur7AMIHjxBlVhu5Mk0xwZP8JVVS+gWI84dCL0 0qTUHrRDdb1wlYc9PfAGV+cw9dCCRtGnTkIsDJPlCcatr+ScIzhhXmH9R2aOR0l3oaTW UWG4rISE9Zo7K4WXYIeCQV7IQ1fC9rjHYoM2Gtl7wSti+72BBhJnVNiwoPFQUeKGF4v1 5cUw== 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 z13si15921119pgp.376.2019.04.23.18.14.54; Tue, 23 Apr 2019 18:15:10 -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 S1729269AbfDXBLv (ORCPT + 99 others); Tue, 23 Apr 2019 21:11:51 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:16651 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726840AbfDXBLu (ORCPT ); Tue, 23 Apr 2019 21:11:50 -0400 X-UUID: 35b5174685464996b71ee893d43300d6-20190424 X-UUID: 35b5174685464996b71ee893d43300d6-20190424 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1716989058; Wed, 24 Apr 2019 09:11:23 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 24 Apr 2019 09:11:22 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 24 Apr 2019 09:11:16 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , , Zhiyong Tao Subject: [PATCH v2 2/2] arm64: dts: mt8183: Add auxadc device node Date: Wed, 24 Apr 2019 09:11:12 +0800 Message-ID: <20190424011112.14283-3-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.12.5 In-Reply-To: <20190424011112.14283-1-zhiyong.tao@mediatek.com> References: <20190424011112.14283-1-zhiyong.tao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add auxadc device node for MT8183 Signed-off-by: Zhiyong Tao --- 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 9b525597e5ec..49909acc6efa 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 75c4881bbe5e..57580d973316 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -269,6 +269,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"; -- 2.12.5