mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] phy: rockchip: usbdp: improve typec orientation handling
@ 2025-02-26 10:38 Heiko Stuebner
  2025-02-26 10:38 ` [PATCH v2 1/2] phy: rockchip: usbdp: move type-orientation-switch further down Heiko Stuebner
  2025-02-26 10:38 ` [PATCH v2 2/2] phy: rockchip: usbdp: re-init the phy on orientation-change Heiko Stuebner
  0 siblings, 2 replies; 8+ messages in thread
From: Heiko Stuebner @ 2025-02-26 10:38 UTC (permalink / raw)
  To: vkoul, kishon
  Cc: heiko, linux-phy, linux-arm-kernel, linux-rockchip, linux-kernel,
	quentin.schulz, sebastian.reichel, christophe.jaillet

Reinit the phy if it's already running when a type-orientation
event happens.

changes in v2:
- fix an error I made when splitting into code-move + re-init
  function should still return 0 after first patch
- use rk_udphy_init() instead of disable + setup combo
  We don't need to disable + reenable clocks

Heiko Stuebner (2):
  phy: rockchip: usbdp: move type-orientation-switch further down
  phy: rockchip: usbdp: re-init the phy on orientation-change

 drivers/phy/rockchip/phy-rockchip-usbdp.c | 171 +++++++++++-----------
 1 file changed, 88 insertions(+), 83 deletions(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-03-05 21:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-26 10:38 [PATCH v2 0/2] phy: rockchip: usbdp: improve typec orientation handling Heiko Stuebner
2025-02-26 10:38 ` [PATCH v2 1/2] phy: rockchip: usbdp: move type-orientation-switch further down Heiko Stuebner
2025-02-26 11:43   ` Quentin Schulz
2025-02-26 10:38 ` [PATCH v2 2/2] phy: rockchip: usbdp: re-init the phy on orientation-change Heiko Stuebner
2025-02-26 12:38   ` Quentin Schulz
2025-03-01 21:19     ` Sebastian Reichel
2025-03-03  9:27       ` Quentin Schulz
2025-03-05 21:52         ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®