RE: [PATCH v3 2/2] dt-bindings: usb: snps,dwc3: Add 'snps,global-regs-starting-offset' quirk

From: Stanley Chang[昌育德]
Date: Fri Apr 21 2023 - 12:13:20 EST


Hi Rob,

> Again, we're not going to keep adding properties for every DWC3 variation. If
> it is board specific, then yes a property is appropriate. If it is SoC specific, then
> imply it from the compatible.
> Or in this case, you could possibly add another reg entry.
>
> Rob
>
Let me try to understand your concerns.

The device-tree property should work for all dwc3 IPs and can be specified by different boards.
For a SoC specific, it should use a compatible or registry entry to change it.
So you think we can't use a property to specify this offset.

Is my understanding correct?

If it is right, using property to solve this problem was my mistake.
I will think a new method to resolve it.