Re: [PATCH v5] usb: dwc3: core: add support for realtek SoCs custom's global register start address

From: Sergei Shtylyov
Date: Thu May 04 2023 - 03:50:56 EST


Hello!

On 5/4/23 6:44 AM, Stanley Chang wrote:

> The Realtek RTD1xxx SoCs were designed, the global register address
> offset at 0x8100.

Can't parse that, perhaps "with" is missing?

> The default address offset is constant at
> DWC3_GLOBALS_REGS_START (0xc100). Therefore, add a check if the
> compatible name of the parent is "realtek,rtd1xxx-dwc3", then global

Wildcards are not allowed in the "compatible" props...

> register start address will remap to 0x8100.
>
> Signed-off-by: Stanley Chang <stanley_chang@xxxxxxxxxxx>
[...]

MBR, Sergey