From mboxrd@z Thu Jan 1 00:00:00 1970 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 4940CC4332F for ; Mon, 17 Oct 2022 19:14:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbiJQTOe (ORCPT ); Mon, 17 Oct 2022 15:14:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbiJQTO2 (ORCPT ); Mon, 17 Oct 2022 15:14:28 -0400 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [5.144.164.164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EC96B1C0; Mon, 17 Oct 2022 12:14:23 -0700 (PDT) Received: from cp.tophost.it (vm1054.cs12.seeweb.it [217.64.195.253]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id 3220A1F556; Mon, 17 Oct 2022 21:14:22 +0200 (CEST) MIME-Version: 1.0 Date: Mon, 17 Oct 2022 20:59:49 +0200 From: konrad.dybcio@somainline.org To: Caleb Connolly Cc: Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH v3] arm64: dts: qcom: pmi8998: add rradc node In-Reply-To: <20221017190902.2282899-1-caleb.connolly@linaro.org> References: <20221017190902.2282899-1-caleb.connolly@linaro.org> User-Agent: Roundcube Webmail/1.4.6 Message-ID: <7ac1f02fed4aae6545df62a2c39570e5@somainline.org> X-Sender: konrad.dybcio@somainline.org 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-10-17 21:09, Caleb Connolly wrote: > Add a DT node for the Round Robin ADC found in the PMI8998 PMIC. > > The RRADC reports PMIC die and skin temperatures, as well as > battery/charger thermals. It also reports USB and DC charger voltage > and > current measurements. > > Signed-off-by: Caleb Connolly > --- > This patch introduces a new dtbs_check warning which will be fixed by > https://lore.kernel.org/linux-arm-msm/20221017185105.2279129-1-caleb.connolly@linaro.org/ > > V2: > https://lore.kernel.org/linux-arm-msm/20221017185609.2280067-1-caleb.connolly@linaro.org/ > Changes since v2: > * Remove 'status = "okay";' > > V1: > https://lore.kernel.org/linux-arm-msm/20221016180330.1912214-1-caleb.connolly@linaro.org/ > Changes since v1: > * Change node name from adc@ to rradc@, see linked patch > * Enable the RRADC by default, rather than per-device > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/pmi8998.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi > b/arch/arm64/boot/dts/qcom/pmi8998.dtsi > index 6d3d212560c1..08c9ec2cafa6 100644 > --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi > +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi > @@ -18,6 +18,12 @@ pmi8998_gpio: gpios@c000 { > interrupt-controller; > #interrupt-cells = <2>; > }; > + > + pmi8998_rradc: rradc@4500 { > + compatible = "qcom,pmi8998-rradc"; > + reg = <0x4500>; > + #io-channel-cells = <1>; > + }; > }; > > pmi8998_lsid1: pmic@3 {