Loading Documentation/devicetree/bindings/net/can/rh850-can.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line * Renesas RH850 CAN * This driver implements spi slave protocol for rh850 can controller Required properties: - compatible: Should be "renesas,rh850" - reg: Should contain spi chip select - interrupt-parent: Should specify interrupt controller for the interrupt - interrupts: Should contain IRQ line for the CAN controller - spi-max-frequency: Should contain maximum spi clock frequency for slave device Example: can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <127 0>; spi-max-frequency = <5000000>; }; arch/arm/boot/dts/qcom/apq8096-v2-auto-dragonboard.dts +11 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,14 @@ qcom,msm-id = <246 0x20001>, <291 0x20001>; qcom,board-id = <10 1>; }; &spi_9 { status = "ok"; can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <127 0>; spi-max-frequency = <5000000>; }; }; arch/arm/boot/dts/qcom/apq8096-v3-auto-dragonboard.dts +11 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,14 @@ qcom,msm-id = <246 0x30000>, <291 0x30000>; qcom,board-id = <10 1>; }; &spi_9 { status = "ok"; can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <127 0>; spi-max-frequency = <5000000>; }; }; arch/arm/boot/dts/qcom/msm8996-v3-pm8004-agave-adp.dts +11 −0 Original line number Diff line number Diff line Loading @@ -21,3 +21,14 @@ compatible = "qcom,msm8996-adp", "qcom,msm8996", "qcom,adp"; qcom,board-id = <0x00010019 0>; }; &spi_9 { status = "ok"; can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <122 0>; spi-max-frequency = <5000000>; }; }; drivers/net/can/spi/Kconfig +5 −0 Original line number Diff line number Diff line Loading @@ -7,4 +7,9 @@ config CAN_MCP251X ---help--- Driver for the Microchip MCP251x SPI CAN controllers. config CAN_RH850 tristate "Renesas RH850 SPI CAN controller" depends on HAS_DMA ---help--- Driver for the Renesas RH850 SPI CAN controller. endmenu Loading
Documentation/devicetree/bindings/net/can/rh850-can.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line * Renesas RH850 CAN * This driver implements spi slave protocol for rh850 can controller Required properties: - compatible: Should be "renesas,rh850" - reg: Should contain spi chip select - interrupt-parent: Should specify interrupt controller for the interrupt - interrupts: Should contain IRQ line for the CAN controller - spi-max-frequency: Should contain maximum spi clock frequency for slave device Example: can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <127 0>; spi-max-frequency = <5000000>; };
arch/arm/boot/dts/qcom/apq8096-v2-auto-dragonboard.dts +11 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,14 @@ qcom,msm-id = <246 0x20001>, <291 0x20001>; qcom,board-id = <10 1>; }; &spi_9 { status = "ok"; can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <127 0>; spi-max-frequency = <5000000>; }; };
arch/arm/boot/dts/qcom/apq8096-v3-auto-dragonboard.dts +11 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,14 @@ qcom,msm-id = <246 0x30000>, <291 0x30000>; qcom,board-id = <10 1>; }; &spi_9 { status = "ok"; can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <127 0>; spi-max-frequency = <5000000>; }; };
arch/arm/boot/dts/qcom/msm8996-v3-pm8004-agave-adp.dts +11 −0 Original line number Diff line number Diff line Loading @@ -21,3 +21,14 @@ compatible = "qcom,msm8996-adp", "qcom,msm8996", "qcom,adp"; qcom,board-id = <0x00010019 0>; }; &spi_9 { status = "ok"; can-controller@0 { compatible = "renesas,rh850"; reg = <0>; interrupt-parent = <&tlmm>; interrupts = <122 0>; spi-max-frequency = <5000000>; }; };
drivers/net/can/spi/Kconfig +5 −0 Original line number Diff line number Diff line Loading @@ -7,4 +7,9 @@ config CAN_MCP251X ---help--- Driver for the Microchip MCP251x SPI CAN controllers. config CAN_RH850 tristate "Renesas RH850 SPI CAN controller" depends on HAS_DMA ---help--- Driver for the Renesas RH850 SPI CAN controller. endmenu