Re: [PATCH v10 13/18] phy: sun4i-usb: Allow reset line to be shared

From: Samuel Holland
Date: Tue Feb 22 2022 - 22:44:42 EST


On 2/11/22 6:26 AM, Andre Przywara wrote:
> The USB HCIs (and PHYs?) in Allwinner's newer generation SoCs (H616)
> rely on the reset line of USB PHY 2 to be de-asserted, even when only
> one of the other PHYs is actually in use.

Thankfully, so far this appears to be a quirk of H616 only.

> To make those ports work, we include this reset line in the HCIs' resets
> property, which requires this line to be shareable.
>
> Change the call to allocate the reset line to mark it as shared, to
> enable the other ports on those SoCs.
>
> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
> Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

Acked-by: Samuel Holland <samuel@xxxxxxxxxxxx>