video: move tegra124 into common tegra dir
authorSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 29 Mar 2025 14:53:24 +0000 (16:53 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 12 Apr 2025 06:43:47 +0000 (09:43 +0300)
Place Tegra124 SOR and eDP implenetation into common Tegra driver folder
until it is integrated into existing setup.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/tegra/Kconfig
drivers/video/tegra/Makefile
drivers/video/tegra/TODO [new file with mode: 0644]
drivers/video/tegra/tegra124/Makefile [moved from drivers/video/tegra124/Makefile with 100% similarity]
drivers/video/tegra/tegra124/display.c [moved from drivers/video/tegra124/display.c with 100% similarity]
drivers/video/tegra/tegra124/displayport.h [moved from drivers/video/tegra124/displayport.h with 100% similarity]
drivers/video/tegra/tegra124/dp.c [moved from drivers/video/tegra124/dp.c with 100% similarity]
drivers/video/tegra/tegra124/sor.c [moved from drivers/video/tegra124/sor.c with 100% similarity]
drivers/video/tegra/tegra124/sor.h [moved from drivers/video/tegra124/sor.h with 100% similarity]

index afcdb16..d343dfb 100644 (file)
@@ -809,14 +809,6 @@ source "drivers/video/stm32/Kconfig"
 
 source "drivers/video/tidss/Kconfig"
 
-config VIDEO_TEGRA124
-       bool "Enable video support on Tegra124"
-       help
-          Tegra124 supports many video output options including eDP and
-          HDMI. At present only eDP is supported by U-Boot. This option
-          enables this support which can be used on devices which
-          have an eDP display connected.
-
 source "drivers/video/bridge/Kconfig"
 
 source "drivers/video/tegra/Kconfig"
index a4896c0..74df571 100644 (file)
@@ -34,7 +34,6 @@ obj-$(CONFIG_BACKLIGHT_LP855x) += lp855x_backlight.o
 obj-${CONFIG_EXYNOS_FB} += exynos/
 obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/
 obj-${CONFIG_VIDEO_STM32} += stm32/
-obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
 obj-${CONFIG_$(PHASE_)VIDEO_TIDSS} += tidss/
 obj-y += ti/
 
index 598f9ea..3d61003 100644 (file)
@@ -36,3 +36,11 @@ config TEGRA_BACKLIGHT_PWM
        select VIDEO_TEGRA20
        help
           Tegra DC dependent backlight.
+
+config VIDEO_TEGRA124
+       bool "Enable video support on Tegra124"
+       help
+          Tegra124 supports many video output options including eDP and
+          HDMI. At present only eDP is supported by U-Boot. This option
+          enables this support which can be used on devices which
+          have an eDP display connected.
index 7852140..cd4cf72 100644 (file)
@@ -5,3 +5,5 @@ obj-$(CONFIG_VIDEO_TEGRA20) += tegra-dc.o
 obj-$(CONFIG_VIDEO_DSI_TEGRA30) += tegra-dsi.o tegra-mipi.o mipi-phy.o
 obj-$(CONFIG_VIDEO_HDMI_TEGRA) += tegra-hdmi.o
 obj-$(CONFIG_TEGRA_BACKLIGHT_PWM) += tegra-pwm-backlight.o
+
+obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
diff --git a/drivers/video/tegra/TODO b/drivers/video/tegra/TODO
new file mode 100644 (file)
index 0000000..1c8c238
--- /dev/null
@@ -0,0 +1,5 @@
+Existence of separate Tegra124 video implementations is not an ideal solution
+since generic video setup for Tegra already has Tegra124 support of some degree.
+It is not possible at the time of this note is written to integrate T124 SOR
+and DP without possible regressions. Tegra124 setup for SOR and DP should be
+incorporated into existing setup once such opportunity occurs.