[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220511110657.16305-1-j-keerthy@ti.com>
Date: Wed, 11 May 2022 16:36:55 +0530
From: Keerthy <j-keerthy@...com>
To: <robh+dt@...nel.org>, <daniel.lezcano@...aro.org>,
<rui.zhang@...el.com>, <amitk@...nel.org>, <kristo@...nel.org>
CC: <j-keerthy@...com>, <linux-pm@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v7 0/2] thermal: k3_j72xx_bandgap: Add the bandgap driver support
Add VTM thermal support. In the Voltage Thermal Management
Module(VTM), K3 J72XX supplies a voltage reference and a temperature
sensor feature that are gathered in the band gap voltage and
temperature sensor (VBGAPTS) module. The band gap provides current and
voltage reference for its internal circuits and other analog IP
blocks. The analog-to-digital converter (ADC) produces an output value
that is proportional to the silicon temperature.
Currently reading temperatures only is supported. There are no
active/passive cooling agent supported.
J721e SoCs have errata i2128: https://www.ti.com/lit/pdf/sprz455
The series also incorporates workaround for Errata i2128.
Changes in v7:
* Separated the DT patches from this series.
* Fixed description of reg property in the DT documentation patch.
Changes in v6:
* Fixed the DT comments that were missed in v5.
* Changed the offsets, bit masks to 2-D array.
* Clean up
Changes in v5:
* Simplified the computation of the table.
* Removed unnecessary members in the structures.
Changes in v4:
* Fixed compilation warning with W=1.
Changes in v3:
* Removed static look up tables & added functions to dynamically generate them.
Changes in v2:
* Fixed DT binding errors.
Keerthy (2):
dt-bindings: thermal: k3-j72xx: Add VTM bindings documentation
thermal: k3_j72xx_bandgap: Add the bandgap driver support
.../bindings/thermal/ti,j72xx-thermal.yaml | 64 ++
drivers/thermal/Makefile | 2 +-
drivers/thermal/k3_j72xx_bandgap.c | 566 ++++++++++++++++++
3 files changed, 631 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
create mode 100644 drivers/thermal/k3_j72xx_bandgap.c
--
2.17.1
Powered by blists - more mailing lists