diff options
author | Peter Chen <peter.chen@freescale.com> | 2015-07-10 15:46:04 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-05-31 14:02:18 +0800 |
commit | d95d2e8b75862ef3839524842ef409469d264749 (patch) | |
tree | 36c574ec43c84786a1f0396d88f93f08644f39aa | |
parent | abc99265233d0fcf2a4bc913ff4bd0c410566245 (diff) |
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>
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_imx.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index e4d743bd3adb..d2898ec1b876 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 Freescale Semiconductor, Inc. + * Copyright 2012-2016 Freescale Semiconductor, Inc. * Copyright (C) 2012 Marek Vasut <marex@denx.de> * on behalf of DENX Software Engineering GmbH * @@ -134,10 +134,15 @@ static inline bool is_imx6sx_con(struct ci_hdrc_imx_data *imx_data) return imx_data->data == &imx6sx_usb_data; } +static inline bool is_imx7d_con(struct ci_hdrc_imx_data *imx_data) +{ + return imx_data->data == &imx7d_usb_data; +} + static inline bool imx_has_hsic_con(struct ci_hdrc_imx_data *imx_data) { return is_imx6q_con(imx_data) || is_imx6sl_con(imx_data) - || is_imx6sx_con(imx_data); + || is_imx6sx_con(imx_data) || is_imx7d_con(imx_data); } /* Common functions shared by usbmisc drivers */ |