History

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.

Franklin S Cooper Jr committed 8 years ago

Commit 54a7fbc1 parent 79d891c1 file · +24 −0Browse files

Unified · Split

Documentation/devicetree/bindings/net/can/can-transceiver.txt+24−0
@@ -0,0 +1,24 @@
1+Generic CAN transceiver Device Tree binding
2+------------------------------
3+
4+CAN transceiver typically limits the max speed in standard CAN and CAN FD
5+modes. Typically these limitations are static and the transceivers themselves
6+provide no way to detect this limitation at runtime. For this situation,
7+the "can-transceiver" node can be used.
8+
9+Required Properties:
10+ max-bitrate: a positive non 0 value that determines the max
11+ speed that CAN/CAN-FD can run. Any other value
12+ will be ignored.
13+
14+Examples:
15+
16+Based on Texas Instrument's TCAN1042HGV CAN Transceiver
17+
18+m_can0 {
19+ ....
20+ can-transceiver {
21+ max-bitrate = <5000000>;
22+ };
23+ ...
24+};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t