Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2328459yba; Mon, 22 Apr 2019 04:57:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqz80v1JldkJn9fRiHd0UgM+XwKcfFgg/VIpYIJNJ9zDCZ73t/w2ZTJAOEW1hA4j4EJIVQK1 X-Received: by 2002:a62:62c2:: with SMTP id w185mr20019540pfb.237.1555934232049; Mon, 22 Apr 2019 04:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555934232; cv=none; d=google.com; s=arc-20160816; b=0UflPMKRHMdLngIIKR03tTOUFtlY0VMO5smDw0kFrnu2hpVn1OXXyTERfdv7bACGTV wc4leaKUt6YEvwxZWp2Yb7Y6rVG0g40qEY6K40zPWTgneD3Pw/hIaeR9YOQKJMBJyCG4 KuSgFktm8hp6MOjpR5XNUK7zxF8FKUYs6/9pJkdG8GEhFzArvsHO6es/7u/DdLl9vMnz 9SsWXcgpZ20n8oImXprz1DhLCZ60jufo7KUTsKufman/bApDUXsdYOwoda/Lt4y3o40C Lc9KS6v4c/cK+enbbaGAYw4L2hYrogppk/9crOIOmqPD+xaxf7c+PZUgAc+3ALCCcxl4 Jkhg== 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=W9rvgRzooimYUOdaTaknesoXywSBr4I8smyXgFymSf5lLUHKc0wq3Sa9aITgiJumRN QrLojZVYR/Y76GNm2QjGhBgI1qW9v3ffJjMXo522wINL9tFWzjTyDWPkFjwpK7yNvuMN wavUVp2Cm2zA1riHBR8cGf9GaQMooS+ouFDvweNvXmYSanCcXLbcfzFucMwD8wPvovtn 2kgZfpNip98+bCJopdh7RTceukytANq/S3PXWOwAwrlCdAbf2QtCvnsqknR/iBhFbVVv eHtHuJhx5/79I/hZYlwaKAt9u/h7xrq/AkVwV3O0JEvO6FHieQQWjJmFBg9x2n7r8Cyw kpqQ== 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 v8si1300pga.494.2019.04.22.04.56.57; Mon, 22 Apr 2019 04:57:12 -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 S1727359AbfDVLys (ORCPT + 99 others); Mon, 22 Apr 2019 07:54:48 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:40223 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726619AbfDVLys (ORCPT ); Mon, 22 Apr 2019 07:54:48 -0400 X-UUID: 3fb8c62f35f6410c844841045ad5864f-20190422 X-UUID: 3fb8c62f35f6410c844841045ad5864f-20190422 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 686764235; Mon, 22 Apr 2019 19:54:37 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 22 Apr 2019 19:54:24 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 22 Apr 2019 19:54:23 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , , "Zhiyong Tao" Subject: [PATCH 2/2] arm64: dts: mt8183: Add auxadc device node Date: Mon, 22 Apr 2019 19:54:17 +0800 Message-ID: <20190422115417.16751-3-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.12.5 In-Reply-To: <20190422115417.16751-1-zhiyong.tao@mediatek.com> References: <20190422115417.16751-1-zhiyong.tao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: C879486462F215A1E962A281D7EF7468F9E393D9624D6D25E882C56C6C46448C2000:8 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