Skip to content

Commit

Permalink
dts: bindings: Migrate NXP sensors to inherit base sensor properties
Browse files Browse the repository at this point in the history
Migrates all NXP 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 58515c3 commit 286dc70
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/nxp,fxas21002.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: FXAS21002 3-axis gyroscope sensor

compatible: "nxp,fxas21002"

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

properties:
int1-gpios:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/sensor/nxp,fxos8700.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: FXOS8700 6-axis accelerometer/magnetometer sensor

compatible: "nxp,fxos8700"

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

properties:
reset-gpios:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/sensor/nxp,kinetis-acmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: NXP Kinetis Analog Comparator (ACMP)

compatible: "nxp,kinetis-acmp"

include: [base.yaml, pinctrl-device.yaml]
include: [sensor-device.yaml, pinctrl-device.yaml]

properties:
interrupts:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/sensor/nxp,kinetis-temperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: NXP Kinetis temperature sensor

compatible: "nxp,kinetis-temperature"

include: base.yaml
include: sensor-device.yaml

properties:
io-channels:
Expand Down

0 comments on commit 286dc70

Please sign in to comment.