mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
dts: bindings: Migrate ST sensors to inherit base sensor properties
Migrates all ST sensors to inherit base sensor device properties. This will allow us to define properties shared by multiple sensors in one place. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
committed by
Carles Cufí
parent
c1b1bb84a3
commit
fd26b53fdc
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2017, Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -6,4 +6,4 @@ description: |
|
||||
|
||||
compatible: "st,i3g4250d"
|
||||
|
||||
include: spi-device.yaml
|
||||
include: [sensor-device.yaml, spi-device.yaml]
|
||||
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
|
||||
compatible: "st,iis2dh"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
|
||||
compatible: "st,iis2dh"
|
||||
|
||||
include: spi-device.yaml
|
||||
include: [sensor-device.yaml, spi-device.yaml]
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2018 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2020 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
|
||||
compatible: "st,iis2mdc"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
|
||||
compatible: "st,iis2mdc"
|
||||
|
||||
include: spi-device.yaml
|
||||
include: [sensor-device.yaml, spi-device.yaml]
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
|
||||
compatible: "st,iis3dhhc"
|
||||
|
||||
include: spi-device.yaml
|
||||
include: [sensor-device.yaml, spi-device.yaml]
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2021 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2018 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2021 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2021 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2018 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -5,7 +5,7 @@ description: STMicroelectronics LIS3MDL magnetometer
|
||||
|
||||
compatible: "st,lis3mdl-magn"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
|
||||
@@ -5,4 +5,4 @@ description: STMicroelectronics LPS22HB pressure sensor
|
||||
|
||||
compatible: "st,lps22hb-press"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2021 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@@ -5,4 +5,4 @@ description: STMicroelectronics LPS25HB pressure sensor
|
||||
|
||||
compatible: "st,lps25hb-press"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
@@ -5,4 +5,4 @@ description: STMicroelectronics LSM303DLHC magnetometer sensor
|
||||
|
||||
compatible: "st,lsm303dlhc-magn"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
@@ -5,4 +5,4 @@ description: STMicroelectronics LSM6DS0 6-axis accelerometer and gyrometer
|
||||
|
||||
compatible: "st,lsm6ds0"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user