Skip to content
Commit 35c27506 authored by John Keeping's avatar John Keeping Committed by Kever Yang
Browse files

rockchip: handle peripheral as well as otg dr_mode



The OTG port is identified by inspecting the "dr_mode" property which is
expected to be "otg" for this port.  But it will work just as well as a
device controller when dr_mode is set to "peripheral", which may be
required if the mode detection pin is not set up correctly and the
device controller needs to be programmed to override this.

Signed-off-by: default avatarJohn Keeping <john@metanate.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 51c54080
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment