Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2012704pxb; Wed, 9 Feb 2022 09:05:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwcagk33A6HJ4Ex3EGC+QzS019jXy2DUjzNOAjJSdylFQbVLx3AlIAypOZIEZQPOjdhlpo X-Received: by 2002:a17:90a:a385:: with SMTP id x5mr4408572pjp.129.1644426339763; Wed, 09 Feb 2022 09:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644426339; cv=none; d=google.com; s=arc-20160816; b=Fizq5w6VOK1TJNy2dUDD7IjuoQQFXwjP8a/mdzuS1V7y91D00FZoqk6/DAvlPY7L2c l+ySdgVpHJ3x5mXOHqaoTfTdUDyl6pd5RjzWCcf4Dsptjwfb4lfY9iijkxBIbheulTKL cAiL+uhzc/dAkf3ph3CBaoKSTNIFy/xa2XM+aNaH9IuSZ+hxE7TDjhgeTuyezubVVR2n YHko/rpEo4zfnAL+Gq2QDC3AtxDTRn1siIQDvW21nVRTZDgWgB1uZggcXC0QmF8QFPiz zLtWlPTDG8tvtwiUf2FPKSkUGURS+DgQaWy6I7P5qyiwVN7POa/+AnCHiKkfh/bUtoP3 DOFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature:dkim-signature; bh=BB63Yk6PU0uzJW9hg1lkMTJtA+olmom/DTUrgtp9UJg=; b=ksSvpauClnCtJxZOHuCUbj0u07Jnue0tuneGjmsHymY7KzgODDQUKc8cNLVTF0YS0W dR/Bbjh3nTVNph8j8WB860ty+ORcIT9TFNTKRmkDMIAc15OaijwJiNM+VsHwJArtL8jO Km4V6DU5fUfUnyA//gugAZw8RkVAtfJW+b0mWKLXzBBfkPckDfPtmkjDbYx2yJTIs1e/ 9kf207C3cI6CXyvCQgLj4+b7S4tQoI/O2on6Fy/A+enW6RgxJU3CqO6dkea4IJZKbWDj UjLh+KjmPHAw/tf5wc9wf8IvujIOFqHJxMrQlfgDQn2VL6h6K06ZfTodcY2vVoIwNAp+ JJFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ansari.sh header.s=default header.b=HhgmD688; dkim=pass header.i=@ansari.sh header.s=default header.b="OJP8/Up+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ansari.sh Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 189si17889770pfv.295.2022.02.09.09.05.26; Wed, 09 Feb 2022 09:05:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ansari.sh header.s=default header.b=HhgmD688; dkim=pass header.i=@ansari.sh header.s=default header.b="OJP8/Up+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ansari.sh Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237050AbiBIQcJ (ORCPT + 99 others); Wed, 9 Feb 2022 11:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237020AbiBIQcG (ORCPT ); Wed, 9 Feb 2022 11:32:06 -0500 Received: from fwd1.porkbun.com (fwd1.porkbun.com [52.10.174.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19209C0613C9; Wed, 9 Feb 2022 08:32:10 -0800 (PST) Received: by fwd1.porkbun.com (Postfix, from userid 497) id 274F2419C6; Wed, 9 Feb 2022 16:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=default; t=1644424329; bh=BB63Yk6PU0uzJW9hg1lkMTJtA+olmom/DTUrgtp9UJg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=HhgmD688bBdGMNu0q7R44cHzsgbmgQ+LZ4wx+FVsq0T7bHHcymMdd08zt/4+ZJKQW Ajbmsrv+GXrWwAzJ9DtuutGLg7fG4m32KMql4B7XOQ0ca4ndVr7oFv1quqY3XvoYzX KEVWmEFAcsBtyxLRlv8gJz89KrEVsbwT6NSoT9v0= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 Received: from webmail.porkbun.com (unknown [35.86.129.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: rayyan@ansari.sh) by fwd1.porkbun.com (Postfix) with ESMTPSA id 9C9D342CD1; Wed, 9 Feb 2022 16:31:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=default; t=1644424310; bh=BB63Yk6PU0uzJW9hg1lkMTJtA+olmom/DTUrgtp9UJg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=OJP8/Up+Q3+FI2y122Fa4EYtLZ4Ym0VZJ6NEZ0Sr+rCVwxZdaHlP4csqqp30lVkBk //nDTRyu1jyIkWKDT93RmcOEY3RAkPTshrZuEju9vhQYmDr8JAet2yZtpnt+YW+F3b 88Hj+K6ncGfOq8T+6m0xlZYLb8fnSd86ZTM/r6kQ= MIME-Version: 1.0 Date: Wed, 09 Feb 2022 16:31:49 +0000 From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: qcom: pm8226: Add VADC node In-Reply-To: <20220207174933.20909-1-rayyan@ansari.sh> References: <20220207174933.20909-1-rayyan@ansari.sh> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <506ae7e105b6f4f88e13e226aee060ea@ansari.sh> X-Sender: rayyan@ansari.sh Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-02-07 17:49, Rayyan Ansari wrote: > Add a node for the voltage ADC (VADC) found in PM8226. > > Signed-off-by: Rayyan Ansari > --- > arch/arm/boot/dts/qcom-pm8226.dtsi | 33 ++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi > b/arch/arm/boot/dts/qcom-pm8226.dtsi > index b3d0f7b5874d..a651b4c941b8 100644 > --- a/arch/arm/boot/dts/qcom-pm8226.dtsi > +++ b/arch/arm/boot/dts/qcom-pm8226.dtsi > @@ -40,6 +40,39 @@ smbb: charger@1000 { > chg_otg: otg-vbus { }; > }; > > + pm8226_vadc: adc@3100 { > + compatible = "qcom,spmi-vadc"; > + reg = <0x3100>; > + interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; > + #address-cells = <1>; > + #size-cells = <0>; > + #io-channel-cells = <1>; > + > + adc-chan@7 { > + reg = ; > + qcom,pre-scaling = <1 3>; > + label = "vph_pwr"; > + }; > + adc-chan@8 { > + reg = ; > + label = "die_temp"; > + }; > + adc-chan@9 { > + reg = ; > + label = "ref_625mv"; > + }; > + adc-chan@a { > + reg = ; > + label = "ref_1250mv"; > + }; > + adc-chan@e { > + reg = ; > + }; > + adc-chan@f { > + reg = ; > + }; > + }; > + > pm8226_mpps: mpps@a000 { > compatible = "qcom,pm8226-mpp", "qcom,spmi-mpp"; > reg = <0xa000>; Ignore this patch, I forgot to include a header.