mbox series

[v9,0/2] thermal: k3_j72xx_bandgap: Add the bandgap driver support

Message ID 20220517172920.10857-1-j-keerthy@ti.com
Headers show
Series thermal: k3_j72xx_bandgap: Add the bandgap driver support | expand

Message

J, KEERTHY May 17, 2022, 5:29 p.m. UTC
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 v9:

  * Fixed indentation in DT binding documentation
  * Added Rob's Reviewed-by

Changes in v8:

  * Removed redundant items from compatible in the Documentation patch

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    |  63 ++
 drivers/thermal/Makefile                      |   2 +-
 drivers/thermal/k3_j72xx_bandgap.c            | 566 ++++++++++++++++++
 3 files changed, 630 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
 create mode 100644 drivers/thermal/k3_j72xx_bandgap.c

Comments

Daniel Lezcano May 18, 2022, 12:46 p.m. UTC | #1
On 18/05/2022 14:42, Krzysztof Kozlowski wrote:
> On 18/05/2022 10:27, Daniel Lezcano wrote:
>>
>> Hi Krzysztof,
>>
>> I would like to pick this series, does the DT bindings have your blessing ?
> 
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Thanks!