usb: gadget: udc-xilinx: Add clock support
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 28 Sep 2021 05:27:11 +0000 (10:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:55:16 +0000 (12:55 +0200)
commit24749229211ccc11a3829d4f2514c2e2bac9d04b
tree5d08e6a3f1fada02462ad4701738a91479ace19a
parent01b541504466bd3bb5dfcf5a8f9784561ba16cb6
usb: gadget: udc-xilinx: Add clock support

Currently the driver depends on the  bootloader to enable the clocks.
Add support for clocking. The patch enables the clock at  probe and
disables them at remove.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Acked-by: Felipe Balbi <balbi@kernel.org>
Link: https://lore.kernel.org/r/054de6deeab81020eaf0399add2839c36b64275f.1632805672.git.shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/udc-xilinx.c