Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

can: holt_hi311x: document device tree bindings

Document the HOLT HI-311x CAN device tree bindings.

Signed-off-by: Akshay Bhat <nodeax@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Akshay Bhat and committed by
Marc Kleine-Budde
20a1e355 8e8cda6d

+24
+24
Documentation/devicetree/bindings/net/can/holt_hi311x.txt
··· 1 + * Holt HI-311X stand-alone CAN controller device tree bindings 2 + 3 + Required properties: 4 + - compatible: Should be one of the following: 5 + - "holt,hi3110" for HI-3110 6 + - reg: SPI chip select. 7 + - clocks: The clock feeding the CAN controller. 8 + - interrupt-parent: The parent interrupt controller. 9 + - interrupts: Should contain IRQ line for the CAN controller. 10 + 11 + Optional properties: 12 + - vdd-supply: Regulator that powers the CAN controller. 13 + - xceiver-supply: Regulator that powers the CAN transceiver. 14 + 15 + Example: 16 + can0: can@1 { 17 + compatible = "holt,hi3110"; 18 + reg = <1>; 19 + clocks = <&clk32m>; 20 + interrupt-parent = <&gpio4>; 21 + interrupts = <13 IRQ_TYPE_EDGE_RISING>; 22 + vdd-supply = <&reg5v0>; 23 + xceiver-supply = <&reg5v0>; 24 + };