]> www.infradead.org Git - users/jedix/linux-maple.git/commit
can: tcan4x5x: add option for selecting nWKRQ voltage
authorSean Nyekjaer <sean@geanix.com>
Thu, 14 Nov 2024 09:14:50 +0000 (10:14 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 Dec 2024 11:37:24 +0000 (12:37 +0100)
commit36131b72fb1c62bc61e86068618de304763b8ac7
tree22204f10119aadb2b959f29b8bc85381d030e77e
parent6495567981be6f91eccb48e058ca88dd7acad181
can: tcan4x5x: add option for selecting nWKRQ voltage

The nWKRQ pin supports an output voltage of either the internal reference
voltage (3.6V) or the reference voltage of
the digital interface 0-6V (VIO).
Add the devicetree option ti,nwkrq-voltage-vio to set it to VIO.

If this property is omitted the reset default, the internal reference
voltage, is used.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Marc Kleine-Budde <mkl@pengutronix.de>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/20241114-tcan-wkrqv-v5-2-a2d50833ed71@geanix.com
[mkl: remove unused variable in tcan4x5x_get_dt_data()]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/tcan4x5x-core.c
drivers/net/can/m_can/tcan4x5x.h