linux/drivers/phy/ti
Andrew Davis 06d7337799 phy: ti: gmii-sel: Do not use syscon helper to build regmap
[ Upstream commit 5ab90f4012 ]

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>
Tested-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20250123182234.597665-1-afd@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-03-22 12:54:20 -07:00
..
Kconfig phy: ti: fix Kconfig warning and operator precedence 2023-01-11 13:24:33 +05:30
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c phy: ti: am654-serdes: Use scoped device node handling to simplify error paths 2024-08-30 13:26:37 +05:30
phy-da8xx-usb.c phy: ti: phy-da8xx-usb: Add runtime PM support 2024-06-04 15:44:11 +02:00
phy-dm816x-usb.c phy: Drop unnecessary of_match_device() calls 2023-10-13 15:47:53 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: Do not use syscon helper to build regmap 2025-03-22 12:54:20 -07:00
phy-j721e-wiz.c phy: ti: phy-j721e-wiz: fix usxgmii configuration 2024-10-17 20:23:02 +05:30
phy-omap-control.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-omap-usb2.c phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP 2024-01-30 22:41:11 +05:30
phy-ti-pipe3.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-tusb1210.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
phy-twl4030-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30