Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: chemical: bme680: optimize startup time

According to datasheet's Section 1.1, Table 1, the startup time for the
device is 2ms and not 5ms.

Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://patch.msgid.link/20241021195316.58911-3-vassilisamir@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Vasileios Amoiridis and committed by
Jonathan Cameron
6ba3df71 b5055b4b

+2 -1
+2 -1
drivers/iio/chemical/bme680.h
··· 65 65 66 66 #define BME680_MEAS_TRIM_MASK GENMASK(24, 4) 67 67 68 - #define BME680_STARTUP_TIME_US 5000 68 + /* Datasheet Section 1.1, Table 1 */ 69 + #define BME680_STARTUP_TIME_US 2000 69 70 70 71 /* Calibration Parameters */ 71 72 #define BME680_T2_LSB_REG 0x8A