linux/drivers/phy
Tony Lindgren 3b384cc74b phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
Looks like the driver sleep pins configuration is unusable. Adding the
sleep pins causes the usb phy to not respond. We need to use the default
pins in probe, and only set sleep pins at phy_mdm6600_device_power_off().

As the modem can also be booted to a serial port mode for firmware
flashing, let's make the pin changes limited to probe and remove. For
probe, we get the default pins automatically. We only need to set the
sleep pins in phy_mdm6600_device_power_off() to prevent the modem from
waking up because the gpio line glitches.

If it turns out that we need a separate state for phy_mdm6600_power_on()
and phy_mdm6600_power_off(), we can use the pinctrl idle state.

Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Fixes: 2ad2af0816 ("phy: mapphone-mdm6600: Improve phy related runtime PM calls")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230913060433.48373-3-tony@atomide.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-09-14 17:05:27 +05:30
..
allwinner phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
amlogic phy: amlogic: meson-g12a-usb2: fix Wvoid-pointer-to-enum-cast warning 2023-08-22 19:28:10 +05:30
broadcom phy: broadcom: sr-usb: fix Wvoid-pointer-to-enum-cast warning 2023-08-11 09:25:14 +01:00
cadence phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
freescale phy: fsl-imx8mq-usb: add dev_err_probe if getting vbus failed 2023-08-22 19:28:11 +05:30
hisilicon phy-for-6.6 2023-09-03 10:38:02 -07:00
ingenic phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
intel phy-for-6.4 2023-05-03 11:17:34 -07:00
lantiq phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
marvell phy: marvell pxa-usb: fix Wvoid-pointer-to-enum-cast warning 2023-08-11 09:25:15 +01:00
mediatek phy-for-6.6 2023-09-03 10:38:02 -07:00
microchip phy: sparx5-serdes: add skip_cmu_cfg check when configuring lanes 2023-05-08 17:13:01 +05:30
motorola phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins 2023-09-14 17:05:27 +05:30
mscc phy: phy-ocelot-serdes: add ability to be used in a non-syscon configuration 2023-03-20 09:08:48 +00:00
qualcomm phy-for-6.6 2023-09-03 10:38:02 -07:00
ralink phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
realtek phy: realtek: usb: add the error handler for nvmem_cell_read 2023-08-04 14:47:18 +02:00
renesas phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
rockchip phy: rockchip: inno-dsidphy: Add rv1126 support 2023-08-22 19:28:11 +05:30
samsung phy: exynos5-usbdrd: Add Exynos850 support 2023-08-22 19:41:15 +05:30
socionext phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
st phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
starfive phy: starfive: StarFive PHYs should depend on ARCH_STARFIVE 2023-07-26 19:09:08 +05:30
sunplus phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
tegra phy: Remove duplicated include in xusb.c 2023-07-24 16:24:19 +05:30
ti phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
xilinx phy: zynqmp: Allow variation in refclk rate 2023-07-12 22:27:44 +05:30
Kconfig phy-for-6.6 2023-09-03 10:38:02 -07:00
Makefile phy-for-6.6 2023-09-03 10:38:02 -07:00
phy-can-transceiver.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-core-mipi-dphy.c phy: dphy: add support to calculate the timing based on hs_clk_rate 2022-10-27 14:38:04 +03:00
phy-core.c phy: core: add debugfs files 2023-05-19 23:23:52 +05:30
phy-lgm-usb.c phy: phy-lgm-usb: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30