[PATCH v9 2/6] phy: realtek: usb2: introduce read and write functions to phy_reg_desc struct

Manivannan Sadhasivam mani at kernel.org
Sun Nov 1 02:30:56 PST 2026


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 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