diff options
author | Wai-Hong Tam <waihong@google.com> | 2021-07-20 14:59:12 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-21 18:26:17 +0000 |
commit | 975595b95b636d98512cbaadc5f344a089a3cb52 (patch) | |
tree | 74b28746984dd3d7ace8dac0808152962761183e /zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml | |
parent | 6d7a97e11298d7580d9abc6913be677845a45428 (diff) | |
download | chrome-ec-975595b95b636d98512cbaadc5f344a089a3cb52.tar.gz |
zephyr: motionsense: Add default value of i2c-spi-addr-flags
Make the property consistent across different sensors:
* not required
* default to a common I2C address
BRANCH=None
BUG=b:194194887
TEST=Built the delbin and hayato images successfully.
Change-Id: I7784176e6d09e883b9ef957311aba610d3e69597
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3042985
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml')
-rw-r--r-- | zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml index a3d5575fb3..77d6282d7f 100644 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml +++ b/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml @@ -12,10 +12,10 @@ include: motionsense-sensor-base.yaml properties: i2c-spi-addr-flags: type: string - required: true description: i2c address or SPI slave logic GPIO enum: - "BMA2x2_I2C_ADDR1_FLAGS" - "BMA2x2_I2C_ADDR2_FLAGS" - "BMA2x2_I2C_ADDR3_FLAGS" - "BMA2x2_I2C_ADDR4_FLAGS" + default: "BMA2x2_I2C_ADDR1_FLAGS" |