On 9/15/26 10:00 AM, Julien Stephan wrote: > drivers/phy/ hosts a growing number of MediaTek PHY drivers (T-PHY, > XS-PHY, UFS, HDMI). Other vendors already keep their PHY drivers in a > per-vendor subdirectory, so follow the same layout and move the MediaTek > ARM SoC drivers to drivers/phy/mediatek/, together with their Kconfig > symbols and Makefile rules. > > The MIPS SoC drivers, mt7620-usb-phy.c and mt76x8-usb-phy.c, are left > where they are: MIPS MediaTek support is kept separate from the ARM one > elsewhere in the tree (drivers/clk/mtmips/, drivers/pinctrl/mtmips/), > and Linux does the same, keeping its drivers/phy/mediatek/ for the ARM > SoCs only. > > No functional change: the files are moved verbatim and the Kconfig > symbols keep their names, so existing defconfigs are unaffected. >
... > +config PHY_MTK_TPHY > + bool "MediaTek T-PHY Driver" > + depends on PHY > + depends on ARCH_MEDIATEK || SOC_MT7621 > + select REGMAP > + select SYSCON > + help > + MediaTek T-PHY driver supports usb2.0, usb3.0 ports, PCIe and > + SATA, and meanwhile supports two version T-PHY which have > + different banks layout, the T-PHY with shared banks between > + multi-ports is first version, otherwise is second veriosn, s/veriosn/version/ > + so you can easily distinguish them by banks layout. > +
