Re: [PATCH v6 3/5] dt-bindings: iio: magnetometer: ak8975: add gpio reset support
From: Linus Walleij
Date: Tue May 26 2020 - 05:22:24 EST
On Mon, May 25, 2020 at 5:13 PM Jonathan Albrieux
> Add reset-gpio support.
> Without reset's deassertion during ak8975_power_on(), driver's probe fails
> on ak8975_who_i_am() while checking for device identity for AK09911 chip.
> AK09911 has an active low reset gpio to handle register's reset.
> AK09911 datasheet says that, if not used, reset pin should be connected
> to VID. This patch emulates this situation.
> Signed-off-by: Jonathan Albrieux <jonathan.albrieux@xxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>