diff options
author | Roger Hsieh <rhsieh@nvidia.com> | 2017-02-16 18:00:32 +0800 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2017-05-05 14:55:22 -0700 |
commit | eeedfd3f36090f9d15e9749a1ede09a036b86a1f (patch) | |
tree | 8bc42c81fc51e7d9c025aea9de43da53835c8cda | |
parent | 698ba25737bead5af8dc5bd962d3378400cb39ae (diff) |
arm: tegra12: jetson: disable usb charging detection
Jetson TK1 doesn't support usb charging but the detection is still
running. Disable it to avoid unexpected behavior.
Bug 1861049
Change-Id: I13425d69e190a75084486ff1fc9afeb8aa7acb60
Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Reviewed-on: http://git-master/r/1308015
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-ardbeg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ardbeg.c b/arch/arm/mach-tegra/board-ardbeg.c index 46c4d3f338e1..d6423a38cb87 100644 --- a/arch/arm/mach-tegra/board-ardbeg.c +++ b/arch/arm/mach-tegra/board-ardbeg.c @@ -660,6 +660,11 @@ static void ardbeg_usb_init(void) tegra_ehci1_utmi_pdata.id_det_type = TEGRA_USB_PMU_ID; } tegra_ehci1_utmi_pdata.id_extcon_dev_name = "as3722-extcon"; + + /* Disable Charging detection on Jetson */ + if (board_info.board_id == BOARD_PM375) + tegra_udc_pdata.u_data.dev.charging_supported = false; + } else { /* Ardbeg and TN8 */ |