diff options
author | Martin Roth <martin@coreboot.org> | 2019-10-23 21:41:00 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-10-27 21:08:39 +0000 |
commit | 38ddbfb325866716c9c65a460e388f33d1a773dd (patch) | |
tree | ffc7469c60e0a94321cf96de2bd0c4928067849f /src/drivers/i2c/nau8825/chip.h | |
parent | e74ca4ffc2008a93e38909a4d583408affbaf28a (diff) |
src/[arch-lib]: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: Ibb7b48a7a144421aff29acbb7ac30968ae5fe5ab
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36329
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/drivers/i2c/nau8825/chip.h')
-rw-r--r-- | src/drivers/i2c/nau8825/chip.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/drivers/i2c/nau8825/chip.h b/src/drivers/i2c/nau8825/chip.h index 72704e5c9d..9fc8e96ac4 100644 --- a/src/drivers/i2c/nau8825/chip.h +++ b/src/drivers/i2c/nau8825/chip.h @@ -24,19 +24,19 @@ struct drivers_i2c_nau8825_config { struct acpi_irq irq; /* I2C Bus Frequency in Hertz (default 400kHz) */ - unsigned bus_speed; + unsigned int bus_speed; /* Enable jack detection via JKDET pin */ - unsigned jkdet_enable; + unsigned int jkdet_enable; /* Enable JKDET pin pull if set, otherwise high impedance state */ - unsigned jkdet_pull_enable; + unsigned int jkdet_pull_enable; /* Pull-up JKDET pin if set, otherwise pull down */ - unsigned jkdet_pull_up; + unsigned int jkdet_pull_up; /* JKDET pin polarity, 0 => active high, 1 => active low */ - unsigned jkdet_polarity; + unsigned int jkdet_polarity; /* * VREF Impedance selection @@ -45,10 +45,10 @@ struct drivers_i2c_nau8825_config { * 2 - 125 kOhm * 3 - 2.5 kOhm */ - unsigned vref_impedance; + unsigned int vref_impedance; /* Button impedance measurement hysteresis */ - unsigned sar_hysteresis; + unsigned int sar_hysteresis; /* * Reference voltage for button impedance measurement and micbias @@ -61,8 +61,8 @@ struct drivers_i2c_nau8825_config { * 6 - VDDA * 1.53 * 7 - VDDA * 1.53 */ - unsigned micbias_voltage; - unsigned sar_voltage; + unsigned int micbias_voltage; + unsigned int sar_voltage; /* * SAR compare time @@ -71,7 +71,7 @@ struct drivers_i2c_nau8825_config { * 2 - 2 us * 3 - 4 us */ - unsigned sar_compare_time; + unsigned int sar_compare_time; /* * SAR sampling time @@ -80,7 +80,7 @@ struct drivers_i2c_nau8825_config { * 2 - 8 us * 3 - 16 us */ - unsigned sar_sampling_time; + unsigned int sar_sampling_time; /* * Button short key press debounce time @@ -89,16 +89,16 @@ struct drivers_i2c_nau8825_config { * 2 - 100 ms * 3 - 30 ms */ - unsigned short_key_debounce; + unsigned int short_key_debounce; /* Debounce time 2^(n+2) ms (0-7) for jack insert */ - unsigned jack_insert_debounce; + unsigned int jack_insert_debounce; /* Debounce time 2^(n+2) ms (0-7) for jack eject */ - unsigned jack_eject_debounce; + unsigned int jack_eject_debounce; /* Number of buttons supported, up to 8 */ - unsigned sar_threshold_num; + unsigned int sar_threshold_num; /* * Impedance threshold for each button, up to 8 |