From: Heiko Stuebner <heiko@sntech.de>
To: vkoul@kernel.org, kishon@kernel.org
Cc: heiko@sntech.de, linux-phy@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
quentin.schulz@cherry.de, sebastian.reichel@collabora.com,
christophe.jaillet@wanadoo.fr
Subject: [PATCH v2 0/2] phy: rockchip: usbdp: improve typec orientation handling
Date: Wed, 26 Feb 2025 11:38:08 +0100 [thread overview]
Message-ID: <20250226103810.3746018-1-heiko@sntech.de> (raw)
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
next reply other threads:[~2025-02-26 10:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 10:38 Heiko Stuebner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250226103810.3746018-1-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kishon@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=quentin.schulz@cherry.de \
--cc=sebastian.reichel@collabora.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®