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]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux