diff options
Diffstat (limited to 'zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml')
-rw-r--r-- | zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml new file mode 100644 index 0000000000..b90d824575 --- /dev/null +++ b/zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml @@ -0,0 +1,21 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: motionsense sensor node for KX022 + +compatible: "cros-ec,kx022" + +# every motionsense sensor node should include motionsense-sensor-base.yaml +include: motionsense-sensor-base.yaml + +properties: + i2c-spi-addr-flags: + type: string + description: i2c address or SPI slave logic GPIO + enum: + - "KX022_ADDR0_FLAGS" + - "KX022_ADDR1_FLAGS" + default: "KX022_ADDR0_FLAGS" + default-range: + default: 2 |