Skip to content

Commit

Permalink
dts: bindings: Migrate Sensirion sensors to inherit base sensor props
Browse files Browse the repository at this point in the history
Migrates all Sensirion 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 <[email protected]>
  • Loading branch information
MaureenHelm authored and carlescufi committed Oct 17, 2022
1 parent ddaf0d6 commit e39a200
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dts/bindings/sensor/sensirion,sgp40.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Sensirion SGP40 Multipixel Gas Sensor

compatible: "sensirion,sgp40"

include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

properties:
enable-selftest:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/sensor/sensirion,sht3xd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Sensirion Humidity SHT3x-DIS humidity and temperature sensor

compatible: "sensirion,sht3xd"

include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

properties:
alert-gpios:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/sensor/sensirion,sht4x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Sensirion SHT4x humidity and temperature sensor

compatible: "sensirion,sht4x"

include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

properties:
repeatability:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/sensor/sensirion,shtcx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Sensirion SHTCx humidity and temperature sensor

compatible: "sensirion,shtcx"

include: i2c-device.yaml
include: [sensor-device.yaml, i2c-device.yaml]

properties:
chip:
Expand Down

0 comments on commit e39a200

Please sign in to comment.