diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-12-29 11:41:08 -0500 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-02-29 00:37:50 -0500 |
commit | 81345722a55be4af2afdabd724e73ac491265d7a (patch) | |
tree | 62dd3c0c34b6f8e7b1512b5e23058374fac862eb /drivers/usb/chipidea | |
parent | a057c3259ab6ecab477379d23e27ea0afdb219e6 (diff) |
usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23
Until now the imx23 uses the imx27 platform flag. But the
imx23 needs the flag CI_HDRC_TURN_VBUS_EARLY_ON, too. So
fix this by adding a separate platform flag.
Suggested-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_imx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index f14f4ab47ebb..b4605dd14d15 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c | |||
@@ -28,6 +28,11 @@ struct ci_hdrc_imx_platform_flag { | |||
28 | bool runtime_pm; | 28 | bool runtime_pm; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | static const struct ci_hdrc_imx_platform_flag imx23_usb_data = { | ||
32 | .flags = CI_HDRC_TURN_VBUS_EARLY_ON | | ||
33 | CI_HDRC_DISABLE_STREAMING, | ||
34 | }; | ||
35 | |||
31 | static const struct ci_hdrc_imx_platform_flag imx27_usb_data = { | 36 | static const struct ci_hdrc_imx_platform_flag imx27_usb_data = { |
32 | CI_HDRC_DISABLE_STREAMING, | 37 | CI_HDRC_DISABLE_STREAMING, |
33 | }; | 38 | }; |
@@ -66,6 +71,7 @@ static const struct ci_hdrc_imx_platform_flag imx7d_usb_data = { | |||
66 | }; | 71 | }; |
67 | 72 | ||
68 | static const struct of_device_id ci_hdrc_imx_dt_ids[] = { | 73 | static const struct of_device_id ci_hdrc_imx_dt_ids[] = { |
74 | { .compatible = "fsl,imx23-usb", .data = &imx23_usb_data}, | ||
69 | { .compatible = "fsl,imx28-usb", .data = &imx28_usb_data}, | 75 | { .compatible = "fsl,imx28-usb", .data = &imx28_usb_data}, |
70 | { .compatible = "fsl,imx27-usb", .data = &imx27_usb_data}, | 76 | { .compatible = "fsl,imx27-usb", .data = &imx27_usb_data}, |
71 | { .compatible = "fsl,imx6q-usb", .data = &imx6q_usb_data}, | 77 | { .compatible = "fsl,imx6q-usb", .data = &imx6q_usb_data}, |