summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@nvidia.com>2014-02-11 16:06:52 +0000
committerMandar Padmawar <mpadmawar@nvidia.com>2014-06-03 07:36:19 -0700
commite8380680f669666c7fe13d4b419db1078e948e8d (patch)
tree70c977ea7c9d451d29e7d09ff0b5c4eb7eef2bd9 /include
parent41093db171190ea08132ee7504c1f565d98f38e7 (diff)
phy usb: add Maxim Fast Charger information
Maxim 14675 charger support at the PHY layer Bug 1321188 Bug 1456402 (cherry picked from commit 2ab5c72ab40adfdc34d5334a4c2c4648ccdac42e) Change-Id: I31d672e82f9f3a4ccf5a8db75df8f7e12f30a63b Reviewed-on: http://git-master/r/400490 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/417035 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/tegra_usb_phy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/tegra_usb_phy.h b/include/linux/usb/tegra_usb_phy.h
index e1a6d5ca5fe7..0e55728a83e2 100644
--- a/include/linux/usb/tegra_usb_phy.h
+++ b/include/linux/usb/tegra_usb_phy.h
@@ -108,6 +108,12 @@ bool tegra_usb_phy_qc2_charger_detected(struct tegra_usb_phy *phy,
bool tegra_usb_phy_cdp_charger_detected(struct tegra_usb_phy *phy);
/**
+ * Indicates whether maxim charger is connected or not
+ * if maxim is connect then returns true else false
+ */
+bool tegra_usb_phy_maxim_charger_detected(struct tegra_usb_phy *phy);
+
+/**
* Indicates whether nvidia proprietary charger is connected or not
* if nvidia proprietary charger is detected then returns true else false
*/