summaryrefslogtreecommitdiff
path: root/drivers/fpga/ACEX1K.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2025-07-21 11:02:05 -0700
committerMarek Vasut <marek.vasut+usb@mailbox.org>2025-08-23 18:17:59 +0200
commit445aad45f47a19860eff5b09c4c570285265318a (patch)
treed87a0689dfeea486a1f78a584639022e665d3f95 /drivers/fpga/ACEX1K.c
parentedbcf8e3590fb640b4709841605b0a58ef8aa7f1 (diff)
usb: ehci-mx6: Add i.MX95 OTG support
When the usb node is defined dr_mode="otg" ehci_usb_phy_mode() is called to determine the mode from status registers. The IMX95RM does not currently define the USBNC STATUS register but it is assumed to be an omission as the first three registers are defined. It has been expirimentally verified that the USBNC_PHY_STATUS register at offset 0x23C bit4 (USBNC_PHYSTATUS_ID_DIG) reads 0 when USB_ID is GND and 1 when floating. Use is_imx9() as this driver works for i.MX91, i.MX93 and i.MX95 and all of these determine the role based on the USBNC_PHY_STATUS register. Fixes: 801b5fafd35d "(usb: ehci-mx6: Add i.MX95 support") Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Alice Guo <alice.guo@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'drivers/fpga/ACEX1K.c')
0 files changed, 0 insertions, 0 deletions