video: tegra: adjust namings and paths
Subsystems (2)
cover video: tegra: adjust namings and paths
Adjust driver names, configs and paths to better reflect generic support of multiple Tegra SoC generations they provide.
Svyatoslav Ryhel (5):
video: tegra20: dsi: add Tegra20 support
video: rename tegra20 to tegra
video: move tegra124 into common tegra dir
video: tegra: drop prefix from file names
video: tegra: adjust DC and DSI config names
board/toradex/colibri_t20/colibri_t20.c | 2 +-
configs/endeavoru_defconfig | 2 +-
configs/grouper_defconfig | 2 +-
configs/harmony_defconfig | 2 +-
configs/ideapad-yoga-11_defconfig | 2 +-
configs/medcom-wide_defconfig | 2 +-
configs/mocha_defconfig | 2 +-
configs/paz00_defconfig | 2 +-
configs/picasso_defconfig | 2 +-
configs/qc750_defconfig | 2 +-
configs/seaboard_defconfig | 2 +-
configs/surface-rt_defconfig | 2 +-
configs/tec_defconfig | 2 +-
configs/transformer_t20_defconfig | 2 +-
configs/transformer_t30_defconfig | 2 +-
configs/ventana_defconfig | 2 +-
configs/x3_t30_defconfig | 2 +-
drivers/video/Kconfig | 10 +---
drivers/video/Makefile | 3 +-
drivers/video/tegra/Kconfig | 51 +++++++++++++++++++
drivers/video/tegra/Makefile | 9 ++++
drivers/video/tegra/TODO | 5 ++
.../dc-pwm-backlight.c} | 2 +-
.../video/{tegra20/tegra-dc.c => tegra/dc.c} | 2 +-
.../video/{tegra20/tegra-dc.h => tegra/dc.h} | 0
.../{tegra20/tegra-dsi.c => tegra/dsi.c} | 5 +-
.../{tegra20/tegra-dsi.h => tegra/dsi.h} | 0
.../{tegra20/tegra-hdmi.c => tegra/hdmi.c} | 4 +-
.../{tegra20/tegra-hdmi.h => tegra/hdmi.h} | 0
.../tegra-host1x.c => tegra/host1x.c} | 0
drivers/video/{tegra20 => tegra}/mipi-phy.c | 0
drivers/video/{tegra20 => tegra}/mipi-phy.h | 0
.../{tegra20/tegra-mipi.c => tegra/mipi.c} | 0
drivers/video/{ => tegra}/tegra124/Makefile | 0
drivers/video/{ => tegra}/tegra124/display.c | 0
.../video/{ => tegra}/tegra124/displayport.h | 0
drivers/video/{ => tegra}/tegra124/dp.c | 0
drivers/video/{ => tegra}/tegra124/sor.c | 0
drivers/video/{ => tegra}/tegra124/sor.h | 0
drivers/video/tegra20/Kconfig | 38 --------------
drivers/video/tegra20/Makefile | 7 ---
41 files changed, 91 insertions(+), 79 deletions(-)
create mode 100644 drivers/video/tegra/Kconfig
create mode 100644 drivers/video/tegra/Makefile
create mode 100644 drivers/video/tegra/TODO
rename drivers/video/{tegra20/tegra-pwm-backlight.c => tegra/dc-pwm-backlight.c} (99%)
rename drivers/video/{tegra20/tegra-dc.c => tegra/dc.c} (99%)
rename drivers/video/{tegra20/tegra-dc.h => tegra/dc.h} (100%)
rename drivers/video/{tegra20/tegra-dsi.c => tegra/dsi.c} (99%)
rename drivers/video/{tegra20/tegra-dsi.h => tegra/dsi.h} (100%)
rename drivers/video/{tegra20/tegra-hdmi.c => tegra/hdmi.c} (99%)
rename drivers/video/{tegra20/tegra-hdmi.h => tegra/hdmi.h} (100%)
rename drivers/video/{tegra20/tegra-host1x.c => tegra/host1x.c} (100%)
rename drivers/video/{tegra20 => tegra}/mipi-phy.c (100%)
rename drivers/video/{tegra20 => tegra}/mipi-phy.h (100%)
rename drivers/video/{tegra20/tegra-mipi.c => tegra/mipi.c} (100%)
rename drivers/video/{ => tegra}/tegra124/Makefile (100%)
rename drivers/video/{ => tegra}/tegra124/display.c (100%)
rename drivers/video/{ => tegra}/tegra124/displayport.h (100%)
rename drivers/video/{ => tegra}/tegra124/dp.c (100%)
rename drivers/video/{ => tegra}/tegra124/sor.c (100%)
rename drivers/video/{ => tegra}/tegra124/sor.h (100%)
delete mode 100644 drivers/video/tegra20/Kconfig
delete mode 100644 drivers/video/tegra20/MakefileSignature · 1 line
2.43.0
PATCH 1/5 video: tegra20: dsi: add Tegra20 support
Existing Tegra30 DSI configuration is fully compatible with Tegra20.
--- drivers/video/tegra20/tegra-dsi.c | 1 + 1 file changed, 1 insertion(+)
drivers/video/tegra20/tegra-dsi.c +1 -0
@@ -1129,6 +1129,7 @@ static const struct video_bridge_ops tegra_dsi_bridge_ops = { };static const struct udevice_id tegra_dsi_bridge_ids[] = { + { .compatible ="nvidia,tegra20-dsi" , .data =DSI_V0 }, { .compatible ="nvidia,tegra30-dsi" , .data =DSI_V0 }, { .compatible ="nvidia,tegra114-dsi" , .data =DSI_V1 }, { .compatible ="nvidia,tegra124-dsi" , .data =DSI_V1 },
Signature · 1 line
2.43.0
PATCH 2/5 video: rename tegra20 to tegra
In reply to Svyatoslav RyhelSince this set of drivers suports four Tegra SoC generations, lets name it just 'tegra'.
---
drivers/video/Kconfig | 2 +-
drivers/video/Makefile | 2 +-
drivers/video/{tegra20 => tegra}/Kconfig | 0
drivers/video/{tegra20 => tegra}/Makefile | 0
drivers/video/{tegra20 => tegra}/mipi-phy.c | 0
drivers/video/{tegra20 => tegra}/mipi-phy.h | 0
drivers/video/{tegra20 => tegra}/tegra-dc.c | 0
drivers/video/{tegra20 => tegra}/tegra-dc.h | 0
drivers/video/{tegra20 => tegra}/tegra-dsi.c | 0
drivers/video/{tegra20 => tegra}/tegra-dsi.h | 0
drivers/video/{tegra20 => tegra}/tegra-hdmi.c | 0
drivers/video/{tegra20 => tegra}/tegra-hdmi.h | 0
drivers/video/{tegra20 => tegra}/tegra-host1x.c | 0
drivers/video/{tegra20 => tegra}/tegra-mipi.c | 0
drivers/video/{tegra20 => tegra}/tegra-pwm-backlight.c | 0
15 files changed, 2 insertions(+), 2 deletions(-)
rename drivers/video/{tegra20 => tegra}/Kconfig (100%)
rename drivers/video/{tegra20 => tegra}/Makefile (100%)
rename drivers/video/{tegra20 => tegra}/mipi-phy.c (100%)
rename drivers/video/{tegra20 => tegra}/mipi-phy.h (100%)
rename drivers/video/{tegra20 => tegra}/tegra-dc.c (100%)
rename drivers/video/{tegra20 => tegra}/tegra-dc.h (100%)
rename drivers/video/{tegra20 => tegra}/tegra-dsi.c (100%)
rename drivers/video/{tegra20 => tegra}/tegra-dsi.h (100%)
rename drivers/video/{tegra20 => tegra}/tegra-hdmi.c (100%)
rename drivers/video/{tegra20 => tegra}/tegra-hdmi.h (100%)
rename drivers/video/{tegra20 => tegra}/tegra-host1x.c (100%)
rename drivers/video/{tegra20 => tegra}/tegra-mipi.c (100%)
rename drivers/video/{tegra20 => tegra}/tegra-pwm-backlight.c (100%)drivers/video/Kconfig +1 -1
@@ -819,7 +819,7 @@ config VIDEO_TEGRA124 source "drivers/video/bridge/Kconfig" -source "drivers/video/tegra20/Kconfig" +source "drivers/video/tegra/Kconfig" source "drivers/video/imx/Kconfig"
drivers/video/Makefile +1 -1
@@ -85,4 +85,4 @@ obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp/ obj-y += bridge/ obj-y += sunxi/ -obj-y += tegra20/ +obj-y += tegra/
drivers/video/tegra/Kconfig renamed from drivers/video/tegra20/Kconfig +0 -0
drivers/video/tegra/Makefile renamed from drivers/video/tegra20/Makefile +0 -0
drivers/video/tegra/mipi-phy.c renamed from drivers/video/tegra20/mipi-phy.c +0 -0
drivers/video/tegra/mipi-phy.h renamed from drivers/video/tegra20/mipi-phy.h +0 -0
drivers/video/tegra/tegra-dc.c renamed from drivers/video/tegra20/tegra-dc.c +0 -0
drivers/video/tegra/tegra-dc.h renamed from drivers/video/tegra20/tegra-dc.h +0 -0
drivers/video/tegra/tegra-dsi.c renamed from drivers/video/tegra20/tegra-dsi.c +0 -0
drivers/video/tegra/tegra-dsi.h renamed from drivers/video/tegra20/tegra-dsi.h +0 -0
drivers/video/tegra/tegra-hdmi.c renamed from drivers/video/tegra20/tegra-hdmi.c +0 -0
drivers/video/tegra/tegra-hdmi.h renamed from drivers/video/tegra20/tegra-hdmi.h +0 -0
drivers/video/tegra/tegra-host1x.c renamed from drivers/video/tegra20/tegra-host1x.c +0 -0
drivers/video/tegra/tegra-mipi.c renamed from drivers/video/tegra20/tegra-mipi.c +0 -0
drivers/video/tegra/tegra-pwm-backlight.c renamed from drivers/video/tegra20/tegra-pwm-backlight.c +0 -0
Signature · 1 line
2.43.0
Re: [PATCH v1 2/5] video: rename tegra20 to tegra
Hi Svyatoslav,
I started to look at and test your other display patch series in the last week or so, one thing I noticed is you need to update the Kconfig descriptions as well as this rename.
Has the other series been merged to next? You should also put a note about dependencies etc.
Generally for this the rename makes sense so:
Peter
Quoted 125 lines · Svyatoslav Ryhel
Since this set of drivers suports four Tegra SoC generations, lets name it just 'tegra'.
Signed-off-by Svyatoslav Ryhel <[email protected]>--- drivers/video/Kconfig | 2 +- drivers/video/Makefile | 2 +- drivers/video/{tegra20 => tegra}/Kconfig | 0 drivers/video/{tegra20 => tegra}/Makefile | 0 drivers/video/{tegra20 => tegra}/mipi-phy.c | 0 drivers/video/{tegra20 => tegra}/mipi-phy.h | 0 drivers/video/{tegra20 => tegra}/tegra-dc.c | 0 drivers/video/{tegra20 => tegra}/tegra-dc.h | 0 drivers/video/{tegra20 => tegra}/tegra-dsi.c | 0 drivers/video/{tegra20 => tegra}/tegra-dsi.h | 0 drivers/video/{tegra20 => tegra}/tegra-hdmi.c | 0 drivers/video/{tegra20 => tegra}/tegra-hdmi.h | 0 drivers/video/{tegra20 => tegra}/tegra-host1x.c | 0 drivers/video/{tegra20 => tegra}/tegra-mipi.c | 0 drivers/video/{tegra20 => tegra}/tegra-pwm-backlight.c | 0 15 files changed, 2 insertions(+), 2 deletions(-) rename drivers/video/{tegra20 => tegra}/Kconfig (100%) rename drivers/video/{tegra20 => tegra}/Makefile (100%) rename drivers/video/{tegra20 => tegra}/mipi-phy.c (100%) rename drivers/video/{tegra20 => tegra}/mipi-phy.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-dc.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-dc.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-dsi.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-dsi.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-hdmi.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-hdmi.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-host1x.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-mipi.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-pwm-backlight.c (100%)drivers/video/Kconfig +1
-1@@ -819,7 +819,7 @@ config VIDEO_TEGRA124 source "drivers/video/bridge/Kconfig" -source "drivers/video/tegra20/Kconfig" +source "drivers/video/tegra/Kconfig" source "drivers/video/imx/Kconfig"drivers/video/Makefile +1
-1@@ -85,4 +85,4 @@ obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp/ obj-y += bridge/ obj-y += sunxi/ -obj-y += tegra20/ +obj-y += tegra/drivers/video/tegra/Kconfig renamed from drivers/video/tegra20/Kconfig +0
-0drivers/video/tegra/Makefile renamed from drivers/video/tegra20/Makefile +0
-0drivers/video/tegra/mipi-phy.c renamed from drivers/video/tegra20/mipi-phy.c +0
-0drivers/video/tegra/mipi-phy.h renamed from drivers/video/tegra20/mipi-phy.h +0
-0drivers/video/tegra/tegra-dc.c renamed from drivers/video/tegra20/tegra-dc.c +0
-0drivers/video/tegra/tegra-dc.h renamed from drivers/video/tegra20/tegra-dc.h +0
-0drivers/video/tegra/tegra-dsi.c renamed from drivers/video/tegra20/tegra-dsi.c +0
-0drivers/video/tegra/tegra-dsi.h renamed from drivers/video/tegra20/tegra-dsi.h +0
-0drivers/video/tegra/tegra-hdmi.c renamed from drivers/video/tegra20/tegra-hdmi.c +0
-0drivers/video/tegra/tegra-hdmi.h renamed from drivers/video/tegra20/tegra-hdmi.h +0
-0drivers/video/tegra/tegra-host1x.c renamed from drivers/video/tegra20/tegra-host1x.c +0
-0drivers/video/tegra/tegra-mipi.c renamed from drivers/video/tegra20/tegra-mipi.c +0
-0drivers/video/tegra/tegra-pwm-backlight.c renamed from drivers/video/tegra20/tegra-pwm-backlight.c +0
-1--2.43.0
Re: [PATCH v1 2/5] video: rename tegra20 to tegra
нд, 30 бер. 2025 р. о 13:25 Peter Robinson <[email protected]> пише:
Quoted 5 lines
Hi Svyatoslav,
I started to look at and test your other display patch series in the last week or so, one thing I noticed is you need to update the
Kconfigdescriptions as well as this rename.
This series has Kconfig description adjustments.
Quoted 2 lines
Has the other series been merged to next? You should also put a note about dependencies etc.
Yes, prev series is already in the next.
Quoted 120 lines
Generally for this the rename makes sense so:
Reviewed-by Peter Robinson <[email protected]>Peter
Quoted 114 lines · Svyatoslav Ryhel
Since this set of drivers suports four Tegra SoC generations, lets name it just 'tegra'.
Signed-off-by Svyatoslav Ryhel <[email protected]>--- drivers/video/Kconfig | 2 +- drivers/video/Makefile | 2 +- drivers/video/{tegra20 => tegra}/Kconfig | 0 drivers/video/{tegra20 => tegra}/Makefile | 0 drivers/video/{tegra20 => tegra}/mipi-phy.c | 0 drivers/video/{tegra20 => tegra}/mipi-phy.h | 0 drivers/video/{tegra20 => tegra}/tegra-dc.c | 0 drivers/video/{tegra20 => tegra}/tegra-dc.h | 0 drivers/video/{tegra20 => tegra}/tegra-dsi.c | 0 drivers/video/{tegra20 => tegra}/tegra-dsi.h | 0 drivers/video/{tegra20 => tegra}/tegra-hdmi.c | 0 drivers/video/{tegra20 => tegra}/tegra-hdmi.h | 0 drivers/video/{tegra20 => tegra}/tegra-host1x.c | 0 drivers/video/{tegra20 => tegra}/tegra-mipi.c | 0 drivers/video/{tegra20 => tegra}/tegra-pwm-backlight.c | 0 15 files changed, 2 insertions(+), 2 deletions(-) rename drivers/video/{tegra20 => tegra}/Kconfig (100%) rename drivers/video/{tegra20 => tegra}/Makefile (100%) rename drivers/video/{tegra20 => tegra}/mipi-phy.c (100%) rename drivers/video/{tegra20 => tegra}/mipi-phy.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-dc.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-dc.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-dsi.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-dsi.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-hdmi.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-hdmi.h (100%) rename drivers/video/{tegra20 => tegra}/tegra-host1x.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-mipi.c (100%) rename drivers/video/{tegra20 => tegra}/tegra-pwm-backlight.c (100%)drivers/video/Kconfig +1
-1@@ -819,7 +819,7 @@ config VIDEO_TEGRA124 source "drivers/video/bridge/Kconfig" -source "drivers/video/tegra20/Kconfig" +source "drivers/video/tegra/Kconfig" source "drivers/video/imx/Kconfig"drivers/video/Makefile +1
-1@@ -85,4 +85,4 @@ obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp/ obj-y += bridge/ obj-y += sunxi/ -obj-y += tegra20/ +obj-y += tegra/drivers/video/tegra/Kconfig renamed from drivers/video/tegra20/Kconfig +0
-0drivers/video/tegra/Makefile renamed from drivers/video/tegra20/Makefile +0
-0drivers/video/tegra/mipi-phy.c renamed from drivers/video/tegra20/mipi-phy.c +0
-0drivers/video/tegra/mipi-phy.h renamed from drivers/video/tegra20/mipi-phy.h +0
-0drivers/video/tegra/tegra-dc.c renamed from drivers/video/tegra20/tegra-dc.c +0
-0drivers/video/tegra/tegra-dc.h renamed from drivers/video/tegra20/tegra-dc.h +0
-0drivers/video/tegra/tegra-dsi.c renamed from drivers/video/tegra20/tegra-dsi.c +0
-0drivers/video/tegra/tegra-dsi.h renamed from drivers/video/tegra20/tegra-dsi.h +0
-0drivers/video/tegra/tegra-hdmi.c renamed from drivers/video/tegra20/tegra-hdmi.c +0
-0drivers/video/tegra/tegra-hdmi.h renamed from drivers/video/tegra20/tegra-hdmi.h +0
-0drivers/video/tegra/tegra-host1x.c renamed from drivers/video/tegra20/tegra-host1x.c +0
-0drivers/video/tegra/tegra-mipi.c renamed from drivers/video/tegra20/tegra-mipi.c +0
-0drivers/video/tegra/tegra-pwm-backlight.c renamed from drivers/video/tegra20/tegra-pwm-backlight.c +0
-1--2.43.0
PATCH 3/5 video: move tegra124 into common tegra dir
In reply to Svyatoslav RyhelPlace Tegra124 SOR and eDP implenetation into common Tegra driver folder until it is integrated into existing setup.
---
drivers/video/Kconfig | 8 --------
drivers/video/Makefile | 1 -
drivers/video/tegra/Kconfig | 8 ++++++++
drivers/video/tegra/Makefile | 2 ++
drivers/video/tegra/TODO | 5 +++++
drivers/video/{ => tegra}/tegra124/Makefile | 0
drivers/video/{ => tegra}/tegra124/display.c | 0
drivers/video/{ => tegra}/tegra124/displayport.h | 0
drivers/video/{ => tegra}/tegra124/dp.c | 0
drivers/video/{ => tegra}/tegra124/sor.c | 0
drivers/video/{ => tegra}/tegra124/sor.h | 0
11 files changed, 15 insertions(+), 9 deletions(-)
create mode 100644 drivers/video/tegra/TODO
rename drivers/video/{ => tegra}/tegra124/Makefile (100%)
rename drivers/video/{ => tegra}/tegra124/display.c (100%)
rename drivers/video/{ => tegra}/tegra124/displayport.h (100%)
rename drivers/video/{ => tegra}/tegra124/dp.c (100%)
rename drivers/video/{ => tegra}/tegra124/sor.c (100%)
rename drivers/video/{ => tegra}/tegra124/sor.h (100%)drivers/video/Kconfig +0 -8
@@ -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"
drivers/video/Makefile +0 -1
@@ -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_$(XPL_)VIDEO_TIDSS} += tidss/ obj-y += ti/
drivers/video/tegra/Kconfig +8 -0
@@ -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.
drivers/video/tegra/Makefile +2 -0
@@ -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/
drivers/video/tegra/TODO new file +5 -0
@@ -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.
drivers/video/tegra/tegra124/Makefile renamed from drivers/video/tegra124/Makefile +0 -0
drivers/video/tegra/tegra124/display.c renamed from drivers/video/tegra124/display.c +0 -0
drivers/video/tegra/tegra124/displayport.h renamed from drivers/video/tegra124/displayport.h +0 -0
drivers/video/tegra/tegra124/dp.c renamed from drivers/video/tegra124/dp.c +0 -0
drivers/video/tegra/tegra124/sor.c renamed from drivers/video/tegra124/sor.c +0 -0
drivers/video/tegra/tegra124/sor.h renamed from drivers/video/tegra124/sor.h +0 -0
Signature · 1 line
2.43.0
PATCH 4/5 video: tegra: drop prefix from file names
In reply to Svyatoslav RyhelDir name is enough.
---
drivers/video/tegra/Makefile | 10 +++++-----
.../{tegra-pwm-backlight.c => dc-pwm-backlight.c} | 2 +-
drivers/video/tegra/{tegra-dc.c => dc.c} | 2 +-
drivers/video/tegra/{tegra-dc.h => dc.h} | 0
drivers/video/tegra/{tegra-dsi.c => dsi.c} | 4 ++--
drivers/video/tegra/{tegra-dsi.h => dsi.h} | 0
drivers/video/tegra/{tegra-hdmi.c => hdmi.c} | 4 ++--
drivers/video/tegra/{tegra-hdmi.h => hdmi.h} | 0
drivers/video/tegra/{tegra-host1x.c => host1x.c} | 0
drivers/video/tegra/{tegra-mipi.c => mipi.c} | 0
10 files changed, 11 insertions(+), 11 deletions(-)
rename drivers/video/tegra/{tegra-pwm-backlight.c => dc-pwm-backlight.c} (99%)
rename drivers/video/tegra/{tegra-dc.c => dc.c} (99%)
rename drivers/video/tegra/{tegra-dc.h => dc.h} (100%)
rename drivers/video/tegra/{tegra-dsi.c => dsi.c} (99%)
rename drivers/video/tegra/{tegra-dsi.h => dsi.h} (100%)
rename drivers/video/tegra/{tegra-hdmi.c => hdmi.c} (99%)
rename drivers/video/tegra/{tegra-hdmi.h => hdmi.h} (100%)
rename drivers/video/tegra/{tegra-host1x.c => host1x.c} (100%)
rename drivers/video/tegra/{tegra-mipi.c => mipi.c} (100%)drivers/video/tegra/Makefile +5 -5
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: GPL-2.0+ -obj-$(CONFIG_HOST1X_TEGRA) += tegra-host1x.o -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_HOST1X_TEGRA) += host1x.o +obj-$(CONFIG_VIDEO_TEGRA20) += dc.o +obj-$(CONFIG_VIDEO_DSI_TEGRA30) += dsi.o mipi.o mipi-phy.o +obj-$(CONFIG_VIDEO_HDMI_TEGRA) += hdmi.o +obj-$(CONFIG_TEGRA_BACKLIGHT_PWM) += dc-pwm-backlight.o obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
drivers/video/tegra/dc-pwm-backlight.c renamed from drivers/video/tegra/tegra-pwm-backlight.c +1 -1
@@ -15,7 +15,7 @@#include <asm/io.h> #include <asm/gpio.h> -#include "tegra-dc.h" +#include "dc.h" #define TEGRA_PWM_BL_MIN_BRIGHTNESS 0x10#define TEGRA_PWM_BL_MAX_BRIGHTNESS 0xFF
drivers/video/tegra/dc.c renamed from drivers/video/tegra/tegra-dc.c +1 -1
@@ -19,7 +19,7 @@#include <asm/arch/clock.h> #include <asm/arch/powergate.h> -#include "tegra-dc.h" +#include "dc.h" /* Holder of Tegra per-SOC DC differences */ struct tegra_dc_soc_info {
drivers/video/tegra/dc.h renamed from drivers/video/tegra/tegra-dc.h +0 -0
drivers/video/tegra/dsi.c renamed from drivers/video/tegra/tegra-dsi.c +2 -2
@@ -24,8 +24,8 @@#include <asm/arch/clock.h> #include <asm/arch-tegra/clk_rst.h> -#include "tegra-dc.h" -#include "tegra-dsi.h" +#include "dc.h" +#include "dsi.h" #include "mipi-phy.h" /* List of supported DSI bridges */
drivers/video/tegra/dsi.h renamed from drivers/video/tegra/tegra-dsi.h +0 -0
drivers/video/tegra/hdmi.c renamed from drivers/video/tegra/tegra-hdmi.c +2 -2
@@ -22,8 +22,8 @@#include <asm/io.h> #include <asm/arch/clock.h> -#include "tegra-dc.h" -#include "tegra-hdmi.h" +#include "dc.h" +#include "hdmi.h" #define DDCCI_ENTRY_ADDR 0x37#define DDCCI_SOURSE_ADDR 0x51
drivers/video/tegra/hdmi.h renamed from drivers/video/tegra/tegra-hdmi.h +0 -0
drivers/video/tegra/host1x.c renamed from drivers/video/tegra/tegra-host1x.c +0 -0
drivers/video/tegra/mipi.c renamed from drivers/video/tegra/tegra-mipi.c +0 -0
Signature · 1 line
2.43.0
PATCH 5/5 video: tegra: adjust DC and DSI config names
In reply to Svyatoslav RyhelFix DC and DSI config names to reflect more generic nature of existing Tegra video drivers.
--- board/toradex/colibri_t20/colibri_t20.c | 2 +- configs/endeavoru_defconfig | 2 +- configs/grouper_defconfig | 2 +- configs/harmony_defconfig | 2 +- configs/ideapad-yoga-11_defconfig | 2 +- configs/medcom-wide_defconfig | 2 +- configs/mocha_defconfig | 2 +- configs/paz00_defconfig | 2 +- configs/picasso_defconfig | 2 +- configs/qc750_defconfig | 2 +- configs/seaboard_defconfig | 2 +- configs/surface-rt_defconfig | 2 +- configs/tec_defconfig | 2 +- configs/transformer_t20_defconfig | 2 +- configs/transformer_t30_defconfig | 2 +- configs/ventana_defconfig | 2 +- configs/x3_t30_defconfig | 2 +- drivers/video/tegra/Kconfig | 39 ++++++++++++++----------- drivers/video/tegra/Makefile | 4 +-- 19 files changed, 41 insertions(+), 36 deletions(-)
board/toradex/colibri_t20/colibri_t20.c +1 -1
@@ -147,7 +147,7 @@ void pin_mux_usb(void) }#endif -#ifdef CONFIG_VIDEO_TEGRA20 +#ifdef CONFIG_VIDEO_TEGRA /* * Routine: pin_mux_display * Description: setup the pin muxes/tristate values for the LCD interface)
configs/endeavoru_defconfig +1 -1
@@ -83,5 +83,5 @@ CONFIG_VIDEO=y CONFIG_VIDEO_BRIDGE=y # CONFIG_VIDEO_LOGO is not set CONFIG_VIDEO_LCD_ENDEAVORU=y -CONFIG_VIDEO_DSI_TEGRA30=y +CONFIG_VIDEO_DSI_TEGRA=y CONFIG_TEGRA_BACKLIGHT_PWM=y
configs/grouper_defconfig +1 -1
@@ -88,4 +88,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x4e41 CONFIG_CI_UDC=y CONFIG_VIDEO=y # CONFIG_VIDEO_LOGO is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/harmony_defconfig +1 -1
@@ -64,5 +64,5 @@ CONFIG_USB_ETHER_MCS7830=y CONFIG_USB_ETHER_SMSC95XX=y CONFIG_VIDEO=y # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y CONFIG_CONSOLE_SCROLL_LINES=10
configs/ideapad-yoga-11_defconfig +1 -1
@@ -83,4 +83,4 @@ CONFIG_CI_UDC=y CONFIG_VIDEO=y # CONFIG_VIDEO_LOGO is not set CONFIG_VIDEO_BRIDGE_PARADE_DP501=y -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/medcom-wide_defconfig +1 -1
@@ -53,4 +53,4 @@ CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_SMSC95XX=y CONFIG_VIDEO=y # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/mocha_defconfig +1 -1
@@ -88,4 +88,4 @@ CONFIG_VIDEO_FONT_16X32=y # CONFIG_VIDEO_LOGO is not set CONFIG_VIDEO_LCD_SHARP_LQ079L1SX01=y CONFIG_BACKLIGHT_LP855x=y -CONFIG_VIDEO_DSI_TEGRA30=y +CONFIG_VIDEO_DSI_TEGRA=y
configs/paz00_defconfig +1 -1
@@ -53,5 +53,5 @@ CONFIG_USB_ETHER_ASIX=y CONFIG_VIDEO=y # CONFIG_VIDEO_BPP8 is not set CONFIG_I2C_EDID=y -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y CONFIG_CONSOLE_SCROLL_LINES=10
configs/picasso_defconfig +1 -1
@@ -81,4 +81,4 @@ CONFIG_CI_UDC=y CONFIG_VIDEO=y # CONFIG_VIDEO_LOGO is not set # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/qc750_defconfig +1 -1
@@ -80,4 +80,4 @@ CONFIG_USB_GADGET=y CONFIG_CI_UDC=y CONFIG_VIDEO=y # CONFIG_VIDEO_LOGO is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/seaboard_defconfig +1 -1
@@ -60,5 +60,5 @@ CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_VIDEO=y # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y CONFIG_CONSOLE_SCROLL_LINES=10
configs/surface-rt_defconfig +1 -1
@@ -79,4 +79,4 @@ CONFIG_USB_GADGET=y CONFIG_CI_UDC=y CONFIG_VIDEO=y # CONFIG_VIDEO_LOGO is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/tec_defconfig +1 -1
@@ -53,4 +53,4 @@ CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_SMSC95XX=y CONFIG_VIDEO=y # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/transformer_t20_defconfig +1 -1
@@ -81,4 +81,4 @@ CONFIG_CI_UDC=y CONFIG_VIDEO=y # CONFIG_VIDEO_LOGO is not set # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
configs/transformer_t30_defconfig +1 -1
@@ -93,5 +93,5 @@ CONFIG_VIDEO=y CONFIG_VIDEO_BRIDGE=y # CONFIG_VIDEO_LOGO is not set CONFIG_VIDEO_BRIDGE_TOSHIBA_TC358768=y -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y CONFIG_VIDEO_HDMI_TEGRA=y
configs/ventana_defconfig +1 -1
@@ -53,5 +53,5 @@ CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_VIDEO=y # CONFIG_VIDEO_BPP8 is not set -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y CONFIG_CONSOLE_SCROLL_LINES=10
configs/x3_t30_defconfig +1 -1
@@ -87,4 +87,4 @@ CONFIG_VIDEO_BRIDGE=y # CONFIG_VIDEO_LOGO is not set CONFIG_BACKLIGHT_LM3533=y CONFIG_VIDEO_BRIDGE_SOLOMON_SSD2825=y -CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_TEGRA=y
drivers/video/tegra/Kconfig +22 -17
@@ -2,40 +2,45 @@ config HOST1X_TEGRA bool "NVIDIA Tegra host1x BUS support" depends on SIMPLE_BUS -config VIDEO_TEGRA20 - bool "Enable Display Controller support on Tegra20 and Tegra 30" +config VIDEO_TEGRA + bool "Enable Display Controller support on Tegra devices" depends on OF_CONTROL select HOST1X_TEGRA 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. + Enable support for Display Controller found in Tegra SoC. The + Display Controller Complex integrates two independent display + controllers. Each display controller is capable of interfacing + to an external display device, which can be a parallel interface + or SPI LCD, DVI, an HDMI HDTV, RGB monitor or a MIPI DSI LCD. + Direct interface is supported directly to most LCD displays with + TFT or TFT-like interface. -config VIDEO_DSI_TEGRA30 - bool "Enable Tegra 30 DSI support" +config VIDEO_DSI_TEGRA + bool "Enable DSI controller support on Tegra devices" depends on VIDEO_BRIDGE && PANEL && DM_GPIO - select VIDEO_TEGRA20 + select VIDEO_TEGRA select VIDEO_MIPI_DSI help - T30 has native support for DSI panels. This option enables support - for such panels which can be used on endeavoru and tf600t. + Enable support for the Display Serial Interface (DSI) found in + Tegra SoC. It is a MIPI standard serial bitstream, intended to + provide a low pin count interface to a display panel. config VIDEO_HDMI_TEGRA - bool "Enable Tegra HDMI support" + bool "Enable HDMI support on Tegra devices" depends on VIDEO_BRIDGE && DM_I2C select I2C_EDID - select VIDEO_TEGRA20 + select VIDEO_TEGRA help - Tegra has native support for HDMI. This option enables support - for such connection and can be used for any supported device. + Enable support for the High-Definition Multimedia Interface (HDMI) + found in Tegra SoC. config TEGRA_BACKLIGHT_PWM bool "Enable Tegra DC PWM backlight support" depends on BACKLIGHT - select VIDEO_TEGRA20 + select VIDEO_TEGRA help - Tegra DC dependent backlight. + Enable support for the Display Controller dependent PWM backlight + found in the Tegra SoC and usually used with DSI panels. config VIDEO_TEGRA124 bool "Enable video support on Tegra124"
drivers/video/tegra/Makefile +2 -2
@@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0+ obj-$(CONFIG_HOST1X_TEGRA) += host1x.o -obj-$(CONFIG_VIDEO_TEGRA20) += dc.o -obj-$(CONFIG_VIDEO_DSI_TEGRA30) += dsi.o mipi.o mipi-phy.o +obj-$(CONFIG_VIDEO_TEGRA) += dc.o +obj-$(CONFIG_VIDEO_DSI_TEGRA) += dsi.o mipi.o mipi-phy.o obj-$(CONFIG_VIDEO_HDMI_TEGRA) += hdmi.o obj-$(CONFIG_TEGRA_BACKLIGHT_PWM) += dc-pwm-backlight.o
Signature · 1 line
2.43.0