diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/i2c/nau8825/chip.h | 5 | ||||
-rw-r--r-- | src/drivers/i2c/nau8825/nau8825.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/i2c/nau8825/chip.h b/src/drivers/i2c/nau8825/chip.h index 5b160c8724..ce17d3f71c 100644 --- a/src/drivers/i2c/nau8825/chip.h +++ b/src/drivers/i2c/nau8825/chip.h @@ -96,4 +96,9 @@ struct drivers_i2c_nau8825_config { * R is Button impedance */ uint64_t sar_threshold[NAU8825_MAX_BUTTONS]; + + /* Make the drive strength of ADCOUT IO PIN strong if set. + * Otherwise, the drive keeps normal strength. + */ + bool adcout_ds; }; diff --git a/src/drivers/i2c/nau8825/nau8825.c b/src/drivers/i2c/nau8825/nau8825.c index 0915914cbc..76fd8715fb 100644 --- a/src/drivers/i2c/nau8825/nau8825.c +++ b/src/drivers/i2c/nau8825/nau8825.c @@ -69,6 +69,7 @@ static void nau8825_fill_ssdt(const struct device *dev) NAU8825_DP_INT("jack-insert-debounce", config->jack_insert_debounce); NAU8825_DP_INT("jack-eject-deboune", config->jack_eject_debounce); NAU8825_DP_INT("sar-threshold-num", config->sar_threshold_num); + NAU8825_DP_INT("adcout-drive-strong", config->adcout_ds ? 1 : 0); acpi_dp_add_integer_array(dp, "nuvoton,sar-threshold", config->sar_threshold, config->sar_threshold_num); acpi_dp_write(dp); |