|
|
Subscribe / Log in / New account

Add support for IPQ5018 tsens

From:  Sricharan Ramabadhran <quic_srichara-AT-quicinc.com>
To:  <krzysztof.kozlowski-AT-linaro.org>, <agross-AT-kernel.org>, <andersson-AT-kernel.org>, <konrad.dybcio-AT-linaro.org>, <srinivas.kandagatla-AT-linaro.org>, <robh+dt-AT-kernel.org>, <krzysztof.kozlowski+dt-AT-linaro.org>, <conor+dt-AT-kernel.org>, <thara.gopinath-AT-gmail.com>, <rafael-AT-kernel.org>, <daniel.lezcano-AT-linaro.org>, <linux-arm-msm-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-pm-AT-vger.kernel.org>, <dmitry.baryshkov-AT-linaro.org>, <quic_srichara-AT-quicinc.com>
Subject:  [PATCH V2 0/4] Add support for IPQ5018 tsens
Date:  Fri, 15 Sep 2023 17:45:00 +0530
Message-ID:  <20230915121504.806672-1-quic_srichara@quicinc.com>
Archive-link:  Article

IPQ5018 has tsens V1.0 IP with 4 sensors and 1 interrupt.
There is no RPM present in the soc to do tsens early enable.
Adding support for the same here.

[v2]
	*) Sorted the compatible and removed example
	*) Fixed the name for new tsens_feature
	*) Used tsend_calibrate_common instead of legacy
	   and addressed comments from Dmitry.
	*) Squashed patch 3 & 4
	*) Fixed node names, order and added qfprom cells
            for points seprately
	*) Squashed patch 6 & 7 

Sricharan Ramabadhran (4):
  dt-bindings: thermal: qcom-tsens: Add ipq5018 compatible
  thermal/drivers/qcom: Add new feat for soc without rpm
  thermal/drivers/tsens: Add support for IPQ5018 tsens
  arm64: dts: qcom: ipq5018: Add tsens node

 .../bindings/nvmem/qcom,qfprom.yaml           |   1 +
 .../bindings/thermal/qcom-tsens.yaml          |   1 +
 arch/arm64/boot/dts/qcom/ipq5018.dtsi         | 169 ++++++++++++++++++
 drivers/thermal/qcom/tsens-v1.c               |  58 ++++++
 drivers/thermal/qcom/tsens.c                  |   5 +-
 drivers/thermal/qcom/tsens.h                  |   5 +-
 6 files changed, 237 insertions(+), 2 deletions(-)

-- 
2.34.1



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds