8000 MLK-12860-4 usb: chipidea: imx: add HSIC support for imx7d · codebug8/linux-imx@d95d2e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit d95d2e8

Browse files
Peter ChenPeter Chen
authored andcommitted
MLK-12860-4 usb: chipidea: imx: add HSIC support for imx7d
Add HSIC support for imx7d. We have not supported HSIC as system wakeup as well as HSIC remote wakeup function at DSM mode, since the 24M OSC can't be off and the SoC internal regulators can't be off at this mode, that will keep power consumption much higher. Signed-off-by: Peter Chen <peter.chen@freescale.com>
1 parent abc9926 commit d95d2e8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drivers/usb/chipidea/ci_hdrc_imx.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2015 Freescale Semiconductor, Inc.
2+
* Copyright 2012-2016 Freescale Semiconductor, Inc.
33
* Copyright (C) 2012 Marek Vasut <marex@denx.de>
44
* on behalf of DENX Software Engineering GmbH
55
*
@@ -134,10 +134,15 @@ static inline bool is_imx6sx_con(struct ci_hdrc_imx_data *imx_data)
134134
return imx_data->data == &imx6sx_usb_data;
135135
}
136136

137+
static inline bool is_imx7d_con(struct ci_hdrc_imx_data *imx_data)
138+
{
139+
return imx_data->data == &imx7d_usb_data;
140+
}
141+
137142
static inline bool imx_has_hsic_con(struct ci_hdrc_imx_data *imx_data)
138143
{
139144
return is_imx6q_con(imx_data) || is_imx6sl_con(imx_data)
140-
|| is_imx6sx_con(imx_data);
145+
|| is_imx6sx_con(imx_data) || is_imx7d_con(imx_data);
141146
}
142147

143148
/* Common functions shared by usbmisc drivers */

0 commit comments

Comments
 (0)
0