usb: isp1760: move to regmap for register access
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 13 May 2021 08:47:10 +0000 (09:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 18:05:31 +0000 (20:05 +0200)
commit1da9e1c06873350c99ba49a052f92de85f2c69f2
treec5b957e7fadeab2b9fed6c291ea4e958fa9420c4
parentabfabc8ae3bd625f57fa35d25f2435bb6465a3b1
usb: isp1760: move to regmap for register access

Rework access to registers and memory to use regmap framework.
No change in current feature or way of work is intended with this
change.

This will allow to reuse this driver with other IP of this family,
for example isp1763, with little changes and effort.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210513084717.2487366-3-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/isp1760/Kconfig
drivers/usb/isp1760/isp1760-core.c
drivers/usb/isp1760/isp1760-core.h
drivers/usb/isp1760/isp1760-hcd.c
drivers/usb/isp1760/isp1760-hcd.h
drivers/usb/isp1760/isp1760-if.c
drivers/usb/isp1760/isp1760-regs.h
drivers/usb/isp1760/isp1760-udc.c
drivers/usb/isp1760/isp1760-udc.h