From: Alexander Usyskin <alexander.usyskin@intel.com>
To: "Mark Brown" <broonie@kernel.org>,
"Lucas De Marchi" <lucas.demarchi@intel.com>,
"Oded Gabbay" <ogabbay@kernel.org>,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Jani Nikula" <jani.nikula@linux.intel.com>,
"Joonas Lahtinen" <joonas.lahtinen@linux.intel.com>,
"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
"Tvrtko Ursulin" <tursulin@ursulin.net>
Cc: Tomas Winkler <tomas.winkler@intel.com>,
Alexander Usyskin <alexander.usyskin@intel.com>,
Vitaly Lubart <vitaly.lubart@intel.com>,
intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-spi@vger.kernel.org, intel-gfx@lists.freedesktop.org
Subject: [PATCH v2 00/12] spi: add driver for Intel discrete graphics
Date: Wed, 24 Jul 2024 17:00:02 +0300 [thread overview]
Message-ID: <20240724140014.428991-1-alexander.usyskin@intel.com> (raw)
Add driver for access to Intel discrete graphics card
internal SPI device.
Expose device on auxiliary bus by i915 and Xe drivers and
provide spi driver to register this device with MTD framework.
This is a rewrite of "drm/i915/spi: spi access for discrete graphics"
series with connection to the Xe driver and splitting
the spi driver part to separate module in spi subsystem.
V2: fix review comments
fix signatures order
depend spi presence in Xe on special flag,
as not all new discrete cards have such spi
Alexander Usyskin (6):
spi: add driver for intel graphics on-die spi device
spi: intel-dg: align 64bit read and write
spi: intel-dg: wake card on operations
drm/i915/spi: add support for access mode
drm/xe/spi: add on-die spi device
drm/xe/spi: add support for access mode
Tomas Winkler (6):
spi: intel-dg: implement region enumeration
spi: intel-dg: implement spi access functions
spi: intel-dg: spi register with mtd
spi: intel-dg: implement mtd access handlers
drm/i915/spi: add spi device for discrete graphics
drm/i915/spi: add intel_spi_region map
MAINTAINERS | 7 +
drivers/gpu/drm/i915/Makefile | 4 +
drivers/gpu/drm/i915/i915_driver.c | 6 +
drivers/gpu/drm/i915/i915_drv.h | 4 +
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/spi/intel_spi.c | 97 +++
drivers/gpu/drm/i915/spi/intel_spi.h | 15 +
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/regs/xe_gsc_regs.h | 5 +
drivers/gpu/drm/xe/xe_device.c | 3 +
drivers/gpu/drm/xe/xe_device_types.h | 8 +
drivers/gpu/drm/xe/xe_heci_gsc.c | 5 +-
drivers/gpu/drm/xe/xe_pci.c | 5 +
drivers/gpu/drm/xe/xe_spi.c | 104 ++++
drivers/gpu/drm/xe/xe_spi.h | 15 +
drivers/spi/Kconfig | 11 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-intel-dg.c | 863 ++++++++++++++++++++++++++
include/linux/intel_dg_spi_aux.h | 27 +
19 files changed, 1178 insertions(+), 4 deletions(-)
create mode 100644 drivers/gpu/drm/i915/spi/intel_spi.c
create mode 100644 drivers/gpu/drm/i915/spi/intel_spi.h
create mode 100644 drivers/gpu/drm/xe/xe_spi.c
create mode 100644 drivers/gpu/drm/xe/xe_spi.h
create mode 100644 drivers/spi/spi-intel-dg.c
create mode 100644 include/linux/intel_dg_spi_aux.h
--
2.34.1
next reply other threads:[~2024-07-24 14:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-24 14:00 Alexander Usyskin [this message]
2024-07-24 14:00 ` [PATCH v2 01/12] spi: add driver for intel graphics on-die spi device Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 02/12] spi: intel-dg: implement region enumeration Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 03/12] spi: intel-dg: implement spi access functions Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 04/12] spi: intel-dg: spi register with mtd Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 05/12] spi: intel-dg: implement mtd access handlers Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 06/12] spi: intel-dg: align 64bit read and write Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 07/12] spi: intel-dg: wake card on operations Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 08/12] drm/i915/spi: add spi device for discrete graphics Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 09/12] drm/i915/spi: add intel_spi_region map Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 10/12] drm/i915/spi: add support for access mode Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 11/12] drm/xe/spi: add on-die spi device Alexander Usyskin
2024-07-24 14:00 ` [PATCH v2 12/12] drm/xe/spi: add support for access mode Alexander Usyskin
2024-07-24 14:16 ` ✗ CI.Patch_applied: failure for spi: add driver for Intel discrete graphics Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240724140014.428991-1-alexander.usyskin@intel.com \
--to=alexander.usyskin@intel.com \
--cc=airlied@gmail.com \
--cc=broonie@kernel.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=linux-spi@vger.kernel.org \
--cc=lucas.demarchi@intel.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=ogabbay@kernel.org \
--cc=rodrigo.vivi@intel.com \
--cc=thomas.hellstrom@linux.intel.com \
--cc=tomas.winkler@intel.com \
--cc=tursulin@ursulin.net \
--cc=tzimmermann@suse.de \
--cc=vitaly.lubart@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox