All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix SPI module alias for panels used by omapdrm
@ 2019-10-07 17:07 Laurent Pinchart
  2019-10-07 17:07 ` [PATCH 1/5] drm/panel: lg-lb035q02: Fix SPI alias Laurent Pinchart
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Laurent Pinchart @ 2019-10-07 17:07 UTC (permalink / raw)
  To: dri-devel
  Cc: linux-omap, Tony Lindgren, H. Nikolaus Schaller, Jyri Sarha,
	Tomi Valkeinen, thierry.reding, letux-kernel, sam

Hello,

This patch series fixes a module alias issue with the five recently
added panel drivers used by omapdrm.

Before those panel drivers, omapdrm had custom drivers for the panels,
and prefixed the OF compatible strings with an "omapdss," prefix. The
SPI device IDs are constructed by stripping the OF compatible string
from the prefix, resulting in the "omapdss," prefix being removed, but
the subsequence OF vendor prefix being kept. The SPI drivers thus had
modules aliases that contained the vendor prefix.

Now that the panels are supported by standard drivers and the "omapdss,"
prefix is removed, the SPI device IDs are stripped from the OF vendor
prefix. As the new panel drivers copied the module aliases from the
omapdrm-specific drivers, they contain the vendor prefix in their SPI
module aliases, and are thus not loaded automatically.

Fix this by removing the vendor prefix from the SPI modules aliases in
the drivers. For consistency reason, the manual module aliases are also
moved to use an SPI module table.

These patches are based on the drm-misc-fixes branch as they fix v5.4
regressions.

Laurent Pinchart (5):
  drm/panel: lg-lb035q02: Fix SPI alias
  drm/panel: nec-nl8048hl11: Fix SPI alias
  drm/panel: sony-acx565akm: Fix SPI alias
  drm/panel: tpo-td028ttec1: Fix SPI alias
  drm/panel: tpo-td043mtea1: Fix SPI alias

 drivers/gpu/drm/panel/panel-lg-lb035q02.c    | 9 ++++++++-
 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c | 9 ++++++++-
 drivers/gpu/drm/panel/panel-sony-acx565akm.c | 9 ++++++++-
 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 3 +--
 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c | 9 ++++++++-
 5 files changed, 33 insertions(+), 6 deletions(-)

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-10-08  5:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-07 17:07 [PATCH 0/5] Fix SPI module alias for panels used by omapdrm Laurent Pinchart
2019-10-07 17:07 ` [PATCH 1/5] drm/panel: lg-lb035q02: Fix SPI alias Laurent Pinchart
2019-10-07 17:07 ` [PATCH 2/5] drm/panel: nec-nl8048hl11: " Laurent Pinchart
2019-10-07 17:07 ` [PATCH 3/5] drm/panel: sony-acx565akm: " Laurent Pinchart
2019-10-07 17:08 ` [PATCH 4/5] drm/panel: tpo-td028ttec1: " Laurent Pinchart
2019-10-07 17:58   ` [Letux-kernel] " Andreas Kemnade
2019-10-07 19:33     ` H. Nikolaus Schaller
2019-10-07 17:08 ` [PATCH 5/5] drm/panel: tpo-td043mtea1: " Laurent Pinchart
2019-10-07 19:34   ` H. Nikolaus Schaller
2019-10-07 17:22 ` [PATCH 0/5] Fix SPI module alias for panels used by omapdrm Sam Ravnborg
2019-10-07 17:44   ` Laurent Pinchart
2019-10-08  5:24   ` Tomi Valkeinen
2019-10-07 17:27 ` Sebastian Reichel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.