linux/drivers/soc/ti
Andrew Davis 5f496a9f1c 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:40:11 +02:00
..
k3-ringacc.c soc: ti: k3-ringacc: Use devm_bitmap_zalloc() when applicable 2022-02-02 13:06:21 -06:00
k3-socinfo.c soc: ti: k3-socinfo: Do not use syscon helper to build regmap 2025-06-04 14:40:11 +02:00
Kconfig soc: ti: Kconfig: Drop ARM64 SoC specific configs 2020-11-21 19:22:01 -08:00
knav_dma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02: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 knav_qmss: make symbol 'knav_acc_range_ops' static 2020-07-24 14:47:10 -07:00
knav_qmss_queue.c soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe 2022-12-31 13:31:51 +01:00
Makefile ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
omap_prm.c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init 2024-09-18 19:23:04 +02:00
pm33xx.c soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe 2023-05-11 23:03:07 +09:00
pruss.c soc: ti: pruss: Enable support for PRUSS-M subsystem on K3 AM62x SoCs 2022-07-06 19:34:45 -05:00
smartreflex.c soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-14 19:53:20 +01:00
ti_sci_inta_msi.c soc: ti: ti_sci_inta_msi: Remove ti_sci_inta_msi_domain_free_irqs() 2021-12-16 22:22:19 +01:00
ti_sci_pm_domains.c pmdomain: ti-sci: Add missing of_node_put() for args.np 2024-12-14 19:53:22 +01:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message 2024-07-05 09:31:49 +02:00