Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54a7fbcc authored by Franklin S Cooper Jr's avatar Franklin S Cooper Jr Committed by Marc Kleine-Budde
Browse files

dt-bindings: can: can-transceiver: Document new binding



Add documentation to describe usage of the new can-transceiver binding.
This new binding is applicable for any CAN device therefore it exists as
its own document.

Signed-off-by: default avatarFranklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFaiz Abbas <faiz_abbas@ti.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 79d891c1
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
Generic CAN transceiver Device Tree binding
------------------------------

CAN transceiver typically limits the max speed in standard CAN and CAN FD
modes. Typically these limitations are static and the transceivers themselves
provide no way to detect this limitation at runtime. For this situation,
the "can-transceiver" node can be used.

Required Properties:
 max-bitrate:	a positive non 0 value that determines the max
		speed that CAN/CAN-FD can run. Any other value
		will be ignored.

Examples:

Based on Texas Instrument's TCAN1042HGV CAN Transceiver

m_can0 {
	....
	can-transceiver {
		max-bitrate = <5000000>;
	};
	...
};