1
0
Fork 0
alistair23-linux/drivers/phy/rockchip
Enric Balletbo i Serra ec1fcd7b7e phy: rockchip-typec: fall back to working in host-mode if extcon is missing.
Right now the rockchip type-c phy does fail probing when no extcon is
detected. Some boards get the cable-state via the extcon interface and
have this supported, other boards seem to use the fusb302 chip or
another but the driver currently does not seem to utilize the extcon
interface to report the cable-state. And, other, just connect the type-c
to a standard USB-A port so use no controller at all. A missing extcon
shouldn't fail to probe, instead, should just fall back to working in
host-mode if it cannot get the extcon.

Fixes: c301b327ae ("arm64: dts: rockchip: add usb3-phy otg-port support for rk3399")
Reported-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-03-16 16:55:37 +05:30
..
Kconfig phy: add 'depends on HAS_IOMEM' to fix unmet dependency 2018-03-16 13:40:45 +05:30
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-rockchip-dp.c phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
phy-rockchip-emmc.c phy: rockchip-emmc: use regmap_read_poll_timeout to poll dllrdy 2018-03-08 13:56:23 +05:30
phy-rockchip-inno-usb2.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
phy-rockchip-pcie.c phy: rockchip-pcie: Reconstruct driver to support per-lane PHYs 2017-08-28 13:34:37 -05:00
phy-rockchip-typec.c phy: rockchip-typec: fall back to working in host-mode if extcon is missing. 2018-03-16 16:55:37 +05:30
phy-rockchip-usb.c phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30