gpio: add (most of) driver framework for boot sysmodule usage

This commit is contained in:
Michael Scire 2020-10-30 23:57:21 -07:00 committed by SciresM
parent ddf2f5f3c5
commit 4b4f05b4a6
58 changed files with 3380 additions and 836 deletions

View file

@ -60,7 +60,9 @@ namespace ams::boot {
}
Result ChargerDriver::SetChargeEnabled(bool enabled) {
boot::gpio::SetValue(GpioPadName_Bq24193Charger, enabled ? GpioValue_Low : GpioValue_High);
/* TODO */
AMS_ABORT();
/* boot::gpio::SetValue(GpioPadName_Bq24193Charger, enabled ? GpioValue_Low : GpioValue_High); */
return this->SetChargerConfiguration(bq24193::ChargerConfiguration_ChargeBattery);
}