linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux as a SPI slave?
@ 2020-06-02 16:35 Joakim Tjernlund
  2020-06-09  7:46 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Joakim Tjernlund @ 2020-06-02 16:35 UTC (permalink / raw)
  To: linux-spi@vger.kernel.org

From what I can tell, the wast uses of SPI in Linux is as an SPI master. Is there
any use cases as a SPI slave?
I fear that the latency can make Linux unsuitable as a SPI slave, has anybody tried?

 Jocke

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linux as a SPI slave?
  2020-06-02 16:35 Linux as a SPI slave? Joakim Tjernlund
@ 2020-06-09  7:46 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-06-09  7:46 UTC (permalink / raw)
  To: Joakim Tjernlund; +Cc: linux-spi@vger.kernel.org

Hi Jocke,

On Tue, Jun 2, 2020 at 6:38 PM Joakim Tjernlund
<Joakim.Tjernlund@infinera.com> wrote:
> From what I can tell, the wast uses of SPI in Linux is as an SPI master. Is there
> any use cases as a SPI slave?

It's out there:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/spi/Kconfig#n976

> I fear that the latency can make Linux unsuitable as a SPI slave, has anybody tried?

Please check my FOSDEM presentation for limitations:
https://archive.fosdem.org/2018/schedule/event/hwenablement_linux_as_spi_slave/

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-09  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-02 16:35 Linux as a SPI slave? Joakim Tjernlund
2020-06-09  7:46 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).