diff options
Diffstat (limited to 'drivers/video')
111 files changed, 110 insertions, 10 deletions
diff --git a/drivers/video/anx9804.c b/drivers/video/anx9804.c index a149e6f..52b5988 100644 --- a/drivers/video/anx9804.c +++ b/drivers/video/anx9804.c @@ -9,6 +9,7 @@ * interface for driving eDP TFT displays. */ +#include <common.h> #include <i2c.h> #include <linux/delay.h> #include "anx98xx-edp.h" diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index 89bc0ee..652ba14 100644 --- a/drivers/video/atmel_hlcdfb.c +++ b/drivers/video/atmel_hlcdfb.c @@ -5,6 +5,7 @@ * Copyright (C) 2012 Atmel Corporation */ +#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 281c3a1..5a7a54a 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -5,6 +5,7 @@ * Copyright (C) 2007 Atmel Corporation */ +#include <common.h> #include <atmel_lcd.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/video/backlight-uclass.c b/drivers/video/backlight-uclass.c index 2a09b2d..c14996d 100644 --- a/drivers/video/backlight-uclass.c +++ b/drivers/video/backlight-uclass.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT +#include <common.h> #include <dm.h> #include <backlight.h> diff --git a/drivers/video/backlight_gpio.c b/drivers/video/backlight_gpio.c index b26fa9a..eea824a 100644 --- a/drivers/video/backlight_gpio.c +++ b/drivers/video/backlight_gpio.c @@ -4,6 +4,7 @@ * Author: Patrick Delaunay <patrick.delaunay@foss.st.com> */ +#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c index 0c81e60..63efa76 100644 --- a/drivers/video/bcm2835.c +++ b/drivers/video/bcm2835.c @@ -3,6 +3,7 @@ * (C) Copyright 2012 Stephen Warren */ +#include <common.h> #include <dm.h> #include <log.h> #include <video.h> diff --git a/drivers/video/bmp.c b/drivers/video/bmp.c index 291ed36..bab6fa7 100644 --- a/drivers/video/bmp.c +++ b/drivers/video/bmp.c @@ -8,6 +8,7 @@ * BMP handling routines */ +#include <common.h> #include <bmp_layout.h> #include <command.h> #include <dm.h> diff --git a/drivers/video/bochs.c b/drivers/video/bochs.c index 00e673a..022ea38 100644 --- a/drivers/video/bochs.c +++ b/drivers/video/bochs.c @@ -5,6 +5,7 @@ #define LOG_CATEGORY UCLASS_VIDEO +#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> diff --git a/drivers/video/bridge/anx6345.c b/drivers/video/bridge/anx6345.c index 8cee4c9..93fa25f 100644 --- a/drivers/video/bridge/anx6345.c +++ b/drivers/video/bridge/anx6345.c @@ -3,6 +3,7 @@ * Copyright (C) 2017 Vasily Khoruzhick <anarsoul@gmail.com> */ +#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> diff --git a/drivers/video/bridge/ps862x.c b/drivers/video/bridge/ps862x.c index efd0375..d1d22a6 100644 --- a/drivers/video/bridge/ps862x.c +++ b/drivers/video/bridge/ps862x.c @@ -4,6 +4,7 @@ * Written by Simon Glass <sjg@chromium.org> */ +#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> diff --git a/drivers/video/bridge/ptn3460.c b/drivers/video/bridge/ptn3460.c index 5851e1e..4760f04 100644 --- a/drivers/video/bridge/ptn3460.c +++ b/drivers/video/bridge/ptn3460.c @@ -4,6 +4,7 @@ * Written by Simon Glass <sjg@chromium.org> */ +#include <common.h> #include <dm.h> #include <log.h> #include <video_bridge.h> diff --git a/drivers/video/bridge/ssd2825.c b/drivers/video/bridge/ssd2825.c index f978021..f0ef3da 100644 --- a/drivers/video/bridge/ssd2825.c +++ b/drivers/video/bridge/ssd2825.c @@ -3,6 +3,7 @@ * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> diff --git a/drivers/video/bridge/video-bridge-uclass.c b/drivers/video/bridge/video-bridge-uclass.c index 2084a2e..f389bc6 100644 --- a/drivers/video/bridge/video-bridge-uclass.c +++ b/drivers/video/bridge/video-bridge-uclass.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_VIDEO_BRIDGE +#include <common.h> #include <dm.h> #include <errno.h> #include <edid.h> diff --git a/drivers/video/broadwell_igd.c b/drivers/video/broadwell_igd.c index a26154a..83b6c90 100644 --- a/drivers/video/broadwell_igd.c +++ b/drivers/video/broadwell_igd.c @@ -5,12 +5,12 @@ * Copyright (C) 2016 Google, Inc */ +#include <common.h> #include <bios_emul.h> #include <bootstage.h> #include <dm.h> #include <init.h> #include <log.h> -#include <time.h> #include <vesa.h> #include <video.h> #include <asm/cpu.h> diff --git a/drivers/video/console_normal.c b/drivers/video/console_normal.c index 6f4194a..34ef5a5 100644 --- a/drivers/video/console_normal.c +++ b/drivers/video/console_normal.c @@ -6,6 +6,7 @@ * (C) Copyright 2023 Dzmitry Sankouski <dsankouski@gmail.com> */ +#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> diff --git a/drivers/video/console_rotate.c b/drivers/video/console_rotate.c index dc96983..e4303df 100644 --- a/drivers/video/console_rotate.c +++ b/drivers/video/console_rotate.c @@ -6,6 +6,7 @@ * (C) Copyright 2023 Dzmitry Sankouski <dsankouski@gmail.com> */ +#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c index c435162..28665a3 100644 --- a/drivers/video/console_truetype.c +++ b/drivers/video/console_truetype.c @@ -3,6 +3,7 @@ * Copyright (c) 2016 Google, Inc */ +#include <common.h> #include <abuf.h> #include <dm.h> #include <log.h> diff --git a/drivers/video/coreboot.c b/drivers/video/coreboot.c index 9aede26..5b718ae 100644 --- a/drivers/video/coreboot.c +++ b/drivers/video/coreboot.c @@ -3,6 +3,7 @@ * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <vesa.h> diff --git a/drivers/video/display-uclass.c b/drivers/video/display-uclass.c index 61a73e1..2da3d1d 100644 --- a/drivers/video/display-uclass.c +++ b/drivers/video/display-uclass.c @@ -5,6 +5,7 @@ #define LOG_CATEGORY UCLASS_DISPLAY +#include <common.h> #include <dm.h> #include <display.h> #include <edid.h> diff --git a/drivers/video/dsi-host-uclass.c b/drivers/video/dsi-host-uclass.c index fde275a..6e5256e 100644 --- a/drivers/video/dsi-host-uclass.c +++ b/drivers/video/dsi-host-uclass.c @@ -7,6 +7,7 @@ #define LOG_CATEGORY UCLASS_DSI_HOST +#include <common.h> #include <dm.h> #include <dsi_host.h> diff --git a/drivers/video/dw_hdmi.c b/drivers/video/dw_hdmi.c index 35559ce..c217af9 100644 --- a/drivers/video/dw_hdmi.c +++ b/drivers/video/dw_hdmi.c @@ -5,14 +5,13 @@ * Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net> */ +#include <common.h> #include <fdtdec.h> #include <log.h> #include <asm/io.h> #include <i2c.h> #include <media_bus_format.h> -#include <time.h> #include <linux/delay.h> -#include <linux/errno.h> #include "dw_hdmi.h" struct tmds_n_cts { diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c index c74fe67..a7e0784 100644 --- a/drivers/video/dw_mipi_dsi.c +++ b/drivers/video/dw_mipi_dsi.c @@ -9,6 +9,7 @@ * the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c. */ +#include <common.h> #include <clk.h> #include <dsi_host.h> #include <dm.h> diff --git a/drivers/video/efi.c b/drivers/video/efi.c index 78d123f..28ac15f 100644 --- a/drivers/video/efi.c +++ b/drivers/video/efi.c @@ -7,6 +7,7 @@ #define LOG_CATEGORY LOGC_EFI +#include <common.h> #include <dm.h> #include <efi_api.h> #include <log.h> diff --git a/drivers/video/endeavoru-panel.c b/drivers/video/endeavoru-panel.c index d4ba4d8..1bff641 100644 --- a/drivers/video/endeavoru-panel.c +++ b/drivers/video/endeavoru-panel.c @@ -3,6 +3,7 @@ * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> diff --git a/drivers/video/exynos/exynos_dp.c b/drivers/video/exynos/exynos_dp.c index b0afb23..59838da 100644 --- a/drivers/video/exynos/exynos_dp.c +++ b/drivers/video/exynos/exynos_dp.c @@ -5,6 +5,7 @@ * Author: Donghwa Lee <dh09.lee@samsung.com> */ +#include <common.h> #include <dm.h> #include <display.h> #include <fdtdec.h> diff --git a/drivers/video/exynos/exynos_dp_lowlevel.c b/drivers/video/exynos/exynos_dp_lowlevel.c index f007b31..ae500a7 100644 --- a/drivers/video/exynos/exynos_dp_lowlevel.c +++ b/drivers/video/exynos/exynos_dp_lowlevel.c @@ -6,6 +6,7 @@ */ #include <config.h> +#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> diff --git a/drivers/video/exynos/exynos_fb.c b/drivers/video/exynos/exynos_fb.c index 0407a3f..86970a6 100644 --- a/drivers/video/exynos/exynos_fb.c +++ b/drivers/video/exynos/exynos_fb.c @@ -7,6 +7,7 @@ */ #include <config.h> +#include <common.h> #include <display.h> #include <div64.h> #include <dm.h> diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index edeb0a8..804fcd0 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -6,6 +6,7 @@ * Author: Donghwa Lee <dh09.lee@samsung.com> */ +#include <common.h> #include <log.h> #include <malloc.h> #include <fdtdec.h> diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index fc2767a..be67ceb 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -6,6 +6,7 @@ * Author: Donghwa Lee <dh09.lee@samsung.com> */ +#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> diff --git a/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c index 9f18b5d..8111acd 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +++ b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c @@ -6,6 +6,7 @@ * Author: Donghwa Lee <dh09.lee@samsung.com> */ +#include <common.h> #include <asm/arch/dsim.h> #include <asm/arch/mipi_dsim.h> #include <asm/arch/power.h> diff --git a/drivers/video/himax-hx8394.c b/drivers/video/himax-hx8394.c index cb7f93e..63637b4 100644 --- a/drivers/video/himax-hx8394.c +++ b/drivers/video/himax-hx8394.c @@ -2,6 +2,7 @@ /* * Copyright (C) 2022 Ondrej Jirman <megi@xff.cz> */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> diff --git a/drivers/video/hitachi_tx18d42vm_lcd.c b/drivers/video/hitachi_tx18d42vm_lcd.c index 68f7b75..95984fe 100644 --- a/drivers/video/hitachi_tx18d42vm_lcd.c +++ b/drivers/video/hitachi_tx18d42vm_lcd.c @@ -5,6 +5,7 @@ * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com> */ +#include <common.h> #include <malloc.h> #include <linux/delay.h> diff --git a/drivers/video/hx8238d.c b/drivers/video/hx8238d.c index 2491a32..6ee97cb 100644 --- a/drivers/video/hx8238d.c +++ b/drivers/video/hx8238d.c @@ -12,6 +12,7 @@ * */ +#include <common.h> #include <dm.h> #include <panel.h> #include <spi.h> diff --git a/drivers/video/ihs_video_out.c b/drivers/video/ihs_video_out.c index bf4d499..73b8f4b 100644 --- a/drivers/video/ihs_video_out.c +++ b/drivers/video/ihs_video_out.c @@ -9,6 +9,7 @@ * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.de */ +#include <common.h> #include <display.h> #include <dm.h> #include <log.h> diff --git a/drivers/video/imx/ipu_common.c b/drivers/video/imx/ipu_common.c index d582fb8..b0a99c9 100644 --- a/drivers/video/imx/ipu_common.c +++ b/drivers/video/imx/ipu_common.c @@ -11,7 +11,7 @@ */ /* #define DEBUG */ -#include <config.h> +#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> diff --git a/drivers/video/imx/ipu_disp.c b/drivers/video/imx/ipu_disp.c index aaba7d1..144322e 100644 --- a/drivers/video/imx/ipu_disp.c +++ b/drivers/video/imx/ipu_disp.c @@ -12,6 +12,7 @@ /* #define DEBUG */ +#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> diff --git a/drivers/video/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c index 039b220..7e60385 100644 --- a/drivers/video/imx/mxc_ipuv3_fb.c +++ b/drivers/video/imx/mxc_ipuv3_fb.c @@ -10,6 +10,7 @@ * (C) Copyright 2004-2010 Freescale Semiconductor, Inc. */ +#include <common.h> #include <log.h> #include <part.h> #include <asm/cache.h> diff --git a/drivers/video/ivybridge_igd.c b/drivers/video/ivybridge_igd.c index ad68864..c2cc976 100644 --- a/drivers/video/ivybridge_igd.c +++ b/drivers/video/ivybridge_igd.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Google, Inc */ +#include <common.h> #include <bios_emul.h> #include <dm.h> #include <errno.h> diff --git a/drivers/video/lm3533_backlight.c b/drivers/video/lm3533_backlight.c index 6b51fa0..00297a0 100644 --- a/drivers/video/lm3533_backlight.c +++ b/drivers/video/lm3533_backlight.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT #include <backlight.h> +#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> diff --git a/drivers/video/logicore_dp_tx.c b/drivers/video/logicore_dp_tx.c index 643a77a..624084d 100644 --- a/drivers/video/logicore_dp_tx.c +++ b/drivers/video/logicore_dp_tx.c @@ -9,6 +9,7 @@ * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/mali_dp.c b/drivers/video/mali_dp.c index c892126..dbb2f53 100644 --- a/drivers/video/mali_dp.c +++ b/drivers/video/mali_dp.c @@ -5,6 +5,7 @@ * */ #define DEBUG +#include <common.h> #include <malloc.h> #include <video.h> #include <dm.h> diff --git a/drivers/video/mcde_simple.c b/drivers/video/mcde_simple.c index 2ba5d0d..0924cee 100644 --- a/drivers/video/mcde_simple.c +++ b/drivers/video/mcde_simple.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2019 Stephan Gerhold */ +#include <common.h> #include <dm.h> #include <log.h> #include <video.h> diff --git a/drivers/video/meson/meson_canvas.c b/drivers/video/meson/meson_canvas.c index dd4c546..eccac2f 100644 --- a/drivers/video/meson/meson_canvas.c +++ b/drivers/video/meson/meson_canvas.c @@ -6,6 +6,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <asm/io.h> diff --git a/drivers/video/meson/meson_dw_hdmi.c b/drivers/video/meson/meson_dw_hdmi.c index 587df7b..259af1b 100644 --- a/drivers/video/meson/meson_dw_hdmi.c +++ b/drivers/video/meson/meson_dw_hdmi.c @@ -4,6 +4,7 @@ * Author: Jorge Ramirez-Ortiz <jramirez@baylibre.com> */ +#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> diff --git a/drivers/video/meson/meson_plane.c b/drivers/video/meson/meson_plane.c index 899ce22..e3f784e 100644 --- a/drivers/video/meson/meson_plane.c +++ b/drivers/video/meson/meson_plane.c @@ -6,6 +6,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitfield.h> diff --git a/drivers/video/meson/meson_vclk.c b/drivers/video/meson/meson_vclk.c index 4761ff6..e718a00 100644 --- a/drivers/video/meson/meson_vclk.c +++ b/drivers/video/meson/meson_vclk.c @@ -6,6 +6,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <edid.h> #include <linux/bitops.h> diff --git a/drivers/video/meson/meson_venc.c b/drivers/video/meson/meson_venc.c index 1bc6aaf..e7366dd 100644 --- a/drivers/video/meson/meson_venc.c +++ b/drivers/video/meson/meson_venc.c @@ -6,6 +6,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <edid.h> #include <fdtdec.h> diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c index ca62772..67d4ce7 100644 --- a/drivers/video/meson/meson_vpu.c +++ b/drivers/video/meson/meson_vpu.c @@ -6,6 +6,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <display.h> #include <dm.h> #include <efi_loader.h> diff --git a/drivers/video/meson/meson_vpu_init.c b/drivers/video/meson/meson_vpu_init.c index 0e34cef..c9808e1 100644 --- a/drivers/video/meson/meson_vpu_init.c +++ b/drivers/video/meson/meson_vpu_init.c @@ -8,6 +8,7 @@ #define DEBUG +#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/drivers/video/mipi_dsi.c b/drivers/video/mipi_dsi.c index dc949c8..ecacea1 100644 --- a/drivers/video/mipi_dsi.c +++ b/drivers/video/mipi_dsi.c @@ -32,6 +32,7 @@ * */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/mvebu_lcd.c b/drivers/video/mvebu_lcd.c index 3fc5640..d3d07e5 100644 --- a/drivers/video/mvebu_lcd.c +++ b/drivers/video/mvebu_lcd.c @@ -5,6 +5,7 @@ * Initialization of LCD interface and setup of SPLASH screen image */ +#include <common.h> #include <dm.h> #include <part.h> #include <video.h> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 792d631..515363f 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -4,6 +4,7 @@ * * Copyright (C) 2011-2013 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <clk.h> #include <dm.h> #include <env.h> diff --git a/drivers/video/nexell/s5pxx18_dp.c b/drivers/video/nexell/s5pxx18_dp.c index 16a489b..2248f47 100644 --- a/drivers/video/nexell/s5pxx18_dp.c +++ b/drivers/video/nexell/s5pxx18_dp.c @@ -6,6 +6,7 @@ */ #include <config.h> +#include <common.h> #include <errno.h> #include <log.h> #include <asm/arch/reset.h> diff --git a/drivers/video/nexell/s5pxx18_dp_hdmi.c b/drivers/video/nexell/s5pxx18_dp_hdmi.c index 109d9f2..3f1fb8a 100644 --- a/drivers/video/nexell/s5pxx18_dp_hdmi.c +++ b/drivers/video/nexell/s5pxx18_dp_hdmi.c @@ -6,6 +6,7 @@ */ #include <config.h> +#include <common.h> #include <errno.h> #include <log.h> diff --git a/drivers/video/nexell/s5pxx18_dp_lvds.c b/drivers/video/nexell/s5pxx18_dp_lvds.c index 5db8d2b..f8ea63f 100644 --- a/drivers/video/nexell/s5pxx18_dp_lvds.c +++ b/drivers/video/nexell/s5pxx18_dp_lvds.c @@ -6,8 +6,8 @@ */ #include <config.h> +#include <common.h> #include <errno.h> -#include <stdio.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h> diff --git a/drivers/video/nexell/s5pxx18_dp_mipi.c b/drivers/video/nexell/s5pxx18_dp_mipi.c index 58493a8..670272b 100644 --- a/drivers/video/nexell/s5pxx18_dp_mipi.c +++ b/drivers/video/nexell/s5pxx18_dp_mipi.c @@ -6,6 +6,7 @@ */ #include <config.h> +#include <common.h> #include <errno.h> #include <asm/arch/nexell.h> diff --git a/drivers/video/nexell/s5pxx18_dp_rgb.c b/drivers/video/nexell/s5pxx18_dp_rgb.c index 6abb8b5..44e8edb 100644 --- a/drivers/video/nexell/s5pxx18_dp_rgb.c +++ b/drivers/video/nexell/s5pxx18_dp_rgb.c @@ -6,8 +6,8 @@ */ #include <config.h> +#include <common.h> #include <errno.h> -#include <stdio.h> #include <asm/arch/display.h> diff --git a/drivers/video/nexell/soc/s5pxx18_soc_disptop.h b/drivers/video/nexell/soc/s5pxx18_soc_disptop.h index 4ad3532..c7bf504 100644 --- a/drivers/video/nexell/soc/s5pxx18_soc_disptop.h +++ b/drivers/video/nexell/soc/s5pxx18_soc_disptop.h @@ -8,7 +8,6 @@ #ifndef _S5PXX18_SOC_DISPTOP_H_ #define _S5PXX18_SOC_DISPTOP_H_ -#include <linux/types.h> #include "s5pxx18_soc_disptype.h" #define NUMBER_OF_DISPTOP_MODULE 1 diff --git a/drivers/video/nexell_display.c b/drivers/video/nexell_display.c index 7bda33f..af2698f 100644 --- a/drivers/video/nexell_display.c +++ b/drivers/video/nexell_display.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <command.h> #include <dm.h> #include <mapmem.h> diff --git a/drivers/video/omap3_dss.c b/drivers/video/omap3_dss.c index 0b7ce34..432b16b 100644 --- a/drivers/video/omap3_dss.c +++ b/drivers/video/omap3_dss.c @@ -25,6 +25,7 @@ * MA 02111-1307 USA */ +#include <common.h> #include <asm/io.h> #include <asm/arch/dss.h> diff --git a/drivers/video/orisetech_otm8009a.c b/drivers/video/orisetech_otm8009a.c index a29e909..848f174 100644 --- a/drivers/video/orisetech_otm8009a.c +++ b/drivers/video/orisetech_otm8009a.c @@ -7,6 +7,7 @@ * This otm8009a panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-orisetech-otm8009a.c. */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> diff --git a/drivers/video/panel-uclass.c b/drivers/video/panel-uclass.c index 52a3466..1f7e20e 100644 --- a/drivers/video/panel-uclass.c +++ b/drivers/video/panel-uclass.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_PANEL +#include <common.h> #include <dm.h> #include <panel.h> diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index a4576c8..1c747d9 100644 --- a/drivers/video/pwm_backlight.c +++ b/drivers/video/pwm_backlight.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT +#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> diff --git a/drivers/video/raydium-rm68200.c b/drivers/video/raydium-rm68200.c index b8662ca..f1fce55 100644 --- a/drivers/video/raydium-rm68200.c +++ b/drivers/video/raydium-rm68200.c @@ -7,6 +7,7 @@ * This rm68200 panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-raydium-rm68200.c. */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> diff --git a/drivers/video/renesas-r61307.c b/drivers/video/renesas-r61307.c index a3697bc..3f58590 100644 --- a/drivers/video/renesas-r61307.c +++ b/drivers/video/renesas-r61307.c @@ -5,6 +5,7 @@ * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> diff --git a/drivers/video/renesas-r69328.c b/drivers/video/renesas-r69328.c index 9861c3f..082f5bc 100644 --- a/drivers/video/renesas-r69328.c +++ b/drivers/video/renesas-r69328.c @@ -5,6 +5,7 @@ * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> diff --git a/drivers/video/rockchip/dw_mipi_dsi_rockchip.c b/drivers/video/rockchip/dw_mipi_dsi_rockchip.c index fa51217..fb78463 100644 --- a/drivers/video/rockchip/dw_mipi_dsi_rockchip.c +++ b/drivers/video/rockchip/dw_mipi_dsi_rockchip.c @@ -24,6 +24,7 @@ #include <dm/lists.h> #include <linux/iopoll.h> +#include <common.h> #include <log.h> #include <video.h> #include <dm/device-internal.h> diff --git a/drivers/video/rockchip/rk3288_hdmi.c b/drivers/video/rockchip/rk3288_hdmi.c index 3d39f31..efa8754 100644 --- a/drivers/video/rockchip/rk3288_hdmi.c +++ b/drivers/video/rockchip/rk3288_hdmi.c @@ -3,6 +3,7 @@ * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk3288_mipi.c b/drivers/video/rockchip/rk3288_mipi.c index 850fe31..9d42119 100644 --- a/drivers/video/rockchip/rk3288_mipi.c +++ b/drivers/video/rockchip/rk3288_mipi.c @@ -4,6 +4,7 @@ * Author: Eric Gao <eric.gao@rock-chips.com> */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk3288_vop.c b/drivers/video/rockchip/rk3288_vop.c index 282831e..a468385 100644 --- a/drivers/video/rockchip/rk3288_vop.c +++ b/drivers/video/rockchip/rk3288_vop.c @@ -5,6 +5,7 @@ * Copyright 2014 Rockchip Inc. */ +#include <common.h> #include <display.h> #include <dm.h> #include <regmap.h> diff --git a/drivers/video/rockchip/rk3399_hdmi.c b/drivers/video/rockchip/rk3399_hdmi.c index c7630cc..5f3f5d2 100644 --- a/drivers/video/rockchip/rk3399_hdmi.c +++ b/drivers/video/rockchip/rk3399_hdmi.c @@ -3,6 +3,7 @@ * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk3399_mipi.c b/drivers/video/rockchip/rk3399_mipi.c index 57e36ee..b62d808 100644 --- a/drivers/video/rockchip/rk3399_mipi.c +++ b/drivers/video/rockchip/rk3399_mipi.c @@ -4,6 +4,7 @@ * Author: Eric Gao <eric.gao@rock-chips.com> */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk3399_vop.c b/drivers/video/rockchip/rk3399_vop.c index 17e1601..cb589c7 100644 --- a/drivers/video/rockchip/rk3399_vop.c +++ b/drivers/video/rockchip/rk3399_vop.c @@ -5,6 +5,7 @@ * Copyright 2014 Rockchip Inc. */ +#include <common.h> #include <display.h> #include <dm.h> #include <log.h> diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c index eb881ba..5f68a61 100644 --- a/drivers/video/rockchip/rk_edp.c +++ b/drivers/video/rockchip/rk_edp.c @@ -4,6 +4,7 @@ * Copyright 2014 Rockchip Inc. */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk_hdmi.c b/drivers/video/rockchip/rk_hdmi.c index 0ac0a3a..d31f6a4 100644 --- a/drivers/video/rockchip/rk_hdmi.c +++ b/drivers/video/rockchip/rk_hdmi.c @@ -5,6 +5,7 @@ * Copyright 2014 Rockchip Inc. */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk_lvds.c b/drivers/video/rockchip/rk_lvds.c index c969dae..d0a015e 100644 --- a/drivers/video/rockchip/rk_lvds.c +++ b/drivers/video/rockchip/rk_lvds.c @@ -3,6 +3,7 @@ * Copyright 2016 Rockchip Inc. */ +#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> diff --git a/drivers/video/rockchip/rk_mipi.c b/drivers/video/rockchip/rk_mipi.c index 0a60308..f14cbc6 100644 --- a/drivers/video/rockchip/rk_mipi.c +++ b/drivers/video/rockchip/rk_mipi.c @@ -4,6 +4,7 @@ * Author: Eric Gao <eric.gao@rock-chips.com> */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index 17dfe62..acc02e5 100644 --- a/drivers/video/rockchip/rk_vop.c +++ b/drivers/video/rockchip/rk_vop.c @@ -4,6 +4,7 @@ * Copyright 2014 Rockchip Inc. */ +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/sandbox_dsi_host.c b/drivers/video/sandbox_dsi_host.c index 7025ac9..c84a27e 100644 --- a/drivers/video/sandbox_dsi_host.c +++ b/drivers/video/sandbox_dsi_host.c @@ -3,6 +3,7 @@ * Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ +#include <common.h> #include <display.h> #include <dm.h> #include <dsi_host.h> diff --git a/drivers/video/sandbox_osd.c b/drivers/video/sandbox_osd.c index bedc32b..2a854d3 100644 --- a/drivers/video/sandbox_osd.c +++ b/drivers/video/sandbox_osd.c @@ -3,6 +3,7 @@ * (C) Copyright 2018 * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ +#include <common.h> #include <display.h> #include <dm.h> #include <malloc.h> diff --git a/drivers/video/sandbox_sdl.c b/drivers/video/sandbox_sdl.c index 69dfa93..9081c7d 100644 --- a/drivers/video/sandbox_sdl.c +++ b/drivers/video/sandbox_sdl.c @@ -3,6 +3,7 @@ * Copyright (c) 2013 Google, Inc */ +#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c index 86cd301..74c8721 100644 --- a/drivers/video/seps525.c +++ b/drivers/video/seps525.c @@ -6,6 +6,7 @@ * Copyright (C) 2020 Xilinx Inc. */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h> diff --git a/drivers/video/simple_panel.c b/drivers/video/simple_panel.c index b6c5b05..76a3042 100644 --- a/drivers/video/simple_panel.c +++ b/drivers/video/simple_panel.c @@ -4,6 +4,7 @@ * Written by Simon Glass <sjg@chromium.org> */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <edid.h> diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c index cb518b1..33bb78b 100644 --- a/drivers/video/simplefb.c +++ b/drivers/video/simplefb.c @@ -3,6 +3,7 @@ * (C) Copyright 2017 Rob Clark */ +#include <common.h> #include <dm.h> #include <fdtdec.h> #include <fdt_support.h> diff --git a/drivers/video/ssd2828.c b/drivers/video/ssd2828.c index 4334bbd..948f5e7 100644 --- a/drivers/video/ssd2828.c +++ b/drivers/video/ssd2828.c @@ -9,6 +9,7 @@ * interface for driving a MIPI compatible TFT display. */ +#include <common.h> #include <malloc.h> #include <mipi_display.h> #include <asm/gpio.h> diff --git a/drivers/video/stm32/stm32_dsi.c b/drivers/video/stm32/stm32_dsi.c index 438ed41..a18c1e0 100644 --- a/drivers/video/stm32/stm32_dsi.c +++ b/drivers/video/stm32/stm32_dsi.c @@ -10,6 +10,7 @@ #define LOG_CATEGORY UCLASS_VIDEO_BRIDGE +#include <common.h> #include <clk.h> #include <dm.h> #include <dsi_host.h> diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c index 0a062c8..4f60ba8 100644 --- a/drivers/video/stm32/stm32_ltdc.c +++ b/drivers/video/stm32/stm32_ltdc.c @@ -7,6 +7,7 @@ #define LOG_CATEGORY UCLASS_VIDEO +#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> diff --git a/drivers/video/sunxi/lcdc.c b/drivers/video/sunxi/lcdc.c index 264d775..73033c3 100644 --- a/drivers/video/sunxi/lcdc.c +++ b/drivers/video/sunxi/lcdc.c @@ -7,6 +7,7 @@ * (C) Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net> */ +#include <common.h> #include <log.h> #include <linux/delay.h> diff --git a/drivers/video/sunxi/sunxi_de2.c b/drivers/video/sunxi/sunxi_de2.c index 154641b..e02d359 100644 --- a/drivers/video/sunxi/sunxi_de2.c +++ b/drivers/video/sunxi/sunxi_de2.c @@ -5,6 +5,7 @@ * (C) Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net> */ +#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> diff --git a/drivers/video/sunxi/sunxi_display.c b/drivers/video/sunxi/sunxi_display.c index 4a6a89e..8da44a1 100644 --- a/drivers/video/sunxi/sunxi_display.c +++ b/drivers/video/sunxi/sunxi_display.c @@ -6,7 +6,7 @@ * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com> */ -#include <config.h> +#include <common.h> #include <display.h> #include <dm.h> #include <cpu_func.h> diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c b/drivers/video/sunxi/sunxi_dw_hdmi.c index b9c03ea..a5e8d39 100644 --- a/drivers/video/sunxi/sunxi_dw_hdmi.c +++ b/drivers/video/sunxi/sunxi_dw_hdmi.c @@ -6,6 +6,7 @@ */ #include <clk.h> +#include <common.h> #include <display.h> #include <dm.h> #include <dw_hdmi.h> diff --git a/drivers/video/sunxi/sunxi_lcd.c b/drivers/video/sunxi/sunxi_lcd.c index 953233f..7a01cc3 100644 --- a/drivers/video/sunxi/sunxi_lcd.c +++ b/drivers/video/sunxi/sunxi_lcd.c @@ -5,6 +5,7 @@ * (C) Copyright 2017 Vasily Khoruzhick <anarsoul@gmail.com> */ +#include <common.h> #include <display.h> #include <log.h> #include <video_bridge.h> diff --git a/drivers/video/sunxi/tve_common.c b/drivers/video/sunxi/tve_common.c index 7bc2b3b..3525137 100644 --- a/drivers/video/sunxi/tve_common.c +++ b/drivers/video/sunxi/tve_common.c @@ -7,6 +7,7 @@ * (C) Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net> */ +#include <common.h> #include <asm/arch/tve.h> #include <asm/io.h> diff --git a/drivers/video/tda19988.c b/drivers/video/tda19988.c index ebc8521..2448743 100644 --- a/drivers/video/tda19988.c +++ b/drivers/video/tda19988.c @@ -5,6 +5,7 @@ * Based on the Linux driver, (C) 2012 Texas Instruments */ +#include <common.h> #include <dm.h> #include <display.h> #include <i2c.h> diff --git a/drivers/video/tdo-tl070wsh30.c b/drivers/video/tdo-tl070wsh30.c index d772958..273672d 100644 --- a/drivers/video/tdo-tl070wsh30.c +++ b/drivers/video/tdo-tl070wsh30.c @@ -3,6 +3,7 @@ * Copyright (C) 2020 BayLibre, SAS * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c index abe31e2..9261cc9 100644 --- a/drivers/video/tegra124/display.c +++ b/drivers/video/tegra124/display.c @@ -5,6 +5,7 @@ * Extracted from Chromium coreboot commit 3f59b13d */ +#include <common.h> #include <bootstage.h> #include <dm.h> #include <edid.h> @@ -13,7 +14,6 @@ #include <edid.h> #include <log.h> #include <part.h> -#include <time.h> #include <video.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/drivers/video/tegra124/dp.c b/drivers/video/tegra124/dp.c index 763f7ee..b27b163 100644 --- a/drivers/video/tegra124/dp.c +++ b/drivers/video/tegra124/dp.c @@ -4,12 +4,12 @@ * Copyright 2014 Google Inc. */ +#include <common.h> #include <display.h> #include <dm.h> #include <div64.h> #include <errno.h> #include <log.h> -#include <time.h> #include <video_bridge.h> #include <asm/io.h> #include <asm/arch-tegra/dc.h> diff --git a/drivers/video/tegra124/sor.c b/drivers/video/tegra124/sor.c index 1ce5330..2586851 100644 --- a/drivers/video/tegra124/sor.c +++ b/drivers/video/tegra124/sor.c @@ -3,6 +3,7 @@ * Copyright (c) 2011-2013, NVIDIA Corporation. */ +#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/drivers/video/tegra20/mipi-phy.c b/drivers/video/tegra20/mipi-phy.c index 576262e..c3ebc40 100644 --- a/drivers/video/tegra20/mipi-phy.c +++ b/drivers/video/tegra20/mipi-phy.c @@ -3,6 +3,7 @@ * Copyright (C) 2013 NVIDIA Corporation */ +#include <common.h> #include <linux/err.h> #include "mipi-phy.h" diff --git a/drivers/video/tegra20/tegra-dsi.c b/drivers/video/tegra20/tegra-dsi.c index 35a8e6c..13dae37 100644 --- a/drivers/video/tegra20/tegra-dsi.c +++ b/drivers/video/tegra20/tegra-dsi.c @@ -4,6 +4,7 @@ * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> diff --git a/drivers/video/tegra20/tegra-pwm-backlight.c b/drivers/video/tegra20/tegra-pwm-backlight.c index 79d8a02..5f93f57 100644 --- a/drivers/video/tegra20/tegra-pwm-backlight.c +++ b/drivers/video/tegra20/tegra-pwm-backlight.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT #include <backlight.h> +#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> diff --git a/drivers/video/ti/tilcdc-panel.c b/drivers/video/ti/tilcdc-panel.c index d407652..df95086 100644 --- a/drivers/video/ti/tilcdc-panel.c +++ b/drivers/video/ti/tilcdc-panel.c @@ -5,6 +5,7 @@ * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it> */ +#include <common.h> #include <backlight.h> #include <clk.h> #include <display.h> diff --git a/drivers/video/ti/tilcdc.c b/drivers/video/ti/tilcdc.c index 493e2f1..2734754 100644 --- a/drivers/video/ti/tilcdc.c +++ b/drivers/video/ti/tilcdc.c @@ -3,6 +3,7 @@ * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it> */ +#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> diff --git a/drivers/video/tidss/tidss_drv.c b/drivers/video/tidss/tidss_drv.c index 865d4bd..1380c6b 100644 --- a/drivers/video/tidss/tidss_drv.c +++ b/drivers/video/tidss/tidss_drv.c @@ -9,6 +9,7 @@ * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> */ +#include <common.h> #include <dm.h> #include <clk.h> #include <log.h> diff --git a/drivers/video/vesa.c b/drivers/video/vesa.c index ab756ac..50912c5 100644 --- a/drivers/video/vesa.c +++ b/drivers/video/vesa.c @@ -3,6 +3,7 @@ * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c index 80e7adf..5d06e51 100644 --- a/drivers/video/vidconsole-uclass.c +++ b/drivers/video/vidconsole-uclass.c @@ -9,6 +9,7 @@ #define LOG_CATEGORY UCLASS_VIDEO_CONSOLE +#include <common.h> #include <abuf.h> #include <charset.h> #include <command.h> diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index ff1382f..7b5d1df 100644 --- a/drivers/video/video-uclass.c +++ b/drivers/video/video-uclass.c @@ -5,6 +5,7 @@ #define LOG_CATEGORY UCLASS_VIDEO +#include <common.h> #include <bloblist.h> #include <console.h> #include <cpu_func.h> diff --git a/drivers/video/video_bmp.c b/drivers/video/video_bmp.c index ad512d9..45f003c 100644 --- a/drivers/video/video_bmp.c +++ b/drivers/video/video_bmp.c @@ -3,6 +3,7 @@ * Copyright (c) 2015 Google, Inc */ +#include <common.h> #include <bmp_layout.h> #include <dm.h> #include <log.h> diff --git a/drivers/video/video_osd-uclass.c b/drivers/video/video_osd-uclass.c index 9236863..0d3aae4 100644 --- a/drivers/video/video_osd-uclass.c +++ b/drivers/video/video_osd-uclass.c @@ -6,6 +6,7 @@ #define LOG_CATEGORY UCLASS_VIDEO_OSD +#include <common.h> #include <dm.h> #include <video_osd.h> diff --git a/drivers/video/videomodes.c b/drivers/video/videomodes.c index d86d867..35955a5 100644 --- a/drivers/video/videomodes.c +++ b/drivers/video/videomodes.c @@ -55,6 +55,7 @@ "myvideo" and setting the variable "videomode=myvideo".. ****************************************************************************/ +#include <common.h> #include <edid.h> #include <env.h> #include <errno.h> diff --git a/drivers/video/zynqmp/zynqmp_dpsub.c b/drivers/video/zynqmp/zynqmp_dpsub.c index 1405b29..def4dcf 100644 --- a/drivers/video/zynqmp/zynqmp_dpsub.c +++ b/drivers/video/zynqmp/zynqmp_dpsub.c @@ -6,6 +6,7 @@ * Xilinx displayport(DP) Tx Subsytem driver */ +#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> |