diff options
author | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2022-10-19 19:00:22 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-21 14:53:02 +0000 |
commit | 1543252e5fcc0de821a5f6de38b10ed31b0cb920 (patch) | |
tree | d4d876f2970c98609c8449b9abcdefef0de1074c /src/soc/mediatek/common/Kconfig | |
parent | 6d449e005c5fc3f5bd54214de0a6d4a04989b042 (diff) |
soc/mediatek/mt8186: Add PMIF_SPMI_IOCFG_DEFAULT_SETTING Kconfig option
For MT8186, PMIF_SPMI mode is the hardware default setting, so we don't
need to configure PMIF SPMI IO pins. Add a config to control that.
BUG=b:249436110
TEST=build pass.
BRANCH=corsola
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Change-Id: I92b54e8379a5dec55ef95cbd72ce03abd3a4954b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68578
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/common/Kconfig')
-rw-r--r-- | src/soc/mediatek/common/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig index ce9f883356..62934dab05 100644 --- a/src/soc/mediatek/common/Kconfig +++ b/src/soc/mediatek/common/Kconfig @@ -70,4 +70,11 @@ config PWRAP_WITH_PMIF_SPMI When this option is enabled, the PMIC interface only supports PWRAP and PMIF_SPMI. +config PMIF_SPMI_IOCFG_DEFAULT_SETTING + bool + default n + help + For SoCs where IO pins default to PMIF_SPMI mode, enable this option + to skip software PMIF_SPMI IO pins configuration. + endif |