Re: [PATCH v6 3/5] dt-bindings: iio: magnetometer: ak8975: add gpio reset support
From: Jonathan Albrieux
Date: Tue May 26 2020 - 13:11:50 EST
On Tue, May 26, 2020 at 11:22:07AM +0200, Linus Walleij wrote:
> On Mon, May 25, 2020 at 5:13 PM Jonathan Albrieux
> <jonathan.albrieux@xxxxxxxxx> wrote:
> > 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>
> Linus Walleij