Skip to content

thermal: k3_j72xx_bandgap: Add the bandgap driver support

Keerthy linux-devicetree linux-pm lkml 9 versions – Applied

Status from this message: The following commit has been merged into the thermal/next branch of thermal:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest2 patches 3 repliesApplied
  2. v82 patches 3 repliesSuperseded
  3. v72 patches 2 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v64 patches12 repliesSuperseded
v54 patches11 repliesSuperseded
v44 patches3 repliesSuperseded
v34 patches2 repliesSuperseded
v24 patches4 repliesSuperseded
v14 patches4 repliesSuperseded

Changes in v9 from the cover letter

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

Patches in v9 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: thermal: k3-j72xx: Add VTM bindings documentationDocumentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml+63 -03 replies
2/2thermal: k3_j72xx_bandgap: Add the bandgap driver supportdrivers/thermal/Makefile drivers/thermal/k3_j72xx_bandgap.c+567 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob HerringKrzysztof Kozlowski
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 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 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
Signature · 1 line
2.17.1