Re: [PATCH v9 2/6] phy: realtek: usb2: introduce read and write functions to phy_reg_desc struct
From: Manivannan Sadhasivam
Date: Sun Nov 01 2026 - 05:31:22 EST
On 2026-10-16 23:03 +0500, Rustam Adilov wrote:
> RTL9607C is a big endian SoC with little endian USB host controller but
> vstatus register is from big endian memory region and thus existing
> writel doesn't work. It needs either __raw_writel or iowrite32be
> instead.
>
> To handle this situation, introduce read and write function to the
> phy_reg_desc struct and add a default variation that is going to be
> ponted by the existing rtd_phy_reg_desc.
>
> 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