[PATCH v3 0/4] soc: ti: Add TDA54 SCM configuration syscon support

From: Moteen Shah

Date: Thu Nov 12 2026 - 03:17:40 EST


This series adds support for the TDA54 SCM configuration region in the MCU
domain. The region is shared by several peripherals, so it is exposed as a
syscon regmap for other drivers to look up by phandle.

Patch 1 adds the device tree binding for ti,tda54-mcu-scm-conf.

Patch 2 converts the SoC attributes, revision string, and registered SoC device
in k3-socinfo to device-managed cleanup.

Patch 3 splits the SoC decode and registration logic out of
k3_chipinfo_probe() into k3_socinfo_register() and exports it, so drivers that
read the JTAG ID through another access path can reuse the common K3 SoC
identification logic.

Patch 4 adds the TDA54 SCM configuration driver. It provides proxy-aware
register access with SCM unlock and claim handling, publishes the regmap
through syscon, and registers TDA54 SoC information through the helper from
patch 3. The option defaults to m on ARCH_K3.

Changelog:
Link to v2: https://lore.kernel.org/all/20261027083700.1964371-1-m-shah@xxxxxx/

Changes in v3:
- Split the k3-socinfo device-managed cleanup changes from the exported SoC
registration helper into separate patches.

Link to v1: https://lore.kernel.org/all/20261019080736.944127-1-m-shah@xxxxxx/

Changes in v2:
- No changes to the device tree binding patch.
- Use devm-managed allocation for the SoC attributes and revision string in
k3-socinfo, and simplify the cleanup of the registered SoC device.
- Enable fast_io for the TDA54 SCM configuration regmap.

Moteen Shah (4):
dt-bindings: soc: ti: Document the ti,tda54-mcu-scm-conf
soc: ti: k3-socinfo: Use device managed allocations and unregistration
soc: ti: k3-socinfo: Export SoC registration helper
soc: ti: Add TDA54 SCM configuration syscon support

.../soc/ti/ti,tda54-mcu-scm-conf.yaml | 78 +++++++
drivers/soc/ti/Kconfig | 16 ++
drivers/soc/ti/Makefile | 1 +
drivers/soc/ti/k3-socinfo.c | 111 +++++----
drivers/soc/ti/tda54-mcu-sysconf.c | 217 ++++++++++++++++++
5 files changed, 380 insertions(+), 43 deletions(-)
create mode 100644 Documentation/devicetree/bindings/soc/ti/ti,tda54-mcu-scm-conf.yaml
create mode 100644 drivers/soc/ti/tda54-mcu-sysconf.c

--
2.34.1