Re: mcp251xfd on RPi 5.4 downstream

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

 



On 10/27/20 7:35 AM, Drew Fustini wrote:
>> It is the Waveshare CANFD Hat [1].  They have their own tarball for
>> download [2] with a mcp25xxfd driver that is copyright 2019 by Martin
>> Sperl <kernel@xxxxxxxxxxxxxxxx>.  I'm looking at that to see why it
>> works and the newer, proper driver does not.
>>
>> Thanks,
>> Drew
>>
>> [1] https://www.waveshare.com/wiki/2-CH_CAN_FD_HAT
>> [2] https://www.waveshare.com/wiki/File:2-CH-CAN-FD-HAT-Demo.7z
> 
> This is the overlay that the Waveshare download is using:
> https://gist.github.com/pdp7/784d0ba8b9648d20ab055747ec945225
> 
> It is different but I'm having trouble understanding why it works and
> the new overlay for the newer driver does not.

Have you actually tested the waveshare driver and overlay with your setup?

If you have a scope or logic analyser attach it to SPI bus (MISO, MOSI, Clock,
Chipselect and the IRQ Line of the Chip) and check what's going on there.

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: OpenPGP digital signature


[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