Re: [PATCH 2/3] dt-bindings: spi: Add DT schema for Tegra SPIDEV controller
From: Mark Brown
Date: Mon Mar 31 2025 - 10:09:38 EST
On Mon, Mar 31, 2025 at 02:11:35PM +0100, Jon Hunter wrote:
> On 31/03/2025 13:44, Mark Brown wrote:
> > Why would you need to use a compatible string for anything? I'd expect
> > the overlay to add the entire new device, compatible and all.
> We need a compatible string for the SPI device in device-tree. Sorry, but I
> am not sure how we can add a SPI device without one.
> Can you confirm what you mean by 'overlay'? To me an overlay, is purely a
> device-tree overlay and even if we have a device-tree overlay, we are still
> missing the kernel driver part that matches the compatible string.
I would expect the overlay to be a device tree overlay and to add the
entire definition of the device, not just patch the compatible in an
existing half constructed device. I would expect the driver portion of
supporting the device to happen as normal, if spidev makes sense for
whatever devices these are then then that could be upstreamed without
adding them to any board.
Attachment:
signature.asc
Description: PGP signature