Re: State of spidev from devicetree

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

 



On Thu, Sep 26, 2019 at 12:50 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Tue, Sep 24, 2019 at 02:52:59PM +0200, Claus Stovgaard wrote:
>
> > What is yours response to the idea of creating a custom-hardware binding
> > for spidev, intended to be used for programmable hardware unknown at the
> > devicetree time.
>
> You should use a device tree overlay to describe whatever
> hardware you've instantiated on your FPGA then load the overlay
> along with your FPGA image.

And after that, you can bind spidev to the device in the overlay using
sysfs, cfr. commit 5039563e7c25eccd ("spi: Add driver_override SPI device
attribute").

Gr{oetje,eeting}s,

                        Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux