diff options
author | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2021-07-13 18:55:19 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-21 15:47:29 +0000 |
commit | 5055d88f4054888c50695fc54f8fee4b92dfb726 (patch) | |
tree | 52ee47d13485f9c9061e77ff36b5b06c628a3955 /src | |
parent | 86c50e11ced7d7e3ae62b90a4a0dcdae8d740247 (diff) |
mb/google/cherry: add mt6360 ids for regulator.c
Add MTK_REGULATOR_VCC and MTK_REGULATOR_VCCQ for regulator.c.
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: Iedb1036da3c87106157c51cc46b52545faba102c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56436
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/cherry/regulator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/regulator.c b/src/mainboard/google/cherry/regulator.c index 0c1f7feb05..abda0d7682 100644 --- a/src/mainboard/google/cherry/regulator.c +++ b/src/mainboard/google/cherry/regulator.c @@ -16,6 +16,10 @@ static int get_mt6360_regulator_id(enum mtk_regulator regulator) return MT6360_BUCK1; case MTK_REGULATOR_VDDQ: return MT6360_BUCK2; + case MTK_REGULATOR_VCC: + return MT6360_LDO5; + case MTK_REGULATOR_VCCQ: + return MT6360_LDO3; default: break; } |