From patchwork Thu Jul 18 08:01:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "zhiyong.tao" X-Patchwork-Id: 11048633 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 349FC112C for ; Thu, 18 Jul 2019 08:01:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21801287CC for ; Thu, 18 Jul 2019 08:01:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 159AA287CF; Thu, 18 Jul 2019 08:01:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C165A287CC for ; Thu, 18 Jul 2019 08:01:43 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=GcthsAATWklj5JbVB6/wyvh4ZIyiUmaDQYt3VaWBzn4=; b=uo0bab4luj+ApV MCZuF+zkAsAaUGU6S+SXAKx4AwP5ekY1VAT9/melz3vBm0plbQNQY3bP7/qn0DKGMhZOJYaBslFxK 960Dl2dUHXtK3psSqmcXEqoL2Bv8YnenxuNkpCOU1rwe2yhtYll0XbeBEdrfNuuhWn1MGXZS1P+Q2 jI551sxTrqJqOXU/2TO8gLo+ZgrfcFZ/1iOvpPxRfenF6sruLfdmpQs7yU0M1yW3KeIpt39xB1Hiq yvVa8SBgDnAK3IOF5i8s3XB5FgtAZWjU2NjoRoshBIuMIP1+Axkfn7XoznY4mEMrPfF7hq5bIrd7w ot6Mm1jgVevT2x9+xG9A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1ho1ME-0000xU-51; Thu, 18 Jul 2019 08:01:42 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1ho1M9-0000vw-H9; Thu, 18 Jul 2019 08:01:39 +0000 X-UUID: 6ad5c864ddc6460fb00fae8c4852cdaa-20190718 X-UUID: 6ad5c864ddc6460fb00fae8c4852cdaa-20190718 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1877761854; Thu, 18 Jul 2019 00:01:34 -0800 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 18 Jul 2019 01:01:32 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 18 Jul 2019 16:01:25 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 18 Jul 2019 16:01:24 +0800 From: Zhiyong Tao To: , , , , Subject: [PATCH v1 1/2] arm64: dts: mt8183: auxadc: add efuse information in device tree Date: Thu, 18 Jul 2019 16:01:18 +0800 Message-ID: <20190718080119.30707-2-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.12.5 In-Reply-To: <20190718080119.30707-1-zhiyong.tao@mediatek.com> References: <20190718080119.30707-1-zhiyong.tao@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190718_010137_592735_FF06C1E3 X-CRM114-Status: UNSURE ( 7.88 ) 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: devicetree@vger.kernel.org, sean.wang@mediatek.com, srv_heupstream@mediatek.com, linux-iio@vger.kernel.org, Zhiyong Tao , erin.lo@mediatek.com, hui.liu@mediatek.com, linux-kernel@vger.kernel.org, sj.huang@mediatek.com, linux-mediatek@lists.infradead.org, eddie.huang@mediatek.com, matthias.bgg@gmail.com, yingjoe.chen@mediatek.com, jg_poxu@mediatek.com, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The commit add add efuse information in device tree Signed-off-by: Zhiyong Tao Signed-off-by: jg_poxu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index c2749c4631bc..59b4f3d933b5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -261,6 +261,8 @@ clocks = <&infracfg CLK_INFRA_AUXADC>; clock-names = "main"; #io-channel-cells = <1>; + nvmem-cells = <&auxadc_calibration>; + nvmem-cell-names = "calibration-data"; status = "disabled"; }; @@ -382,6 +384,9 @@ compatible = "mediatek,mt8183-efuse", "mediatek,efuse"; reg = <0 0x11f10000 0 0x1000>; + auxadc_calibration: auxadccali@1b4 { + reg = <0x1b4 0x4>; + }; }; mfgcfg: syscon@13000000 {