[PATCH v9 1/6] phy: realtek: usb2: introduce phy_reg_desc struct to the driver

Manivannan Sadhasivam mani at kernel.org
Sun Nov 1 02:28:00 PST 2026


On 2026-10-16 23:03 +0500, Rustam Adilov wrote:
> In RTL9607C SoC, there are a few differences in usb2 phy compared
> to existing RTD SoCs, like vstatus register is at certain offset
> from the base, busy bit and new_reg_req bit are at different bits
> of the register.
> 
> To avoid duplicating these variables across phy cfg and driver data,
> create a per-SoC struct that would hold them and with that add the
> default rtd_phy_reg_desc to which all RTD SoCs driver data will
> point towards.
> 
> Co-developed-by: Michael Zavertkin <misha.zavertkin at mail.ru>
> Signed-off-by: Michael Zavertkin <misha.zavertkin at mail.ru>
> Signed-off-by: Rustam Adilov <adilov at disroot.org>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam at oss.qualcomm.com>

- Mani





More information about the linux-phy mailing list