Re: SPI device driver with userspace interface

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

 



On Tue, Feb 13, 2024 at 11:04:35AM -0800, Brad Larson wrote:

> The desired CS0, CS1 and CS3 interfaces are /dev/penctrl.0,
> /dev/penctrl.1, and /dev/penctrl.3.  This is very similar
> to the spidev.c driver which is considered inappropriate for
> production.  CS2 is matched to a Lattice spi to i2c driver to

spidev is absolutely fine for production, what is not OK is listing
it directly in the DT.  Your DT should describe the hardware, then if
spidev is the most appropriate driver to bind to the device then an
appropriate compatible should be added to spidev.  See all the existing
examples of doing this in the driver.

Attachment: signature.asc
Description: PGP signature


[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