usb: typec: Group all TCPCI/TCPM code together
Quoted 47 lines · Guenter Roeck
Quoted 46 lines · Hans de Goede
HI,
Quoted 42 lines · Guenter Roeck
Quoted 29 lines · Heikki Krogerus
Quoted 19 lines · Guenter Roeck
Quoted 8 lines · Heikki Krogerus
Moving all the drivers that depend on the Port Controller Manager under a new a new directory
drivers/usb/typec/tcpci/and making Guenter Roeck as the designated reviewer of that code.Signed-off-by Heikki Krogerus <[email protected]>---
Quoted 9 lines
Hi guys,
This should be fairly trivial change. There is no functional effect. Even menuconfig looks the same. The only interesting thing is that I'm proposing that Guenter is marked as the reviewer/maintainer of all TCPCI/TCPM drivers.
So Guenter, I guess the only question is that are you okay with this?
Quoted 6 lines
NP. I am not sure about the directory name, though. fusb and wcove don't really support tcpci; only rt1711h does. The common denominator is really the port manager (tcpm), not the port controller interface (tcpci).
As such, "typec port controller drivers" (without "interface") may be a bit more appropriate.
Makes sense.
Quoted 9 lines
Quoted 3 lines
Not sure about the directory name, though. Maybe a simple "port" or "controller" would do ? Or anything else that doesn't look like the abbreviation for one of the supported protocols.
"port" maybe, but not controller.
tps6598x.cis also a controller driver, but it does not belong to that directory.How about "phy"?
Maybe just use 'port'. Seems to me that 'phy' would not really be a good match for the port manager (tcpm). 'phy' would still be better than tcpci, though, so I am ok with it if others think it should be used.
Quoted 7 lines
Quoted 5 lines
I'm not a fan of phy, that makes me expect actual ethernet/sata/usb phy drivers, which these or not.
Why not just use tcpm ? As Guenter said that is the common denominator.
Thinking about it, that makes sense.
OK, tcpm it is. I'll prepare v2.
Thanks guys,