NFC: nxp-nci: Make firmware GPIO pin optional
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Tue, 1 Dec 2020 11:39:09 +0000 (12:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Dec 2020 19:58:19 +0000 (11:58 -0800)
commit59f96cf6ba88c64278c35d11957a36faaca33de7
treee17d40911240a8c523f2b89b69720a8430f18fd3
parent6b4f503186b73e3da24c6716c8c7ea903e6b74d4
NFC: nxp-nci: Make firmware GPIO pin optional

There are other NXP NCI compatible NFC controllers such as the PN7150
that use an integrated firmware and therefore do not have a GPIO to
select firmware downloading mode. To support this kind of controller,
let's make the firmware GPIO optional.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20201201113921.6572-1-frieder.schrempf@kontron.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/nfc/nxp-nci.txt
drivers/nfc/nxp-nci/i2c.c