gnss: ubx: add support for the reset gpio
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 13 Nov 2023 00:51:51 +0000 (19:51 -0500)
committerJohan Hovold <johan@kernel.org>
Fri, 15 Dec 2023 08:29:54 +0000 (09:29 +0100)
commit0cbbbe09d49b959d0225f7f2223a8ae3b2c1964c
treecbde5b0f224b35b54bef714d870af13935467dd3
parentaba9f8b07ddb179204378f30798bf577043722c0
gnss: ubx: add support for the reset gpio

The Renesas KingFisher board includes a U-Blox Neo-M8 chip. This chip
has a reset pin which is also wired on the board. When Linux starts,
reset is asserted by the firmware. Deassert the reset pin when probing
this driver.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
[ johan: rename gpio descriptor variable ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/gnss/ubx.c