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

Samuel Holland samuel at sholland.org
Tue Feb 22 19:44:38 PST 2022


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 at arm.com>
> Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

Acked-by: Samuel Holland <samuel at sholland.org>



More information about the linux-phy mailing list