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:
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]
|
||||
|
||||
@ -5,7 +5,7 @@ description: STMicroelectronics LSM6DSL 6-axis accelerometer and gyrometer
|
||||
|
||||
compatible: "st,lsm6dsl"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
|
||||
@ -7,7 +7,7 @@ description: |
|
||||
|
||||
compatible: "st,lsm6dsl"
|
||||
|
||||
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:
|
||||
irq-gpios:
|
||||
type: phandle-array
|
||||
|
||||
@ -5,7 +5,7 @@ description: STMicroelectronics LSM9DS0-GYRO 3-axis gyro
|
||||
|
||||
compatible: "st,lsm9ds0-gyro"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
|
||||
@ -5,7 +5,7 @@ description: STMicroelectronics LSM9DS0 3-axis accelerometer + magnetometer
|
||||
|
||||
compatible: "st,lsm9ds0-mfd"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
irq-gpios:
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2022, Wouter Cappelle
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
include: sensor-device.yaml
|
||||
|
||||
properties:
|
||||
io-channels:
|
||||
required: true
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
description: STM32 family VBAT node
|
||||
|
||||
include: base.yaml
|
||||
include: sensor-device.yaml
|
||||
|
||||
compatible: "st,stm32-vbat"
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ description: |
|
||||
|
||||
compatible: "st,stts751"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
drdy-gpios:
|
||||
|
||||
@ -5,7 +5,7 @@ description: STMicroelectronics VL53L0X Time of Flight sensor
|
||||
|
||||
compatible: "st,vl53l0x"
|
||||
|
||||
include: i2c-device.yaml
|
||||
include: [sensor-device.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
xshut-gpios:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user