WSL2-Linux-Kernel/drivers/usb/isp1760
Rui Miguel Silva 9c1587d99f usb: isp1760: otg control register access
The set/clear of the otg control values is done writing to
two different 16bit registers, however we setup the regmap
width for isp1760/61 to 32bit value bits.

So, just access the clear register address (0x376)as the high
part of the otg control register set (0x374), and write the
values in one go to make sure they get clear/set.

Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210827131154.4151862-6-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-27 16:11:39 +02:00
..
Kconfig usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
isp1760-core.c usb: isp1760: otg control register access 2021-08-27 16:11:39 +02:00
isp1760-core.h usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-hcd.c usb: isp1760: write to status and address register 2021-08-27 16:11:39 +02:00
isp1760-hcd.h usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-if.c usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-regs.h usb: isp1760: otg control register access 2021-08-27 16:11:39 +02:00
isp1760-udc.c usb: isp1760: use the right irq status bit 2021-08-27 16:11:39 +02:00
isp1760-udc.h usb: isp1763: add peripheral mode 2021-05-21 20:05:32 +02:00