From patchwork Sat Oct 29 05:14:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 13024512 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 48CCDC38A02 for ; Sat, 29 Oct 2022 05:16:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229938AbiJ2FQe (ORCPT ); Sat, 29 Oct 2022 01:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbiJ2FQH (ORCPT ); Sat, 29 Oct 2022 01:16:07 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F2DE1867BA for ; Fri, 28 Oct 2022 22:15:55 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id 3-20020a17090a0f8300b00212d5cd4e5eso11628257pjz.4 for ; Fri, 28 Oct 2022 22:15:55 -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=oG+CRaVcqYBbm4D8Yfx9jHp7jDERA+/Wzp95brL2NNE=; b=pcDQZczNVmyzX7iGp8KQ6mKNbirS/2sewuyCEzhqgxSUsicd/GOQF8ZEKKL3UdwT4l j9gJJJjsXtPFyLLdPJKUFgWTXrEQbVf0X9w7q4P4Oor5V+ckElY0Hof7xgo6MUx4qt6R +QDhO2s8/b3wp/rjpmB9rmLNoPxJDyuVZO5EqAewJxsKP3zzK5+z85EPkHX+3a58k0Tr W6AGPqj8zLU5U2AsbR+Ta5azL3PWIStkGjZycej1OyMjbjkEhTVp9N7nrkPcoP24zVVJ CshMUW3dZ7al3JqGaxxuz68tcFyyfdndCHUN37oibrA9ZSCAvC5q3Bl5rqks8RA4zBba 3iEA== 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=oG+CRaVcqYBbm4D8Yfx9jHp7jDERA+/Wzp95brL2NNE=; b=1e3mEKDL/QDJolBts2AiQ92KmBziGiFArioKe4OIwoK4voeYjvpXrVcmJ1Q+PCZHMw cMx2RzqWENm35RERIczGzoPP7PWbYxeCl9jRs5gb2+F0B23egiJCeLYXqXfelnvdRY/V AdBcWrfnol/3nBEwS5sTal/YQ84IEC4tecng48pd5J9m6hUOJl7WPQ1MBtv+9BKT0fE6 hdyia6bLJ2USTlFMw8osfYhmu4xi7oh/xPmnHu+00f0UrSBpdtLyYdKcHTjvVbrkBjiA EisRc+AbYxXorLdiIH/FrsGyH8HImEk0/SNdTvCooKkEW31r3fE0XCshB4fyzXtj3BZx WXzQ== X-Gm-Message-State: ACrzQf0b897P2+PF/MrDMQIYa9DCR9/AvBWDCoRG2TbUdTs98H+FnhqZ I+wKh7dYsaArp9YLRXL0pb08 X-Google-Smtp-Source: AMsMyM5OWmnofo49Y+/SzTJA6D32lPWyPowypy7DwSlYUTAqiTHXn/8CO46xXpc2f1+KpDMyR/OqcA== X-Received: by 2002:a17:902:c7c4:b0:186:5ebe:38e with SMTP id r4-20020a170902c7c400b001865ebe038emr2685918pla.33.1667020555301; Fri, 28 Oct 2022 22:15:55 -0700 (PDT) Received: from localhost.localdomain ([59.92.103.167]) by smtp.gmail.com with ESMTPSA id f5-20020a170902ce8500b0017e9b820a1asm363150plg.100.2022.10.28.22.15.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 22:15:54 -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 Subject: [PATCH v2 10/12] arm64: dts: qcom: sc8280xp-x13s: Add PMR735A VADC channel Date: Sat, 29 Oct 2022 10:44:47 +0530 Message-Id: <20221029051449.30678-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029051449.30678-1-manivannan.sadhasivam@linaro.org> References: <20221029051449.30678-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. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- 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 250e1489f029..9545b471c2fa 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-therm@347 { qcom,ratiometric; qcom,hw-settle-time = <200>; }; + + pmic-die-temp@403 { + reg = ; + label = "pmr735a_die_temp"; + qcom,pre-scaling = <1 1>; + }; }; &qup0 {