f0b20c1c93
Added a Kconfig option to enable SOC_DCDC_NRF52X_HV for nice_nano_v2 and mikoto. According to Nordic's documentation, the DC/DC regulator is more efficient than the LDO regulator, so this is enabled by default. The following boards do not support this mode and were not changed: - nice_nano - nice60 - nrfmicro_11, nrfmicro_13 - nrf52840_m2 - bluemicro840 I could not find schematics to confirm whether the following boards support this mode: - bt60_v1, bt60_v2 - bt65_v1 - bt75_v1 - corneish_zen_v1, corneish_zen_v2 - pillbug - puchi_ble_v1 - s40nc
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
config BOARD_ENABLE_DCDC
|
|
bool "Enable DCDC mode"
|
|
select SOC_DCDC_NRF52X
|
|
default y
|
|
depends on (BOARD_MIKOTO_520)
|
|
|
|
config BOARD_ENABLE_DCDC_HV
|
|
bool "High voltage DCDC converter"
|
|
select SOC_DCDC_NRF52X_HV
|
|
default y
|
|
depends on (BOARD_MIKOTO_520)
|
|
|
|
choice BOARD_MIKOTO_CHARGER_CURRENT
|
|
prompt "Charge current to supply to attached batteries"
|
|
depends on (BOARD_MIKOTO_520)
|
|
|
|
config BOARD_MIKOTO_CHARGER_CURRENT_40MA
|
|
bool "40mA charge current, for battery capacity 40mAh or higher"
|
|
|
|
config BOARD_MIKOTO_CHARGER_CURRENT_100MA
|
|
bool "100mA charge current, for battery capacity 100mAh or higher"
|
|
|
|
config BOARD_MIKOTO_CHARGER_CURRENT_150MA
|
|
bool "150mA charge current, for battery capacity 150mAh or higher"
|
|
|
|
config BOARD_MIKOTO_CHARGER_CURRENT_250MA
|
|
bool "250mA charge current, for battery capacity 250mAh or higher"
|
|
|
|
config BOARD_MIKOTO_CHARGER_CURRENT_350MA
|
|
bool "350mA charge current, for battery capacity 350mAh or higher"
|
|
|
|
config BOARD_MIKOTO_CHARGER_CURRENT_NONE
|
|
bool "Disable charge current"
|
|
|
|
endchoice |