android_kernel_motorola_sm6375/drivers/phy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dmitry Baryshkov 3cd53e516f phy: core: don't require set_mode() callback for phy_get_mode() to work
[ Upstream commit d58c04e305afbaa9dda7969151f06c4efe2c98b0 ]

As reported by Damon Ding, the phy_get_mode() call doesn't work as
expected unless the PHY driver has a .set_mode() call. This prompts PHY
drivers to have empty stubs for .set_mode() for the sake of being able
to get the mode.

Make .set_mode() callback truly optional and update PHY's mode even if
it there is none.

Cc: Damon Ding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Damon Ding <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2025-06-04 14:32:33 +02:00
..
allwinner
amlogic
broadcom
cadence
freescale
hisilicon phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe() 2023-08-11 11:53:47 +02:00
lantiq
marvell
mediatek
motorola phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins 2023-10-25 11:53:25 +02:00
mscc
qualcomm
ralink
renesas phy: renesas: rcar-gen3-usb2: Set timing registers only once 2025-06-04 14:32:29 +02:00
rockchip phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write 2023-09-23 10:59:53 +02:00
samsung phy: exynos5-usbdrd: fix MPLL_MULTIPLIER and SSC_REFCLKSEL masks in refclk 2025-03-13 12:43:25 +01:00
socionext
st phy: st: miphy28lp: use _poll_timeout functions for waits 2023-05-30 12:44:04 +01:00
tegra phy: Fix error handling in tegra_xusb_port_init 2025-06-04 14:32:29 +02:00
ti phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP 2024-02-23 08:25:06 +01:00
Kconfig
Makefile
phy-core-mipi-dphy.c
phy-core.c phy: core: don't require set_mode() callback for phy_get_mode() to work 2025-06-04 14:32:33 +02:00
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c