AW: mcp251xfd No Oscillator (clock) defined

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

 



> Von: Patrick Menschel <menschel.p@xxxxxxxxx>
> Gesendet: Sonntag, 6. Dezember 2020 15:56
> An: Sven Schuchmann <schuchmann@xxxxxxxxxxxxxxxxx>; linux-can@xxxxxxxxxxxxxxx
> Betreff: Re: mcp251xfd No Oscillator (clock) defined
> 
> > dtoverlay=spi1-1cs,cs0_pin=18
> However this line is not be necessary.
> It sets up spidev for spi1.
> https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/boot/dts/overlays/spi1-1cs-overlay.dts#L34
> 
> The next overlay removes spidev again.
> https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/boot/dts/overlays/mcp251xfd-overlay.dts#L35
> 
Thanks for pointing out, but if I do not have this line I get:
[    4.897701] mcp251xfd spi1.0: Native CS is not supported - please configure cs-gpio in device-tree
[    4.897720] spi_master spi1: will run message pump with realtime priority
[    4.936590] mcp251xfd spi1.0 (unnamed net_device) (uninitialized): Failed to detect MCP251xFD (osc=0x00000000).

So I thought I have to configure CS with this?

Sven

--
Sven Schuchmann
Schleißheimer Soft- und
Hardwareentwicklung GmbH
Am Kalkofen 10
61206 Nieder-Wöllstadt
GERMANY
Phone: +49 6034 9148 711
Fax: +49 6034 9148 91
Email: schuchmann@xxxxxxxxxxxxxxxxx

Court of Registration: Amtsgericht Friedberg
Registration Number: HRB 1581
Management Board:
Hans-Joachim Schleißheimer
Christine Schleißheimer




[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