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