Re: mcp251xfd: rx-int setting

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

 



On 11/2/20 11:59 PM, Drew Fustini wrote:
> I modified devm_gpiod_get_optional() in mcp251xfd_probe() to look for
> "rx-int" instead of "microchip,rx-int".  Is there a reason it was
> looking for "microchip,rx-int"?

The DT property was changed why upstreaming the driver. So the overlay has to be
patched, not the code.

> I am using branch v5.4-rpi/mcp251xfd-20201022-54 at commit 9e02abd4fe59.

I'll update the overlay.

> While it does now see the property, it does run into this issue:
> [    6.830900] mcp251xfd spi0.0 (unnamed net_device) (uninitialized):
> RX_INT active after softreset, disabling RX_INT support.
> 
> Any suggestions as to how to troubleshoot this?

The waveshare board doesn't have the INT1 connected. So chose a free GPIO on you
rpi, add this as the parameter to the overlay and connect the GPIO to 3v3.

Or, if you want to solder, connect the INT1 pin of one of the mcp2517fd with a
GPIO on the waveshare module.

regards,
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