Devicetree for can tcan4x5x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dan and Marc,

I'm testing a mockup with the iMX6ull and TCAN4x5x for CANFD functionality.

In our devicetree I'm having this entry:
&ecspi1 {

        cs-gpios = <&gpio4 26 0>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_spi1>;



        tcan4x5x: tcan4x5x@0 {

                compatible = "ti,tcan4x5x";

                reg = <0>;

                #address-cells = <1>;

                #size-cells = <1>;

                spi-max-frequency = <10000000>;

                bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;

                interrupt-parent = <&gpio1>;

                interrupts = <23 GPIO_ACTIVE_LOW>;

                reset-gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;

        };

};

But it's not probing.
The Documnetation [0] states I need some m_can entry, when looking in [1] i looks like I'm creating a m_can device on the address/data bus.

Do we have an m_can example for the tcan device?

I'm on the current linux-can-next testing branch.

/Sean

[0]: Documentation/devicetree/bindings/net/can/tcan4x5x.txt

[1]: Documentation/devicetree/bindings/net/can/m_can.txt



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux