drivers: sensor: Convert fxos8700 to new gpio api
Converts the fxos8700 sensor driver to the new gpio api. Updates device trees for all boards with this sensor to active low gpio interrupts by default. Tested on frdm_k64f and rv32m1_vega_ri5cy boards. The latter verifies that the reset output works correctly. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
4b29b9faec
commit
cadbc96d66
17 changed files with 53 additions and 31 deletions
|
@ -175,7 +175,7 @@
|
|||
compatible = "nxp,fxos8700";
|
||||
reg = <0x1d>;
|
||||
label = "FXOS8700";
|
||||
reset-gpios = <&gpioc 15 0>;
|
||||
reset-gpios = <&gpioc 15 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue