]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit21aeedcdb5b8e1a07cf7b501dc08718a4d31dbd4
tree27e8128401bf0238ce886b9e2d354df0e645549f
parent06ffc354bf55ef7357ad13df400d6aad40ba3a38
phy: sun4i-usb: add support for missing USB PHY index

BugLink: https://bugs.launchpad.net/bugs/1837664
[ Upstream commit 2659392e5c08dff626e6db1d739adff58a94604d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/phy/allwinner/phy-sun4i-usb.c