linux/drivers/soc/ti
Andrew Davis 06100e642f soc: ti: k3-socinfo: Do not use syscon helper to build regmap
[ Upstream commit a5caf03188 ]

The syscon helper device_node_to_regmap() is used to fetch a regmap
registered to a device node. It also currently creates this regmap
if the node did not already have a regmap associated with it. This
should only be used on "syscon" nodes. This driver is not such a
device and instead uses device_node_to_regmap() on its own node as
a hacky way to create a regmap for itself.

This will not work going forward and so we should create our regmap
the normal way by defining our regmap_config, fetching our memory
resource, then using the normal regmap_init_mmio() function.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250123181726.597144-1-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:02:36 +02:00
..
k3-ringacc.c soc: ti: k3-ringacc: Constify struct k3_ring_ops 2024-08-06 15:33:32 -05:00
k3-socinfo.c soc: ti: k3-socinfo: Do not use syscon helper to build regmap 2025-05-29 11:02:36 +02:00
Kconfig pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
knav_dma.c soc: ti: knav: Use of_property_read_variable_u32_array() 2024-08-06 16:29:13 -05:00
knav_qmss.h soc: ti: knav_qmss: Constify struct knav_range_ops 2024-06-27 17:45:28 -05:00
knav_qmss_acc.c soc: ti: knav_qmss: Constify struct knav_range_ops 2024-06-27 17:45:28 -05:00
knav_qmss_queue.c soc: ti: knav_qmss_queue: do device_node auto cleanup 2024-08-28 12:18:02 -05:00
Makefile soc: ti: Mover power-domain drivers to the genpd dir 2023-07-14 10:40:56 +02:00
pm33xx.c soc: ti: pm33xx: do device_node auto cleanup 2024-08-28 12:18:02 -05:00
pruss.c soc: ti: pruss: do device_node auto cleanup 2024-08-28 12:18:02 -05:00
pruss.h soc: ti: pruss: Add pruss_cfg_read()/update(), pruss_cfg_get_gpmux()/set_gpmux() APIs 2023-05-17 09:15:39 -05:00
smartreflex.c soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-05 14:01:25 +01:00
ti_sci_inta_msi.c soc: ti: Explicitly include correct DT includes 2023-07-25 06:26:34 -05:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message 2024-04-09 11:11:59 -05:00