From patchwork Thu Nov 3 09:58:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 14803 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp427070wru; Thu, 3 Nov 2022 03:01:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Fr0JYT+6R5NvLWxip7S9oHK5lrimJJ0nRVMXU0vKMby4dKhoRCWpK9YgBlR9oYLT/GQOJ X-Received: by 2002:a63:2c0b:0:b0:434:ebb6:7594 with SMTP id s11-20020a632c0b000000b00434ebb67594mr24728912pgs.245.1667469680853; Thu, 03 Nov 2022 03:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667469680; cv=none; d=google.com; s=arc-20160816; b=tZO2KfwEeNvwdZ4vLEkcohNGigJ4Cum8wiRS+PvhxYvaJcUy2/2wUA4uUUJDa3VkR5 g1/0PASGxUti8XE8J4FicceNhBlkjhJT0weRMW5EMJWUVs76ifamkFJfsOul+pKHbQ6M a0yUmYinKAyBjlqfOWh5Rl0LuU3NuaWES21+vq8c2pqZZg5M6wF6nZ0lEXPJllZXdooL Va2hVsE0m8KmnF6OIc2YVCNxIQMpbfE1XQK6z9WvljM+TrMjoSKdevPQEnF/a4Lao+K5 JP8LP0j9iD5W5Jl6zRROUVCNIZ7h8U1fXidLcroclmjziqZIVDnZ2VN+sNZJiDfDwmvu /OjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ovGmWGEFek9qXG4TFGL3Y1HZ+FQHWFsyzBtE4ZTGMB8=; b=JOKbGgH3tmZkU5V9gxEv9mBp0GTuNT8F9HRPoHonph0ykiBaoI32dzRFsmr8c8Is7R RQf317WshSo9YNQ0W0iDTCo81g2FjeaB0ndQqDkt0FEKeGAnvXZhpqvYuxhdxUjRLhu8 yTFdhkglHMyePjnF4a684l64hZ0NrECyuiS9sTMjiBi/jGlltgRrTcHHDLbEwIGwxG0i A9urI0jcL0jfGtPOOQHwTELQ2Kh21+kBNtbDQPHr7V9Bn46l0WDNUAgliv7vTalCViDS BqJN7n1l9lHLq32NbBoxhzZ7LOmjnPajpI0UM7cib90OAFK/p20ckxp62CuNqU5Vm7eT AmlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ukcoVkO4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 202-20020a6306d3000000b0046ed15a820fsi554407pgg.672.2022.11.03.03.01.07; Thu, 03 Nov 2022 03:01:20 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ukcoVkO4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbiKCJ7t (ORCPT + 99 others); Thu, 3 Nov 2022 05:59:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231478AbiKCJ7V (ORCPT ); Thu, 3 Nov 2022 05:59:21 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64B3A10B50 for ; Thu, 3 Nov 2022 02:59:20 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id g24so1438204plq.3 for ; Thu, 03 Nov 2022 02:59:20 -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=ovGmWGEFek9qXG4TFGL3Y1HZ+FQHWFsyzBtE4ZTGMB8=; b=ukcoVkO49m8jT3BkxxfryDEtJyfySYuJTObNq/6Fc/9gDVl9a88sUpnp8lBaEPMIVw PtCzUgPoCKmVHqEZ0UQyPE7U5Qns0SyKoxFCZBJl/8H6EGZinTO0p6KD4AkljZhEnW1V 9vkzR6FTYUtfJQyeVCaFu7cDWnuRDsmAGRxiXMjaMXJh0C7PxKrEWL9Ji1g6ioMG0bLf GgVLrRdyVygHSmW7+wgE8qihCyB9y78Tu35zBx/p83QhWkDGpa4siz+CACuOjU9HBA60 /TLco39BVsLKeNtZ+7HisA+GuVy9CUHt/UYjeAI5TtKomfMDNIlP5XvFtJxyGz4WIlg0 4fCw== 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=ovGmWGEFek9qXG4TFGL3Y1HZ+FQHWFsyzBtE4ZTGMB8=; b=gewfFjWeguK9tx7faVtO0JTKbQy81hkC23nac99RQxEh8YeBZoWLWuw1af/THG9gLs 8fTwixSCkctgyPYNDA3UbeO6OP+Zuqy4KL695bfDhdW3os+3K/CozBDq6FQcVzgp/jLN iNivPfzJv5HvxFUSs6/ZiVVdfdN1CjDF7UHo/7T9lBd3Abltodq4URdBwnR/IC2C0gOC To+KagArFwIcCA2MtuK74rvKK0JVzBR1LiDc4c6ThqMFJqb0OgO+Z26we7lqK4m7ro0D +mVulK0b9uKXAF+5H0pj+i0aa/LWKsprAyJ+npGNEmq7/xVQjBviWSyB9aaSbLE3PFQb lLZA== X-Gm-Message-State: ACrzQf3/hTlDU1llvVBP4rWh6fklIPoRCiwsALHPKpsc/CMOglxIRxBk 7hsR7GYRWy3N+b+z5BnY72c1 X-Received: by 2002:a17:903:2285:b0:188:505b:25f with SMTP id b5-20020a170903228500b00188505b025fmr4005750plh.71.1667469559849; Thu, 03 Nov 2022 02:59:19 -0700 (PDT) Received: from localhost.localdomain ([117.193.208.64]) by smtp.gmail.com with ESMTPSA id n6-20020a170902e54600b00186c54188b4sm161670plf.240.2022.11.03.02.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:59:18 -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 v4 10/12] arm64: dts: qcom: sc8280xp-x13s: Add PMR735A VADC channel Date: Thu, 3 Nov 2022 15:28:08 +0530 Message-Id: <20221103095810.64606-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221103095810.64606-1-manivannan.sadhasivam@linaro.org> References: <20221103095810.64606-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748468687899332456?= X-GMAIL-MSGID: =?utf-8?q?1748468687899332456?= 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 | 6 ++++++ 1 file changed, 6 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 807d74026fab..7677fe5cf28e 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" @@ -246,6 +247,11 @@ sys-therm@347 { qcom,hw-settle-time = <200>; qcom,ratiometric; }; + + pmic-die-temp@403 { + reg = ; + qcom,pre-scaling = <1 1>; + }; }; &qup0 {