Thread (19 messages) 19 messages, 7 authors, 2025-07-16

Re: [PATCH 3/5] phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM

From: Chaoyi Chen <hidden>
Date: 2025-07-16 01:56:48
Also in: dri-devel, linux-devicetree, linux-phy, linux-rockchip, lkml

Hi Dmitry,

On 2025/7/15 20:05, Dmitry Baryshkov wrote:
On Tue, Jul 15, 2025 at 07:24:54PM +0800, Chaoyi Chen wrote:
quoted
From: Chaoyi Chen <redacted>

This patch add support for Type-C Port Controller Manager.
The extcon device should still be supported.

Signed-off-by: Chaoyi Chen <redacted>
---
  drivers/phy/rockchip/phy-rockchip-typec.c | 335 ++++++++++++++++++++--
  1 file changed, 319 insertions(+), 16 deletions(-)
Please keep TCPM implementation under drivers/usb/typec/tcpm/ . Create
an aux device and write an aux driver for the TCPM part.
Sorry, the commit messages may not be described accurately enough.


This patch adds mux/switch operations to the PHY driver to improve 
communication with the TCPM framework. Since this PHY is a combo USB/DP 
PHY, it requires configuration changes to the PHY lanes based on the 
USB-C  plug orientation (CC logic), similar to the existing extcon 
mechanism implementation. Of course, the original extcon functionality 
will remain fully compatible.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help