Message ID | 20221029051449.30678-7-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1192606wru; Fri, 28 Oct 2022 22:17:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5UvbLidjj7qn+NaMa8Lrfs/zA1Ei31Gz4CDcF/uEb1C/Q3Tyi/eUfWupAv0Wkmp80GoquP X-Received: by 2002:a17:90b:3b8d:b0:20d:5c7a:abf1 with SMTP id pc13-20020a17090b3b8d00b0020d5c7aabf1mr3103064pjb.118.1667020675664; Fri, 28 Oct 2022 22:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667020675; cv=none; d=google.com; s=arc-20160816; b=FXw4po9hCj/t5i0KC9OgC8bLHGXbYWfectM0sHebi8/eoNfJKqVL0B5cBmfbY8Z/l0 5FWqShuHMrNOX+s3gcku1rPbkAp49Xzgsws7jtelFf4RUmzAoDvRGmzVLFhJAQmNW9Q+ Mpjb+zCD8y3y1gcvuV1F4PnzMawcFUPAOWSH6pbCdkukfkbVdsxhIrd8YNnx+IyfsNVm fuueeshNYWZvUR7NEfnid/QzOzTyEe8kkaF1oLR2KIm7uzSyyl4j2o4ojdp2lEEMw+jX k5kiKOx/AcmMlyrwcYWSrWDeUtBPJ0qZSHHszUKgaiy7ifH8cLLoKnSlgWrCNl0iQg7A BWrQ== 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=ssWG2K/L40ECA7RFYZd0Ssg9F64AzTozxaoR5gGuJ3c=; b=agCdS1E1/h1ilDTEnEeZomaMQxu8jX8SqIIjmtDYHa6t8pffkob6kFljwVoUK5HeDr DPGpXYca08X2GLT9xBwIUdyaMWIxVtrOv3DcC596sUW7tZAKuZ3pvRtvzLIBVRTX5BaR SO2bObpZcySSP2N3VS5sbMVGlCxwb5p53HMakhMkOyOmIPdntPRlb2YPOXTYkADQ+d3t 51KHmKoastdlVB6btSlOXhwU3o71v8NlP5JGSesNNuG0dLiSCsmdclq7YrEBkCuN4mpP JPrR5t5WE5B9q6QCvIb3tUK1KPWJ5zlEVrZUba7gXtsDtJMcKf3aQIYfTPL28ce+c6sP Pa1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=atqrHA5b; 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 j13-20020a170903024d00b00186c9d17afbsi977880plh.293.2022.10.28.22.17.42; Fri, 28 Oct 2022 22:17:55 -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=atqrHA5b; 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 S229948AbiJ2FQH (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Sat, 29 Oct 2022 01:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiJ2FPn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 29 Oct 2022 01:15:43 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D922A196B69 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 22:15:35 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id b29so6412917pfp.13 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 22:15:35 -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=ssWG2K/L40ECA7RFYZd0Ssg9F64AzTozxaoR5gGuJ3c=; b=atqrHA5b6gwjGelKryJPqzyTJ/MjFn6RwViURNGVYZkpPqP1WmK64iKvymNtbOQlnZ mbKjZPP+2vpChHNpxOzyySCMtpI5epMG62Op1NivSB8eAPfiHiEDKseMjyCrLlv77Yjt GOVk2vklEAdyMrqx4rJ981aK+5zI13WoYld2Z6MSweGc/avsJG7gL7jj+p7zhB5kQwd7 S+rSk1uN4Orc5P9eoOR4Oiz3F2C3UINaU5Jvr/XYji1FvzcqtJb43FGCFYu3rhyhXub6 B6at9pHCGdJhjDXaVmsrijjlm6O7SIsGuUbwmw/kQd3gcoKs4GG5ai7YSv/0ZYA1vykj uO1g== 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=ssWG2K/L40ECA7RFYZd0Ssg9F64AzTozxaoR5gGuJ3c=; b=JR/aTOim0VxmSthsXMzYxaaG/oK2lPlk+JCw/e4ZX6151Z7e71pK71jrcpf3QoOkWb +ujnNfWCmXtdSmW5ysYVFBeF6iT1Xh8g0g9DpGWZji/2IE3rDsYKUJCSJDGTCdOskI9c We418mqZmSGgWqHjPNEiCE/KbBIl6Cp+BS6z6DeaEc2qGg9ezFeHSGeQDOoK9AZl25h+ sGkn/TJSMoVGTI6TnWmI2wiwJYr0Q2OS/YDXwSqjI33SdEYqfxF0Z3CTHoD30rFVp+sl 2VzEn0UjQo2DgZWhF24IndIVA29VHYkwnHy8ocMDajVrJkWaUYJT9YL5luC7TZHncm9Z FOmQ== X-Gm-Message-State: ACrzQf193ZCuATpTZ57dzb9VPZAKpv4TE0UXKGIiMPMbt5QhzXgkBLJw vU6nFoZ79dAb7btd4Xiz3gynILMyYL6/ X-Received: by 2002:a05:6a00:891:b0:565:85a7:a6e with SMTP id q17-20020a056a00089100b0056585a70a6emr2653028pfj.21.1667020535231; Fri, 28 Oct 2022 22:15:35 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 22:15:34 -0700 (PDT) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 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 <manivannan.sadhasivam@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH v2 06/12] arm64: dts: qcom: sc8280xp-pmics: Add support for TM5 block in PMK8280 Date: Sat, 29 Oct 2022 10:44:43 +0530 Message-Id: <20221029051449.30678-7-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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747997872187977685?= X-GMAIL-MSGID: =?utf-8?q?1747997872187977685?= |
Series |
sc8280xp-pmic updates and X13s thermal zone support
|
|
Commit Message
Manivannan Sadhasivam
Oct. 29, 2022, 5:14 a.m. UTC
Thermal Monitoring block ADC5 (TM5) in PMK8280 can be used to monitor the temperature from secondary PMICs like PM8280. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On 29.10.2022 07:14, Manivannan Sadhasivam wrote: > Thermal Monitoring block ADC5 (TM5) in PMK8280 can be used to monitor the > temperature from secondary PMICs like PM8280. > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad > arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > index 3c56e4cb5b5b..6f95743bf87d 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > @@ -84,6 +84,16 @@ pmk8280_vadc: adc@3100 { > interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; > #io-channel-cells = <1>; > }; > + > + pmk8280_adc_tm: adc-tm@3400 { > + compatible = "qcom,spmi-adc-tm5-gen2"; > + reg = <0x3400>; > + interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>; > + #address-cells = <1>; > + #size-cells = <0>; > + #thermal-sensor-cells = <1>; > + status = "disabled"; > + }; > }; > > pmc8280_1: pmic@1 {
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index 3c56e4cb5b5b..6f95743bf87d 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -84,6 +84,16 @@ pmk8280_vadc: adc@3100 { interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; #io-channel-cells = <1>; }; + + pmk8280_adc_tm: adc-tm@3400 { + compatible = "qcom,spmi-adc-tm5-gen2"; + reg = <0x3400>; + interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>; + #address-cells = <1>; + #size-cells = <0>; + #thermal-sensor-cells = <1>; + status = "disabled"; + }; }; pmc8280_1: pmic@1 {