From patchwork Mon Oct 12 20:52:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11834099 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2EF08697 for ; Mon, 12 Oct 2020 20:52:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 11B39208D5 for ; Mon, 12 Oct 2020 20:52:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="17HX+CBl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731394AbgJLUwe (ORCPT ); Mon, 12 Oct 2020 16:52:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbgJLUwe (ORCPT ); Mon, 12 Oct 2020 16:52:34 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21965C0613D1 for ; Mon, 12 Oct 2020 13:52:34 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id i1so14752125wro.1 for ; Mon, 12 Oct 2020 13:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e+bkzKiAfFdHWo2iBUMur2DQuOMcGF3zo5qvmeIt97g=; b=17HX+CBl3cCBM8alB53y26WgGSoL4yOdOTcjv5H317ipfio7nzX8ecLju5ILpEI5EN VsxVuJSujCOxvw7fq0mDp/2Dgv52ZJTIIQb19saH7DtAo5qpg3tChqg9LVDrjN2Weyvy lAd50rifN+a/W7r/4Or3BhSU4izPchvEdBWItIk5lzLatuRPePwdT1UpdXlSlFQAMnsN YXoq5oXhCvHs4VFJocaCRnFiy6SGJzbou78OKfH604JXyekoYmWvAHnuO9yvrdBNKFN9 rNusTFsKDIRfhZ7KO6P3kiaxVrY5Bo9uaHmuqGTFujq0MzdKrlnAGDU4fENxWa6QHSi1 ZD4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e+bkzKiAfFdHWo2iBUMur2DQuOMcGF3zo5qvmeIt97g=; b=fkYI4ZoOAPZfsFV7fKpB2dH6GOn0pmX2nHC307wMKlXg2Jc8BfxXC/5jssA6p45TGo QPM4wYyAareIr3RcYIPu1/CAqZvf06D5fA8rME93nj+QkF0pk1mSvcfZ2j9vjAJeQHgH K8FislFGJ651MejHo3GMbJH0qxGnH+IaOgfjr5KASUIQDDAgq3Ov/0S2gDAFkmZvOo7X UdtPvNhwLWIVoakwFXbMhzW2SFElcQjTlLyLQQB17plmTuz88sze0bYeJBbK3utXrc7n r4AT8zZnZZnFAl0varXj26C/3rSnSJyaxM2jSpTWP7qPh0FtZGxlnV4AexyveFzhX4kt /IjQ== X-Gm-Message-State: AOAM532XKTkQ8UhCFh71KtTOGjNlQW1xhZc9IUxc96S3/Y6sz2VV7jwJ nqoiOlzIsvR0LUfr9i6NnbP9Bw== X-Google-Smtp-Source: ABdhPJxM+7DnCHKyvrcJBWveKSAlmwc8SbAavQH79tcH238Z72uusz7nKP34YEXTbOsLpmRNUG4YmQ== X-Received: by 2002:adf:df07:: with SMTP id y7mr34659457wrl.347.1602535952752; Mon, 12 Oct 2020 13:52:32 -0700 (PDT) Received: from localhost.localdomain (170.175.185.81.rev.sfr.net. [81.185.175.170]) by smtp.gmail.com with ESMTPSA id o184sm3623936wmo.37.2020.10.12.13.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 13:52:31 -0700 (PDT) From: Fabien Parent To: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org Cc: matthias.bgg@gmail.com, robh+dt@kernel.org, pmeerw@pmeerw.net, lars@metafoo.de, knaack.h@gmx.de, jic23@kernel.org, Fabien Parent Subject: [PATCH 2/2] arm64: dts: mediatek: mt8516: add auxadc node Date: Mon, 12 Oct 2020 22:52:18 +0200 Message-Id: <20201012205218.3010868-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201012205218.3010868-1-fparent@baylibre.com> References: <20201012205218.3010868-1-fparent@baylibre.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Add node for the auxadc IP. The IP is compatible with the one found in MT8173 SoC. Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi index 89af661e7f63..943c426e9aaf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi @@ -470,5 +470,15 @@ usb0_port: usb-phy@11110800 { #phy-cells = <1>; }; }; + + auxadc: adc@11003000 { + compatible = "mediatek,mt8516-auxadc", + "mediatek,mt8173-auxadc"; + reg = <0 0x11003000 0 0x1000>; + clocks = <&topckgen CLK_TOP_AUX_ADC>; + clock-names = "main"; + #io-channel-cells = <1>; + status = "disabled"; + }; }; };