[PATCH v1 2/5] video: rename tegra20 to tegra

Peter Robinson pbrobinson at gmail.com
Sun Mar 30 12:25:08 CEST 2025


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:
Reviewed-by: Peter Robinson <pbrobinson at gmail.com>

Peter

On Sun, 30 Mar 2025 at 10:47, Svyatoslav Ryhel <clamor95 at gmail.com> wrote:

> Since this set of drivers suports four Tegra SoC generations, lets name it
> just 'tegra'.
>
> Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
> ---
>  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%)
>
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index df607303616..afcdb16c599 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -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"
>
> diff --git a/drivers/video/Makefile b/drivers/video/Makefile
> index 6073bc5234a..f506f4ba050 100644
> --- a/drivers/video/Makefile
> +++ b/drivers/video/Makefile
> @@ -85,4 +85,4 @@ obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp/
>
>  obj-y += bridge/
>  obj-y += sunxi/
> -obj-y += tegra20/
> +obj-y += tegra/
> diff --git a/drivers/video/tegra20/Kconfig b/drivers/video/tegra/Kconfig
> similarity index 100%
> rename from drivers/video/tegra20/Kconfig
> rename to drivers/video/tegra/Kconfig
> diff --git a/drivers/video/tegra20/Makefile b/drivers/video/tegra/Makefile
> similarity index 100%
> rename from drivers/video/tegra20/Makefile
> rename to drivers/video/tegra/Makefile
> diff --git a/drivers/video/tegra20/mipi-phy.c
> b/drivers/video/tegra/mipi-phy.c
> similarity index 100%
> rename from drivers/video/tegra20/mipi-phy.c
> rename to drivers/video/tegra/mipi-phy.c
> diff --git a/drivers/video/tegra20/mipi-phy.h
> b/drivers/video/tegra/mipi-phy.h
> similarity index 100%
> rename from drivers/video/tegra20/mipi-phy.h
> rename to drivers/video/tegra/mipi-phy.h
> diff --git a/drivers/video/tegra20/tegra-dc.c
> b/drivers/video/tegra/tegra-dc.c
> similarity index 100%
> rename from drivers/video/tegra20/tegra-dc.c
> rename to drivers/video/tegra/tegra-dc.c
> diff --git a/drivers/video/tegra20/tegra-dc.h
> b/drivers/video/tegra/tegra-dc.h
> similarity index 100%
> rename from drivers/video/tegra20/tegra-dc.h
> rename to drivers/video/tegra/tegra-dc.h
> diff --git a/drivers/video/tegra20/tegra-dsi.c
> b/drivers/video/tegra/tegra-dsi.c
> similarity index 100%
> rename from drivers/video/tegra20/tegra-dsi.c
> rename to drivers/video/tegra/tegra-dsi.c
> diff --git a/drivers/video/tegra20/tegra-dsi.h
> b/drivers/video/tegra/tegra-dsi.h
> similarity index 100%
> rename from drivers/video/tegra20/tegra-dsi.h
> rename to drivers/video/tegra/tegra-dsi.h
> diff --git a/drivers/video/tegra20/tegra-hdmi.c
> b/drivers/video/tegra/tegra-hdmi.c
> similarity index 100%
> rename from drivers/video/tegra20/tegra-hdmi.c
> rename to drivers/video/tegra/tegra-hdmi.c
> diff --git a/drivers/video/tegra20/tegra-hdmi.h
> b/drivers/video/tegra/tegra-hdmi.h
> similarity index 100%
> rename from drivers/video/tegra20/tegra-hdmi.h
> rename to drivers/video/tegra/tegra-hdmi.h
> diff --git a/drivers/video/tegra20/tegra-host1x.c
> b/drivers/video/tegra/tegra-host1x.c
> similarity index 100%
> rename from drivers/video/tegra20/tegra-host1x.c
> rename to drivers/video/tegra/tegra-host1x.c
> diff --git a/drivers/video/tegra20/tegra-mipi.c
> b/drivers/video/tegra/tegra-mipi.c
> similarity index 100%
> rename from drivers/video/tegra20/tegra-mipi.c
> rename to drivers/video/tegra/tegra-mipi.c
> diff --git a/drivers/video/tegra20/tegra-pwm-backlight.c
> b/drivers/video/tegra/tegra-pwm-backlight.c
> similarity index 100%
> rename from drivers/video/tegra20/tegra-pwm-backlight.c
> rename to drivers/video/tegra/tegra-pwm-backlight.c
> --
> 2.43.0
>
>


More information about the U-Boot mailing list