From nobody Sat Apr 11 13:56:06 2026 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 133A1FA373D for ; Thu, 27 Oct 2022 06:31:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234615AbiJ0Gbi (ORCPT ); Thu, 27 Oct 2022 02:31:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234305AbiJ0GbK (ORCPT ); Thu, 27 Oct 2022 02:31:10 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE992162503 for ; Wed, 26 Oct 2022 23:30:59 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id 3-20020a17090a0f8300b00212d5cd4e5eso5313582pjz.4 for ; Wed, 26 Oct 2022 23:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pfwc4myKYMtHNH9EOVfJXOc2pPSqLuFVcY0vj1LaWVI=; b=kT1Ch47IE6GzgbikpG5NTRCq9tr5aq0ETpQ1NP6+DTG2i1N7FEpM4kPIPndtmkVzoV aJj24u5XC1996OrZO5aL9he0XEcIlScnvz4tkwF84BkMQVbg59Hdx+CzPZoi14NT0hox s3rorrQOjMD8KtBstHltLWtet9A87qyq52zbdrBisv0HA6EfS9Sqk/oBftg/XEZ6h5QN YPCFF2+p2tkhq3tiv27/zAR1b3wyCKi8jWJc3GAmJ0UzMBN23/r+hMlrHHxE9Gs43E2M 8DJ82cewnQu47yhXoI239xSXpDJ+FO6sRJ+JsvMU6B7cgp+gBUG0t7yexaGA8AelbWFR qCGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pfwc4myKYMtHNH9EOVfJXOc2pPSqLuFVcY0vj1LaWVI=; b=bCbzfdnS28pW7ROVf5Kqs1adKc1wU9T61cbjUI3eZJiLgTNJZSD0uUEUvIQ1gEDqot l/Pz6RLwwftAQjkERvMCj+rjPUZVAaKGIc1cUwkSPC2ACsgTyOd/CVGUxxDI63IwVuhm ELPPCwEnzLUmVa7czvYg1QUQAKnIB5eG1lXiFyRv2bkjI//vpCzCYh/F4BJsy3fcjM4o LLhVlf8w6cJJOZKCJ9GbBkJtV67tlfY/6VlDvN7coLpj1I0mZ03bjbB7ny03qO+Hs1jU t+URqTIGInER6tRdlAboEm4WCNgiggaHAQH6o8G7Qb2RIFoD98uDWdDxN14K10IffQyy Nbww== X-Gm-Message-State: ACrzQf0ndwZH4sUoQ7aA+VZJxBw+Nsir+6EaFal3aSAH2YjHXPSH7oe9 OZYEDm96O2hAL80OxsB0heXt X-Google-Smtp-Source: AMsMyM4ttK2oCFksp82uIH038JpsHoT9q+QPqBKt3gIzAo+/Fwgg/2f4lF92183txAgWI2DxyZKyNQ== X-Received: by 2002:a17:90b:1c02:b0:213:17f1:50a7 with SMTP id oc2-20020a17090b1c0200b0021317f150a7mr8267703pjb.138.1666852259377; Wed, 26 Oct 2022 23:30:59 -0700 (PDT) Received: from localhost.localdomain ([117.193.208.123]) by smtp.gmail.com with ESMTPSA id i126-20020a626d84000000b00561d79f1064sm446041pfc.57.2022.10.26.23.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 23:30:58 -0700 (PDT) From: Manivannan Sadhasivam To: andersson@kernel.org Cc: konrad.dybcio@somainline.org, 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, Manivannan Sadhasivam Subject: [PATCH 09/11] arm64: dts: qcom: sc8280xp-x13s: Add PM8280_{1/2} VADC channels Date: Thu, 27 Oct 2022 12:00:04 +0530 Message-Id: <20221027063006.9056-10-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> References: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 slave PMICs PM8280_{1/2} and exposed them 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/a= rch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 9ac5d5c22832..d300d217fdc6 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/; =20 #include +#include #include #include =20 @@ -189,6 +190,66 @@ pmk8280-xo-therm@44 { qcom,ratiometric; qcom,hw-settle-time =3D <200>; }; + + pm8280-1-die-temp@103 { + reg =3D ; + label =3D "pm8280_1_die_temp"; + qcom,pre-scaling =3D <1 1>; + }; + + sys-therm1@144 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + sys-therm2@145 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + sys-therm3@146 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + sys-therm4@147 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + pm8280-2-die-temp@303 { + reg =3D ; + label =3D "pm8250_2_die_temp"; + qcom,pre-scaling =3D <1 1>; + }; + + sys-therm5@344 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + sys-therm6@345 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + sys-therm7@346 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; + + sys-therm8@347 { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + }; }; =20 &qup0 { --=20 2.25.1