linux/drivers/phy/marvell
Gabor Juhos 91ddf6f722 phy: marvell: mvebu-a3700-utmi: fix incorrect USB2_PHY_CTRL register access
The mvebu_a3700_utmi_phy_power_off() function tries to modify the
USB2_PHY_CTRL register by using the IO address of the PHY IP block along
with the readl/writel IO accessors. However, the register exist in the
USB miscellaneous register space, and as such it must be accessed via
regmap like it is done in the mvebu_a3700_utmi_phy_power_on() function.

Change the code to use regmap_update_bits() for modífying the register
to fix this.

Fixes: cc8b7a0ae8 ("phy: add A3700 UTMI PHY driver")
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patch.msgid.link/20260321-a3700-utmi-fix-usb2_phy_ctrl-access-v1-1-6005ff4b5058@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2026-05-10 16:51:35 +05:30
..
Kconfig phy: marvell: Do not enable by default during compile testing 2025-04-11 12:48:34 +05:30
Makefile drivers: phy: add support for Armada CP110 UTMI PHY 2021-03-30 23:32:53 +05:30
phy-armada38x-comphy.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-armada375-usb2.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-berlin-sata.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-berlin-usb.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-mmp3-hsic.c phy: marvell: mmp3-hsic: Avoid re-casting __iomem 2026-02-27 20:03:38 +05:30
phy-mmp3-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mvebu-a3700-comphy.c phy: marvell: a3700-comphy: Fix hardcoded array size 2024-04-05 22:32:00 +05:30
phy-mvebu-a3700-utmi.c phy: marvell: mvebu-a3700-utmi: fix incorrect USB2_PHY_CTRL register access 2026-05-10 16:51:35 +05:30
phy-mvebu-cp110-comphy.c phy: marvell: Fix spelling mistake "exlicitly" -> "explicitly" 2024-12-04 19:41:59 +05:30
phy-mvebu-cp110-utmi.c phy: mvebu-cp110-utmi: fix dr_mode property read from dts 2026-01-21 13:26:59 +05:30
phy-mvebu-sata.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-pxa-28nm-hsic.c phy: marvell: drop of_match_ptr for ID table 2023-03-20 18:14:59 +05:30
phy-pxa-28nm-usb2.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-pxa-usb.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30