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:
Maureen Helm
2022-08-16 15:59:04 -05:00
committed by Carles Cufí
parent c1b1bb84a3
commit fd26b53fdc
29 changed files with 40 additions and 18 deletions

View File

@@ -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

View File

@@ -6,4 +6,4 @@ description: |
compatible: "st,i3g4250d"
include: spi-device.yaml
include: [sensor-device.yaml, spi-device.yaml]

View File

@@ -6,7 +6,7 @@ description: |
compatible: "st,iis2dh"
include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]
properties:
drdy-gpios:

View File

@@ -6,7 +6,7 @@ description: |
compatible: "st,iis2dh"
include: spi-device.yaml
include: [sensor-device.yaml, spi-device.yaml]
properties:
drdy-gpios:

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
drdy-gpios:
type: phandle-array

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2020 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
drdy-gpios:
type: phandle-array

View File

@@ -6,7 +6,7 @@ description: |
compatible: "st,iis2mdc"
include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]
properties:
drdy-gpios:

View File

@@ -6,7 +6,7 @@ description: |
compatible: "st,iis2mdc"
include: spi-device.yaml
include: [sensor-device.yaml, spi-device.yaml]
properties:
drdy-gpios:

View File

@@ -6,7 +6,7 @@ description: |
compatible: "st,iis3dhhc"
include: spi-device.yaml
include: [sensor-device.yaml, spi-device.yaml]
properties:
irq-gpios:

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2021 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
drdy-gpios:
type: phandle-array

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
irq-gpios:
type: phandle-array

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2021 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
irq-gpios:
type: phandle-array

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2021 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
irq-gpios:
type: phandle-array

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
irq-gpios:
type: phandle-array

View File

@@ -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:

View File

@@ -5,4 +5,4 @@ description: STMicroelectronics LPS22HB pressure sensor
compatible: "st,lps22hb-press"
include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

View File

@@ -1,6 +1,8 @@
# Copyright (c) 2021 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
drdy-gpios:
type: phandle-array

View File

@@ -5,4 +5,4 @@ description: STMicroelectronics LPS25HB pressure sensor
compatible: "st,lps25hb-press"
include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

View File

@@ -5,4 +5,4 @@ description: STMicroelectronics LSM303DLHC magnetometer sensor
compatible: "st,lsm303dlhc-magn"
include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

View File

@@ -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