Re: mcp251xfd on RPi 5.4 downstream

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

 



On 11/2/20 7:57 PM, Thomas.Kopp@xxxxxxxxxxxxx wrote:
>> It may be a blunt guess, but according to page 99
>>
>> https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm27
>> 11/rpi_DATA_2711_1p0.pdf
>>
>> Pin 26 is pulldown. So it works if it remains unused because the pin is
>> input with pulldown thus the chip is selected by default.
>>
>> I don't know if the CE pin can actually work if there is no matching alt
>> function in pinselect register.

> Do you suggest that the communication works with a permanent low on CS/CE?

No.

> Without the CS/CE pin having edges you will not be able to send multiple 
> commands. The driver is writing/reading multiple times when bringing up the
> chip. If you have a permanent low that will fail. So somehow the CS does 
> generate the right edges.

The overlay configures the Pin for gpio and the SPI driver uses it in GPIO mode.

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