Add changes to board file to support QC2 TN8
quick charge capable is only set for E1936 PMU
add note describing how to configure current
and voltage in the board file.
Bug
1424733
Change-Id: Ibf40d3be8f81a3228c6446475ec44963c986ddc0
Reviewed-on: http://git-master/r/355973
(cherry picked from commit
9524afb32129617f5320504090bad6a69c95d884)
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/363213
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>
tegra_ehci1_utmi_pdata.id_det_type = TEGRA_USB_PMU_ID;
tegra_ehci1_utmi_pdata.id_extcon_dev_name = "as3722-extcon";
} else {
- /* Ardbeg */
+ /* Ardbeg and TN8 */
+
+ /*
+ * TN8 supports vbus changing and it can handle
+ * vbus voltages larger then 5V. Enable this.
+ */
+ if (board_info.board_id == BOARD_P1761 ||
+ board_info.board_id == BOARD_E1784) {
+ /*
+ * Set the maximum voltage that can be supplied
+ * over USB vbus that the board supports if we use
+ * a quick charge 2 wall charger.
+ */
+ tegra_udc_pdata.qc2_voltage = TEGRA_USB_QC2_9V;
+ /*
+ * TN8 board design can handle 3A charging
+ */
+ tegra_udc_pdata.u_data.dev.qc2_current_limit_ma = 3000;
+ }
+
switch (bi.board_id) {
case BOARD_E1733:
/* Host cable is detected through PMU Interrupt */