diff options
author | Svyatoslav Ryhel <clamor95@gmail.com> | 2023-03-27 11:11:41 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2023-04-07 18:33:11 +0200 |
commit | cf291babc7669013fb4efbceda98977bb2720635 (patch) | |
tree | 615c22c147165b5750405944b967f4c72f242ce4 | |
parent | 8dfeee651fc13c8fd797998e9a408a8b49bead09 (diff) | |
download | u-boot-cf291babc7669013fb4efbceda98977bb2720635.zip u-boot-cf291babc7669013fb4efbceda98977bb2720635.tar.gz u-boot-cf291babc7669013fb4efbceda98977bb2720635.tar.bz2 |
video: move tegra dc driver into own folder
Move tegra dc driver to tegra20 directory and also mention
T30 in description of the driver's config option.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
[agust: add commit description]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r-- | drivers/video/Kconfig | 11 | ||||
-rw-r--r-- | drivers/video/Makefile | 2 | ||||
-rw-r--r-- | drivers/video/tegra20/Kconfig | 8 | ||||
-rw-r--r-- | drivers/video/tegra20/Makefile | 3 | ||||
-rw-r--r-- | drivers/video/tegra20/tegra-dc.c (renamed from drivers/video/tegra.c) | 0 |
5 files changed, 14 insertions, 10 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 60f4a4b..334d64c 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -668,15 +668,6 @@ source "drivers/video/stm32/Kconfig" source "drivers/video/tidss/Kconfig" -config VIDEO_TEGRA20 - bool "Enable LCD support on Tegra20" - depends on OF_CONTROL - help - Tegra20 supports video output to an attached LCD panel as well as - other options such as HDMI. Only the LCD is supported in U-Boot. - This option enables this support which can be used on devices which - have an LCD display connected. - config VIDEO_TEGRA124 bool "Enable video support on Tegra124" help @@ -687,6 +678,8 @@ config VIDEO_TEGRA124 source "drivers/video/bridge/Kconfig" +source "drivers/video/tegra20/Kconfig" + source "drivers/video/imx/Kconfig" config VIDEO_MXS diff --git a/drivers/video/Makefile b/drivers/video/Makefile index cb3f373..4d75771 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -67,10 +67,10 @@ obj-$(CONFIG_VIDEO_OMAP3) += omap3_dss.o obj-$(CONFIG_VIDEO_DSI_HOST_SANDBOX) += sandbox_dsi_host.o obj-$(CONFIG_VIDEO_SANDBOX_SDL) += sandbox_sdl.o obj-$(CONFIG_VIDEO_SIMPLE) += simplefb.o -obj-$(CONFIG_VIDEO_TEGRA20) += tegra.o obj-$(CONFIG_VIDEO_VESA) += vesa.o obj-$(CONFIG_VIDEO_SEPS525) += seps525.o obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp_dpsub.o obj-y += bridge/ obj-y += sunxi/ +obj-y += tegra20/ diff --git a/drivers/video/tegra20/Kconfig b/drivers/video/tegra20/Kconfig new file mode 100644 index 0000000..2a4036b --- /dev/null +++ b/drivers/video/tegra20/Kconfig @@ -0,0 +1,8 @@ +config VIDEO_TEGRA20 + bool "Enable Display Controller support on Tegra20 and Tegra 30" + depends on OF_CONTROL + help + T20/T30 support video output to an attached LCD panel as well as + other options such as HDMI. Only the LCD is supported in U-Boot. + This option enables this support which can be used on devices which + have an LCD display connected. diff --git a/drivers/video/tegra20/Makefile b/drivers/video/tegra20/Makefile new file mode 100644 index 0000000..4517923 --- /dev/null +++ b/drivers/video/tegra20/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0+ + +obj-$(CONFIG_VIDEO_TEGRA20) += tegra-dc.o diff --git a/drivers/video/tegra.c b/drivers/video/tegra20/tegra-dc.c index 5e3f6bf..5e3f6bf 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra20/tegra-dc.c |