• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# PMIC drivers configuration
4#
5
6menu "PMIC Drivers"
7	depends on AW_BSP
8
9config AW_MFD_AXP2101
10	tristate
11	select MFD_CORE
12	select REGMAP_IRQ
13	select HAS_IOMEM
14
15config AW_MFD_AXP2101_I2C
16	tristate "X-POWERS AXP2101 PMICs with I2C"
17	select AW_MFD_AXP2101
18	select REGMAP_I2C
19	select I2C
20	help
21	  If you say Y here you get support for the X-Powers AXP2101 power
22	  management ICs (PMICs) controlled with I2C.
23	  This driver include only the core APIs. You have to select individual
24	  components like regulators or the PEK (Power Enable Key) under the
25	  corresponding menus.
26
27if AW_MFD_AXP2101
28
29comment "Regulator Drivers"
30
31config AW_REGULATOR_AXP2101
32	tristate "X-POWERS AXP2101 PMIC Regulators"
33	depends on AW_MFD_AXP2101
34	select REGULATOR
35	select REGULATOR_VIRTUAL_CONSUMER
36	help
37	  This driver provides support for the voltage regulators on the
38	  AXP2101 PMIC.
39
40comment "Powerkey Drivers"
41
42config AW_INPUT_AXP2101_PEK
43	tristate "X-POWERS AXP2101 Power Button Driver"
44	depends on !UML
45	depends on AW_MFD_AXP2101
46	help
47	  Say Y here if you want to enable power key reporting via the
48	  AXP20X PMIC.
49
50	  To compile this driver as a module, choose M here. The module will
51	  be called axp2101-pek.
52
53comment "Power Supply Drivers"
54
55config AW_AXP803_POWER
56	tristate "AXP803 Power Supply Driver"
57	select POWER_SUPPLY
58	help
59	  This driver provides support for the power supply features of
60	  AXP803 PMIC.
61
62config AW_AXP2202_POWER
63	tristate "AXP2202 Power Supply Driver"
64	select POWER_SUPPLY
65	help
66	  This driver provides support for the power supply features of
67	  AXP2202 PMIC.
68
69config AW_AXP2202_GPIO_POWER
70	tristate "AXP2202 Power Virtual ACIN"
71	select POWER_SUPPLY
72	help
73	  This driver provides support for ACIN function in
74	  AXP2202 PMIC.
75
76endif
77
78endmenu
79