coreboot/src
Yidi Lin dfd5ccee75 mb/google/asurada: Implement enable_regulator and regulator_is_enabled
SD Card driver needs to access two regulators - MT6360_LDO5 and
MT6360_LDO3. These two regulators are disabled by default.

Two APIs are implemented:
- mainboard_enable_regulator: Configure the regulator as enabled/disabled.
- mainboard_regulator_is_enabled: Query if the regulator is enabled.

BUG=b:168863056,b:147789962
BRANCH=none
TEST=emerge-asurada coreboot

Change-Id: I391f908fcb33ffdcccc53063644482eabc863ac4
Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46687
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-11-18 06:13:26 +00:00
..
acpi acpigen: Add more useful helper functions 2020-11-09 07:30:01 +00:00
arch Revert "arch|cpu/x86: Add Kconfig option for x86 reset vector" 2020-11-17 07:46:34 +00:00
commonlib commonlib: Add timestamp values for forced delays 2020-11-16 11:01:37 +00:00
console console: Override uart base address 2020-11-09 07:46:10 +00:00
cpu Revert "arch|cpu/x86: Add Kconfig option for x86 reset vector" 2020-11-17 07:46:34 +00:00
device device/pci: Add NULL check for PCI driver's .ops 2020-11-16 12:15:38 +00:00
drivers src: Add missing 'include <console/console.h>' 2020-11-17 09:01:14 +00:00
ec ec/google/chromeec: Add more wrappers for regulator control 2020-11-18 06:13:12 +00:00
include src: Update some incorrect config options in comments 2020-11-16 12:09:58 +00:00
lib src: Add missing 'include <console/console.h>' 2020-11-17 09:01:14 +00:00
mainboard mb/google/asurada: Implement enable_regulator and regulator_is_enabled 2020-11-18 06:13:26 +00:00
northbridge nb/intel/sandybridge: Clarify some parts of raminit 2020-11-16 12:07:20 +00:00
security vboot: stop implementing VbExDisplayScreen 2020-11-18 05:49:46 +00:00
soc mb/google/asurada: Implement enable_regulator and regulator_is_enabled 2020-11-18 06:13:26 +00:00
southbridge src: Add missing 'include <console/console.h>' 2020-11-17 09:01:14 +00:00
superio superio/nuvoton: Factor out equivalent Kconfig option 2020-10-19 07:06:20 +00:00
vendorcode vc/intel/fsp/fsp2_0/cooperlake_sp: Fix WW45 FSP Memory map HOB mismatch 2020-11-16 11:03:00 +00:00
Kconfig soc/intel/xeon_sp: Move function debug macros 2020-10-29 16:44:19 +00:00