On Thu, 2026-10-29 at 12:36 +0100, Mehmet Fide wrote:
> Marek Vasut wrote:
> > I assume that usbmisc driver could also be reused by VF610 , paging
> > Mehmet on this topic.
>
> Yes, it could. On Vybrid each controller has its own usbmisc
> ("fsl,vf610-usbmisc", usbmisc0 at 0x40034800, usbmisc1 at 0x400b4800,
> index always 0). USBCx_CTRL has PWR_POL, OVER_CUR_POL and OVER_CUR_DIS
> at bits 9, 8 and 7, the same as UCTRL on i.MX6, so the over-current and
> power polarity code can be shared. ehci-vf sets OVER_CUR_POL and
> OVER_CUR_DIS in that register directly today.
>
> On the !DM_USB question: patch 3/9 of the ehci-vf v9 series removes the
> !DM_USB path, so VF610 would only need the DM driver.
>
> Once the driver is in, I can switch ehci-vf over to it and test it on
> the Colibri VF50 and VF61.
It would be nice if we could get rid of !DM_USB in ehci-mx6 as well. I may have
missed a few, but I think the following are all defconfigs with
'CONFIG_USB_EHCI_MX[67]=y' and 'CONFIG_SPL_DM_USB is not set':
imx6dl_mamoj_defconfig
imx8mp_data_modul_edm_sbc_defconfig
imx8mn_ddr4_evk_defconfig
imx8mp_dhcom_drc02_defconfig
imx8mp_dhcom_pdk2_defconfig
imx8mp_dhcom_pdk3_defconfig
imx8mp_dhcom_picoitx_defconfig
imxrt1050-evk_defconfig
imxrt1050-evk_fspi_defconfig
kontron-osm-s-mx8mp_defconfig
kp_imx6q_tpc_defconfig
I can propose a patch to drop the !DM_USB code, but out of these the
imx8mn_ddr4_evk is the only one I have here for testing.
Best,
Nora
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/