summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/coral/board.c2
-rw-r--r--board/elm/board.c2
-rw-r--r--board/eve/board.c4
-rw-r--r--board/glados/board.c2
-rw-r--r--board/mchpevb1/board.c2
-rw-r--r--board/nami/board.c4
-rw-r--r--board/nautilus/board.c4
-rw-r--r--board/nucleo-f411re/board.c2
-rw-r--r--board/oak/board.c2
-rw-r--r--board/poppy/board.c2
-rw-r--r--board/rainier/board.c2
-rw-r--r--board/reef/board.c4
-rw-r--r--board/samus/board.c6
-rw-r--r--board/scarlet/board.c2
-rw-r--r--board/strago/board.c2
15 files changed, 21 insertions, 21 deletions
diff --git a/board/coral/board.c b/board/coral/board.c
index e54138b904..7be09532af 100644
--- a/board/coral/board.c
+++ b/board/coral/board.c
@@ -836,7 +836,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_GYRO,
.addr = BMI160_ADDR0,
.rot_standard_ref = &base_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.config = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
diff --git a/board/elm/board.c b/board/elm/board.c
index 0e08f0d6da..ef30344286 100644
--- a/board/elm/board.c
+++ b/board/elm/board.c
@@ -487,7 +487,7 @@ struct motion_sensor_t motion_sensors[] = {
.drv_data = &g_kx022_data[1],
.addr = 3, /* SPI, device ID 1 */
.rot_standard_ref = &lid_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, enough for laptop. */
.min_frequency = KX022_ACCEL_MIN_FREQ,
.max_frequency = KX022_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/eve/board.c b/board/eve/board.c
index 820fac31fe..17a72ee0d1 100644
--- a/board/eve/board.c
+++ b/board/eve/board.c
@@ -802,7 +802,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_LID_ACCEL,
.addr = KXCJ9_ADDR0,
.rot_standard_ref = &lid_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 2, /* g, enough for lid angle calculation. */
.min_frequency = KXCJ9_ACCEL_MIN_FREQ,
.max_frequency = KXCJ9_ACCEL_MAX_FREQ,
.config = {
@@ -829,7 +829,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_GYRO,
.addr = BMI160_ADDR0,
.rot_standard_ref = NULL,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/glados/board.c b/board/glados/board.c
index e1a5c566fc..55e2d7b8b1 100644
--- a/board/glados/board.c
+++ b/board/glados/board.c
@@ -455,7 +455,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = BMI160_ADDR0,
.rot_standard_ref = NULL, /* Identity matrix. */
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/mchpevb1/board.c b/board/mchpevb1/board.c
index eeeb557b96..8b9e714ede 100644
--- a/board/mchpevb1/board.c
+++ b/board/mchpevb1/board.c
@@ -940,7 +940,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = CONFIG_SPI_ACCEL_PORT,
.addr = BMI160_SET_SPI_ADDRESS(CONFIG_SPI_ACCEL_PORT),
.rot_standard_ref = NULL, /* Identity matrix. */
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/nami/board.c b/board/nami/board.c
index 40722559cf..c950eb11b8 100644
--- a/board/nami/board.c
+++ b/board/nami/board.c
@@ -568,7 +568,7 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &lid_standard_ref,
.min_frequency = BMA255_ACCEL_MIN_FREQ,
.max_frequency = BMA255_ACCEL_MAX_FREQ,
- .default_range = 2, /* g, to support tablet mode */
+ .default_range = 2, /* g, to support lid angle calculation. */
.config = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
@@ -596,7 +596,7 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &base_standard_ref,
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
- .default_range = 2, /* g, to support tablet mode */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.config = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
diff --git a/board/nautilus/board.c b/board/nautilus/board.c
index bff3b4e1f9..848ae364d9 100644
--- a/board/nautilus/board.c
+++ b/board/nautilus/board.c
@@ -625,7 +625,7 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &lid_standard_ref,
.min_frequency = BMA255_ACCEL_MIN_FREQ,
.max_frequency = BMA255_ACCEL_MAX_FREQ,
- .default_range = 2, /* g, to support tablet mode */
+ .default_range = 2, /* g, to support lid angle calculation. */
.config = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
@@ -651,7 +651,7 @@ struct motion_sensor_t motion_sensors[] = {
.rot_standard_ref = &base_standard_ref,
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
- .default_range = 2, /* g, to support tablet mode */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.config = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
diff --git a/board/nucleo-f411re/board.c b/board/nucleo-f411re/board.c
index 0f7c57f1e3..6a40ed6bc4 100644
--- a/board/nucleo-f411re/board.c
+++ b/board/nucleo-f411re/board.c
@@ -77,7 +77,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = BMI160_ADDR0,
.rot_standard_ref = NULL,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.config = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
diff --git a/board/oak/board.c b/board/oak/board.c
index d949194907..6e67d7dce6 100644
--- a/board/oak/board.c
+++ b/board/oak/board.c
@@ -634,7 +634,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = 1,
.rot_standard_ref = &base_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/poppy/board.c b/board/poppy/board.c
index a40099e6f2..cceff650b1 100644
--- a/board/poppy/board.c
+++ b/board/poppy/board.c
@@ -742,7 +742,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_GYRO,
.addr = BMI160_ADDR0,
.rot_standard_ref = &lid_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/rainier/board.c b/board/rainier/board.c
index c173b2f427..6b6365cbaf 100644
--- a/board/rainier/board.c
+++ b/board/rainier/board.c
@@ -377,7 +377,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = CONFIG_SPI_ACCEL_PORT,
.addr = BMI160_SET_SPI_ADDRESS(CONFIG_SPI_ACCEL_PORT),
.rot_standard_ref = &base_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/reef/board.c b/board/reef/board.c
index 2bbccc946b..a70a40bf54 100644
--- a/board/reef/board.c
+++ b/board/reef/board.c
@@ -803,7 +803,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_LID_ACCEL,
.addr = KX022_ADDR1,
.rot_standard_ref = NULL, /* Identity matrix. */
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 2, /* g, to support lid angle calculation. */
.min_frequency = KX022_ACCEL_MIN_FREQ,
.max_frequency = KX022_ACCEL_MAX_FREQ,
.config = {
@@ -830,7 +830,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_GYRO,
.addr = BMI160_ADDR0,
.rot_standard_ref = &base_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/samus/board.c b/board/samus/board.c
index c26f08137d..de6a0ef715 100644
--- a/board/samus/board.c
+++ b/board/samus/board.c
@@ -326,7 +326,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = LSM6DS0_ADDR1,
.rot_standard_ref = &base_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = LSM6DS0_ACCEL_MIN_FREQ,
.max_frequency = LSM6DS0_ACCEL_MAX_FREQ,
.config = {
@@ -358,7 +358,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = KXCJ9_ADDR0,
.rot_standard_ref = &lid_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 2, /* g, to support lid angle calculation. */
.min_frequency = KXCJ9_ACCEL_MIN_FREQ,
.max_frequency = KXCJ9_ACCEL_MAX_FREQ,
.config = {
@@ -381,7 +381,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = LSM6DS0_ADDR1,
.rot_standard_ref = NULL,
- .default_range = 2000, /* g, enough for laptop. */
+ .default_range = 2000, /* dps, enough for laptop. */
.min_frequency = LSM6DS0_GYRO_MIN_FREQ,
.max_frequency = LSM6DS0_GYRO_MAX_FREQ,
},
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index ed14cd0a1c..a5e34452ee 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -386,7 +386,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = CONFIG_SPI_ACCEL_PORT,
.addr = BMI160_SET_SPI_ADDRESS(CONFIG_SPI_ACCEL_PORT),
.rot_standard_ref = &base_standard_ref,
- .default_range = 4, /* g */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = BMI160_ACCEL_MIN_FREQ,
.max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
diff --git a/board/strago/board.c b/board/strago/board.c
index 05bd7fda17..b1856617d7 100644
--- a/board/strago/board.c
+++ b/board/strago/board.c
@@ -229,7 +229,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_ACCEL,
.addr = KXCJ9_ADDR0,
.rot_standard_ref = &lid_standard_ref,
- .default_range = 2, /* g, enough for laptop. */
+ .default_range = 4, /* g, to meet CDD 7.3.1/C-1-4 reqs */
.min_frequency = KXCJ9_ACCEL_MIN_FREQ,
.max_frequency = KXCJ9_ACCEL_MAX_FREQ,
.config = {