[PATCH v2 00/10] drm/panel: Silence no spi_device_id warnings

Wei Yongjun weiyongjun at huaweicloud.com
Thu Sep 22 14:11:53 UTC 2022


From: Wei Yongjun <weiyongjun1 at huawei.com>

SPI devices use the spi_device_id for module autoloading even on
systems using device tree.

Commit 5fa6863ba692 ("spi: Check we have a spi_device_id for each DT
compatible") added a test to check that every SPI driver has a
spi_device_id for each DT compatiable string defined by driver
and warns if the spi_device_id is missing.

This series add spi_device_id entries to silence the warnings, and
ensure driver module autoloading works.

v1 -> v2:
 - post as patch series
 - add more detail to commit message
 - format spi ids the same format as of ids
 - remove unused driver_data from spi_device_id

Wei Yongjun (10):
  drm/panel: db7430: Silence no spi_device_id warning
  drm/panel: panel-ilitek-ili9322: Silence no spi_device_id warnings
  drm/panel: innolux-ej030na: Silence no spi_device_id warning
  drm/panel: novatek,nt39016: Silence no spi_device_id warning
  drm/panel: nv3052c: Silence no spi_device_id warning
  drm/panel: s6d27a1: Silence no spi_device_id warning
  drm/panel: s6e63m0: Silence no spi_device_id warning
  drm/panel: tpg110: Silence no spi_device_id warning
  drm/panel: ws2401: Silence no spi_device_id warning
  drm/panel: y030xx067a: Silence no spi_device_id warning

 drivers/gpu/drm/panel/panel-abt-y030xx067a.c      | 7 +++++++
 drivers/gpu/drm/panel/panel-ilitek-ili9322.c      | 8 ++++++++
 drivers/gpu/drm/panel/panel-innolux-ej030na.c     | 7 +++++++
 drivers/gpu/drm/panel/panel-newvision-nv3052c.c   | 7 +++++++
 drivers/gpu/drm/panel/panel-novatek-nt39016.c     | 7 +++++++
 drivers/gpu/drm/panel/panel-samsung-db7430.c      | 7 +++++++
 drivers/gpu/drm/panel/panel-samsung-s6d27a1.c     | 7 +++++++
 drivers/gpu/drm/panel/panel-samsung-s6e63m0-spi.c | 7 +++++++
 drivers/gpu/drm/panel/panel-tpo-tpg110.c          | 7 +++++++
 drivers/gpu/drm/panel/panel-widechips-ws2401.c    | 7 +++++++
 10 files changed, 71 insertions(+)

-- 
2.34.1



More information about the dri-devel mailing list