2 * otg.c - ChipIdea USB IP core OTG driver
4 * Copyright (C) 2013 Freescale Semiconductor, Inc.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 * This file mainly handles otgsc register, it may include OTG operation
18 #include <linux/usb/otg.h>
19 #include <linux/usb/gadget.h>
20 #include <linux/usb/chipidea.h>
27 * ci_hdrc_otg_init - initialize otgsc bits
30 int ci_hdrc_otg_init(struct ci_hdrc *ci)
32 ci_enable_otg_interrupt(ci, OTGSC_IDIE);