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:
Maureen Helm 2019-12-11 15:14:11 -06:00 committed by Carles Cufí
commit cadbc96d66
17 changed files with 53 additions and 31 deletions

View file

@ -175,7 +175,7 @@
compatible = "nxp,fxos8700";
reg = <0x1d>;
label = "FXOS8700";
reset-gpios = <&gpioc 15 0>;
reset-gpios = <&gpioc 15 GPIO_ACTIVE_HIGH>;
};
};