linux/drivers/phy/ti
Andrew Davis a7ccc9d900 phy: ti: gmii-sel: Fix register offset when parent is not a syscon node
[ Upstream commit 0f40d5099c ]

When the node for this phy selector is a child node of a syscon node then the
property 'reg' is used as an offset into the parent regmap. When the node
is standalone and gets its own regmap this offset is pre-applied. So we need
to track which method was used to get the regmap and not apply the offset
in the standalone case.

Fixes: 1fdfa7cccd ("phy: ti: gmii-sel: Allow parent to not be syscon node")
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20231025143302.1265633-1-afd@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-01-10 17:16:56 +01: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: Add a determine_rate hook 2023-06-08 18:39:31 -07:00
phy-da8xx-usb.c phy: ti: phy-da8xx-usb: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
phy-dm816x-usb.c phy: ti: phy-dm816x-usb: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: Fix register offset when parent is not a syscon node 2024-01-10 17:16:56 +01:00
phy-j721e-wiz.c phy: ti: j721e-wiz: Add a determine_rate hook 2023-06-08 18:39:32 -07:00
phy-omap-control.c phy: ti: Use IS_ERR_OR_NULL() to clean code 2021-12-14 13:10:03 +05:30
phy-omap-usb2.c phy: omap-usb2-phy: Use dev_err_probe() 2023-03-31 19:20:19 +05:30
phy-ti-pipe3.c phy: ti: phy-ti-pipe3: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
phy-tusb1210.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-twl4030-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30