linux/drivers/soc/ti
Andrew Davis 3314310b3f 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-06-04 14:42:05 +02:00
..
k3-ringacc.c soc: ti: Use devm_platform_ioremap_resource_byname simplify logic 2023-08-09 22:39:13 -05:00
k3-socinfo.c soc: ti: k3-socinfo: Do not use syscon helper to build regmap 2025-06-04 14:42:05 +02:00
Kconfig soc: ti: pruss: Allow compile-testing 2023-05-17 09:14:02 -05:00
knav_dma.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
knav_qmss_acc.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss_queue.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06: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: Fix refcount leak in am33xx_pm_probe 2023-03-08 01:39:04 -06:00
pruss.c soc: ti: Explicitly include correct DT includes 2023-07-25 06:26:34 -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-09 10:31:52 +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-07-05 09:33:52 +02:00