Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: chipidea: imx: add USB support for i.MX94

Add new imx94_usbmisc_ops for i.MX94 due to it has same wakeup logic
as i.MX95, but it doesn't need workaround for ERR051725, so pullup
is not needed.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20250919071111.2558628-2-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Xu Yang and committed by
Greg Kroah-Hartman
924aa1d9 51659606

+12
+12
drivers/usb/chipidea/usbmisc_imx.c
··· 1224 1224 .power_lost_check = usbmisc_imx7d_power_lost_check, 1225 1225 }; 1226 1226 1227 + static const struct usbmisc_ops imx94_usbmisc_ops = { 1228 + .init = usbmisc_imx7d_init, 1229 + .set_wakeup = usbmisc_imx95_set_wakeup, 1230 + .charger_detection = imx7d_charger_detection, 1231 + .power_lost_check = usbmisc_imx7d_power_lost_check, 1232 + .vbus_comparator_on = usbmisc_imx7d_vbus_comparator_on, 1233 + }; 1234 + 1227 1235 static const struct usbmisc_ops imx95_usbmisc_ops = { 1228 1236 .init = usbmisc_imx7d_init, 1229 1237 .set_wakeup = usbmisc_imx95_set_wakeup, ··· 1488 1480 { 1489 1481 .compatible = "fsl,imx8ulp-usbmisc", 1490 1482 .data = &imx7ulp_usbmisc_ops, 1483 + }, 1484 + { 1485 + .compatible = "fsl,imx94-usbmisc", 1486 + .data = &imx94_usbmisc_ops, 1491 1487 }, 1492 1488 { 1493 1489 .compatible = "fsl,imx95-usbmisc",