Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 69da85ed authored by Alexandre Pereira da Silva's avatar Alexandre Pereira da Silva Committed by Felipe Balbi
Browse files

usb: gadget: lpc32xx_udc: Fix compatibility with STOTG04



The STOTG04 is an replacement for ISP1301.

Most of the registers on STOTG04 are the same as on ISP1301, but the
register ISP1301_I2C_OTG_CONTROL_2 (address 0x10) doesn't exist on the
ST part.

This is a work around for this by using the interrupt source register that
should behave the same on both parts and has the needed information.

Tested-by: default avatarRoland Stigge <stigge@antcom.de>
Signed-off-by: default avatarAlexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent d5c6a1e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment