]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9401c3920dd37b0d184403a1afab6212c55f0a0
tree2726e180b54e550aa9469459f2182f457f5b6099
parentdc28e5fad411dcfe2059f9044fe91ab8390b4b99
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