Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp624073rwj; Sat, 29 Oct 2022 08:16:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/xWmXXozJVAPHc8FVB1VIN5fIRm/XWFTEh/0kFafeVA5uk6nTU79ij01BdJizlEnXpgB3 X-Received: by 2002:a05:6402:50d4:b0:461:e349:56b2 with SMTP id h20-20020a05640250d400b00461e34956b2mr4841793edb.17.1667056613801; Sat, 29 Oct 2022 08:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667056613; cv=none; d=google.com; s=arc-20160816; b=Vihm7ajFi+DfQ1tiL4+jp6S37rueppQLHJyFL6k7/F9E7L0rS5rj5vOHoI7WDojxj9 ttdLysl/1oTxMt+5Y38rYwSf1P8zuICElFNV36L7ohOEUuAQjI6xGN8jeDoGfjaBXOC8 TrfUqMem/r92DU6AongQnieu7UUja5omPNw6+1z6yW9WaT6rlYp75h2zHPA28ZEtbx4o 9uKR+tjBv9PiXFg6zQZtAlc5OXv8vv3iVDCX+0+YkNNllHU9XFKtWDNfFV9lW34c93y6 KSU3Hnp0avbiL+CQDlvwGkAwqkF6erOtCl/NWJYlIfCVyWNsob38pgzc6FeowIjpy+il xk0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=9Rsv0M3tJKbGvTnYlOVmTna7dZxedE9NDK4pfzFeszI=; b=QZtwgQ6FpHZw6q52dafKstVgbEQ37Gzi+gLF7Si4HR4t7vws3MudCgHY9Qa7VBEcHr Dq+DhM0Gr1bbUuKjmxWG/+sZnG0UIzRniFdJsyi12r0Iih7YzQ+ZHvz+5I/uj97LUfev sso1JICCHGcJkaCHLqehAXAxndF8KwO09cV3rPY4n5HNZYRU4zwhSPnue/zmhfFsFBVY rlR1sZkveJz+XceUym7NrzCMLmGkLd7HtId35G1EWjXHoNqIx1UEgsKJFr5BWN+sJL+u hFGa7P5bXcPrtBP83i+zALjoXrVMrhfDesBgBHS1Lm2043HJWWFpuOeT7d/IRSE3GAGB vRdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t18-20020a1709063e5200b0079330b37fb6si1279117eji.880.2022.10.29.08.16.28; Sat, 29 Oct 2022 08:16:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbiJ2OW4 (ORCPT + 99 others); Sat, 29 Oct 2022 10:22:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiJ2OWd (ORCPT ); Sat, 29 Oct 2022 10:22:33 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [IPv6:2001:4b7a:2000:18::168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 724F74BD1D for ; Sat, 29 Oct 2022 07:20:08 -0700 (PDT) Received: from [192.168.1.101] (95.49.29.156.neoplus.adsl.tpnet.pl [95.49.29.156]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 784D93EBD1; Sat, 29 Oct 2022 16:20:06 +0200 (CEST) Message-ID: <0cc72f64-808d-c277-946f-40faf2ea84fc@somainline.org> Date: Sat, 29 Oct 2022 16:20:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v2 09/12] arm64: dts: qcom: sc8280xp-x13s: Add PM8280_{1/2} VADC channels Content-Language: en-US To: Manivannan Sadhasivam , andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, johan+linaro@kernel.org, quic_jprakash@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, steev@kali.org References: <20221029051449.30678-1-manivannan.sadhasivam@linaro.org> <20221029051449.30678-10-manivannan.sadhasivam@linaro.org> From: Konrad Dybcio In-Reply-To: <20221029051449.30678-10-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29.10.2022 07:14, Manivannan Sadhasivam wrote: > Add VADC channels of PM8280_{1/2} PMICs for measuring the on-chip die > temperature and external thermistors connected to the AMUX pins. > > The measurements are collected by the primary PMIC PMK8280 from the > secondary PMICs PM8280_{1/2} and exposed over the PMK8280's VADC channels. > > Signed-off-by: Manivannan Sadhasivam > --- > .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts > index 18315743313b..250e1489f029 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts > @@ -7,6 +7,7 @@ > /dts-v1/; > > #include > +#include > #include > #include > > @@ -189,6 +190,66 @@ xo-therm@44 { > qcom,ratiometric; > qcom,hw-settle-time = <200>; > }; > + > + pmic-die-temp@103 { > + reg = ; > + label = "pm8280_1_die_temp"; > + qcom,pre-scaling = <1 1>; > + }; > + > + sys-therm@144 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; As I mentioned in the previous patch, maybe swapping the order of these two properties would make it look better, but of course that doesn't affect functionality. Reviewed-by: Konrad Dybcio Konrad > + }; > + > + sys-therm@145 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > + > + sys-therm@146 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > + > + sys-therm@147 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > + > + pmic-die-temp@303 { > + reg = ; > + label = "pm8250_2_die_temp"; > + qcom,pre-scaling = <1 1>; > + }; > + > + sys-therm@344 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > + > + sys-therm@345 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > + > + sys-therm@346 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > + > + sys-therm@347 { > + reg = ; > + qcom,ratiometric; > + qcom,hw-settle-time = <200>; > + }; > }; > > &qup0 {