Skip to content

Commit b879abc

Browse files
committed
board/shields: x-nucleo-iks01a3: fix drdy/irq flags in overlay files
Use GPIO_ACTIVE_HIGH instead of '0' for drdy/irq flags in overlay files. Signed-off-by: Armando Visconti <[email protected]>
1 parent 7779a63 commit b879abc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

boards/shields/x_nucleo_iks01a3/x_nucleo_iks01a3.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
lps22hh@5d {
1616
compatible = "st,lps22hh";
1717
reg = <0x5d>;
18-
drdy-gpios = <&arduino_header 12 0>; /* D6 */
18+
drdy-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */
1919
label = "LPS22HH";
2020
};
2121

@@ -36,14 +36,14 @@
3636
lis2dw12@19 {
3737
compatible = "st,lis2dw12";
3838
reg = <0x19>;
39-
irq-gpios = <&arduino_header 3 0>; /* A3 */
39+
irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
4040
label = "LIS2DW12";
4141
};
4242

4343
lsm6dso@6b {
4444
compatible = "st,lsm6dso";
4545
reg = <0x6b>;
46-
irq-gpios = <&arduino_header 10 0>; /* D4 */
46+
irq-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
4747
label = "LSM6DSO";
4848
};
4949
};

boards/shields/x_nucleo_iks01a3/x_nucleo_iks01a3_shub.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
lis2dw12@19 {
1010
compatible = "st,lis2dw12";
1111
reg = <0x19>;
12-
irq-gpios = <&arduino_header 3 0>; /* A3 */
12+
irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
1313
label = "LIS2DW12";
1414
};
1515

1616
lsm6dso@6b {
1717
compatible = "st,lsm6dso";
1818
reg = <0x6b>;
19-
irq-gpios = <&arduino_header 10 0>; /* D4 */
19+
irq-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
2020
label = "LSM6DSO";
2121
};
2222
};

0 commit comments

Comments
 (0)