[U-Boot] [linux-sunxi] Re: [PATCH v2 0/6] musb-new: Improve shutdown code

Jagan Teki jagan at amarulasolutions.com
Thu Aug 23 12:05:24 UTC 2018


On Wed, Aug 22, 2018 at 8:11 AM, Chen-Yu Tsai <wens at csie.org> wrote:
> On Tue, Aug 21, 2018 at 9:04 PM Jagan Teki <jagan at amarulasolutions.com> wrote:
>>
>> On Fri, Jul 20, 2018 at 12:43 PM, Jagan Teki <jagan at amarulasolutions.com> wrote:
>> > This is v2 for previous series[1], by excluding sunxi phy changes.
>> >
>> > One patch mark it as 'RFC' about "including UCLASS_USB_DEV_GENERIC
>> > into shutdown caller" so expecting some inputs on the same
>> >
>> > [1] https://patchwork.ozlabs.org/cover/941588/
>> >
>> > Jagan Teki (6):
>> >   usb: musb-new: Fix improper musb host pointer
>> >   usb: musb-new: sunxi: Allocate struct phy in private
>> >   dm: usb: Add UCLASS_USB_DEV_GENERIC shutdown
>> >   musb-new: sunxi: Access ahb_reset0_cfg via ccm offset
>> >   usb: musb-new: sunxi: Add proper musb exit support
>> >   usb: musb-new: Call musb_platform_exit from musb_stop
>>
>> I'm planning to apply by excluding RFC patch, let me know if anyone
>> has any inputs.
>
> Boots cleanly without the RFC patch on the Bananapi M2 Magic,
> with musb-new built in both host and gadget mode.

Thanks.

Collected Tested-by and Applied to u-boot-sunxi/master

>
> Curiously, both modes can be enabled at the same time in Kconfig,
> but host mode takes precedence in the actual operation.

Look like Yes. I think we can grab dr_mode to set respective mode.


More information about the U-Boot mailing list