Skip to content

enable VTM node for all TI's K3 SoCs

Bryan Brattlof linux-arm-kernel linux-devicetree linux-pm lkml 3 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. v3 Latest11 patches 1 replyApplied
  2. v211 patches 3 repliesSuperseded
  3. v111 patches 7 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/11thermal: k3_j72xx_bandgap: simplify k3_thermal_get_temp() functiondrivers/thermal/k3_j72xx_bandgap.c+1 -80 replies
2/11thermal: k3_j72xx_bandgap: use bool for i2128 erratum flagdrivers/thermal/k3_j72xx_bandgap.c+4 -40 replies
3/11thermal: k3_j72xx_bandgap: remove fuse_base from structuredrivers/thermal/k3_j72xx_bandgap.c+12 -120 replies
4/11thermal: k3_j72xx_bandgap: map fuse_base only for erratum workarounddrivers/thermal/k3_j72xx_bandgap.c+22 -120 replies
5/11dt-bindings: thermal: k3-j72xx: elaborate on binding descriptionDocumentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml+18 -10 replies
6/11dt-bindings: thermal: k3-j72xx: conditionally require efuse reg rangeDocumentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml+16 -00 replies
7/11arm64: dts: ti: k3-am64-main: add VTM nodearch/arm64/boot/dts/ti/k3-am64-main.dtsi arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi arch/arm64/boot/dts/ti/k3-am64.dtsi+45 -00 replies
8/11arm64: dts: ti: k3-am62-wakeup: add VTM nodearch/arm64/boot/dts/ti/k3-am62-thermal.dtsi arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi arch/arm64/boot/dts/ti/k3-am62.dtsi+47 -10 replies
9/11arm64: dts: ti: k3-j721e-mcu-wakeup: add VTM nodearch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi arch/arm64/boot/dts/ti/k3-j721e.dtsi+87 -00 replies
10/11arm64: dts: ti: k3-j721s2-mcu-wakeup: add VTM nodearch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi arch/arm64/boot/dts/ti/k3-j721s2.dtsi+114 -00 replies
11/11arm64: dts: ti: k3-j7200-mcu-wakeup: add VTM nodearch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi arch/arm64/boot/dts/ti/k3-j7200.dtsi+58 -00 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/11
2/11
3/11
4/11
5/11A-b
6/11R-b
7/11
8/11
9/11
10/11
11/11

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

Read the v3 thread

Cover letter [PATCH v3 00/11] enable VTM node for all TI's K3 SoCs

Hello again everyone!

This series enables the VTM nodes for all of Texas Instrument's K3 SoCs

Most of this series updates the k3_j72xx_bandgap driver to conditionally map an eFuse region used by the j721e to work around an issue in its VTM implementation and allows us to save the SPARE_FUSE region on other SoCs

We can then update the device tree bindings for the driver and finally define the VTM nodes for each device

Thanks for reviewing again
~Bryan

****

v2 -> v3 changes[0]:

- removed a errant devm_iounmap() I introduced between patches in v2

- collected tags

v1 -> v2 changes[1]:

- when removing 'fuse_base' from the 'k3_j72xx_bandgap' structure, I forgot to pass 'fuse_base' to get_efuse_values()

- removed the descriptions to the generic 'power-domains' property

- incorporated Krzysztof's suggestions to the binding description

- refactored binding to use allOf: if: {min,max}Items over what I was doing :) Thanks Krzysztof

[0] https://lore.kernel.org/lkml/[email protected]/
[1] https://lore.kernel.org/lkml/[email protected]/

Bryan Brattlof (11):
thermal: k3_j72xx_bandgap: simplify k3_thermal_get_temp() function
thermal: k3_j72xx_bandgap: use bool for i2128 erratum flag
thermal: k3_j72xx_bandgap: remove fuse_base from structure
thermal: k3_j72xx_bandgap: map fuse_base only for erratum workaround
dt-bindings: thermal: k3-j72xx: elaborate on binding description
dt-bindings: thermal: k3-j72xx: conditionally require efuse reg range
arm64: dts: ti: k3-am64-main: add VTM node
arm64: dts: ti: k3-am62-wakeup: add VTM node
arm64: dts: ti: k3-j721e-mcu-wakeup: add VTM node
arm64: dts: ti: k3-j721s2-mcu-wakeup: add VTM node
arm64: dts: ti: k3-j7200-mcu-wakeup: add VTM node

 .../bindings/thermal/ti,j72xx-thermal.yaml    |  35 +++++-
 arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi   |  33 ++++++
 arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi    |   8 ++
 arch/arm64/boot/dts/ti/k3-am62.dtsi           |   7 +-
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi      |   8 ++
 arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi   |  33 ++++++
 arch/arm64/boot/dts/ti/k3-am64.dtsi           |   4 +
 .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi      |   8 ++
 arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi  |  47 ++++++++
 arch/arm64/boot/dts/ti/k3-j7200.dtsi          |   3 +
 .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi      |   9 ++
 arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi  |  75 +++++++++++++
 arch/arm64/boot/dts/ti/k3-j721e.dtsi          |   3 +
 .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi     |   8 ++
 arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi | 103 ++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-j721s2.dtsi         |   3 +
 drivers/thermal/k3_j72xx_bandgap.c            |  67 ++++++------
 17 files changed, 420 insertions(+), 34 deletions(-)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi
 create mode 100644 arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi
 create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi
 create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi
 create mode 100644 arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi
Signature · 1 line
2.38.1