Files
twx-linux/drivers/phy
Jianwei Zheng 22d153d2eb phy: rockchip-inno-usb2: fix USB OTG not working in HOST mode for RK3328
On current code, We check the iddig status to make sure that the id
status is indeed in low level, and then send HOST notification and
power on phy based on this state. But On some Rockchip platforms like
RK3328, the ID Detector pin is not cited, the default state of ID pin
is floating, so the iddig status is always 1 which means in device mode.

To resolve this problem, We need to further check whether usb2phy_reg
structure of utmi_iddig has been initialized or not. If not, We can't
use the iddig status as a judgment condition.

Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Change-Id: Ia16365d79015b81fa8aff2fd7a1c61256b38aa3d
2023-09-12 17:24:35 +08:00
..