ANDROID: GKI: Build-in REGMAP_SPMI
REGMAP_SPMI is a hidden symbol normally selected by other SPMI drivers, but it wasn't built-in to GKI like other REGMAP APIs so vendors had to build it downstream. This is a small amount of code and can be modularized later. For allmodconfig, select SPMI via Kconfig.gki instead of gki_defconfig, because otherwise allmodconfig will build SPMI=m and REGMAP_SPMI=y, which is not allowed. Bug: 248307451 Signed-off-by: Alistair Delva <adelva@google.com> Change-Id: Ic3833e3a2dc44386c12a2422562994a1581a549c
This commit is contained in:
@@ -18,6 +18,8 @@ config GKI_HIDDEN_REGMAP_CONFIGS
|
||||
bool "Hidden Regmap configs needed for GKI"
|
||||
select REGMAP_IRQ
|
||||
select REGMAP_MMIO
|
||||
select REGMAP_SPMI
|
||||
select SPMI
|
||||
help
|
||||
Dummy config option used to enable hidden regmap configs.
|
||||
These are normally selected implicitly when a module
|
||||
|
||||
Reference in New Issue
Block a user