]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/panel: Add Samsung prefix to panel drivers
authorThierry Reding <treding@nvidia.com>
Tue, 14 Apr 2015 12:57:14 +0000 (14:57 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 12:33:52 +0000 (14:33 +0200)
The likelihood of getting a large number of panel drivers from different
vendors is quite high. Add a prefix to the two existing Samsung panel
drivers to set a guideline for future patch submissions. Using vendor
prefixes consistently should allow a cleaner organization of the tree.

Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/configs/exynos_defconfig
arch/arm/configs/multi_v7_defconfig
drivers/gpu/drm/panel/Kconfig
drivers/gpu/drm/panel/Makefile
drivers/gpu/drm/panel/panel-samsung-ld9040.c [moved from drivers/gpu/drm/panel/panel-ld9040.c with 99% similarity]
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c [moved from drivers/gpu/drm/panel/panel-s6e8aa0.c with 99% similarity]

index 9504e779028834deaa29731f24c9f4adf63aa24a..1d8f98c61c5584b9eb359ed90380e507919e97ba 100644 (file)
@@ -131,7 +131,7 @@ CONFIG_DRM_EXYNOS_FIMD=y
 CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_PANEL_SIMPLE=y
-CONFIG_DRM_PANEL_S6E8AA0=y
+CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=y
 CONFIG_FB_SIMPLE=y
 CONFIG_EXYNOS_VIDEO=y
 CONFIG_EXYNOS_MIPI_DSI=y
index 6d83a1bf0c7494593eb608ddba29f2bfea8d8455..44abecc16d5b0653f4299243721a3f196ab90e2e 100644 (file)
@@ -438,7 +438,7 @@ CONFIG_DRM_EXYNOS_FIMD=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_RCAR_DU=m
 CONFIG_DRM_TEGRA=y
-CONFIG_DRM_PANEL_S6E8AA0=m
+CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=m
 CONFIG_DRM_PANEL_SIMPLE=y
 CONFIG_FB_ARMCLCD=y
 CONFIG_FB_WM8505=y
index 6d64c7bb908bcdaa403f7e7ec68646135ab710b9..5be25d9282e375b83614b0a009d070ae708cdffc 100644 (file)
@@ -18,13 +18,13 @@ config DRM_PANEL_SIMPLE
          that it can be automatically turned off when the panel goes into a
          low power state.
 
-config DRM_PANEL_LD9040
-       tristate "LD9040 RGB/SPI panel"
+config DRM_PANEL_SAMSUNG_LD9040
+       tristate "Samsung LD9040 RGB/SPI panel"
        depends on OF && SPI
        select VIDEOMODE_HELPERS
 
-config DRM_PANEL_S6E8AA0
-       tristate "S6E8AA0 DSI video mode panel"
+config DRM_PANEL_SAMSUNG_S6E8AA0
+       tristate "Samsung S6E8AA0 DSI video mode panel"
        depends on OF
        select DRM_MIPI_DSI
        select VIDEOMODE_HELPERS
index 4b2a0430804b1813ed02bc713e61590e7a62d849..8026ce5d18b57285b4402a5162bcce1d149320f1 100644 (file)
@@ -1,4 +1,4 @@
 obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o
-obj-$(CONFIG_DRM_PANEL_LD9040) += panel-ld9040.o
-obj-$(CONFIG_DRM_PANEL_S6E8AA0) += panel-s6e8aa0.o
+obj-$(CONFIG_DRM_PANEL_SAMSUNG_LD9040) += panel-samsung-ld9040.o
+obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) += panel-samsung-s6e8aa0.o
 obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) += panel-sharp-lq101r1sx01.o
similarity index 99%
rename from drivers/gpu/drm/panel/panel-ld9040.c
rename to drivers/gpu/drm/panel/panel-samsung-ld9040.c
index 9c27bded4c09a0afb1e7955da476f6c19b63bcfc..b202377135e7b320e825e6005bcb1d733fc1a47a 100644 (file)
@@ -377,7 +377,7 @@ static struct spi_driver ld9040_driver = {
        .probe = ld9040_probe,
        .remove = ld9040_remove,
        .driver = {
-               .name = "ld9040",
+               .name = "panel-samsung-ld9040",
                .owner = THIS_MODULE,
                .of_match_table = ld9040_of_match,
        },
similarity index 99%
rename from drivers/gpu/drm/panel/panel-s6e8aa0.c
rename to drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
index 30051108eec4869b7ec89d8d93ed4c4fe41662cf..a188a3959f1ad33384fb266b967853a61bb4f973 100644 (file)
@@ -1051,7 +1051,7 @@ static struct mipi_dsi_driver s6e8aa0_driver = {
        .probe = s6e8aa0_probe,
        .remove = s6e8aa0_remove,
        .driver = {
-               .name = "panel_s6e8aa0",
+               .name = "panel-samsung-s6e8aa0",
                .of_match_table = s6e8aa0_of_match,
        },
 };