blob: 571332cfa8c40328be313d96851eef8b21b63106 [file] [log] [blame]
Ken Tsou8acade12020-07-09 03:17:35 +08001menuconfig GOOGLE_BMS
AleX Pelosi78a4bea2020-09-01 19:02:24 -07002 bool "Google, LLC. Charging and Fuel Gauge support"
Ken Tsou8acade12020-07-09 03:17:35 +08003 help
AleX Pelosi78a4bea2020-09-01 19:02:24 -07004 Say Y here to enable Google, LLC. support for Battery and Charging.
Ken Tsou8acade12020-07-09 03:17:35 +08005
6if GOOGLE_BMS
7
8config GOOGLE_BATTERY_CHARGING
9 tristate "Google Battery and Charging Control"
10 select GOOGLE_CHARGER
11 select GOOGLE_BATTERY
12 help
13 Say Y here to enable new Google Gen Features.
14 This option selects Google Battery and Multi Step Charging enabling
15 new features such as battery controlled charge tables and charge path
16 resistance compensation. New gen features require configuration in
17 device tree.
18
19config GOOGLE_CHARGER
20 tristate "Google Multi Step Charging"
21 help
22 Say Y here to choose the Google Multi Step Charging control.
23 The driver implements a multi CC-CV steps charging using battery
24 temperature and voltage to set the charger constant charging
25 current and float voltage.
26
27config GOOGLE_BATTERY
28 tristate "Google Battery"
29 help
30 Say Y here to choose the Google Battery.
31 The driver handles charge tables, recharge threshold, state of charge,
32 battery statistics such as bin count and other features common to all
33 google battery powered devices.
34
Jenny Ho36b6c9f2020-12-21 09:57:16 +080035config GOOGLE_DUAL_BATT_GAUGE
36 tristate "Google Dual Battery Gauge"
37 help
38 Say Y here to choose the Google Dual Battery Gauge.
39 The driver handles 2 battery gauges and called by google battery.
40
Ken Tsou8acade12020-07-09 03:17:35 +080041config GOOGLE_CPM
42 tristate "Google Charging Policy Manager"
43 help
44 Say Y here to enable the Charging Policy Manager.
45 The driver manages multiple chargers (eg primary, secondary).
46
47config USB_OVERHEAT_MITIGATION
48 tristate "Google USB Overheat Mitigation"
49 help
50 Say Y here to enable Google USB overheat mitigation
51
AleX Pelosid71f5852020-08-26 18:40:28 -070052config PMIC_VOTER_COMPAT
53 tristate "QC Pmic Voter compatibility shim"
Ken Tsou8acade12020-07-09 03:17:35 +080054 help
55 Say Y here to enable voter compatibility shim layer.
56 This option enables a call interface between the legacy voter
57 interface and the Google Voting interface.
58
59config GOOGLE_BEE
60 tristate "Google Battery EEPROM"
61 help
62 Say Y here to enable the support for google battery EEPROM
63 The EEPROM contains the battery type, lifetime data and other
64 infomation.
65
66endif # GOOGLE_BMS
67
68config CHARGER_P9221
69 tristate "IDT P9221 wireless power receiver driver"
70 depends on I2C
71 help
72 This driver provides support for the IDT P9221 wireless
73 power receiver.
74
75config CHARGER_MAX77729
76 tristate "Maxim MAX77729 battery charger driver"
77 depends on I2C && OF
78 help
79 Say Y to enable support for the Maxim MAX77729 battery charger.
80
81config CHARGER_MAX77759
82 tristate "Maxim MAX77759 battery charger driver"
83 depends on I2C && OF
84 help
85 Say Y to enable support for the Maxim MAX77759 battery charger.
86
87config PMIC_MAX77729
88 tristate "Maxim MAX77729 PMIC driver"
89 depends on I2C && OF
90 help
91 Say Y to enable support for the Maxim MAX77729 PMIC.
92
93config UIC_MAX77729
94 tristate "Maxim MAX77729 TCPCI driver"
95 depends on I2C && OF
96 help
97 Say Y to enable support for the Maxim MAX77729 TCPCI.
98
99config PCA9468
100 tristate "NXP PCA9468 Direct charger"
101 depends on I2C && OF
102 help
103 Say Y to enable support for the PCA9648 direct charger.
104
105config MAX20339
106 tristate "Maxim MAX20339 input protection chip"
107 depends on I2C && OF
108 help
109 Say Y to enable support for Max20339 OVP and LS circuits.
110
111config MAXQ_MAX77759
112 tristate "Maxim MAX77759 MAXQ"
113 depends on I2C && PMIC_MAX77729
114 help
115 Say Y to enable support for MAX77759 MAXQ support.