public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v5 0/8] Add thermal sensor driver support for Mediatek MT8196
@ 2025-11-25 16:16 Laura Nao
  2025-11-25 16:16 ` [PATCH v5 1/8] dt-bindings: thermal: mediatek: Add LVTS thermal controller support for MT8196 Laura Nao
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Laura Nao @ 2025-11-25 16:16 UTC (permalink / raw)
  To: srini, robh, krzk+dt, conor+dt, rafael, daniel.lezcano, rui.zhang,
	lukasz.luba, matthias.bgg, angelogioacchino.delregno
  Cc: nfraprado, arnd, colin.i.king, u.kleine-koenig, andrew-ct.chen,
	lala.lin, bchihi, frank-w, devicetree, linux-kernel, linux-pm,
	linux-arm-kernel, linux-mediatek, kernel, wenst, fshao, Laura Nao

This patch series extends the MediaTek LVTS thermal driver to support the
MT8196 SoC.

MT8196 requires a different implementation of the lvts_temp_to_raw()
function.

To support this, the series introduces:

- A new struct lvts_platform_ops to allow platform-specific
  conversion logic between raw sensor values and temperature
- A variant of the lvts_temp_to_raw() implementation
- Platform data and controller definitions for MT8196

Link to v4: https://lore.kernel.org/r/20251121-mt8196-lvts-v4-v4-0-357f955a3176@collabora.com

Changes in v5:
- Dropped patch 3
- Added LVTS_NUM_CAL_OFFSETS_MT7988/LVTS_NUM_CAL_OFFSETS_MT8196 defines
- Moved code that assembles calibration bytes from the efuse data into 
  a dedicated lvts_decode_sensor_calibration() helper
- Fixed prefix in patch 4 commit message
- Dropped R-b/T-b tags on patch 2

---
Laura Nao (8):
      dt-bindings: thermal: mediatek: Add LVTS thermal controller support for MT8196
      thermal/drivers/mediatek/lvts: Make number of calibration offsets configurable
      thermal/drivers/mediatek/lvts: Add platform ops to support alternative conversion logic
      thermal/drivers/mediatek/lvts: Add lvts_temp_to_raw variant
      thermal/drivers/mediatek/lvts: Add support for ATP mode
      thermal/drivers/mediatek/lvts: Support MSR offset for 16-bit calibration data
      thermal/drivers/mediatek/lvts_thermal: Add MT8196 support
      dt-bindings: nvmem: mediatek: efuse: Add support for MT8196

 .../devicetree/bindings/nvmem/mediatek,efuse.yaml  |   1 +
 .../bindings/thermal/mediatek,lvts-thermal.yaml    |   2 +
 drivers/thermal/mediatek/lvts_thermal.c            | 326 +++++++++++++++++++--
 .../dt-bindings/thermal/mediatek,lvts-thermal.h    |  26 ++
 4 files changed, 333 insertions(+), 22 deletions(-)
---
base-commit: abadc219d77ce0e61fcac0147cc6cc69164af43e
change-id: 20251121-mt8196-lvts-v4-a61fb5c27216

Best regards,
-- 
Laura Nao <laura.nao@collabora.com>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-01-20 19:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-25 16:16 [PATCH v5 0/8] Add thermal sensor driver support for Mediatek MT8196 Laura Nao
2025-11-25 16:16 ` [PATCH v5 1/8] dt-bindings: thermal: mediatek: Add LVTS thermal controller support for MT8196 Laura Nao
2025-11-25 16:16 ` [PATCH v5 2/8] thermal/drivers/mediatek/lvts: Make number of calibration offsets configurable Laura Nao
2026-01-19 12:06   ` AngeloGioacchino Del Regno
2025-11-25 16:16 ` [PATCH v5 3/8] thermal/drivers/mediatek/lvts: Add platform ops to support alternative conversion logic Laura Nao
2025-11-25 16:16 ` [PATCH v5 4/8] thermal/drivers/mediatek/lvts: Add lvts_temp_to_raw variant Laura Nao
2025-11-25 16:16 ` [PATCH v5 5/8] thermal/drivers/mediatek/lvts: Add support for ATP mode Laura Nao
2025-11-25 16:16 ` [PATCH v5 6/8] thermal/drivers/mediatek/lvts: Support MSR offset for 16-bit calibration data Laura Nao
2025-11-25 16:16 ` [PATCH v5 7/8] thermal/drivers/mediatek/lvts_thermal: Add MT8196 support Laura Nao
2025-11-25 16:16 ` [PATCH v5 8/8] dt-bindings: nvmem: mediatek: efuse: Add support for MT8196 Laura Nao
2026-01-19 12:06 ` [PATCH v5 0/8] Add thermal sensor driver support for Mediatek MT8196 AngeloGioacchino Del Regno
2026-01-20 19:43   ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox