From patchwork Thu Nov 3 09:58:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 621110 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 544EFC4332F for ; Thu, 3 Nov 2022 09:59:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231493AbiKCJ7d (ORCPT ); Thu, 3 Nov 2022 05:59:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231347AbiKCJ7K (ORCPT ); Thu, 3 Nov 2022 05:59:10 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEA2010555 for ; Thu, 3 Nov 2022 02:59:08 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id e129so1212149pgc.9 for ; Thu, 03 Nov 2022 02:59:08 -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=armaKSmpSTh8RxIedmjX+VLdFnheOMOEqRVNaKfmRgQ=; b=hT/ik8gKBFkvZAAdFsi1VGucXUWf4gjYU0GBEnUDjuJfIHXHnjZ6AnSKSHn0NGwKOe xCSLTitQ9fP0hhW1XTOxqtZpymST7RBvVb7o8YtdRE3LVUb/cFncxN1N4o8CbjLGWys0 ppNNV0ICbhN8Vmpy4gfQJ01Zp855ZIgyXPUBY2iTzsDP2dq4EISeMoqg+ACWubjHFJoW vuBBnX7LC+nB0tlelTi2SnDsw1a38L8ygwO19dR/YY18aEffuKKHa2bSWd/0kxHK6dYC 64CCqFsEc+xPcCxupuGROq/JJvEaPsl4uFTQU9qFymfVzfCgu2DjDqZwkT0UvB1+qSGi +jbQ== 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=armaKSmpSTh8RxIedmjX+VLdFnheOMOEqRVNaKfmRgQ=; b=arHoMy3knOS22w7/StnSzoZNXweYWm5NdqRAkE1zek8bbURnKVVFPCNtHsejVSE022 Ud1SkOr+K54erRJe+p6yZ5j6ca/pnfPvn6PHHY2uI/620jJy3IDBIw0ADdqvbVnEVUi2 1DCbHrFoYXaOKKnpOYyU2LwFnvyhtSncLas/SUd0eozrTVr+oyWB5D0iEc3EjzN4N8mM FH6F0w4+HwPuSxqyAiaHcz4OOJoi2ebDkw785N2IMH1+URj1MJjsFPZwrxNLaVdHi71i 2nvUhEwS1O7THBX6tz5Cd5lfUuOAOEJrraF92tm93D+W1po6oD9AEPsdpKmzizytYbfr j3Mg== X-Gm-Message-State: ACrzQf0gZcrA8VoIzCt1LT473v/h2h7VR4VjHQarb/1rTN87GKzXmLoc /z6QdrGRTfEmKKreypss/fz+ X-Google-Smtp-Source: AMsMyM7AaGbDh5mf+GqJWyENh/4pyPecDLXdZcI4wewi3P4UQFH/jIK1OOQfV6IX8+h6r6a/YxgjOw== X-Received: by 2002:a63:544e:0:b0:46f:7b0e:e4f with SMTP id e14-20020a63544e000000b0046f7b0e0e4fmr25825627pgm.92.1667469548276; Thu, 03 Nov 2022 02:59:08 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:59:07 -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 08/12] arm64: dts: qcom: sc8280xp-x13s: Add PMK8280 VADC channels Date: Thu, 3 Nov 2022 15:28:06 +0530 Message-Id: <20221103095810.64606-9-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add VADC channels for measuring the on-chip die temperature and external crystal osciallator temperature of PMK8280. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Signed-off-by: Manivannan Sadhasivam --- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 16 ++++++++++++++++ 1 file changed, 16 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 6aa8cf6d9776..9e1180b468d4 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/; #include +#include #include #include "sc8280xp.dtsi" @@ -173,6 +174,21 @@ &pmk8280_pon_resin { status = "okay"; }; +&pmk8280_vadc { + status = "okay"; + + pmic-die-temp@3 { + reg = ; + qcom,pre-scaling = <1 1>; + }; + + xo-therm@44 { + reg = ; + qcom,hw-settle-time = <200>; + qcom,ratiometric; + }; +}; + &qup0 { status = "okay"; };