blob: 2090b61bbdd76d90389aaed22caed806ec38c8fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# SPDX-License-Identifier: GPL-2.0-only
menuconfig QCOM_POWER_SUPPLY
bool "Support for Qualcomm Technologies, Inc. power supply"
depends on ARCH_QCOM
if QCOM_POWER_SUPPLY
config QPNP_QG
tristate "QPNP Qgauge driver"
depends on MFD_SPMI_PMIC
depends on IIO
help
Say Y here to enable the Qualcomm Technologies, Inc. QGauge driver
which uses the periodic sampling of the battery voltage and current
to determine the battery state-of-charge (SOC) and supports other
battery management features.
To compile this driver as a module, choose M here: the
module will be called qcom-qpnp-qg.
config QPNP_SMB5
tristate "SMB5 Battery Charger"
depends on MFD_SPMI_PMIC && IIO
help
Say Y to enables support for the SMB5 charging peripheral.
The QPNP SMB5 charger driver supports the charger peripheral
present in the chip.
The power supply and iio frameworks are used to communicate battery
and usb properties to userspace and other driver consumers such
as fuel gauge, USB, and USB-PD.
VBUS and VCONN regulators are registered for supporting OTG,
and powered Type-C cables respectively.
To compile this driver as a module, choose M here: the
module will be called qpnp-smb5-main.
config QPNP_SMBLITE
tristate "SMBLITE Battery Charger"
depends on MFD_SPMI_PMIC
help
Say Y to enable support for the SMBLITE charging peripheral.
The QPNP SMBLITE charger driver supports the charger peripheral
present in the chip.
The power supply framework is used to communicate battery and
usb properties to userspace and other driver consumers such
as fuel gauge and USB.
VBUS regulator is registered for supporting OTG.
config SMB1398_CHARGER
tristate "SMB1398 power supply framework based driver"
depends on MFD_I2C_PMIC && IIO
help
Say Y to include the support of SMB1398 Charge driver based on power
supply framework.
SMB1398 is a combo charger chip which can work in different modes:
(1) DIV2 charge pump mode to work as a companion charger to be paired
with Qualcomm Technologies, Inc.’s family of standalone chargers;
(2) DIV2 and 3-level buck combo mode to regulate the output power from
wireless charger receiver and provide the input for downstream
chargers.
config SMB1355_SLAVE_CHARGER
tristate "SMB1355 Slave Battery Charger"
depends on MFD_I2C_PMIC && IIO
help
Say Y to include support for SMB1355 Battery Charger.
SMB1355 is a single phase 5A battery charger.
The driver supports charger enable/disable.
The driver reports the charger status via the power supply framework.
A charger status change triggers an IRQ via the device STAT pin.
config SMB1390_CHARGE_PUMP_PSY
tristate "SMB1390 power supply framework based driver"
depends on MFD_I2C_PMIC
help
Say Y to include support for SMB1390 Charge Pump driver based on
power supply framework.
SMB1390 is a div2 charge pump capable of delivering 6A charge current
with very high efficiency. It can work either as 2s to 1s pre-regulator
or as a companion charger when paired with Qualcomm Technologies, Inc.’s
family of standalone chargers to enable a high current, low profile
Li+ battery charging system.
config SMB1351_USB_CHARGER
tristate "smb1351 usb charger (with VBUS detection)"
depends on MFD_I2C_PMIC
help
Say Y to enable support for the SMB1351 switching mode based charger.
The driver supports charging control (enable/disable) and
charge-current limiting. It also provides USB VBUS detection and
notification support. The driver controls SMB1351 via I2C and
supports device-tree interface.
endif
|