Messages in this thread | | | Date | Wed, 8 Jun 2022 14:21:38 +0200 | Subject | Re: [PATCH 3/3] riscv: dts: microchip: fix icicle kit's dr_mode | From | Heinrich Schuchardt <> |
| |
On 6/7/22 15:22, Conor Dooley wrote: > The usb on icicle kit is actually configured for otg, not host mode. > Swap it over.
To my understanding both host mode and OTG mode could be supported by the hardware.
Jumper J17 on https://www.microsemi.com/images/10/MicrosoftTeams-image%201.png. USB device mode selection - Open: USB client. Closed: USB host
Is OTG really the most important scenario for running the board? I personally would prefer to run it in host mode to add more peripherals.
What is missing on the driver side to enable host mode?
Can we detect the 5 Volt jumper setting via GPIO?
Best regards
Heinrich
> > Fixes: 528a5b1f2556 ("riscv: dts: microchip: add new peripherals to icicle kit device tree") > Signed-off-by: Conor Dooley<conor.dooley@microchip.com> > --- > arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts > index 044982a11df5..121b01c8784f 100644 > --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts > +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts > @@ -158,5 +158,5 @@ &syscontroller { > > &usb { > status = "okay"; > - dr_mode = "host"; > + dr_mode = "otg"; > }; > -- 2.36.1
| |