Re: mcp251xfd on RPi 5.4 downstream

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

 



> On 10/26/20 3:50 AM, Drew Fustini wrote:
>> I'm seeing this message which makes me think my issue is that I am not
>> setting the oscillator as a dtoverlay param.
>>
>> [    6.873081] CAN device driver interface
>> [    6.879904] DEBUG mcp251xfd mcp251xfd_probe(): ENTER
>> [    6.880068] spi_master spi0: will run message pump with realtime priority
>> [    6.921312] mcp251xfd spi0.0 (unnamed net_device) (uninitialized):
>> Failed to detect MCP251xFD (osc=0x00000000).
>>
>> From /boot/config.txt
>>
>> [pi4]
>> dtoverlay=mcp251xfd-spi0-0
> 
> Are you using CS0 of spi0?
> What's the frequency of your OSC?
> 
> Marc
> 

mcp251xfd_osc_invalid(osc) is true according to the string.

https://github.com/marckleinebudde/linux/blob/v5.4-rpi/mcp251xfd-20201022-54/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c#L552



[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