]> www.infradead.org Git - users/willy/linux.git/commit
phy: sun4i-usb: add support for missing USB PHY index
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 4 Oct 2018 12:28:47 +0000 (20:28 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 12 Nov 2018 10:53:43 +0000 (16:23 +0530)
commit43b05e288c76ebaea767c86cf1fbd9c841617ba1
treea724419618bac2f82809efd98f9be8fa6adaf8aa
parentff8780392c4425fd64690ac59c5655f70dbd510f
phy: sun4i-usb: add support for missing USB PHY index

The new Allwinner H6 SoC's USB2 PHY has two holes -- USB1 (which is a
3.0 port with dedicated PHY) and USB2 (which doesn't exist at all).

Add support for this kind of missing USB PHY index.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/allwinner/phy-sun4i-usb.c