From patchwork Fri Dec 23 19:34:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 13081096 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16CF3C4167B for ; Fri, 23 Dec 2022 19:41:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232894AbiLWTlz (ORCPT ); Fri, 23 Dec 2022 14:41:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232753AbiLWTlx (ORCPT ); Fri, 23 Dec 2022 14:41:53 -0500 X-Greylist: delayed 414 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 23 Dec 2022 11:41:52 PST Received: from out-232.mta0.migadu.com (out-232.mta0.migadu.com [91.218.175.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8F3220BF0 for ; Fri, 23 Dec 2022 11:41:51 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1671824095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cuo2mCxNwzlaaPMVGjwAgwxjj9yvcLc2q0fziXRbFVU=; b=NeIx+4APL6Bbg5KKboUjBG2eMNXJamoYBXirkOAWVHWdr5z58oL0yA1l2v/nNg/Vn43YVS VcEuaxYCoir6rAKF9EQk1ZNgSTPYJzQVmgHffQICsaZh/P1+KAxDQ5hDBWALfLdtUGUHxV K2WaUZukdiczgakdeTuyhv3d2vXkkwE= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] ARM: dts: qcom: pm8226: add IADC node Date: Fri, 23 Dec 2022 19:34:03 +0000 Message-Id: <20221223193403.781355-4-rayyan@ansari.sh> In-Reply-To: <20221223193403.781355-1-rayyan@ansari.sh> References: <20221223193403.781355-1-rayyan@ansari.sh> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a node for the current ADC (IADC) found in PM8226. Signed-off-by: Rayyan Ansari --- arch/arm/boot/dts/qcom-pm8226.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom-pm8226.dtsi index 403324a35cf5..82470549f240 100644 --- a/arch/arm/boot/dts/qcom-pm8226.dtsi +++ b/arch/arm/boot/dts/qcom-pm8226.dtsi @@ -88,6 +88,12 @@ adc-chan@f { }; }; + pm8226_iadc: iadc@3600 { + compatible = "qcom,spmi-iadc"; + reg = <0x3600>; + interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; + }; + rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>, <0x6100>;