can: tcan45x: Make wake-up GPIO an optional GPIO
authorDan Murphy <dmurphy@ti.com>
Wed, 4 Dec 2019 17:51:12 +0000 (11:51 -0600)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 8 Dec 2019 11:22:01 +0000 (12:22 +0100)
commit2de497356955ce58cd066fb03d2da5235f3c7c23
tree2726e180b54e550aa9469459f2182f457f5b6099
parent1202d2318e2f370befe6c154db75ffaad3ec7ba0
can: tcan45x: Make wake-up GPIO an optional GPIO

The device has the ability to disable the wake-up pin option. The
wake-up pin can be either force to GND or Vsup and does not have to be
tied to a GPIO. In order for the device to not use the wake-up feature
write the register to disable the WAKE_CONFIG option.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Cc: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/tcan4x5x.c