summaryrefslogtreecommitdiff
path: root/include/pmu_tpschrome.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pmu_tpschrome.h')
-rw-r--r--include/pmu_tpschrome.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/pmu_tpschrome.h b/include/pmu_tpschrome.h
index 1d60c6b1cd..5f9d1e89a9 100644
--- a/include/pmu_tpschrome.h
+++ b/include/pmu_tpschrome.h
@@ -165,17 +165,6 @@ int pmu_low_current_charging(int enable);
void pmu_irq_handler(enum gpio_signal signal);
/**
- * Get AC state through GPIO
- *
- * @return 0 AC off
- * @return 1 AC on
- *
- * TODO: This is a board specific function, should be moved to
- * system_common.c or board.c
- */
-int pmu_get_ac(void);
-
-/**
* Set temperature threshold
*
* @param temp_n TSET_T1 to TSET_T4
@@ -217,6 +206,17 @@ int pmu_enable_ext_control(int enable);
int pmu_set_fastcharge(enum FASTCHARGE_TIMEOUT timeout);
/**
+ * Get AC state
+ *
+ * @return 0 AC off
+ * @return 1 AC on
+ *
+ * This is a board specific function as we get the PMU VACG signal
+ * through a GPIO.
+ */
+int board_get_ac(void);
+
+/**
* Reset the entire board if it is capable
*/
void board_hard_reset(void);