From patchwork Thu Nov 3 07:09:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 621456 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 0B046C433FE for ; Thu, 3 Nov 2022 07:11:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbiKCHLD (ORCPT ); Thu, 3 Nov 2022 03:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbiKCHKc (ORCPT ); Thu, 3 Nov 2022 03:10:32 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C2072A2 for ; Thu, 3 Nov 2022 00:10:25 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id q9so845121pfg.5 for ; Thu, 03 Nov 2022 00:10:25 -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=ao59MJL2Kd8o80aS64wARpotwSK9xLqDNm1aBbrm0cs=; b=LpEscd7L3VKq5cj6auHwpXvO8RAtA2t6bdHnTsYVJr0XeOMBi8xLVvIitz5/FzjGuw 21hd5arRPpB7oiNrgajxM2yiuMtAqkp4rINnnw0T7/0ErdxxE4fVh8lUc2v6g0d8jFpd CVjBkrBTjVmDrLGEmBcAnrWEv7kxzk/hP8f15J9HK4ogBOQrwmvlYj8NPdTxJ9rQNXPx UTvsWRwQ7/oEa6/u94UgZ0O3meZkHywlRBJKHsKvadFATT/efCCNr2t5yPyt4hF1lqcq LWvuz6XhifC7/JCCNDAayNIAZ3DxEW7AsMLGa2j4JiL94L4TK4bAtZET+rjl8CuwEgh1 3wBQ== 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=ao59MJL2Kd8o80aS64wARpotwSK9xLqDNm1aBbrm0cs=; b=CmsoKtRsbxib2WtfR/tbRSUArRZNBSltFtfZgY4R4iYBEkDpIzAAu2wjQ30xMFqUJf M1v9j8vUwTc14askksU41ToB1pXz1K9GgWeGncJzbG+rFOY2ClNem29kHON2k0XftcWx KOWRefT+2lYnq1j2K+1nBN/7CvNIjNQLUnPIAGmrC7AH0xRUotYoPRkVyhezYDFiRLIT I9DSWR8xTojGI9k4adCf7pEfJ6gyafhxz3kkCbbcSrR+vUbZ3O6YBYVDgeOhI5bnPReu UqPfH8vLquSrMV5PZNUYVQbsG0mZkjXEoxVzOMDzBM4NDZm6+QJ8tuaGB1H4bBDHcMpg ZtXg== X-Gm-Message-State: ACrzQf3QjDNBSCmcI4ZV0x0e1K8TZhAwcNtSAxPD1KUsgmVwNJVJs1o1 m9vX2qrWfiayXed/YpallrWz X-Google-Smtp-Source: AMsMyM7C9a8vYOBzBDKVCcfO/NYdAX1blzj5mIJ+wkScFIp24c6vNl2MWxoOwxHpC3y1WlpENV7Cig== X-Received: by 2002:a63:de46:0:b0:46e:c3bd:e47d with SMTP id y6-20020a63de46000000b0046ec3bde47dmr24529585pgi.609.1667459424801; Thu, 03 Nov 2022 00:10:24 -0700 (PDT) Received: from localhost.localdomain ([117.193.208.64]) by smtp.gmail.com with ESMTPSA id s9-20020a170903214900b00186748fe6ccsm9451244ple.214.2022.11.03.00.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 00:10:23 -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, steev@kali.org, Manivannan Sadhasivam , Krzysztof Kozlowski Subject: [PATCH v3 10/12] arm64: dts: qcom: sc8280xp-x13s: Add PMR735A VADC channel Date: Thu, 3 Nov 2022 12:39:09 +0530 Message-Id: <20221103070911.20019-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221103070911.20019-1-manivannan.sadhasivam@linaro.org> References: <20221103070911.20019-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add VADC channel of PMR735A for measuring the on-chip die temperature. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 7 +++++++ 1 file changed, 7 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 bb96c350eb09..d0077c7a7a6e 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -9,6 +9,7 @@ #include #include #include +#include #include #include "sc8280xp.dtsi" @@ -250,6 +251,12 @@ sys-therm8@347 { qcom,hw-settle-time = <200>; qcom,ratiometric; }; + + pmic-die-temp@403 { + reg = ; + label = "pmr735a_die_temp"; + qcom,pre-scaling = <1 1>; + }; }; &qup0 {