google_cpm: add support for WLCDC
Preliminary support for WLC DC:
= delegate the selection of the input to the PPS_Work workloop
= add the gcpm_pps power supply
Bug: 177471684
Signed-off-by: AleX Pelosi <[email protected]>
Change-Id: Ibd44d3d4e7d5077dcc4a2f1fa09085e1ae6772e6
diff --git a/google_dc_pps.h b/google_dc_pps.h
index 384d1e2..05560e5 100644
--- a/google_dc_pps.h
+++ b/google_dc_pps.h
@@ -79,7 +79,8 @@
#define pps_is_disabled(x) (((x) == PPS_NOTSUPP) || ((x) == PPS_DISABLED))
struct dentry;
-int pps_init(struct pd_pps_data *pps_data, struct device *dev);
+int pps_init(struct pd_pps_data *pps_data, struct device *dev,
+ struct power_supply *pps_psy);
int pps_init_fs(struct pd_pps_data *pps_data, struct dentry *de);
/* reset state and leave in DISABLED */
void pps_init_state(struct pd_pps_data *pps_data);