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>
This commit is contained in:
Peter Chen
2015-07-10 15:46:04 +08:00
committed by Anson Huang
parent 557dd65f04
commit e11a98cb07

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Freescale Semiconductor, Inc.
* Copyright 2012-2016 Freescale Semiconductor, Inc.
* Copyright (C) 2012 Marek Vasut <marex@denx.de>
* on behalf of DENX Software Engineering GmbH
*
@ -139,10 +139,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 */