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

From: Manivannan Sadhasivam

Date: Sun Nov 01 2026 - 05:28:33 EST


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@xxxxxxx>
> Signed-off-by: Michael Zavertkin <misha.zavertkin@xxxxxxx>
> Signed-off-by: Rustam Adilov <adilov@xxxxxxxxxxx>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>

- Mani