-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next
Marc Kleine-Budde says: ==================== this is a pull request of three patches for net-next/master. There is a patch by Oliver Hartkopp, to clean up the CAN gw code. Alexander Shiyan adds device tree support to the mcp251x driver and a patch by Ezequiel Garcia lets the ti_hecc driver compile on all ARM platforms. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
4 changed files
with
102 additions
and
30 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* Microchip MCP251X stand-alone CAN controller device tree bindings | ||
|
||
Required properties: | ||
- compatible: Should be one of the following: | ||
- "microchip,mcp2510" for MCP2510. | ||
- "microchip,mcp2515" for MCP2515. | ||
- reg: SPI chip select. | ||
- clocks: The clock feeding the CAN controller. | ||
- interrupt-parent: The parent interrupt controller. | ||
- interrupts: Should contain IRQ line for the CAN controller. | ||
|
||
Optional properties: | ||
- vdd-supply: Regulator that powers the CAN controller. | ||
- xceiver-supply: Regulator that powers the CAN transceiver. | ||
|
||
Example: | ||
can0: can@1 { | ||
compatible = "microchip,mcp2515"; | ||
reg = <1>; | ||
clocks = <&clk24m>; | ||
interrupt-parent = <&gpio4>; | ||
interrupts = <13 0x2>; | ||
vdd-supply = <®5v0>; | ||
xceiver-supply = <®5v0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters