All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Schuchmann <schuchmann@schleissheimer.de>
To: Patrick Menschel <menschel.p@posteo.de>,
	"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: AW: mcp251xfd No Oscillator (clock) defined
Date: Sun, 6 Dec 2020 16:28:40 +0000	[thread overview]
Message-ID: <DB8P190MB06340912153C0DE9B67A684DD9CF0@DB8P190MB0634.EURP190.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <fc13f0e7-d672-d62c-a51c-c7bccabc5f4e@posteo.de>

> Von: Patrick Menschel <menschel.p@posteo.de>
> Gesendet: Sonntag, 6. Dezember 2020 15:56
> An: Sven Schuchmann <schuchmann@schleissheimer.de>; linux-can@vger.kernel.org
> 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@schleissheimer.de

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

  reply	other threads:[~2020-12-06 16:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 10:18 mcp251xfd No Oscillator (clock) defined Sven Schuchmann
2020-12-06 10:32 ` Marc Kleine-Budde
2020-12-06 12:40   ` AW: " Sven Schuchmann
2020-12-06 12:57     ` Marc Kleine-Budde
2020-12-06 14:56     ` Patrick Menschel
2020-12-06 16:28       ` Sven Schuchmann [this message]
2020-12-06 18:31       ` Marc Kleine-Budde
2020-12-06 19:15         ` Patrick Menschel
2020-12-06 19:26   ` Kurt Van Dijck
2020-12-06 19:34     ` Marc Kleine-Budde
2020-12-06 19:56       ` AW: " Sven Schuchmann
2020-12-06 20:14         ` Marc Kleine-Budde
2020-12-06 20:36           ` AW: " Sven Schuchmann
2020-12-06 20:48             ` Marc Kleine-Budde
2020-12-06 21:23               ` AW: " Sven Schuchmann
2020-12-06 22:00                 ` Marc Kleine-Budde
2020-12-07  9:35                   ` AW: " Sven Schuchmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB8P190MB06340912153C0DE9B67A684DD9CF0@DB8P190MB0634.EURP190.PROD.OUTLOOK.COM \
    --to=schuchmann@schleissheimer.de \
    --cc=linux-can@vger.kernel.org \
    --cc=menschel.p@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.