Commit d904b38d authored by Roger Quadros's avatar Roger Quadros Committed by Paul Walmsley

ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

Add the sysconfig class bits for the Super Speed USB
controllers
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Reviewed-by: default avatarRajendra Nayak <rnayak@ti.com>
Tested-by: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 1ea0999e
...@@ -1727,8 +1727,20 @@ static struct omap_hwmod dra7xx_uart6_hwmod = { ...@@ -1727,8 +1727,20 @@ static struct omap_hwmod dra7xx_uart6_hwmod = {
* *
*/ */
static struct omap_hwmod_class_sysconfig dra7xx_usb_otg_ss_sysc = {
.rev_offs = 0x0000,
.sysc_offs = 0x0010,
.sysc_flags = (SYSC_HAS_DMADISABLE | SYSC_HAS_MIDLEMODE |
SYSC_HAS_SIDLEMODE),
.idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
.sysc_fields = &omap_hwmod_sysc_type2,
};
static struct omap_hwmod_class dra7xx_usb_otg_ss_hwmod_class = { static struct omap_hwmod_class dra7xx_usb_otg_ss_hwmod_class = {
.name = "usb_otg_ss", .name = "usb_otg_ss",
.sysc = &dra7xx_usb_otg_ss_sysc,
}; };
/* usb_otg_ss1 */ /* usb_otg_ss1 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment