[PATCH 00/10] drm/i915/spi: spi access for discrete graphics
Miquel Raynal
miquel.raynal at bootlin.com
Tue Sep 12 06:21:02 PDT 2023
Hi,
alexander.usyskin at intel.com wrote on Tue, 12 Sep 2023 13:15:58 +0000:
> >
> > > The spi controller on discreet graphics card is not visible to user-space.
> > > Spi access flows are supported by another hardware module and relevant
> > registers are
> > > available on graphics device memory bar.
> >
> > No SPI controllers are directly visible to userspace, some SPI devices
> > are selectively exposed but that needs to be explicitly requested and is
> > generally discouraged.
>
> What are the options here? Explicitly request exception is the one.
> Any other way to add access to flash memory connected in such way?
Register a spi controller with at least spi-mem ops, as suggested
previously, is the standard way I guess. If you're not willing to do
so, it must be justified, I guess?
Thanks,
Miquèl
More information about the linux-mtd
mailing list