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: 11834221 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 A1CFE1580 for ; Mon, 12 Oct 2020 21:06:59 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5320F206DC for ; Mon, 12 Oct 2020 21:06:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aXan1L7s"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="17HX+CBl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5320F206DC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=21LPx7X+X7vLzlYYGJjL6mp8Oe/0a/x16no5EohK1ds=; b=aXan1L7sqoY1N9Gl7AH23Qyo3 90CtNbPgP6fZNzCNYiBguM2u9RcP8ECwLx7xQ5yspMWcCe1fY6xKtAb2h9cubh3KD/nHPgAKs/ue9 oMb6o0TocUr9ftvhWKQ82ulIkH/WvLPRqZBFDXe+79Q9smYuUOZKAsktUy6JVVp5Iw8YY81Ks6MFd GWm34tKgeDar4fy1N4x/Yz2yznbHzHyi14Eq6cqDBZMvD4HaIjVp6pG8JJWJSSbDBrT1OtWQnH3T8 Od5VUQVDCNPFIZQ96gVOqCuQgW/wrJk3SKywUCSTXxuzvDhFnWvgYCZTEeUJC8IAzsCYcGuq8napP W1eHdd8NQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kS51d-0004L6-Tg; Mon, 12 Oct 2020 21:06:34 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kS4o7-0006Ml-RA for linux-arm-kernel@lists.infradead.org; Mon, 12 Oct 2020 20:52:38 +0000 Received: by mail-wr1-x441.google.com with SMTP id y12so15504348wrp.6 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=TXoVereIEYG3OP0Okiwf8SZglbXJD4kV9BQLSPCinAdFVMU3Lj8PbRHrkbNaI2giMI nhBmUv9j2zDn+SKajOop1EnPjIl7N1Qg72PFKEV0oSTEtiDIHtYrHvRrrfPss120ET1A C1afoimLEF6c1GaIb3Fd491gM94S9xt7EPTBmdwTgCvD1keFb7wV2Kc95pIDisBa1ri3 IKjTJQKrOd4C7zAZA+qF+Z52GBKRGLoFpJd/1yLSCL4BFNpW95p2U6ngsNtvn1RWjc1n piKm8bGaf+j/bJTfIDV7Ti22XII6bh/qc2nMXvMvc/M280F+bClsYNGwxH7zb2Fpnzgz 3Jig== X-Gm-Message-State: AOAM531jko/6bLA/vC7FNn7Jtx08NRiN8IKvAMIRsjnZeVAIVCTVBvEA kwQTv+fW4RQWg3xfGiajcI1bbsSImCfmdpw5 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201012_165236_228834_4B69D6A3 X-CRM114-Status: GOOD ( 13.12 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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: lars@metafoo.de, Fabien Parent , robh+dt@kernel.org, pmeerw@pmeerw.net, knaack.h@gmx.de, matthias.bgg@gmail.com, jic23@kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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"; + }; }; };