RFC drm/i915/spi: discrete graphics internal spi
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest10 patches 0 repliesNew
- v1 RFC9 patches 27 repliesSuperseded
Changes in v2 from the cover letter
1. Adding separate Makefile for i915_spi module
2. Adding MAINTAINERS entry
3. Addressing other small comments
4. Haven't got comments from the MTD maintainers so just resending the patch.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/i915/spi: add spi device for discrete graphicsdrivers/ drivers/ drivers/ +4 more | +73 | 0 replies | |
| 2/10 | drm/i915/spi: intel_spi_region mapdrivers/ drivers/ | +14 | 0 replies | |
| 3/10 | drm/i915/spi: add driver for on-die spi devicedrivers/ drivers/ drivers/ +2 more | +143 | 0 replies | |
| 4/10 | drm/i915/spi: implement regions enumerationdrivers/ | +190 | 0 replies | |
| 5/10 | drm/i915/spi: implement spi access functionsdrivers/ | +137 | 0 replies | |
| 6/10 | drm/i915/spi: spi register with mtddrivers/ | +85 | 0 replies | |
| 7/10 | drm/i915/spi: mtd: implement access handlersdrivers/ | +131 | 0 replies | |
| 8/10 | drm/i915/spi: serialize spi accessdrivers/ | +28 | 0 replies | |
| 9/10 | MAINTAINERS: add Intel i915 spi driver entryMAINTAINERS | +11 | 0 replies | |
| 10/10 | mtd: use refcount to prevent corruptiondrivers/ drivers/ drivers/ +1 more | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Intel-gfx] [RFC PATCH 00/10 v2] drm/i915/spi: discrete graphics internal spi
Intel discrete graphic devices have internal spi storage, that holds firmware and oprom images. The spi device is exposed to the user space via mtd framework to be accessed during manufacturing.
The device is hardware locked after manufacturing and only read access is provided.
The i915 plays role of a multi function device (mfd) and spi device is exposed as its child device. i915_spi platform driver binds to this device.
Because the graphic card may undergo reset at any time and basically hot unplug all its child devices, this series also provides a fix to the mtd framework to make the reset graceful.
V2:
1. Adding separate Makefile for i915_spi module
2. Adding MAINTAINERS entry
3. Addressing other small comments
4. Haven't got comments from the MTD maintainers so just resending the patch.
Tomas Winkler (10):
drm/i915/spi: add spi device for discrete graphics drm/i915/spi: intel_spi_region map drm/i915/spi: add driver for on-die spi device drm/i915/spi: implement regions enumeration drm/i915/spi: implement spi access functions drm/i915/spi: spi register with mtd drm/i915/spi: mtd: implement access handlers drm/i915/spi: serialize spi access
MAINTAINERS: add Intel i915 spi driver entry
mtd: use refcount to prevent corruption
MAINTAINERS | 11 + drivers/gpu/drm/i915/Kconfig | 3 + drivers/gpu/drm/i915/Makefile | 4 + drivers/gpu/drm/i915/i915_drv.c | 7 + drivers/gpu/drm/i915/i915_drv.h | 4 + drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/spi/Kconfig | 17 + drivers/gpu/drm/i915/spi/Makefile | 7 + drivers/gpu/drm/i915/spi/i915_spi.c | 675 +++++++++++++++++++++++++++ drivers/gpu/drm/i915/spi/intel_spi.c | 49 ++ drivers/gpu/drm/i915/spi/intel_spi.h | 22 + drivers/mtd/mtdcore.c | 64 ++- drivers/mtd/mtdcore.h | 1 + drivers/mtd/mtdpart.c | 13 +- include/linux/mtd/mtd.h | 2 +- 15 files changed, 848 insertions(+), 32 deletions(-) create mode 100644 drivers/gpu/drm/i915/spi/Kconfig create mode 100644 drivers/gpu/drm/i915/spi/Makefile create mode 100644 drivers/gpu/drm/i915/spi/i915_spi.c create mode 100644 drivers/gpu/drm/i915/spi/intel_spi.c create mode 100644 drivers/gpu/drm/i915/spi/intel_spi.h
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx