From patchwork Thu Oct 27 06:30:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 11599 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp63173wru; Wed, 26 Oct 2022 23:33:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM697ULpSInGLv64jidMf5QeEuKWDZDrLW9sg1fr6k6KbeVRyhOpM2dNhIsfmSeCESlqZhBx X-Received: by 2002:a63:4f4f:0:b0:434:b9db:b9f with SMTP id p15-20020a634f4f000000b00434b9db0b9fmr41723578pgl.438.1666852391141; Wed, 26 Oct 2022 23:33:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666852391; cv=none; d=google.com; s=arc-20160816; b=I0OUsiEwDHbyurjA3iAKqf1iz0LIApFvthcAVCkb1uiv1UiUBvQ4TATdPgvQ+EzgVw 7Q1apNOjwFp/r5wSNZfCikIATs8DMpFrnQXVvWlJwc9nLdhAGKHv+ZdpOonI0mOfS0jD uhWrpVZxBGNIsMWBDwPWtyAqO6z2sz8sMkahi1cacd2HV8E+XhpAoeAbkD6VeGFKxK4k +Jy22WyY2+dVLQ6lStX9PVh8lRgYd66/V8WQ2A8NNVHCV4QHfu0IXXOnMz57WCOHYBAB CCxJsuPTlaVY6bWAtM7OB72g2fqVgIoGtsJwQBd1cmQDig+1AUiq7NHRpos35pnp53YI IY2A== 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=S9zfCoPbv1xIgqLZ/LFbFJSfu67nIjBlVVkKmd65qsM=; b=fhf1LwDHT+0IsztszRsW+xf2WCnEvQLLNaVOVMJk5cwzbXCTPZ11N9srp5m34+Chp2 bbrXjL4RyG6/pNxJOnh6pypj83/kESmaXZU0Zt6FaAbE9Uk/FobP4lkONIR8M9f04MIt t5SGYPjlcAIHOCM01uR/H2hJS0HxouZcXb6Yl+5AqIQ9wZv8qFQPME+ImXrAqS9AnCTM mZTfRYrti8v9PEJatRubw07oMTQLR9z6T0kogYdgXpMzwP+YFTKM9iIy+8LhIVQhvsj3 U/BbGX+zA8s7UQt0uEAJvXTh1sQvkF5mF437WpH7Kz0r9PBfmzigk0W1osQ3mYjIDhU2 dNUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=is8Qnbno; 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 o9-20020a634e49000000b0046086f8f5d0si580400pgl.537.2022.10.26.23.32.58; Wed, 26 Oct 2022 23:33:11 -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=is8Qnbno; 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 S234336AbiJ0Gbq (ORCPT + 99 others); Thu, 27 Oct 2022 02:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234626AbiJ0GbM (ORCPT ); Thu, 27 Oct 2022 02:31:12 -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 76A821633A1 for ; Wed, 26 Oct 2022 23:31:04 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id 3-20020a17090a0f8300b00212d5cd4e5eso5313733pjz.4 for ; Wed, 26 Oct 2022 23:31:04 -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=S9zfCoPbv1xIgqLZ/LFbFJSfu67nIjBlVVkKmd65qsM=; b=is8QnbnoChevKHiay+bv5Egd+bDsQhPC0aq/P4NjR+ALCycC/OB1OdwDPfPyntNJc7 UiheyUL7BK+kynwb3kLtygMqaeaYJvL5FRP5DzFRGxJNaPlhHFqvCiOx+pFopgPjBWM7 BXTXwmkAIJ3YG//Wgr4rrK+f41MChPvZgDOncNAazTphhD54qDyEE7joSCG9PlXllAfx QY0GxWK1smipMMGlHKIVkIqC0LDI0JCqkZ5K/O/zu7U5+Y7tW0jGSfcbXtS2bkM046+F JEuSLYoXF4m++1qHCb+a99lBt37sjPiXV6AvEM9xQdbieHAbuHNNREemBpx4qX9A54n6 p0Bg== 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=S9zfCoPbv1xIgqLZ/LFbFJSfu67nIjBlVVkKmd65qsM=; b=QkNGOZ79jww3C/KbuqRrpp1e4vHD+kqtB2NrHwwgiD8hewMFYHDXSP0sjY2SzvB5JT mh7K+Znc3DDwbem19G8G8bdjWmTgsoWw5KOfFYtJJ8fRWzLV5ibfroN+j4dz3WNjMdot CIZttM7Gr+ktsC9dRjh8XC0VXP5a3pMb0FN14iOoYo+9GHMCLRnxPYcmT4RD2pIWlMp/ t+DVwDCP5TZeDRjzEh0DrIf3hxRjnZJp3wBihsVmUE6FjomV+12KiJIr9r2KpFGYVAWi w8j4th6h+atA1Y5ahKQVEl4ouN0pmQ2EdLO4ofHpFmpYToUH0R6a25Mqnx5ZLhulFbL5 tgKQ== X-Gm-Message-State: ACrzQf0Jn4fAhDuegeOvBMs/38LYBwog9UJMwxTmILcvUuPb0kX4ZPy5 vWapqeGw6xTY6IYKu6Dy4r+n X-Received: by 2002:a17:902:e790:b0:183:88dd:1d30 with SMTP id cp16-20020a170902e79000b0018388dd1d30mr48171770plb.62.1666852263725; Wed, 26 Oct 2022 23:31:03 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 23:31:02 -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 10/11] arm64: dts: qcom: sc8280xp-x13s: Add PMR735A VADC channel Date: Thu, 27 Oct 2022 12:00:05 +0530 Message-Id: <20221027063006.9056-11-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 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=ham 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?1747821412695073650?= X-GMAIL-MSGID: =?utf-8?q?1747821412695073650?= Add VADC channel of PMR735A for measuring the on-chip die temperature. 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 d300d217fdc6..babf594384f2 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,ratiometric; qcom,hw-settle-time = <200>; }; + + pmr735a-die-temp@403 { + reg = ; + label = "pmr735a_die_temp"; + qcom,pre-scaling = <1 1>; + }; }; &qup0 {