[GIT PULL] u-boot-video/video-20240421

2024-04-21 Thread Anatolij Gustschin
Hi Tom,

please pull video driver updates for v2024.07-rc1.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/20466

Thanks,
Anatolij

The following changes since commit af04f37a78c7e61597fb9ed6db2c8f8d7f8b0f92:

  Merge tag 'u-boot-stm32-20240419' of 
https://source.denx.de/u-boot/custodians/u-boot-stm (2024-04-19 14:25:04 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20240421

for you to fetch changes up to efe1ceec7ef0c2ce2344dbe066fca0d389a0b4f3:

  boot: Move framebuffer reservation to separate helper (2024-04-21 09:07:02 
+0200)


 - simple_panel: support timing parsing from EDID
 - dw_hdmi: fix gcc-14 compiler warnings
 - dw_hdmi: support vendor PHY for HDMI
 - rockchip: add Rockchip INNO HDMI PHY driver
 - rockchip: RK3328 HDMI and VOP support
 - evb-rk3328: enable vidconsole support
 - Tegra DC and DSI improvements and Tegra 114 support
 - add LG LG070WX3 MIPI DSI panel driver
 - add Samsung LTL106HL02 MIPI DSI panel driver
 - add Toshiba TC358768 RGB to DSI bridge support
 - add basic support for the Parade DP501 transmitter
 - Tegra 3 panel and bridge driver improvements
 - simplefb: modernise DT parsing
 - fdt_simplefb: Enumerate framebuffer info from video handoff
 - preserve framebuffer if SPL is passing video hand-off
 - fdt_support: allow reserving FB region without simplefb


Anton Bambura (1):
  video: panel: add Samsung LTL106HL02 MIPI DSI panel driver

Caleb Connolly (1):
  video: simplefb: modernise DT parsing

Devarsh Thakkar (3):
  boot: fdt_simplefb: Enumerate framebuffer info from video handoff
  video: Assume video to be active if SPL is passing video hand-off
  boot: Move framebuffer reservation to separate helper

Jagan Teki (17):
  video: rockchip: hdmi: Detect hpd after controller init
  video: dw_hdmi: Add Vendor PHY handling
  video: dw_hdmi: Extend the HPD detection
  video: dw_hdmi: Add read_hpd hook
  video: dw_hdmi: Add setup_hpd hook
  video: rockchip: vop: Simplify rkvop_enable
  video: rockchip: vop: Add win offset support
  video: rockchip: vop: Add dsp offset support
  clk: rockchip: rk3328: Add VOP clk support
  clk: rk3328: Add get hdmiphy clock
  phy: rockchip: Add Rockchip INNO HDMI PHY driver
  video: rockchip: Add rk3328 hdmi support
  video: rockchip: Add rk3328 vop support
  ARM: dts: rk3328: Enable VOP for bootph-all
  rockchip: Enable preconsole for rk3328
  configs: evb-rk3328: Enable vidconsole for rk3328
  configs: Enable HDMI Out for ROC-RK3328-CC

Jonas Schwöbel (7):
  video: tegra20: dc: fix printing of framebuffer address
  video: tegra20: dc: enable backlight after DC is configured
  video: tegra20: dc: clean framebuffer memory block
  video: tegra20: dsi: remove pre-configuration
  video: tegra20: dsi: set correct fifo depth
  video: tegra20: dsi: use set_backlight for backlight only
  video: bridge: add basic support for the Parade DP501 transmitter

Khem Raj (1):
  video: dw_hdmi: Fix compiler warnings with gcc-14

Svyatoslav Ryhel (18):
  video: simple_panel: simplify platform data pass
  video: simple_panel: add EDID support
  video: tegra20: dc: diverge DC per-SOC
  video: tegra20: dc: fix image shift on rotated panels
  video: tegra20: consolidate DC header
  video: tegra20: dc: pass DC id to internal devices
  video: tegra20: dc: add PLLD2 parent support
  video: tegra20: dc: add powergate
  video: tegra20: dc: configure behavior if PLLD/D2 is used
  video: tegra20: dc: parameterize V- and H-sync polarities
  video: tegra20: add MIPI calibration driver
  video: tegra20: dsi: add T114 support
  video: tegra20: dsi: add reset support
  video: panel: add LG LG070WX3 MIPI DSI panel driver
  video: bridge: add Toshiba TC358768 RGB to DSI bridge support
  video: endeavoru-panel: shift the init sequence by one step earlier
  video: bridge: ssd2825: shift the init sequence by one step earlier
  video: renesas: shift the init sequence by one step earlier

 arch/arm/dts/rk3328-u-boot.dtsi|   4 +
 arch/arm/dts/tegra114-u-boot.dtsi  |  13 +
 arch/arm/dts/tegra114.dtsi |   4 +-
 arch/arm/dts/tegra30-u-boot.dtsi   |   4 +
 arch/arm/dts/tegra30.dtsi  |   2 +-
 arch/arm/include/asm/arch-rockchip/cru_rk3328.h|  34 +
 arch/arm/include/asm/arch-tegra/dc.h   |  13 +-
 arch/arm/include/asm/arch-tegra114/pwm.h   |  13 +
 arch/arm/include/asm/arch-tegra20/display.h|  28 -
 arch/arm/include/asm/arch-tegra30/display.h|  28 -
 arch/arm/mach-rockchip/Kconfig |   1 +
 boot/fdt_simplefb.c 

Re: [PATCH v1 0/2] Simple panel improvements

2024-04-20 Thread Anatolij Gustschin
On Mon,  8 Jan 2024 18:44:59 +0200
Svyatoslav Ryhel clamo...@gmail.com wrote:

> Simplify platform data pass to simple DSI panels by direct
> asigning in udevice_id struct. 
> 
> Support EDID searching in case device tree provides no
> specific timings or device has different panels (like paz00).
> 
> Svyatoslav Ryhel (2):
>   video: simple_panel: simplify platform data pass
>   video: simple_panel: add EDID support
> 
>  drivers/video/Kconfig|  2 +
>  drivers/video/simple_panel.c | 87 +---
>  2 files changed, 63 insertions(+), 26 deletions(-)

Series applied to u-boot-video. Fixed dm_i2c_* build errors with patch 2.

--
Anatolij


Re: [PATCH v3 00/17] video: dw_hdmi: Support Vendor PHY

2024-04-20 Thread Anatolij Gustschin
On Thu, 14 Mar 2024 14:55:32 +0530
Jagan Teki ja...@amarulasolutions.com wrote:
...
> > > Jagan Teki (17):
> > >   video: rockchip: hdmi: Detect hpd after controller init
> > >   video: dw_hdmi: Add Vendor PHY handling
> > >   video: dw_hdmi: Extend the HPD detection
> > >   video: dw_hdmi: Add read_hpd hook
> > >   video: dw_hdmi: Add setup_hpd hook
> > >   video: rockchip: vop: Simplify rkvop_enable
> > >   video: rockchip: vop: Add win offset support
> > >   video: rockchip: vop: Add dsp offset support
> > >   clk: rockchip: rk3328: Add VOP clk support
> > >   clk: rk3328: Add get hdmiphy clock
> > >   phy: rockchip: Add Rockchip INNO HDMI PHY driver
> > >   video: rockchip: Add rk3328 hdmi support
> > >   video: rockchip: Add rk3328 vop support
> > >   ARM: dts: rk3328: Enable VOP for bootph-all
> > >   rockchip: Enable preconsole for rk3328
> > >   configs: evb-rk3328: Enable vidconsole for rk3328
> > >   configs: Enable HDMI Out for ROC-RK3328-CC  
> >
> > Any comments on this? Or is it okay if I send a PR for this?  
> 
> Any update?

Series applied to u-boot-video.

--
Anatolij


Re: [PATCH] video: dw_hdmi: Fix compiler warnings with gcc-14

2024-04-20 Thread Anatolij Gustschin
On Sat, 27 Jan 2024 14:54:59 -0800
Khem Raj raj.k...@gmail.com wrote:

> GCC-14 find more warnings like
> "make pointer from integer without a cast"
> fix them by adding a type cast.
> 
> Signed-off-by: Khem Raj 
> Cc: Anatolij Gustschin 
> Cc: Tom Rini 
> ---
>  drivers/video/dw_hdmi.c | 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)

applied to u-boot-video.

--
Anatolij


Re: [PATCH] video: simplefb: modernise DT parsing

2024-04-20 Thread Anatolij Gustschin
On Fri, 16 Feb 2024 18:38:06 +
Caleb Connolly caleb.conno...@linaro.org wrote:

> simplefb was using old style FDT parsing which doesn't behave well in
> combination with livetree. Update it to use ofnode instead and add a
> missing null check for the "format" property.
> 
> Standardise the error logging while we're here.
> 
> Fixes: 971d7e64245d ("video: simplefb")
> Signed-off-by: Caleb Connolly 
> ---
>  drivers/video/simplefb.c | 32 
>  1 file changed, 20 insertions(+), 12 deletions(-)

applied to u-boot-video.

--
Anatolij


Re: [PATCH 0/4] Simplefb and fb reservation related updates

2024-04-20 Thread Anatolij Gustschin
On Fri, 8 Mar 2024 16:38:28 +0530
Devarsh Thakkar devar...@ti.com wrote:

> Hi Tom, Anatolij, Simon,
> 
> On 22/02/24 18:38, Devarsh Thakkar wrote:
> > This adds support for simple-framebuffer reservation using video handoff
> > when splash is enabled at SPL stage.
> > 
> > Also adds helper function to only enable framebuffer reservation without
> > enabling simple-framebuffer in case user want to continue display
> > bootloader splash without displaying anything else in between until
> > kernel boots up.
> > 
> > Lastly, it enables above support on AM62x.
> >   
> 
> I saw a RB on first 3 patches so just wanted to check if it looks good to you
> too then is it possible to pull in the first 3 patches if no further comments 
> ?

patches 1 to 3 applied to u-boot-video. Fixed build errors with patch 3.

--
Anatolij


Re: [PATCH v2 0/7] Tegra panel improvements

2024-04-20 Thread Anatolij Gustschin
On Wed, 31 Jan 2024 08:57:14 +0200
Svyatoslav Ryhel clamo...@gmail.com wrote:

> The current patch set improves the logic of existing panels and
> bridge used by Tegra 3 devices and brings support for additional
> DSI panels used by Tegra 4 devices.
> 
> New and existing drivers are fully reusable, contain no device
> specific parts, and are written according to existing datasheets.

Series applied to u-boot-video.

--
Anatolij


Re: [PATCH v6 00/18] Add T114 video support

2024-04-20 Thread Anatolij Gustschin
On Tue, 23 Jan 2024 19:16:15 +0200
Svyatoslav Ryhel clamo...@gmail.com wrote:

> T114 is not that different from T30 and all T30 drivers will work
> on T114 as well with some adjustments.
> 
> Patches propose general improvements for existing Tegra DC and DSI
> drivers as well Tegra 114 video support (experimentl).
> 
> Commits pass buildman for tegra.

Series applied to u-boot-video, except patch 06/18.

--
Anatolij


Re: [PATCH v2 0/7] Tegra panel improvements

2024-04-20 Thread Anatolij Gustschin
On Fri, 19 Apr 2024 08:05:22 -0600
Tom Rini tr...@konsulko.com wrote:

> On Fri, Apr 19, 2024 at 02:29:20PM +0300, Svyatoslav Ryhel wrote:
> 
> > Hello Tom! This patch set is hanging in patchwork for 3 month
> > without any comments. If no one has anything to say, may you
> > pick it into master?  
> 
> There's a number of video related patches outstanding currently,
> Anatolij will you be able to put together a PR soon? Thanks.

I'll prepare a new PR today.

--
Anatolij


Re: [PATCH v4 08/12] video: Drop unnecessary truetype operations from SPL

2023-11-12 Thread Anatolij Gustschin
On Sun, 12 Nov 2023 13:02:45 -0700
Simon Glass s...@chromium.org wrote:

> Saving and restoring entries is used for expo and for the command line,
> which we don't use in SPL. Drop these methods.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Bin Meng 
> ---
> 
> (no changes since v3)
> 
> Changes in v3:
> - Add new patch to drop unnecessary truetype operations from SPL
> 
>  drivers/video/console_truetype.c | 10 ++
>  1 file changed, 10 insertions(+)

Reviewed-by: Anatolij Gustschin 


Re: [PATCH v4 07/12] video: Correct setting of cursor position

2023-11-12 Thread Anatolij Gustschin
On Sun, 12 Nov 2023 13:02:44 -0700
Simon Glass s...@chromium.org wrote:

> The ANSI codes are not correctly handled at present, in that the
> requested X position is added to the current one.
> 
> Correct this and also call vidconsole_entry_start() to start a new text
> line.
> 
> Signed-off-by: Simon Glass 
> ---
> 
> (no changes since v1)
> 
>  drivers/video/vidconsole-uclass.c | 15 ---
>  1 file changed, 8 insertions(+), 7 deletions(-)
 
Reviewed-by: Anatolij Gustschin 


Re: [PATCH v3 07/12] video: Correct setting of cursor position

2023-11-12 Thread Anatolij Gustschin
On Sun,  1 Oct 2023 19:14:42 -0600
Simon Glass s...@chromium.org wrote:

> The ANSI codes are not correctly handled at present, in that the
> requested X position is added to the current one.
> 
> Correct this and also call vidconsole_entry_start() to start a new text
> line.
> 
> Signed-off-by: Simon Glass 
> ---
> 
> (no changes since v1)
> 
>  drivers/video/vidconsole-uclass.c | 15 ---
>  1 file changed, 8 insertions(+), 7 deletions(-)

Reviewed-by: Anatolij Gustschin 


Please pull u-boot-video

2023-10-23 Thread Anatolij Gustschin
Hi Tom,

please pull video driver updates for v2024.01-rc1.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/18257

Thanks!

The following changes since commit 9a3a58396b78b1f9d0c14580dc03f81d29207dd2:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-10-20 
12:54:33 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20231022

for you to fetch changes up to 846dcae7337e25d1608c891fb68ce4227bc6b710:

  video: tegra20: dsi: use regulator_set_enable_if_allowed (2023-10-22 19:28:31 
+0200)


 - updates for pwm_backlight, simple_panel and tegra20 to keep
   fixed/gpio regulator counter in balance


Svyatoslav Ryhel (3):
  video: pwm_backlight: use regulator_set_enable_if_allowed
  video: simple_panel: use regulator_set_enable_if_allowed
  video: tegra20: dsi: use regulator_set_enable_if_allowed

 drivers/video/pwm_backlight.c | 13 ++---
 drivers/video/simple_panel.c  | 10 +-
 drivers/video/tegra20/tegra-dsi.c |  8 +++-
 3 files changed, 14 insertions(+), 17 deletions(-)


[PATCH] clk: stm32mp1: Add support for USART1 clock

2023-09-29 Thread Anatolij Gustschin
Add USART1 clock parents and mux configuration. This allows
support for configuring the USART1 as the serial console in
SPL and U-Boot via device tree. Without this patch the SPL
with usart1 serial console enabled crashes because it can
not find the clock specified in the device tree for usart1.

Signed-off-by: Anatolij Gustschin 
---
 drivers/clk/stm32/clk-stm32mp1.c | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/drivers/clk/stm32/clk-stm32mp1.c b/drivers/clk/stm32/clk-stm32mp1.c
index 6150287694..f3ac8c7583 100644
--- a/drivers/clk/stm32/clk-stm32mp1.c
+++ b/drivers/clk/stm32/clk-stm32mp1.c
@@ -72,6 +72,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #define RCC_PLL2CSGR   0xA4
 #define RCC_I2C46CKSELR0xC0
 #define RCC_SPI6CKSELR 0xC4
+#define RCC_UART1CKSELR0xC8
 #define RCC_CPERCKSELR 0xD0
 #define RCC_STGENCKSELR0xD4
 #define RCC_DDRITFCR   0xD8
@@ -317,6 +318,7 @@ enum stm32mp1_parent_sel {
_SPI45_SEL,
_SPI6_SEL,
_RTC_SEL,
+   _UART1_SEL,
_PARENT_SEL_NB,
_UNKNOWN_SEL = 0xff,
 };
@@ -557,6 +559,7 @@ static const struct stm32mp1_clk_gate stm32mp1_clk_gate[] = 
{
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 0, SPI6_K, _SPI6_SEL),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 2, I2C4_K, _I2C46_SEL),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 3, I2C6_K, _I2C46_SEL),
+   STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 4, USART1_K, _UART1_SEL),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 8, RTCAPB, _PCLK5),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 16, BSEC, _UNKNOWN_SEL),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 20, STGEN_K, _STGEN_SEL),
@@ -602,6 +605,8 @@ static const struct stm32mp1_clk_gate stm32mp1_clk_gate[] = 
{
 static const u8 i2c12_parents[] = {_PCLK1, _PLL4_R, _HSI_KER, _CSI_KER};
 static const u8 i2c35_parents[] = {_PCLK1, _PLL4_R, _HSI_KER, _CSI_KER};
 static const u8 i2c46_parents[] = {_PCLK5, _PLL3_Q, _HSI_KER, _CSI_KER};
+static const u8 uart1_parents[] = {_PCLK5, _PLL3_Q, _HSI_KER, _CSI_KER,
+   _PLL4_Q, _HSE_KER};
 static const u8 uart6_parents[] = {_PCLK2, _PLL4_Q, _HSI_KER, _CSI_KER,
_HSE_KER};
 static const u8 uart24_parents[] = {_PCLK1, _PLL4_Q, _HSI_KER, _CSI_KER,
@@ -659,6 +664,7 @@ static const struct stm32mp1_clk_sel 
stm32mp1_clk_sel[_PARENT_SEL_NB] = {
STM32MP1_CLK_PARENT(_RTC_SEL, RCC_BDCR, RCC_BDCR_RTCSRC_SHIFT,
(RCC_BDCR_RTCSRC_MASK >> RCC_BDCR_RTCSRC_SHIFT),
rtc_parents),
+   STM32MP1_CLK_PARENT(_UART1_SEL, RCC_UART1CKSELR, 0, 0x7, uart1_parents),
 };
 
 #ifdef STM32MP1_CLOCK_TREE_INIT
@@ -786,6 +792,7 @@ char * const stm32mp1_clk_parent_sel_name[_PARENT_SEL_NB] = 
{
[_SPI1_SEL] = "SPI1",
[_SPI45_SEL] = "SPI45",
[_RTC_SEL] = "RTC",
+   [_UART1_SEL] = "UART1",
 };
 
 static const struct stm32mp1_clk_data stm32mp1_data = {
-- 
2.17.1



Re: [PATCH 0/2] patches used to enable u-boot video driver on raspberry pi 4B platform

2023-08-14 Thread Anatolij Gustschin
On Wed, 26 Jul 2023 10:42:33 +0800
Meng Li meng...@windriver.com wrote:

> From: Meng Li 
> 
> There are 2 patches as bleow:
> 0001-bcm2835-Add-simiple-framebuffer-for-use-with-fkms.patch
> 0002-rpi-set-the-correct-parameter-for-simple-framebuffer.patch
> The first one is used to enable u-boot video driver.
> The second one is used to fix the wired display status on monitor.
> 
> Jason Wessel (1):
>   bcm2835: Add simiple-framebuffer for use with fkms
> 
> Meng Li (1):
>   rpi: set the correct parameter for simple framebuffer node
> 
>  board/raspberrypi/rpi/rpi.c | 2 ++
>  drivers/video/bcm2835.c | 3 +++
>  2 files changed, 5 insertions(+)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] video: kconfig: Fix a typo in SPL_VIDEO_REMOVE

2023-08-14 Thread Anatolij Gustschin
On Thu,  3 Aug 2023 18:40:08 +0800
Bin Meng bmeng...@gmail.com wrote:

> From: Bin Meng 
> 
> Add one space between 'before' and 'loading'.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] video: vidconsole: Fix null dereference of ops->measure

2023-08-14 Thread Anatolij Gustschin
On Thu,  3 Aug 2023 17:32:41 +0800
Bin Meng bm...@tinylab.org wrote:

> At present vidconsole_measure() tests ops->select_font before calling
> ops->measure, which would result in a null dereference when the console
> driver provides no ops for measure.
> 
> Fixes: b828ed7d7929 ("console: Allow measuring the bounding box of text")
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/vidconsole-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2023-08-14 Thread Anatolij Gustschin
Hi Tom,

please pull video driver fixes for for v2023.10.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/17338

Thanks,
Anatolij

The following changes since commit a5899cc69a99379f01e8e2f9f98e0e09b24f1656:

  Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog (2023-08-10 
11:40:09 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230814

for you to fetch changes up to 04cc66c047d959dc1b22a625b7949a26793ac52b:

  rpi: set the correct parameter for simple framebuffer node (2023-08-13 
23:57:46 +0200)


 - fix NULL dereference in vidconsole_measure()
 - fix simplefb format for raspberrypi-4b
 - fix typo in Kconfig


Bin Meng (2):
  video: vidconsole: Fix null dereference of ops->measure
  video: kconfig: Fix a typo in SPL_VIDEO_REMOVE

Jason Wessel (1):
  bcm2835: Add simiple-framebuffer for use with fkms

Meng Li (1):
  rpi: set the correct parameter for simple framebuffer node

 board/raspberrypi/rpi/rpi.c   | 2 ++
 drivers/video/Kconfig | 2 +-
 drivers/video/bcm2835.c   | 3 +++
 drivers/video/vidconsole-uclass.c | 2 +-
 4 files changed, 7 insertions(+), 2 deletions(-)


Re: [PATCH 2/2] drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video

2023-08-01 Thread Anatolij Gustschin
On Thu, 27 Jul 2023 12:01:26 +0530
Nikhil M Jain n-ja...@ti.com wrote:

> Perform removal of DSS if kconfigs VIDEO_REMOVE or SPL_VIDEO_REMOVE is
> set by user. Otherwise if above Kconfigs are not selected, it is assumed
> that user wants splash screen to be displayed until linux kernel boots
> up. In such scenario, leave the power domain of DSS as "on" so that
> splash screen stays intact until kernel boots up.
> 
> Signed-off-by: Nikhil M Jain 
> ---
>  drivers/video/tidss/tidss_drv.c | 10 --
>  1 file changed, 8 insertions(+), 2 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 1/2] drivers: video: tidss: tidss_drv: Change remove method

2023-08-01 Thread Anatolij Gustschin
On Thu, 27 Jul 2023 12:01:25 +0530
Nikhil M Jain n-ja...@ti.com wrote:

> Change remove method of DSS video driver to disable video port instead
> of performing a soft reset, as soft reset takes longer duration. Video
> port is disabled by setting enable bit of video port to 0.
> 
> Signed-off-by: Nikhil M Jain 
> ---
>  drivers/video/tidss/tidss_drv.c | 12 +---
>  1 file changed, 1 insertion(+), 11 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 00/18] video: bochs: Remove the x86 limitation

2023-08-01 Thread Anatolij Gustschin
Hi Bin,

On Mon, 31 Jul 2023 13:26:23 +0800
Bin Meng bmeng...@gmail.com wrote:
...
> Looks the first half is assigned to Anatolij and the second half to Rick.
> 
> I guess the first half should go first.
> 
> Ping for apply?

I've applied patches 1/18 to 9/18 now, a pull request is pending.

--
Anatolij


Re: [PATCH 09/18] video: bochs: Set the frame buffer size per configuration

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:32 +0800
Bin Meng bm...@tinylab.org wrote:

> At present the uclass stored frame buffer size is set to a hard
> coded value, but we can calculate the correct value based on what
> is configured.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/bochs.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 08/18] video: kconfig: Set default FB size for Bochs

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:31 +0800
Bin Meng bm...@tinylab.org wrote:

> Set up a default frame buffer size of 8MiB for Bochs for non-x86
> architecturs as PCI is normally not enumerated before relocation
> on these architectures.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/Kconfig | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)


applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 07/18] video: kconfig: Drop the superfluous dependency

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:30 +0800
Bin Meng bm...@tinylab.org wrote:

> PCI is always selected by X86 architecture hence "X86 && PCI" does
> not make it better.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/Kconfig | 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 06/18] video: kconfig: Fix wrong text for the PCI default FB size

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:29 +0800
Bin Meng bm...@tinylab.org wrote:

> There is an example in the VIDEO_PCI_DEFAULT_FB_SIZE help text to
> tell people how to calculate its value but the resolution given
> does not match the value. Fix it.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 04/18] video: bochs: Avoid using IO instructions to access VGA IO port

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:27 +0800
Bin Meng bm...@tinylab.org wrote:

> At present the driver uses IO instructions to access the legacy
> VGA IO ports, which unfortunately limits the driver to work only
> on x86. It turns out the IO instruction is not necessary as Bochs
> VGA card remaps the legacy VGA IO ports (0x3c0 -> 0x3df) to its
> memory mapped register space from offset 0x400.
> 
> Update the driver to use MMIO access for VGA IO port.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/bochs.c | 6 +++---
>  drivers/video/bochs.h | 4 +---
>  2 files changed, 4 insertions(+), 6 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 02/18] video: bochs: Drop inclusion of

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:25 +0800
Bin Meng bm...@tinylab.org wrote:

> The driver does not call any MTRR APIs.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/bochs.c | 1 -
>  1 file changed, 1 deletion(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 01/18] dm: video: Cosmetic style fix

2023-08-01 Thread Anatolij Gustschin
On Sun, 23 Jul 2023 12:40:24 +0800
Bin Meng bm...@tinylab.org wrote:

> Some coding convention fixes for video_post_bind().
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/video-uclass.c | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2023-08-01 Thread Anatolij Gustschin
Hi Tom,

please pull new video patches for v2023.10.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/17167

Thanks,
Anatolij

The following changes since commit 4e619e8d4fd68095bc665a78f2651d8e478a4534:

  Merge tag 'u-boot-rockchip-20230731' of 
https://source.denx.de/u-boot/custodians/u-boot-rockchip (2023-07-31 11:33:51 
-0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230801

for you to fetch changes up to b8d3a6c7d12fc6101f99cde0acedb4a799fdb5f3:

  drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video 
(2023-08-01 13:41:02 +0200)


 - dm video cosmetic style fix
 - bochs: remove the x86 limitation
 - correct kconfig text for PCI default FB size
 - kconfig: drop the superfluous PCI dependency
 - set up default FB size for Bochs


Bin Meng (9):
  dm: video: Cosmetic style fix
  video: bochs: Drop inclusion of 
  video: bochs: Drop the useless argument of bochs_vga_write()
  video: bochs: Avoid using IO instructions to access VGA IO port
  video: bochs: Remove the x86 dependency
  video: kconfig: Fix wrong text for the PCI default FB size
  video: kconfig: Drop the superfluous dependency
  video: kconfig: Set default FB size for Bochs
  video: bochs: Set the frame buffer size per configuration

Nikhil M Jain (2):
  drivers: video: tidss: tidss_drv: Change remove method
  drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video

 drivers/video/Kconfig   | 15 ---
 drivers/video/bochs.c   | 12 ++--
 drivers/video/bochs.h   |  7 ---
 drivers/video/tidss/tidss_drv.c | 18 +++---
 drivers/video/video-uclass.c|  6 --
 5 files changed, 29 insertions(+), 29 deletions(-)


Re: [PATCH] video: rockchip: Add support for RK3399 to dw-mipi-dsi bridge

2023-07-17 Thread Anatolij Gustschin
On Thu, 25 May 2023 14:29:03 +0200
Ondřej Jirman m...@xff.cz wrote:

> From: Ondrej Jirman 
> 
> This just needs some extra clocks enabled, and different registers
> configured. Copied from Linux, just like the original submitter
> of this driver did for rk3568.
> 
> Tested on Pinephone Pro.
> 
> Signed-off-by: Ondrej Jirman 
> Cc: Anatolij Gustschin 
> Cc: Simon Glass 
> Cc: Philipp Tomsich 
> Cc: Kever Yang 
> Cc: Chris Morgan 
> ---
>  drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 99 +++
>  1 file changed, 99 insertions(+)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-17 Thread Anatolij Gustschin
On Mon, 22 May 2023 23:47:00 +0200
m...@xff.cz m...@xff.cz wrote:
...
> Ondrej Jirman (8):
>   video: rockchip: vop: Fix whitespace
>   video: dw_mipi_dsi: Fix hsync/vsync settings
>   video: rockchip: dw_mipi_dsi: Fix external phy existnece check
>   video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
>   video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
>   video: rockchip: dw_mipi_dsi: Fix best_rate calculation
>   video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
>   video: rockchip: dw_mipi_dsi: Fix GRF access
> 
>  drivers/video/dw_mipi_dsi.c   |  4 +-
>  drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 38 +++
>  drivers/video/rockchip/rk_vop.c   |  2 +-
>  3 files changed, 25 insertions(+), 19 deletions(-

Series applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] video: console: Fix default font selection

2023-07-17 Thread Anatolij Gustschin
On Thu, 25 May 2023 14:17:15 +0200
Ondřej Jirman m...@xff.cz wrote:

> From: Ondrej Jirman 
> 
> Some callers expect to call this with NULL font name to select the
> default font (eg. boot/scene.c). Without handling the NULL condition
> U-Boot crashes instead of displaying a bootflow GUI menu.
> 
> Signed-off-by: Ondrej Jirman 
> Cc: Anatolij Gustschin 
> ---
>  drivers/video/console_core.c | 6 ++
>  1 file changed, 6 insertions(+)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] video: hx8394: Add panel driver for hannstar,hsd060bhw4

2023-07-17 Thread Anatolij Gustschin
On Thu, 25 May 2023 14:34:35 +0200
Ondřej Jirman m...@xff.cz wrote:

> From: Ondrej Jirman 
> 
> The driver is for panels based on the Himax HX8394 controller, such as the
> HannStar HSD060BHW4 720x1440 TFT LCD panel that uses a MIPI-DSI interface.
> This panel is used in Pinephone Pro.
> 
> Signed-off-by: Ondrej Jirman 
> Cc: Anatolij Gustschin 
> ---
>  drivers/video/Kconfig|   8 ++
>  drivers/video/Makefile   |   1 +
>  drivers/video/himax-hx8394.c | 237 +++
>  3 files changed, 246 insertions(+)
>  create mode 100644 drivers/video/himax-hx8394.c

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] video: backlight: pwm: avoid integer overflow in duty cycle calculation

2023-07-17 Thread Anatolij Gustschin
On Fri, 30 Jun 2023 14:30:07 +0200
Matthias Schiffer matthias.schif...@ew.tq-group.com wrote:

> The intermediate value could overflow for large periods and levels.
> 
> Signed-off-by: Matthias Schiffer 
> ---

applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2023-07-16 Thread Anatolij Gustschin
Hi Tom,

please pull new video patches for v2023.10.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16923

Thanks,
Anatolij

The following changes since commit 8e21064cb3452950b09301baec06d86e37342471:

  Merge tag 'efi-2023-07-rc7' of 
https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11 13:27:32 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230714

for you to fetch changes up to bd6375c5511c3b96ce91ea66084d27afe2bbc43b:

  video: rockchip: dw_mipi_dsi: Fix GRF access (2023-07-14 18:30:58 +0200)


 - fix video console default font selection
 - add panel driver for HannStar HSD060BHW4
 - fix backlight pwm integer overflow in duty
   cycle calculation
 - fix dw_mipi_dsi hsync/vsync settings
 - various other fixes for rockchip dw_mipi_dsi


Matthias Schiffer (1):
  video: backlight: pwm: avoid integer overflow in duty cycle calculation

Ondrej Jirman (10):
  video: console: Fix default font selection
  video: hx8394: Add panel driver for hannstar,hsd060bhw4
  video: rockchip: vop: Fix whitespace
  video: dw_mipi_dsi: Fix hsync/vsync settings
  video: rockchip: dw_mipi_dsi: Fix external phy existence check
  video: rockchip: dw_mipi_dsi: Fix error path checks in probe function
  video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
  video: rockchip: dw_mipi_dsi: Fix best_rate calculation
  video: rockchip: dw_mipi_dsi: Correct check for lacking phy phandle
  video: rockchip: dw_mipi_dsi: Fix GRF access

 drivers/video/Kconfig |   8 +
 drivers/video/Makefile|   1 +
 drivers/video/console_core.c  |   6 +
 drivers/video/dw_mipi_dsi.c   |   4 +-
 drivers/video/himax-hx8394.c  | 237 ++
 drivers/video/pwm_backlight.c |   2 +-
 drivers/video/rockchip/dw_mipi_dsi_rockchip.c |  38 +++--
 drivers/video/rockchip/rk_vop.c   |   2 +-
 8 files changed, 278 insertions(+), 20 deletions(-)
 create mode 100644 drivers/video/himax-hx8394.c


Re: [PATCH v3 0/6] Add video drivers for endeavoru and p880/p895

2023-05-08 Thread Anatolij Gustschin
On Tue, 25 Apr 2023 10:51:41 +0300
Svyatoslav Ryhel clamo...@gmail.com wrote:
...
> ---
> Changes from v2:
> - added comments to panel drivers
> - fixed typo in ssd2825 driver
> 
> Changes from v1:
> - used lower-case hex for command sequences
> - ssd2825 switched to dm_spi_xfer
> - used log_* instead of printf
> - tweaked lm3533 help description
> 
> ---
> 
> Svyatoslav Ryhel (6):
>   video: add lm3533 backlight driver
>   video: bridge: add Solomon SSD2825 DSI/LVDS driver
>   video: panel: add Renesas R61307 MIPI DSI panel driver
>   video: panel: add Renesas R69328 MIPI DSI panel driver
>   video: tegra: add DC based PWM backlight driver
>   video: panel: add generic endeavoru panel
> 
>  drivers/video/Kconfig   |  38 ++
>  drivers/video/Makefile  |   4 +
>  drivers/video/bridge/Kconfig|   7 +
>  drivers/video/bridge/Makefile   |   1 +
>  drivers/video/bridge/ssd2825.c  | 520 
>  drivers/video/endeavoru-panel.c | 252 ++
>  drivers/video/lm3533_backlight.c| 134 +
>  drivers/video/renesas-r61307.c  | 302 
>  drivers/video/renesas-r69328.c  | 238 +
>  drivers/video/tegra20/Kconfig   |   7 +
>  drivers/video/tegra20/Makefile  |   1 +
>  drivers/video/tegra20/tegra-pwm-backlight.c | 155 ++
>  12 files changed, 1659 insertions(+)
>  create mode 100644 drivers/video/bridge/ssd2825.c
>  create mode 100644 drivers/video/endeavoru-panel.c
>  create mode 100644 drivers/video/lm3533_backlight.c
>  create mode 100644 drivers/video/renesas-r61307.c
>  create mode 100644 drivers/video/renesas-r69328.c
>  create mode 100644 drivers/video/tegra20/tegra-pwm-backlight.c

Patch series applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH V9 00/14] Add splash screen support at u-boot SPL

2023-05-05 Thread Anatolij Gustschin
On Thu, 4 May 2023 20:56:11 -0400
Tom Rini tr...@konsulko.com wrote:
...
> > Can this be applied, please? We have rc1 out now so this should really
> > be in there by now.
> > 
> > I have another series that depends on it, and it is also pending 
> > application.  
> 
> Anatolij ?

Done. My u-boot-video pull request is pending.

--
Anatolij


Re: [PATCH V9 00/14] Add splash screen support at u-boot SPL

2023-05-05 Thread Anatolij Gustschin
Hi Simon,

On Thu, 4 May 2023 18:40:56 -0600
Simon Glass s...@chromium.org wrote:
... 
> Can this be applied, please? We have rc1 out now so this should really
> be in there by now.
> 
> I have another series that depends on it, and it is also pending application.

Series applied to u-boot-video now. A pull request for Tom is pending.

Sorry for delay.

--
Anatolij


Please pull u-boot-video

2023-05-05 Thread Anatolij Gustschin
Hi Tom,

please pull video updates for v2023.07-rc2.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16257

Thanks,
Anatolij

The following changes since commit b646e1f69fca5d6a002be1f4e32fab00e140c091:

  patman: Declare the future Series memory (2023-04-23 14:24:41 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git 
tags/video-for-v2023.07-rc2

for you to fetch changes up to def72d5c6265bde4e9eb7976db53a77fabc4808a:

  video: panel: add generic endeavoru panel (2023-04-26 07:35:57 +0200)


 - enable video support in SPL
 - support splash screen for TI am62x
 - replace #ifdef and #if with if's in bmp/splash
 - add lm3533 backlight driver
 - add Solomon SSD2825 DSI/LVDS bridge driver
 - add Renesas R61307 and R69328 MIPI DSI panel drivers
 - add tegra DC based PWM backlight driver
 - add generic endeavoru (HTC One X) panel driver


Nikhil M Jain (14):
  drivers: video: Kconfig: Add configs for enabling video at SPL
  drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL
  drivers: Makefile: Add rule to compile video driver
  drivers: video: Makefile: Rule to compile necessary video driver files
  drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
  common: Makefile: Add rule to compile splash and splash_source at SPL
  common: Kconfig: Add BMP configs
  cmd: bmp: Split bmp commands and functions
  common: Makefile: Rule to compile bmp.c
  drivers: video: Enable necessary video functions at SPL
  common: Enable splash functions at SPL
  include: Enable video related global data variable and splash at SPL
  board: ti: am62x: evm: OSPI support for splash screen
  common: Replace #ifdef and #if with if's

Svyatoslav Ryhel (6):
  video: add lm3533 backlight driver
  video: bridge: add Solomon SSD2825 DSI/LVDS driver
  video: panel: add Renesas R61307 MIPI DSI panel driver
  video: panel: add Renesas R69328 MIPI DSI panel driver
  video: tegra: add DC based PWM backlight driver
  video: panel: add generic endeavoru panel

 board/ti/am62x/evm.c|   8 +-
 cmd/bmp.c   | 162 +
 common/Kconfig  |  12 +
 common/Makefile |   3 +
 common/bmp.c| 149 
 common/splash.c |  20 +-
 drivers/Makefile|   1 +
 drivers/video/Kconfig   | 261 +-
 drivers/video/Makefile  |  20 +-
 drivers/video/bridge/Kconfig|   7 +
 drivers/video/bridge/Makefile   |   1 +
 drivers/video/bridge/ssd2825.c  | 520 
 drivers/video/console_core.c|   6 +-
 drivers/video/endeavoru-panel.c | 252 ++
 drivers/video/lm3533_backlight.c| 134 +++
 drivers/video/renesas-r61307.c  | 302 
 drivers/video/renesas-r69328.c  | 238 +
 drivers/video/tegra20/Kconfig   |   7 +
 drivers/video/tegra20/Makefile  |   1 +
 drivers/video/tegra20/tegra-pwm-backlight.c | 156 +
 drivers/video/tidss/Kconfig |   6 +
 drivers/video/tidss/Makefile|   2 +-
 drivers/video/vidconsole-uclass.c   |   2 +-
 drivers/video/video-uclass.c|  14 +-
 drivers/video/video_bmp.c   |   8 +-
 include/asm-generic/global_data.h   |   4 +-
 include/splash.h|  15 +-
 include/video.h |   8 +
 28 files changed, 2107 insertions(+), 212 deletions(-)
 create mode 100644 common/bmp.c
 create mode 100644 drivers/video/bridge/ssd2825.c
 create mode 100644 drivers/video/endeavoru-panel.c
 create mode 100644 drivers/video/lm3533_backlight.c
 create mode 100644 drivers/video/renesas-r61307.c
 create mode 100644 drivers/video/renesas-r69328.c
 create mode 100644 drivers/video/tegra20/tegra-pwm-backlight.c


Re: [PATCH v3 00/11] Tegra DC improvements

2023-04-08 Thread Anatolij Gustschin
On Mon, 27 Mar 2023 11:11:39 +0300
Svyatoslav Ryhel clamo...@gmail.com wrote:
...
> Changes from v2:
> - resend after month
> 
> Changes from v1:
> - DSI driver headers were optimized
> - Tested on Paz00 board
> 
> ---
> 
> Marcel Ziswiler (1):
>   tegra: lcd: video: integrate display driver for t30
> 
> Svyatoslav Ryhel (10):
>   video: move tegra dc driver into own folder
>   video: tegra-dc: get clocks from device tree
>   video: tegra-dc: request timings from panel driver first
>   video: tegra-dc: assign regmap directly
>   video: tegra-dc: add 180 degree panel rotation
>   video: tegra-dc: add panel_set_backlight call
>   video: tegra-dc: pass DC regmap to internal devices
>   video: tegra20: add DSI controller driver
>   simple_panel: add support for get_display_timing
>   simple_panel: support simple MIPI DSI panels
> 
>  arch/arm/dts/tegra30-u-boot.dtsi  |   9 +
>  arch/arm/include/asm/arch-tegra/dc.h  |   8 +
>  arch/arm/include/asm/arch-tegra30/display.h   |  28 +
>  arch/arm/include/asm/arch-tegra30/dsi.h   | 217 +
>  arch/arm/include/asm/arch-tegra30/pwm.h   |  13 +
>  drivers/video/Kconfig |  11 +-
>  drivers/video/Makefile|   2 +-
>  drivers/video/simple_panel.c  |  47 +-
>  drivers/video/tegra20/Kconfig |  17 +
>  drivers/video/tegra20/Makefile|   4 +
>  drivers/video/tegra20/mipi-phy.c  | 134 +++
>  drivers/video/tegra20/mipi-phy.h  |  48 +
>  drivers/video/{tegra.c => tegra20/tegra-dc.c} | 123 ++-
>  drivers/video/tegra20/tegra-dsi.c | 864 ++
>  14 files changed, 1476 insertions(+), 49 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-tegra30/display.h
>  create mode 100644 arch/arm/include/asm/arch-tegra30/dsi.h
>  create mode 100644 arch/arm/include/asm/arch-tegra30/pwm.h
>  create mode 100644 drivers/video/tegra20/Kconfig
>  create mode 100644 drivers/video/tegra20/Makefile
>  create mode 100644 drivers/video/tegra20/mipi-phy.c
>  create mode 100644 drivers/video/tegra20/mipi-phy.h
>  rename drivers/video/{tegra.c => tegra20/tegra-dc.c} (82%)
>  create mode 100644 drivers/video/tegra20/tegra-dsi.c

Series applied to u-boot-video/master, thanks! When applying,
in patch 01/11 I changed "u-boot,dm-pre-reloc" to "bootph-all"
(in master the driver model tags use this new schema).

--
Anatolij


Re: [PATCH] sandbox: video: Fix building without SDL

2023-04-07 Thread Anatolij Gustschin
On Fri, 17 Feb 2023 15:45:47 -0700
Simon Glass s...@chromium.org wrote:

> This is currently broken. If SDL is not installed, SANDBOX_SDL becomes
> false and build errors are generated, e.g.:
> 
>test/dm/video.c:424: undefined reference to `sandbox_sdl_set_bpp'
> 
> Fix it by making the function return an error in this case.
> 
> Signed-off-by: Simon Glass 
> ---
> 
>  arch/sandbox/include/asm/test.h | 8 
>  1 file changed, 8 insertions(+)

Applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2023-04-07 Thread Anatolij Gustschin
Hi Tom,

please pull video updates for v2023.07.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/15944

Thanks,
Anatolij

The following changes since commit 340bebf9c799793affefd166875d5776744988bd:

  Merge branch '2023-04-06-assorted-updates' (2023-04-07 10:44:19 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230407

for you to fetch changes up to cc54a924cd28a2d1b0f0035bd7d78532b6bc4ad8:

  simple_panel: support simple MIPI DSI panels (2023-04-07 19:54:31 +0200)


 - fix building sandbox without SDL
 - improve tegra DC driver to work with panel ops and implement
   native 180 degree panel rotation support
 - add T30 support to tegra DC driver
 - add DSI driver (based on mainline Linux one with minor
   adjustments, only T30 tested)
 - add get_display_timing ops to simple panel driver
 - extend simple panel driver to use it for MIPI DSI panels
   which do not require additional DSI commands for setup


Marcel Ziswiler (1):
  tegra: lcd: video: integrate display driver for t30

Simon Glass (1):
  sandbox: video: Fix building without SDL

Svyatoslav Ryhel (10):
  video: move tegra dc driver into own folder
  video: tegra-dc: get clocks from device tree
  video: tegra-dc: request timings from panel driver first
  video: tegra-dc: assign regmap directly
  video: tegra-dc: add 180 degree panel rotation
  video: tegra-dc: add panel_set_backlight call
  video: tegra-dc: pass DC regmap to internal devices
  video: tegra20: add DSI controller driver
  simple_panel: add support for get_display_timing
  simple_panel: support simple MIPI DSI panels

 arch/arm/dts/tegra30-u-boot.dtsi  |   9 +
 arch/arm/include/asm/arch-tegra/dc.h  |   8 +
 arch/arm/include/asm/arch-tegra30/display.h   |  28 +
 arch/arm/include/asm/arch-tegra30/dsi.h   | 217 +++
 arch/arm/include/asm/arch-tegra30/pwm.h   |  13 +
 arch/sandbox/include/asm/test.h   |   8 +
 drivers/video/Kconfig |  11 +-
 drivers/video/Makefile|   2 +-
 drivers/video/simple_panel.c  |  47 +-
 drivers/video/tegra20/Kconfig |  17 +
 drivers/video/tegra20/Makefile|   4 +
 drivers/video/tegra20/mipi-phy.c  | 134 
 drivers/video/tegra20/mipi-phy.h  |  48 ++
 drivers/video/{tegra.c => tegra20/tegra-dc.c} | 123 ++--
 drivers/video/tegra20/tegra-dsi.c | 864 ++
 15 files changed, 1484 insertions(+), 49 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-tegra30/display.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/dsi.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/pwm.h
 create mode 100644 drivers/video/tegra20/Kconfig
 create mode 100644 drivers/video/tegra20/Makefile
 create mode 100644 drivers/video/tegra20/mipi-phy.c
 create mode 100644 drivers/video/tegra20/mipi-phy.h
 rename drivers/video/{tegra.c => tegra20/tegra-dc.c} (82%)
 create mode 100644 drivers/video/tegra20/tegra-dsi.c


Re: [PATCH v8 00/10] vidconsole: refactoring and support for wider fonts

2023-03-10 Thread Anatolij Gustschin
On Tue,  7 Mar 2023 13:21:10 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:
...
> Changes in v8:
> - fix build with disabled CONFIG_VIDEO_COPY
> - add 12X22 font to sandox defconfig
> 
> Dzmitry Sankouski (10):
>   video console: refactoring and optimization
>   video console: add support for fonts wider than 1 byte
>   video console: move 8x16 font data in named header
>   video console: implement multiple fonts configuration
>   video console: move vidconsole_get_font_size() logic to driver ops
>   video console: allow font size configuration at runtime
>   video console: add 12x22 Sun font from linux
>   video console: add 16x32 Terminus font from linux
>   video console: sandbox: add 12x22 font defconfigs
>   video console: add 12x22 console simple font test
> 
>  cmd/Kconfig |8 +
>  cmd/Makefile|2 +-
>  cmd/font.c  |6 +-
>  common/splash.c |   17 +-
>  configs/sandbox_defconfig   |1 +
>  configs/sandbox_flattree_defconfig  |1 +
>  drivers/video/Kconfig   |   30 +
>  drivers/video/Makefile  |6 +
>  drivers/video/console_core.c|  212 +
>  drivers/video/console_normal.c  |  177 +-
>  drivers/video/console_rotate.c  |  371 +-
>  drivers/video/console_truetype.c|3 +-
>  drivers/video/vidconsole-uclass.c   |   11 +
>  drivers/video/vidconsole_internal.h |  120 +
>  include/video_console.h |   17 +-
>  include/video_font.h|   31 +-
>  include/video_font_4x6.h|   11 +-
>  include/video_font_8x16.h   | 4624 
>  include/video_font_data.h   | 4644 +---
>  include/video_font_sun12x22.h   | 6158 +++
>  include/video_font_ter16x32.h   | 2062 +
>  test/cmd/font.c |   13 +-
>  test/dm/video.c |   41 +
>  23 files changed, 13518 insertions(+), 5048 deletions(-)
>  create mode 100644 drivers/video/console_core.c
>  create mode 100644 drivers/video/vidconsole_internal.h
>  create mode 100644 include/video_font_8x16.h
>  create mode 100644 include/video_font_sun12x22.h
>  create mode 100644 include/video_font_ter16x32.h

Series applied to u-boot-video/next, thanks!

--
Anatolij


Re: [PATCH v8 04/10] video console: implement multiple fonts configuration

2023-03-10 Thread Anatolij Gustschin
On Fri, 10 Mar 2023 11:35:12 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:

> вт, 7 мар. 2023 г. в 18:22, Anatolij Gustschin :
> (...)
> >
> > there was another build error for boards with CONFIG_VIDEO_LOGO
> > disabled:
> >
> >  https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/589501#L1430
> >
> > I changed this to
> >
> >  void splash_display_banner(void)
> >  {
> > +   struct video_fontdata __maybe_unused *fontdata = fonts;
> > struct udevice *dev;
> > char buf[DISPLAY_OPTIONS_BANNER_LENGTH];
> > int col, row, ret;
> > @@ -138,9 +140,9 @@ void splash_display_banner(void)
> > if (ret)
> > return;
> >
> > -#ifdef CONFIG_VIDEO_LOGO
> > -   col = BMP_LOGO_WIDTH / VIDEO_FONT_WIDTH + 1;
> > -   row = BMP_LOGO_HEIGHT / VIDEO_FONT_HEIGHT + 1;
> > +#if IS_ENABLED(CONFIG_VIDEO_LOGO)
> > +   col = BMP_LOGO_WIDTH / fontdata->width + 1;
> > +   row = BMP_LOGO_HEIGHT / fontdata->height + 1;
> >  #else
> > col = 0;
> > row = 0;
> >
> > --  
> should I send v9 with this patch?

No, I fixed patch 4/10 when applying. Thanks!

--
Anatolij



Please pull u-boot-video/next

2023-03-07 Thread Anatolij Gustschin
Hi Tom,

please pull video patches for next.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/15482

Thanks,
Anatolij

The following changes since commit d1653548d29959a6ea6b4037a00b48a28257e6e6:

  Merge branch '2023-03-02-kconfig-and-CONFIG-cleanups' into next (2023-03-03 
12:48:23 -0500)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/next-20230307

for you to fetch changes up to 72471620e82758b6cbdb9f70d775c0c18b043794:

  video console: add 12x22 console simple font test (2023-03-07 16:00:18 +0100)


 - video console refactoring and optimization
 - support for fonts wider than 1 byte
 - use named header for 8x16 font data
 - support multiple fonts configuration
 - move get_font_size() to truetype driver ops
 - support font size configuration at runtime
 - add 16x32 Terminus font from linux
 - add 12x22 Sun font from linux
 - add 12x22 console simple font test


Dzmitry Sankouski (10):
  video console: refactoring and optimization
  video console: add support for fonts wider than 1 byte
  video console: move 8x16 font data in named header
  video console: implement multiple fonts configuration
  video console: move vidconsole_get_font_size() logic to driver ops
  video console: allow font size configuration at runtime
  video console: add 12x22 Sun font from linux
  video console: add 16x32 Terminus font from linux
  video console: sandbox: add 12x22 font defconfigs
  video console: add 12x22 console simple font test

 cmd/Kconfig |8 +
 cmd/Makefile|2 +-
 cmd/font.c  |6 +-
 common/splash.c |8 +-
 configs/sandbox_defconfig   |1 +
 configs/sandbox_flattree_defconfig  |1 +
 drivers/video/Kconfig   |   30 +
 drivers/video/Makefile  |6 +
 drivers/video/console_core.c|  212 ++
 drivers/video/console_normal.c  |  177 +-
 drivers/video/console_rotate.c  |  371 +--
 drivers/video/console_truetype.c|3 +-
 drivers/video/vidconsole-uclass.c   |   11 +
 drivers/video/vidconsole_internal.h |  120 +
 include/video_console.h |   17 +-
 include/video_font.h|   31 +-
 include/video_font_4x6.h|   11 +-
 include/video_font_8x16.h   | 4624 ++
 include/video_font_data.h   | 4644 +-
 include/video_font_sun12x22.h   | 6158 +++
 include/video_font_ter16x32.h   | 2062 
 test/cmd/font.c |   13 +-
 test/dm/video.c |   41 +
 23 files changed, 13513 insertions(+), 5044 deletions(-)
 create mode 100644 drivers/video/console_core.c
 create mode 100644 drivers/video/vidconsole_internal.h
 create mode 100644 include/video_font_8x16.h
 create mode 100644 include/video_font_sun12x22.h
 create mode 100644 include/video_font_ter16x32.h


Re: [PATCH v8 04/10] video console: implement multiple fonts configuration

2023-03-07 Thread Anatolij Gustschin
On Tue,  7 Mar 2023 13:21:14 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:
...
> @@ -138,13 +139,15 @@ void splash_display_banner(void)
>   if (ret)
>   return;
>  
> -#ifdef CONFIG_VIDEO_LOGO
> - col = BMP_LOGO_WIDTH / VIDEO_FONT_WIDTH + 1;
> - row = BMP_LOGO_HEIGHT / VIDEO_FONT_HEIGHT + 1;
> -#else
> - col = 0;
> - row = 0;
> -#endif
> + if (IS_ENABLED(CONFIG_VIDEO_LOGO)) {
> + struct video_fontdata *fontdata = fonts;
> +
> + col = BMP_LOGO_WIDTH / fontdata->width + 1;
> + row = BMP_LOGO_HEIGHT / fontdata->height + 1;
> + } else {
> + col = 0;
> + row = 0;
> + }

there was another build error for boards with CONFIG_VIDEO_LOGO
disabled:

 https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/589501#L1430

I changed this to

 void splash_display_banner(void)
 {
+   struct video_fontdata __maybe_unused *fontdata = fonts;
struct udevice *dev;
char buf[DISPLAY_OPTIONS_BANNER_LENGTH];
int col, row, ret;
@@ -138,9 +140,9 @@ void splash_display_banner(void)
if (ret)
return;
 
-#ifdef CONFIG_VIDEO_LOGO
-   col = BMP_LOGO_WIDTH / VIDEO_FONT_WIDTH + 1;
-   row = BMP_LOGO_HEIGHT / VIDEO_FONT_HEIGHT + 1;
+#if IS_ENABLED(CONFIG_VIDEO_LOGO)
+   col = BMP_LOGO_WIDTH / fontdata->width + 1;
+   row = BMP_LOGO_HEIGHT / fontdata->height + 1;
 #else
col = 0;
row = 0;

--
Anatolij


Re: [PATCH v7 01/10] video console: refactoring and optimization

2023-03-01 Thread Anatolij Gustschin
Hi Dzmitry,

On Mon, 27 Feb 2023 20:37:01 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:

> - move common code to vidconsole_internal.h and console_core.c
> - unite probe functions
> - get rid of code duplications in switch across bpp values
> - extract common pixel fill logic in two functions one per
> horizontal and vertical filling
> - rearrange statements in put_xy* methods in unified way
> - replace types - uint*_t to u*
> 
> Signed-off-by: Dzmitry Sankouski 
> Reviewed-by: Simon Glass 
> ---
> Changes for v2: none
> Changes for v3: none
> Changes for v4:
> - move common code to vidconsole_internal.h
> - unite probe functions
> Changes for v5:
> - move common functions to console-core.c file
> - remove static keyword from shared functions
> Changes for v6: none
> Changes for v7: none
> 
>  drivers/video/Makefile  |   6 +
>  drivers/video/console_core.c| 141 +

Building console_core.c fails for board configs without CONFIG_VIDEO_COPY,
i.e.:

  https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/587261

I fixed it for further build testing by additionally applying:

diff --git a/include/video_console.h b/include/video_console.h
index 9d2c0f210e..3e1e00c23f 100644
--- a/include/video_console.h
+++ b/include/video_console.h
@@ -340,6 +340,9 @@ int vidconsole_sync_copy(struct udevice *dev, void *from, 
void *to);
 int vidconsole_memmove(struct udevice *dev, void *dst, const void *src,
   int size);
 #else
+
+#include 
+
 static inline int vidconsole_sync_copy(struct udevice *dev, void *from,
   void *to)
 {


--
Anatolij


Re: [PATCH v7 10/10] video console: add 12x22 console simple font test

2023-03-01 Thread Anatolij Gustschin
Hi Dzmitry,

On Mon, 27 Feb 2023 20:37:10 +0300
Dzmitry Sankouski dsankou...@gmail.com wrote:

> Tests fonts wider than a byte.
> 
> Signed-off-by: Dzmitry Sankouski 
> Reviewed-by: Simon Glass 
> ---
> Changes for v2: N/A
> Changes for v2: none
> Charges for v4: N/A
> Charges for v5: N/A
> Charges for v6:
> - rebase
> - move sandbox defconfig change to separate patch
> - run savedefconfig
> Charges for v7: none
> 
>  test/dm/video.c | 41 +
>  1 file changed, 41 insertions(+)

I've applied this patch series for build testing, this test fails:

 https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/587666

Could you please fix it? Thanks!
 
--
Anatolij


Re: [RESEND PATCH v3] video: ti: am335x: restore driver-model code

2023-02-04 Thread Anatolij Gustschin
On Sat, 28 Jan 2023 16:55:31 +0100
Dario Binacchi dario.binac...@amarulasolutions.com wrote:

> The commit 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") removed not
> only the LCD legacy implementation but also the code with driver model
> support. The patch restores the code with driver model support.
> 
> Fixes: 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD")
> Signed-off-by: Dario Binacchi 
> Reviewed-by: Simon Glass 
> 
> ---
> 
> Changes in v3:
> - Remove the lcd.h include which I forgot to commit in v2.
> 
> Changes in v2:
> - Collapse the two patches into one only.
> - Fix the compilation failure.
> 
>  drivers/video/Kconfig   |   2 +
>  drivers/video/Makefile  |   1 +
>  drivers/video/ti/Kconfig|   8 +
>  drivers/video/ti/Makefile   |   6 +
>  drivers/video/ti/tilcdc-panel.c | 172 +
>  drivers/video/ti/tilcdc-panel.h |  14 ++
>  drivers/video/ti/tilcdc.c   | 425 
>  drivers/video/ti/tilcdc.h   |  38 +++
>  8 files changed, 666 insertions(+)
>  create mode 100644 drivers/video/ti/Kconfig
>  create mode 100644 drivers/video/ti/Makefile
>  create mode 100644 drivers/video/ti/tilcdc-panel.c
>  create mode 100644 drivers/video/ti/tilcdc-panel.h
>  create mode 100644 drivers/video/ti/tilcdc.c
>  create mode 100644 drivers/video/ti/tilcdc.h

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2 5/7] board: ti: am62x: am62x: Add splash screen env variables

2023-02-04 Thread Anatolij Gustschin
On Tue, 31 Jan 2023 15:35:18 +0530
Nikhil M Jain n-ja...@ti.com wrote:

> Set splash screen related env variables. Default splash source is
> set to mmc where user is expected to keep bmp in compressed format
> with name ti.gz on first partition of mmc.
> 
> Splash file will be uncompressed to DDR at address 0x8200 and
> splash position is set to middle of screen.
> 
> Signed-off-by: Nikhil M Jain 
> ---
>  board/ti/am62x/am62x.env | 5 +
>  1 file changed, 5 insertions(+)

This patch does not apply, there is no board/ti/am62x/am62x.env.

I think we first need below patch applied (assigned to Tom):

  
http://patchwork.ozlabs.org/project/uboot/patch/20230124051602.32351-2-n-ja...@ti.com/

@Tom: could you please apply it ? Thanks!

--
Anatolij


Re: [PATCH v2 7/7] tools: logos: Add TI logo files

2023-02-04 Thread Anatolij Gustschin
On Tue, 31 Jan 2023 15:35:20 +0530
Nikhil M Jain n-ja...@ti.com wrote:

> The default splashfile name saved is ti.gz. User can use these
> logo files and use it to test splash screen.
> 
> Signed-off-by: Nikhil M Jain 
> ---
>  tools/logos/ti.bmp | Bin 0 -> 160770 bytes
>  tools/logos/ti.gz  | Bin 0 -> 12285 bytes
>  2 files changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 tools/logos/ti.bmp
>  create mode 100644 tools/logos/ti.gz

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2 6/7] board: ti: am62x: evm: Add splash screen support

2023-02-04 Thread Anatolij Gustschin
On Tue, 31 Jan 2023 15:35:19 +0530
Nikhil M Jain n-ja...@ti.com wrote:

> Splash screen function needs splash source information
> to load image and display it, splash_location provides
> the necessary info, Set default_splash_location to MMC
> at partition 1:1. Probe DSS for splash screen display.
> 
> Signed-off-by: Nikhil M Jain 
> ---
>  board/ti/am62x/evm.c | 25 ++---
>  1 file changed, 22 insertions(+), 3 deletions(-)

applied to u-boot-video/master after fixing coding style, thanks!

--
Anatolij


Re: [PATCH v2 2/7] test: dm: test-fdt: Add decode_panel_timing test

2023-02-04 Thread Anatolij Gustschin
On Tue, 31 Jan 2023 15:35:15 +0530
Nikhil M Jain n-ja...@ti.com wrote:

> To test decode_panel_timing add a panel-timings node
> and a DM test for decode panel timingd by matching
> the panel timing node parameters.
> 
> Signed-off-by: Nikhil M Jain 
> ---
>  arch/sandbox/dts/test.dts | 18 ++
>  test/dm/test-fdt.c| 35 +++
>  2 files changed, 53 insertions(+)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v3 1/7] drivers: core: ofnode: Add panel timing decode.

2023-02-04 Thread Anatolij Gustschin
On Sat,  4 Feb 2023 18:41:25 +0100
Anatolij Gustschin ag...@denx.de wrote:
...
> ---
> Changes in v3:
>  - add static inline dev_decode_panel_timing() in include/dm/read.h
>to fix sandbox test errors when CONFIG_DM_DEV_READ_INLINE enabled
> 
>  drivers/core/ofnode.c | 47 +++
>  drivers/core/read.c   |  6 ++
>  include/dm/ofnode.h   | 12 +++
>  include/dm/read.h | 20 ++
>  4 files changed, 85 insertions(+)

applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2023-02-04 Thread Anatolij Gustschin
Hi Tom,

please pull video patches for v2023.04.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/15051

Thanks,
Anatolij

The following changes since commit a209c3e6b48cf042d0220245a2d1636f74389c17:

  Merge tag 'u-boot-imx-20230203' of 
https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2023-02-03 10:30:45 -0500)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230204

for you to fetch changes up to 03610ebf3520ae768ff90c4831f39088088ee666:

  tools: logos: Add TI logo files (2023-02-04 18:19:00 +0100)


 - restore TI AM335x LCDC driver with DM support
 - make simple panel independent of backlight
 - add ofnode panel timing decode functions with test
 - add TIDSS video driver and AM62x splash screen
 - add TI logo


Dario Binacchi (1):
  video: ti: am335x: restore driver-model code

Nikhil M Jain (6):
  drivers: core: ofnode: Add panel timing decode.
  test: dm: test-fdt: Add decode_panel_timing test
  drivers: video: simple_panel: make simple panel independent of backlight
  drivers: video: tidss: TIDSS video driver support for AM62x
  board: ti: am62x: evm: Add splash screen support
  tools: logos: Add TI logo files

 MAINTAINERS  |   1 +
 arch/sandbox/dts/test.dts|  18 +
 board/ti/am62x/evm.c |  25 +-
 drivers/core/ofnode.c|  47 ++
 drivers/core/read.c  |   6 +
 drivers/video/Kconfig|   4 +
 drivers/video/Makefile   |   2 +
 drivers/video/simple_panel.c |   7 +-
 drivers/video/ti/Kconfig |   8 +
 drivers/video/ti/Makefile|   6 +
 drivers/video/ti/tilcdc-panel.c  | 172 +++
 drivers/video/ti/tilcdc-panel.h  |  14 +
 drivers/video/ti/tilcdc.c| 425 ++
 drivers/video/ti/tilcdc.h|  38 ++
 drivers/video/tidss/Kconfig  |  18 +
 drivers/video/tidss/Makefile |  12 +
 drivers/video/tidss/tidss_drv.c  | 943 +++
 drivers/video/tidss/tidss_drv.h  | 137 ++
 drivers/video/tidss/tidss_regs.h | 292 
 include/dm/ofnode.h  |  12 +
 include/dm/read.h|  20 +
 test/dm/test-fdt.c   |  36 ++
 tools/logos/ti.bmp   | Bin 0 -> 160770 bytes
 tools/logos/ti.gz| Bin 0 -> 12285 bytes
 24 files changed, 2238 insertions(+), 5 deletions(-)
 create mode 100644 drivers/video/ti/Kconfig
 create mode 100644 drivers/video/ti/Makefile
 create mode 100644 drivers/video/ti/tilcdc-panel.c
 create mode 100644 drivers/video/ti/tilcdc-panel.h
 create mode 100644 drivers/video/ti/tilcdc.c
 create mode 100644 drivers/video/ti/tilcdc.h
 create mode 100644 drivers/video/tidss/Kconfig
 create mode 100644 drivers/video/tidss/Makefile
 create mode 100644 drivers/video/tidss/tidss_drv.c
 create mode 100644 drivers/video/tidss/tidss_drv.h
 create mode 100644 drivers/video/tidss/tidss_regs.h
 create mode 100644 tools/logos/ti.bmp
 create mode 100644 tools/logos/ti.gz


[PATCH v3 1/7] drivers: core: ofnode: Add panel timing decode.

2023-02-04 Thread Anatolij Gustschin
From: Nikhil M Jain 

ofnode_decode_display_timing supports reading timing parameters from
subnode of display-timings node, for displays supporting multiple
resolution, in case if a display supports single resolution, it fails
reading directly from display-timings node, to support it
ofnode_decode_panel_timing is added.

Signed-off-by: Nikhil M Jain 
Reviewed-by: Simon Glass 
---
Changes in v3:
 - add static inline dev_decode_panel_timing() in include/dm/read.h
   to fix sandbox test errors when CONFIG_DM_DEV_READ_INLINE enabled

 drivers/core/ofnode.c | 47 +++
 drivers/core/read.c   |  6 ++
 include/dm/ofnode.h   | 12 +++
 include/dm/read.h | 20 ++
 4 files changed, 85 insertions(+)

diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index 4d56b1a767..d08578e9c4 100644
--- a/drivers/core/ofnode.c
+++ b/drivers/core/ofnode.c
@@ -991,6 +991,53 @@ int ofnode_decode_display_timing(ofnode parent, int index,
return ret;
 }
 
+int ofnode_decode_panel_timing(ofnode parent,
+  struct display_timing *dt)
+{
+   ofnode timings;
+   u32 val = 0;
+   int ret = 0;
+
+   timings = ofnode_find_subnode(parent, "panel-timings");
+   if (!ofnode_valid(timings))
+   return -EINVAL;
+   memset(dt, 0, sizeof(*dt));
+   ret |= decode_timing_property(timings, "hback-porch", >hback_porch);
+   ret |= decode_timing_property(timings, "hfront-porch", 
>hfront_porch);
+   ret |= decode_timing_property(timings, "hactive", >hactive);
+   ret |= decode_timing_property(timings, "hsync-len", >hsync_len);
+   ret |= decode_timing_property(timings, "vback-porch", >vback_porch);
+   ret |= decode_timing_property(timings, "vfront-porch", 
>vfront_porch);
+   ret |= decode_timing_property(timings, "vactive", >vactive);
+   ret |= decode_timing_property(timings, "vsync-len", >vsync_len);
+   ret |= decode_timing_property(timings, "clock-frequency", 
>pixelclock);
+   dt->flags = 0;
+   if (!ofnode_read_u32(timings, "vsync-active", )) {
+   dt->flags |= val ? DISPLAY_FLAGS_VSYNC_HIGH :
+   DISPLAY_FLAGS_VSYNC_LOW;
+   }
+   if (!ofnode_read_u32(timings, "hsync-active", )) {
+   dt->flags |= val ? DISPLAY_FLAGS_HSYNC_HIGH :
+   DISPLAY_FLAGS_HSYNC_LOW;
+   }
+   if (!ofnode_read_u32(timings, "de-active", )) {
+   dt->flags |= val ? DISPLAY_FLAGS_DE_HIGH :
+   DISPLAY_FLAGS_DE_LOW;
+   }
+   if (!ofnode_read_u32(timings, "pixelclk-active", )) {
+   dt->flags |= val ? DISPLAY_FLAGS_PIXDATA_POSEDGE :
+   DISPLAY_FLAGS_PIXDATA_NEGEDGE;
+   }
+   if (ofnode_read_bool(timings, "interlaced"))
+   dt->flags |= DISPLAY_FLAGS_INTERLACED;
+   if (ofnode_read_bool(timings, "doublescan"))
+   dt->flags |= DISPLAY_FLAGS_DOUBLESCAN;
+   if (ofnode_read_bool(timings, "doubleclk"))
+   dt->flags |= DISPLAY_FLAGS_DOUBLECLK;
+
+   return ret;
+}
+
 const void *ofnode_get_property(ofnode node, const char *propname, int *lenp)
 {
if (ofnode_is_np(node))
diff --git a/drivers/core/read.c b/drivers/core/read.c
index 3e5fea87d8..e0543bbad5 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -420,6 +420,12 @@ int dev_decode_display_timing(const struct udevice *dev, 
int index,
return ofnode_decode_display_timing(dev_ofnode(dev), index, config);
 }
 
+int dev_decode_panel_timing(const struct udevice *dev,
+   struct display_timing *config)
+{
+   return ofnode_decode_panel_timing(dev_ofnode(dev), config);
+}
+
 ofnode dev_get_phy_node(const struct udevice *dev)
 {
return ofnode_get_phy_node(dev_ofnode(dev));
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index fa9865602d..3f6b0843c5 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -974,6 +974,18 @@ struct display_timing;
 int ofnode_decode_display_timing(ofnode node, int index,
 struct display_timing *config);
 
+/**
+ * ofnode_decode_panel_timing() - decode display timings
+ *
+ * Decode panel timings from the supplied 'panel-timings' node.
+ *
+ * @node:  'display-timing' node containing the timing subnodes
+ * @config:Place to put timings
+ * Return: 0 if OK, -FDT_ERR_NOTFOUND if not found
+ */
+int ofnode_decode_panel_timing(ofnode node,
+  struct display_timing *config);
+
 /**
  * ofnode_get_property() - get a pointer to the value of a node property
  *
diff --git a/include/dm/read.h b/include/dm/read.h
index cc4f16196f..56ac076c9f 100644
--- a/include/dm/read.h
+++ b/include/dm/read.h
@@ -784,6 +784,20 @@ int dev_read_pci_bus_range(const struct udevice *dev, 
struct resource *res);
 int dev_decode_display_timing(const struct udevice *dev, int index,
  struct 

Re: [PATCH 00/16] video: Enhancements to Truetype console

2022-10-31 Thread Anatolij Gustschin
Hi Simon,

On Mon, 24 Oct 2022 05:45:34 -0600
Simon Glass s...@chromium.org wrote:

> Hi Anatolij,
> 
> On Thu, 6 Oct 2022 at 08:36, Simon Glass  wrote:
> >
> > This series includes some minor enhancements to the Truetype console to
> > allow it to support multiple fonts and sizes at the same time. This is
> > useful for displays where the title needs to be in a larger font than the
> > rest of the text on the display.
> >
> > The fonts must still be compiled into U-Boot, but now it is possible to
> > change fonts as needed.
> >
> > Some other minor fixes and tweaks are included as well.
> >
> > This is mostly in service of the upcoming VBE boot menu which needs to
> > make better use of fonts.
> >  
> 
> I sent this and another series with video patches. Any thoughts?

I've applied both series. When applying, I changed patch 

 [PATCH 04/16] video: Move the console commands to cmd/

to keep vidconsole_position_cursor() in vidconsole uclass to avoid
build errors in common/splash.c.

Thanks!

--
Anatolij


Re: [PATCH 00/16] video: Enhancements to Truetype console

2022-10-31 Thread Anatolij Gustschin
On Thu,  6 Oct 2022 08:36:02 -0600
Simon Glass s...@chromium.org wrote:

> This series includes some minor enhancements to the Truetype console to
> allow it to support multiple fonts and sizes at the same time. This is
> useful for displays where the title needs to be in a larger font than the
> rest of the text on the display.
> 
> The fonts must still be compiled into U-Boot, but now it is possible to
> change fonts as needed.
> 
> Some other minor fixes and tweaks are included as well.
> 
> This is mostly in service of the upcoming VBE boot menu which needs to
> make better use of fonts.
...

Series applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2] video: dw_mipi_dsi: fix [hv]sync active vs back porch

2022-10-31 Thread Anatolij Gustschin
On Wed,  7 Sep 2022 12:06:32 +0100
John Keeping j...@metanate.com wrote:

> The wrong fields are pulled out of the timings here so the values
> programmed into the DSI_VID_HSA_LINES/DSI_VID_HBP_LINES and
> DSI_VID_VSA_LINES/DSI_VID_VBP_LINES registers are swapped.
> 
> Use the right fields so that the correct values are programmed.
> 
> Fixes: d4f7ea83fc ("video: add MIPI DSI host controller bridge")
> Signed-off-by: John Keeping 
> ---
> v2:
> - Fix hsync/hbp as well as vsync/vbp
> 
>  drivers/video/dw_mipi_dsi.c | 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v3] video: simplefb: add rotation support

2022-10-31 Thread Anatolij Gustschin
On Tue, 13 Sep 2022 18:32:42 +0900
Takumi Sueda puhit...@gmail.com wrote:

> It introduces the way to rotate the screen for boards with rotated screen.
> 
> Signed-off-by: Takumi Sueda 
> ---
>  drivers/video/simplefb.c | 6 +-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2 0/2] splash: add more options/support

2022-10-31 Thread Anatolij Gustschin
On Mon, 17 Oct 2022 10:33:18 +0200
Julien Masson jmas...@baylibre.com wrote:
...
> Changes in v2:
> - splash_mmc_read_raw: return -EIO in case of errors
> - splash_mmc_read_raw: use IS_ENABLED(CONFIG_CMD_MMC) instead of #ifdef
> - rename local var env_splashdevpart_value to devpart
> 
> Julien Masson (2):
>   splash: support raw image from MMC
>   splash: get devpart from environment variable
> 
>  common/splash.c|  6 ++
>  common/splash_source.c | 31 +++
>  2 files changed, 37 insertions(+)
> 

Applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2022-10-30 Thread Anatolij Gustschin
Hi Tom,

please pull video changes for v2023.01.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/13972

Thanks,
Anatolij

The following changes since commit fb63362c63c7aeacb1dfde330ee8f692da7972f9:

  lib: fix buggy strcmp and strncmp (2022-10-27 09:10:08 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20221030

for you to fetch changes up to b86986c7b314f1378ca5be8df49310a6ce7302f8:

  video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO (2022-10-30 20:07:17 +0100)


 - fix [hv]sync active vs back porch in dw_mipi_dsi
 - simplefb rotation support
 - support splash as raw image from MMC
 - enhancements to Truetype console (multiple fonts and sizes)
 - drop old LCD support


John Keeping (1):
  video: dw_mipi_dsi: fix [hv]sync active vs back porch

Julien Masson (2):
  splash: support raw image from MMC
  splash: get devpart from environment variable

Simon Glass (55):
  video: Move console colours to the video uclass
  video: Provide a function to set the cursor position
  video: Use vidconsole_put_string() to write a string
  video: Move the console commands to cmd/
  video: Move and rename DM_HX8238D option
  video: Allow filling the display with a colour
  video: Add function to obtain the U-Boot logo
  video: Tidy up the check for valid fonts
  video: Refactor to allow more than one font size
  video: Record the truetype font name
  video: Add a function to select the truetype metrics
  video: Add a way to change the font name and size
  video: Enable the cls command by default
  video: Add commands to list and change fonts
  video: Add a function to get the dimensions of a BMP image
  video: Add a way to get the default font height
  video: Split SPLASH_SCREEN_ALIGN from bmp command
  Convert CONFIG_HIDE_LOGO_VERSION to Kconfig
  video: Rename CONFIG_SYS_VIDEO_LOGO_MAX_SIZE
  Convert CONFIG_VIDEO_LOGO_MAX_SIZE to Kconfig
  video: lcd: Drop console rotation
  video: Drop CONFIG_LCD_ALIGNMENT
  video: Drop CONFIG_LCD_MENU
  video: Drop CONFIG_LCD_INFO_BELOW_LOGO
  video: Drop CONFIG_LCD_INFO
  video: Move bmp_display() prototype to video.h
  api: Drop LCD implementation
  Drop CONFIG_LCD_LOGO
  video: Drop VCXK video controller
  BuR: Drop old LCD code
  video: Drop CONFIG_AM335X_LCD
  video: atmel: Drop pre-DM parts of video driver
  video: Drop ld9040 driver
  video: atmel: Drop CONFIG_LCD_IN_PSRAM
  treewide: Stop enabling CONFIG_LCD
  video: Drop atmel LCD code
  video: samsung: Drop old LCD code
  nexell: Drop old LCD code
  compulab: Drop old LCD code
  tegra: Drop old LCD code
  BuR: ronetix: siemens: Drop old LCD code
  video: cmd: Drop old LCD code
  efi: Drop old LCD code
  video: Drop remaining references to CONFIG_LCD
  fdt: Drop support for LCD fixup in simplefb
  video: Drop LCD_BPP
  video: Drop CONFIG_VIDEO
  video: Drop CONFIG_VIDEO
  video: Drop CONFIG_LCD
  video: Drop use of the lcd header file
  video: Drop common LCD implementation
  video: Drop SPLASHIMAGE_CALLBACK
  video: Make all video options depend on DM_VIDEO
  pci: Drop test for DM_VIDEO
  video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO

Takumi Sueda (1):
  video: simplefb: add rotation support

 MAINTAINERS|   2 -
 README |  74 ---
 api/api_display.c  |  22 -
 arch/Kconfig   |   2 +-
 arch/arm/Kconfig   |   2 +-
 arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c |  39 --
 arch/arm/mach-at91/armv7/sama5d3_devices.c |  33 --
 arch/arm/mach-exynos/include/mach/mipi_dsim.h  |   1 -
 arch/arm/mach-imx/cpu.c|   2 +-
 arch/arm/mach-imx/mx6/Kconfig  |   2 +-
 arch/arm/mach-imx/mx6/soc.c|   2 +-
 arch/arm/mach-imx/mx7/soc.c|   2 +-
 arch/arm/mach-nexell/include/mach/display_dev.h|   7 -
 arch/arm/mach-omap2/am33xx/Kconfig |   4 +-
 arch/arm/mach-omap2/am33xx/clock_am33xx.c  |   4 -
 .../arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c |   2 +-
 arch/arm/mach-sunxi/Kconfig|   6 +-
 arch/arm/mach-tegra/board2.c   |   4 +-
 arch/x86/Kconfig   |   2 +-
 board/BuR/brxre1/board.c   |   9 -
 board/BuR/common/br_resetc.c   |   6 -
 board/BuR/common/bur_common.h  |   6 -
 board/BuR/common/common.c  | 225 
 

Please pull u-boot-video

2022-06-25 Thread Anatolij Gustschin
Hi Tom,

please pull video fixes for v2022.07-rc5.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/12501

Thanks,
Anatolij

The following changes since commit 625756083e3358744fbe0a60e0eedc009041782d:

  Merge branch '2022-06-23-important-fixes' (2022-06-23 11:27:04 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20220625

for you to fetch changes up to 5bc6f8c2a97e5dd3b94e8c3cff3a77c2f5bffd8d:

  video: stm32: remove test on CONFIG_DM_REGULATOR (2022-06-25 08:18:42 +0200)


 - fix building sandbox with NO_SDL=1
 - fix stb TrueType to check return value of STBTT_malloc()
 - remove not required DM_REGULATOR test in stm32 dsi driver


Andrew Scull (1):
  sandbox: sdl: Add stub sandbox_sdl_remove_display()

Bin Meng (1):
  driver: video: Check allocated pointers

Patrick Delaunay (1):
  video: stm32: remove test on CONFIG_DM_REGULATOR

 arch/sandbox/include/asm/sdl.h  |  5 +
 drivers/video/stb_truetype.h| 18 ++
 drivers/video/stm32/stm32_dsi.c | 25 +++--
 3 files changed, 30 insertions(+), 18 deletions(-)


Re: [PATCH] video: stm32: remove test on CONFIG_DM_REGULATOR

2022-06-25 Thread Anatolij Gustschin
On Mon, 20 Jun 2022 11:55:07 +0200
Patrick Delaunay patrick.delau...@foss.st.com wrote:

> The tests on CONFIG_DM_REGULATOR, added to avoid compilation issues, can
> now be removed, they are no more needed since the commit 16cc5ad0b439
> ("power: regulator: add dummy helper").
> 
> Signed-off-by: Patrick Delaunay 
> ---
> 
>  drivers/video/stm32/stm32_dsi.c | 25 +++--
>  1 file changed, 11 insertions(+), 14 deletions(-)
> 

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] driver: video: Check allocated pointers

2022-06-25 Thread Anatolij Gustschin
On Wed, 18 May 2022 13:36:18 +0800
Bin Meng bmeng...@gmail.com wrote:

> The codes that call STBTT_malloc() / stbtt__new_active() do not check
> the return value at present which may cause segfault.
> 
> Signed-off-by: Bin Meng 
> ---
> 
>  drivers/video/stb_truetype.h | 18 ++
>  1 file changed, 14 insertions(+), 4 deletions(-)


applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2] sandbox: sdl: Add stub sandbox_sdl_remove_display()

2022-06-25 Thread Anatolij Gustschin
On Wed, 23 Mar 2022 20:20:37 +
Andrew Scull asc...@google.com wrote:

> Building the sandbox with NO_SDL=1 resulted in an undefined reference to
> 'sandbox_sdl_remove_display'. Resolve this by adding a stub
> implementation to match the stubs of the other similar functions.
> 
> Signed-off-by: Andrew Scull 
> Cc: Simon Glass 
> Cc: Anatolij Gustschin 
> Reviewed-by: Simon Glass 
> ---
>  arch/sandbox/include/asm/sdl.h | 5 +
>  1 file changed, 5 insertions(+)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] RFC: net: fec: get rid of CONFIG_FEC_MXC_MDIO_BASE

2022-05-11 Thread Anatolij Gustschin
Hi Tim,

On Wed, 11 May 2022 13:39:59 -0700
Tim Harvey thar...@gateworks.com wrote:
...
> > Reviewed-by: Oleh Kravchenko   
> 
> Thanks Oleh. Do you know someone that does have a  o4-imx6ull-nano
> board to test with?
> 
> Marcel, Fabio, Anatolij and Oliver, can you review and test your
> boards with this?

I do not have a working i.MX8QXP MEK board any more and can not test.
Maybe Peng could test it?

--
Anatolij


Re: [PATCH 00/14] video: Drop old CFB code

2022-03-29 Thread Anatolij Gustschin
On Sun, 23 Jan 2022 07:04:01 -0700
Simon Glass s...@chromium.org wrote:
...
> Simon Glass (14):
>   video: Drop cfg_console
>   video: nokia_rx51: Drop obsolete video code
>   video: siemens: Drop unused video code
>   video: nexell: Drop unused and invalid code
>   video: Drop video_fb header
>   video: Drop CONFIG_VIDEO_BMP_LOGO
>   video: Drop references to CONFIG_VIDEO et al
>   video: Clean up the uclass header
>   video: Drop da8xx-fb
>   video: fsl: colibri_vf: Drop FSL DCU driver
>   video: Drop FSL DIU driver
>   video: mxs: Drop old video code
>   video: Convert CONFIG_VIDEO_BCM2835 to Kconfig
>   video: Drop formike driver

Re-based and applied to u-boot-video/next, thanks!

--
Anatolij


Please pull u-boot-video/next

2022-03-28 Thread Anatolij Gustschin
Hi Tom,

please pull video patches for next.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/11483

Thanks,
Anatolij

The following changes since commit 34d2b7f20369d62c0f091d6572a8c0ea4655cf14:

  Merge tag 'v2022.04-rc5' into next (2022-03-28 12:36:49 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/next-20220328

for you to fetch changes up to 60cc4094485bf44b5ad455b51076f0e07f3f793a:

  video: Drop CONFIG_LCD_BMP_RLE8 (2022-03-28 20:30:33 +0200)


 - drop old CFB code
 - drop CONFIG_LCD_BMP_RLE8


Simon Glass (14):
  video: Drop cfg_console
  video: siemens: Drop unused video code
  video: nexell: Drop unused and invalid code
  video: Drop video_fb header
  video: Drop CONFIG_VIDEO_BMP_LOGO
  video: Drop references to CONFIG_VIDEO et al
  video: Clean up the uclass header
  video: Drop da8xx-fb
  video: fsl: colibri_vf: Drop FSL DCU driver
  video: Drop FSL DIU driver
  video: mxs: Drop old video code
  video: Convert CONFIG_VIDEO_BCM2835 to Kconfig
  video: Drop formike driver
  video: Drop CONFIG_LCD_BMP_RLE8

 README  |   22 -
 arch/arm/cpu/armv7/ls102xa/soc.c|4 -
 arch/arm/include/asm/arch-ls102xa/config.h  |1 -
 arch/arm/include/asm/mach-imx/mx5_video.h   |5 -
 arch/arm/mach-nexell/include/mach/display_dev.h |8 +-
 board/aristainetos/aristainetos.c   |1 -
 board/freescale/common/Makefile |4 -
 board/freescale/common/dcu_sii9022a.c   |  248 ---
 board/freescale/common/dcu_sii9022a.h   |   12 -
 board/freescale/common/diu_ch7301.c |  217 ---
 board/freescale/common/diu_ch7301.h |   12 -
 board/freescale/ls1021aiot/Makefile |1 -
 board/freescale/ls1021aiot/dcu.c|   48 -
 board/freescale/ls1021aqds/Makefile |1 -
 board/freescale/ls1021aqds/dcu.c|  110 --
 board/freescale/ls1021atwr/Makefile |1 -
 board/freescale/ls1021atwr/dcu.c|   48 -
 board/freescale/mx51evk/Makefile|1 -
 board/freescale/mx53loco/Makefile   |1 -
 board/freescale/t104xrdb/Makefile   |1 -
 board/freescale/t104xrdb/diu.c  |   84 -
 board/kosagi/novena/novena_spl.c|   23 -
 board/siemens/common/board.c|3 -
 board/siemens/common/factoryset.c   |7 -
 board/siemens/common/factoryset.h   |3 -
 board/siemens/pxm2/board.c  |  189 ---
 board/siemens/rut/board.c   |  247 ---
 board/socrates/socrates.c   |1 -
 board/toradex/colibri_vf/Makefile   |1 -
 board/toradex/colibri_vf/colibri_vf.c   |   62 -
 board/toradex/colibri_vf/dcu.c  |   38 -
 cmd/Kconfig |2 +-
 cmd/bdinfo.c|2 +-
 cmd/bmp.c   |4 +-
 cmd/cls.c   |2 -
 common/fdt_support.c|2 +-
 common/lcd.c|  142 --
 common/stdio.c  |4 +-
 configs/colibri_vf_defconfig|1 -
 configs/rpi_0_w_defconfig   |1 +
 configs/rpi_2_defconfig |1 +
 configs/rpi_3_32b_defconfig |1 +
 configs/rpi_3_b_plus_defconfig  |1 +
 configs/rpi_3_defconfig |1 +
 configs/rpi_4_32b_defconfig |1 +
 configs/rpi_4_defconfig |1 +
 configs/rpi_arm64_defconfig |1 +
 configs/rpi_defconfig   |1 +
 doc/usage/bootmenu.rst  |5 -
 drivers/pci/pci_rom.c   |1 -
 drivers/video/Kconfig   |  129 +-
 drivers/video/Makefile  |5 -
 drivers/video/cfb_console.c | 1865 ---
 drivers/video/da8xx-fb.c| 1048 -
 drivers/video/da8xx-fb.h|  115 --
 drivers/video/formike.c |  513 ---
 drivers/video/fsl_dcu_fb.c  |  549 ---
 drivers/video/fsl_diu_fb.c  |  416 -
 drivers/video/imx/mxc_ipuv3_fb.c|1 -
 drivers/video/mxsfb.c   |   90 --
 drivers/video/nexell_display.c  |   17 +-
 drivers/video/omap3_dss.c   |   29 -
 

Re: [PATCH 00/14] video: Drop old CFB code

2022-03-28 Thread Anatolij Gustschin
Hi Simon,

On Fri, 25 Mar 2022 11:41:54 +1300
Simon Glass s...@chromium.org wrote:

> Hi Anatloij,
> 
> On Fri, 25 Mar 2022 at 11:16, Anatolij Gustschin  wrote:
> >
> > Hi Simon,
> >
> > On Thu, 24 Mar 2022 13:54:22 -0600
> > Simon Glass s...@chromium.org wrote:
> > ...  
> > >
> > > Is there any word on this series, please?  
> >
> > last week I've rebased and applied this series to next (PATCH 02/14
> > dropped) and will submit a pull request when Tom merges last -rc
> > into his next branch. Otherwise there will be a build error due to
> > missing Nokia RX-51 related changes. Thanks!  
> 
> That's great, thank you! I was thinking of doing the same thing for
> LCD. What do you think?

Yes, removing CONFIG_LCD code would be good. I hope we can do
frame buffer support by DM_VIDEO for boards still using LCD.

--
Anatolij


Re: [PATCH 00/14] video: Drop old CFB code

2022-03-24 Thread Anatolij Gustschin
Hi Simon,

On Thu, 24 Mar 2022 13:54:22 -0600
Simon Glass s...@chromium.org wrote:
...
> 
> Is there any word on this series, please?

last week I've rebased and applied this series to next (PATCH 02/14
dropped) and will submit a pull request when Tom merges last -rc
into his next branch. Otherwise there will be a build error due to
missing Nokia RX-51 related changes. Thanks!

--
Anatolij



Re: Please pull u-boot-video

2022-03-19 Thread Anatolij Gustschin
On Sat, 19 Mar 2022 13:44:41 -0400
Tom Rini tr...@konsulko.com wrote:
... 
> With the next -rc yes, this will get merged to -next.  I don't like to
> merge them otherwise as it makes the history a bit less clear.

OK, then I'll wait for next -rc and then rebase. Thanks!

--
Anatolij


Re: Please pull u-boot-video

2022-03-19 Thread Anatolij Gustschin
Hi Tom,

On Tue, 15 Mar 2022 08:13:32 -0400
Tom Rini tr...@konsulko.com wrote:
...
> >   Nokia RX-51: Convert to CONFIG_DM_VIDEO (2022-03-09 21:28:53 +0100)
> >   
> 
> Applied to u-boot/master, thanks!

Could you please also merge this pull request into next branch?
I tried to apply and to build Simon's video patches [1] on top of your
current next branch, but there is Nokia RX-51 board build error. It can
be fixed if these patches are in next, so I can then rebase [1] series
for next.

Thanks!

[1] http://patchwork.ozlabs.org/user/todo/uboot/?series=282367

--
Anatolij


Re: [PATCH 1/1] video: bmp: Support x2r10g10b10 pixel format

2022-03-14 Thread Anatolij Gustschin
On Wed,  9 Feb 2022 22:16:22 +0100
Janne Grunau j...@jannau.net wrote:

> Fixes the display of the u-boot logo on Apple silicon devices.
> 
> Signed-off-by: Janne Grunau 
> ---
>  drivers/video/video_bmp.c | 70 +++
>  1 file changed, 56 insertions(+), 14 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2 2/2] Nokia RX-51: Convert to CONFIG_DM_VIDEO

2022-03-14 Thread Anatolij Gustschin
On Wed,  9 Mar 2022 20:46:01 +0100
Pali Rohár p...@kernel.org wrote:
...
> ---
>  board/nokia/rx51/rx51.c  | 40 +---
>  configs/nokia_rx51_defconfig |  7 +--
>  include/configs/nokia_rx51.h | 11 ++
>  3 files changed, 31 insertions(+), 27 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH v2 1/2] video: Allow drivers to allocate the frame buffer themselves

2022-03-14 Thread Anatolij Gustschin
On Wed,  9 Mar 2022 20:46:00 +0100
Pali Rohár p...@kernel.org wrote:

> When plat->base is set by driver then skip frame buffer reservation and 
> allocation.
> 
> Signed-off-by: Pali Rohár 
> ---
>  drivers/video/video-uclass.c | 7 ++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH 1/1] video: mxsfb: fix pixel clock polarity

2022-03-14 Thread Anatolij Gustschin
Hi Sébastien,

On Fri, 26 Nov 2021 15:48:27 +0100
Sébastien Szymanski sebastien.szyman...@armadeus.com wrote:

> DISPLAY_FLAGS_PIXDATA_NEGEDGE means the controller drives the data on
> pixel clocks falling edge. That is DOTCLK_POL=0 (default) not 1.

I wanted to apply this patch for release, but testing on i.MX6UL 14x14
EVK board shows that there is display flickering. So it seems wrong
for the display used on the EVK board.

--
Anatolij



Please pull u-boot-video

2022-03-14 Thread Anatolij Gustschin
Hi Tom,

please pull video fixes for v2022.04-rc4.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/11220

Thanks,
Anatolij

The following changes since commit 589c659035a44a683b087fd75fe0b7667f7be7f5:

  Merge branch '2022-03-08-assorted-fixes' (2022-03-08 08:42:51 -0500)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20220314

for you to fetch changes up to d6213e206c441a3b2b83c0588954c851c3610d97:

  Nokia RX-51: Convert to CONFIG_DM_VIDEO (2022-03-09 21:28:53 +0100)


 - fix display of the u-boot logo on Apple devices
 - convert Nokia RX-51 to CONFIG_DM_VIDEO


Janne Grunau (1):
  video: bmp: Support x2r10g10b10 pixel format

Pali Rohár (2):
  video: Allow drivers to allocate the frame buffer themselves
  Nokia RX-51: Convert to CONFIG_DM_VIDEO

 board/nokia/rx51/rx51.c  | 40 +++--
 configs/nokia_rx51_defconfig |  7 +++--
 drivers/video/video-uclass.c |  7 -
 drivers/video/video_bmp.c| 70 +++-
 include/configs/nokia_rx51.h | 11 ++-
 5 files changed, 93 insertions(+), 42 deletions(-)


Re: [PATCH] WIP: Nokia RX-51: Convert to CONFIG_DM_VIDEO

2022-03-09 Thread Anatolij Gustschin
Hi Pali,

On Wed, 9 Mar 2022 20:44:50 +0100
Pali Rohár p...@kernel.org wrote:

> On Sunday 06 March 2022 11:44:22 Simon Glass wrote:
> > Hi Pali,
> > 
> > On Sun, 6 Mar 2022 at 08:25, Pali Rohár  wrote:  
> > >
> > > On Sunday 06 March 2022 07:42:03 Simon Glass wrote:  
> > > > Yes let's go with that.  
> > >
> > > Done, I sent final version of the patch.
> > >  
> > > > > > > > > > Second thing is that CONFIG_VIDEO_LOGO is broken and does 
> > > > > > > > > > not work even it
> > > > > > > > > > is enabled in config file. I do not know why too.
> > > > > > > > > >
> > > > > > > > > > Any idea?  
> > > > > > > > >
> > > > > > > > > Not yet. There were some logo related changes recently, but 
> > > > > > > > > if I
> > > > > > > > > remember correctly, I tested them on wandboard and nitrogen6q
> > > > > > > > > targets and with sandbox, and logo drawing worked there.  
> > > > > >
> > > > > > Can you be more specific than 'broken'? What is broken about it?  
> > > > >
> > > > > Does not work, logo is not drown on the screen.  
> > > >
> > > > See video_bmp_display()  - I wonder if the particular depth you are
> > > > using is not supported?  
> > >
> > > Depth is 16bit which should be supported.  
> > 
> > But apparently isn't , at least in this case :-)  
> 
> Yea, something is broken there.
> 
> > >  
> > > > Anyway you should be able to debug it there or
> > > > using the bmp command. The file is drivers/video/u_boot_logo.bmp  
> > >
> > > CONFIG_CMD_BMP=y is broken too. When I enable it then U-Boot freeze
> > > after the line 'Loading Environment from ... OK'.  
> > 
> > OK I'm not sure why, but please investigate if you have time.  
> 
> I have looked at it and do not know. But probably it is because I
> somehow have not caught how this new video code works...
> 
> Anyway, I sent documentation update how to run u-boot for n900 in qemu:
> https://patchwork.ozlabs.org/project/uboot/patch/20220308175956.4522-1-p...@kernel.org/
> 
> So it could help other people to look at issues which do not work
> correctly in n900's u-boot without need to have n900 hardware.

I've tested your v2 patches, and logo drawing works, but the logo
appears for short time. Then it is later overwritten by boot menu.

--
Anatolij


Re: [PATCH] WIP: Nokia RX-51: Convert to CONFIG_DM_VIDEO

2022-02-17 Thread Anatolij Gustschin
Hi Pali,

On Wed, 16 Feb 2022 21:42:19 +0100
Pali Rohár p...@kernel.org wrote:

> ---
> I had to comment "return -ENOSPC;" in video-uclass.c because without it
> DM_VIDEO does not work and I do not know why. This looks like either
> false-positive test or a bug in DM_VIDEO code. I have already set
> PRE_RELOC flag but it has no effect on that code.

Probably the frame buffer memory allocation did not work. 
Could you please try with a bind callback, i.e.:

static int rx51_video_bind(struct udevice *dev)
{
struct video_uc_plat *plat = dev_get_uclass_plat(dev);

plat->size = 800 * 480 * 2;
return 0;
}
...
U_BOOT_DRIVER(rx51_video) = {
.name = "rx51_video",
.id = UCLASS_VIDEO,
.bind = rx51_video_bind,
.probe = rx51_video_probe,
.flags = DM_FLAG_PRE_RELOC,
};

> 
> Second thing is that CONFIG_VIDEO_LOGO is broken and does not work even it
> is enabled in config file. I do not know why too.
> 
> Any idea?

Not yet. There were some logo related changes recently, but if I
remember correctly, I tested them on wandboard and nitrogen6q
targets and with sandbox, and logo drawing worked there.

--
Anatolij


Please pull u-boot-video/next

2021-12-28 Thread Anatolij Gustschin
Hi Tom,

please pull video patches for next.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/10395

Thanks,
Anatolij

The following changes since commit bc0abd80b3c2d395a0245d4e1ce4f8f445f79cde:

  Merge branch '2021-12-23-make-OF_BOARD-a-boolean' into next (2021-12-24 
09:31:35 -0500)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git 
tags/video-next-20211228

for you to fetch changes up to 92302ab1a279859824ec0f2e3864be44e883bff9:

  x86: coreboot: Add a sample script to build a qemu image (2021-12-26 23:33:28 
+0100)


- various fixes to the sandbox display support
- support for showing a logo without splash screen config
- support for BMP drawing to depths other than 16bpp
- tests for the different types of supported BMP images
- support showing a logo when running coreboot via qemu


Simon Glass (23):
  sandbox: video: Support 8bpp depth
  video: sandbox: Avoid duplicate display windows
  console: Avoid serial output before the console is running
  video: sandbox: Set a maximum frame-buffer size
  sandbox: video: Correct the address of the copy base
  sandbox: video: Add BMP tests for 32bpp and 8bpp modes
  video: Expand video debugging buffer size
  sandbox: Enable support for the gzip command
  video: Drop fb_put_byte() el at
  video: Move BMP pixel-writing into a function
  video: bmp: Update RLE8 support to use the write function
  video: Drop the uclass colour map
  video: Tidy up 24/32 BMP blitting
  video: Add a test for 16bpp BMP files
  video: theadorable: Use RGB565 for BMP blitting
  video: Drop #ifdefs from video_bmp
  video: Convert CONFIG_VIDEO_LOGO to Kconfig
  video: Drop VIDEO_LOGO from cfb_console
  video: Support showing the U-Boot logo
  video: Show the U-Boot logo by default
  video: Support virtio devices with the splash screen
  x86: coreboot: Support getting a logo from virtio
  x86: coreboot: Add a sample script to build a qemu image

 .gitattributes |   1 +
 README |   1 -
 arch/sandbox/cpu/sdl.c |  98 --
 arch/sandbox/include/asm/sdl.h |   7 +
 arch/sandbox/include/asm/test.h|  18 ++
 board/coreboot/coreboot/coreboot.c |  20 +-
 cmd/unzip.c|   4 +-
 common/console.c   |   6 +-
 common/splash.c|   2 +-
 common/splash_source.c |  14 ++
 configs/apalis_imx6_defconfig  |   1 +
 configs/aristainetos2c_defconfig   |   1 +
 configs/aristainetos2ccslb_defconfig   |   1 +
 configs/cm_fx6_defconfig   |   1 +
 configs/colibri-imx6ull-emmc_defconfig |   1 +
 configs/colibri-imx6ull_defconfig  |   1 +
 configs/colibri_imx6_defconfig |   1 +
 configs/colibri_imx7_defconfig |   1 +
 configs/colibri_imx7_emmc_defconfig|   1 +
 configs/colibri_vf_defconfig   |   1 +
 configs/gurnard_defconfig  |   1 +
 configs/gwventana_emmc_defconfig   |   1 +
 configs/gwventana_gw5904_defconfig |   1 +
 configs/gwventana_nand_defconfig   |   1 +
 configs/imx6dl_icore_nand_defconfig|   1 +
 configs/imx6q_icore_nand_defconfig |   1 +
 configs/imx6qdl_icore_mmc_defconfig|   1 +
 configs/imx6qdl_icore_nand_defconfig   |   1 +
 configs/imxrt1050-evk_defconfig|   1 +
 configs/m53menlo_defconfig |   1 +
 configs/marsboard_defconfig|   1 +
 configs/mx6cuboxi_defconfig|   1 +
 configs/mx6sabreauto_defconfig |   1 +
 configs/mx6sabresd_defconfig   |   1 +
 configs/mx6ul_14x14_evk_defconfig  |   1 +
 configs/mx6ul_9x9_evk_defconfig|   1 +
 configs/novena_defconfig   |   1 +
 configs/opos6uldev_defconfig   |   1 +
 configs/pico-dwarf-imx7d_defconfig |   1 +
 configs/pico-hobbit-imx7d_defconfig|   1 +
 configs/pico-imx6_defconfig|   1 +
 configs/pico-imx6ul_defconfig  |   1 +
 configs/pico-imx7d_bl33_defconfig  |   1 +
 configs/pico-imx7d_defconfig   |   1 +
 configs/pico-nymph-imx7d_defconfig |   1 +
 configs/pico-pi-imx7d_defconfig|   1 +
 configs/riotboard_defconfig|   1 +
 configs/s5p4418_nanopi2_defconfig  |   1 +
 configs/sandbox_defconfig  |   2 +
 configs/sandbox_flattree_defconfig |   2 +
 configs/tbs2910_defconfig  |   1 +
 configs/wandboard_defconfig|   1 +
 drivers/video/Kconfig  |  11 ++
 drivers/video/Makefile |   3 +
 drivers/video/cfb_console.c| 325 +
 drivers/video/console_truetype.c   |  21 +++
 drivers/video/sandbox_sdl.c|  77 +++-
 

Please pull u-boot-video

2021-12-28 Thread Anatolij Gustschin
Hi Tom,

please pull mxsfb driver fix for v2022.01.

CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/10396

Thanks,
Anatolij

The following changes since commit 578b479affa4570a3fcfca40f2b69f503880a8c9:

  Merge tag 'u-boot-rockchip-20211226' of 
https://source.denx.de/u-boot/custodians/u-boot-rockchip (2021-12-26 07:57:54 
-0500)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20211228

for you to fetch changes up to f36b3f8f174f0b4168121b99db060d53491c5922:

  video: mxsfb: fix clk_get_by_name() return value check (2021-12-27 00:30:37 
+0100)


- mxsfb axi/disp_axi clock enable fix


Giulio Benetti (1):
  video: mxsfb: fix clk_get_by_name() return value check

 drivers/video/mxsfb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Re: [PATCH v3] video: fix positioning in TrueType console

2021-10-31 Thread Anatolij Gustschin
Hi Simon,

On Sun, 31 Oct 2021 17:46:56 -0600
Simon Glass s...@chromium.org wrote:
...
> > v3:
> > Use floating point only with the TrueType console.
> > v2:
> > Adjust hash values in tests
> > ---
> >  drivers/video/console_truetype.c | 27 ---
> >  include/video_console.h  |  4 
> >  test/dm/video.c  |  6 +++---
> >  3 files changed, 27 insertions(+), 10 deletions(-)  
> 
> What commit is this based on, please? I don't seem to be able to apply it.

there is another patch:

 
http://patchwork.ozlabs.org/project/uboot/patch/20200930225935.256667-1-xypron.g...@gmx.de/

After applying it first, this v3 patch can be applied and building then works:

 https://source.denx.de/u-boot/custodians/u-boot-video/-/commits/oct28

--
Anatolij


Re: [PATCH 1/1] video: fix positioning in TrueType console

2021-10-27 Thread Anatolij Gustschin
Hi Heinrich,

On Wed, 27 Oct 2021 20:10:36 +0200
Heinrich Schuchardt xypron.g...@gmx.de wrote:

> Dear Anatolij,
> 
> somehow you lost track of this patch since March:
> 
> https://patchwork.ozlabs.org/project/uboot/patch/20210203161254.970-1-xypron.g...@gmx.de/
> 
> Could you, please, review it and consider it for merging.

I've applied the patches for build testing and see sandbox
test errors:

 https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/342128

Could you please fix them? Thanks!

--
Anatolij


Re: [PATCH] video: move MXS to Kconfig

2021-10-12 Thread Anatolij Gustschin
On Mon,  4 Oct 2021 17:33:12 +0200
Anatolij Gustschin ag...@denx.de wrote:
...
>  configs/colibri-imx6ull_defconfig | 1 +
>  configs/colibri_imx7_defconfig| 1 +
>  configs/imxrt1050-evk_defconfig   | 1 +
>  configs/mx6ul_14x14_evk_defconfig | 1 +
>  configs/mx6ul_9x9_evk_defconfig   | 1 +
>  configs/opos6uldev_defconfig  | 1 +
>  configs/pico-imx6ul_defconfig | 1 +
>  configs/pico-imx7d_bl33_defconfig | 1 +
>  configs/pico-imx7d_defconfig  | 1 +
>  drivers/video/Kconfig | 6 ++
>  drivers/video/cfb_console.c   | 4 
>  include/configs/colibri-imx6ull.h | 3 +--
>  include/configs/colibri_imx7.h| 3 +--
>  include/configs/imxrt1050-evk.h   | 1 -
>  include/configs/mx23evk.h | 2 +-
>  include/configs/mx28evk.h | 2 +-
>  include/configs/mx6sxsabresd.h| 3 +--
>  include/configs/mx6ul_14x14_evk.h | 1 -
>  include/configs/mx7dsabresd.h | 3 +--
>  include/configs/mxs.h | 5 -
>  include/configs/opos6uldev.h  | 1 -
>  include/configs/pico-imx6ul.h | 3 +--
>  include/configs/pico-imx7d.h  | 1 -
>  23 files changed, 22 insertions(+), 25 deletions(-)

applied to u-boot-video/master.

--
Anatolij


Re: [PATCH] video: remove not used mx3fb driver

2021-10-12 Thread Anatolij Gustschin
On Mon,  4 Oct 2021 17:07:14 +0200
Anatolij Gustschin ag...@denx.de wrote:
> ---
>  drivers/video/Makefile  |   1 -
>  drivers/video/cfb_console.c |   7 -
>  drivers/video/mx3fb.c   | 906 
>  3 files changed, 914 deletions(-)
>  delete mode 100644 drivers/video/mx3fb.c

applied to u-boot-video/master.

--
Anatolij


Re: [PATCH] common: Kconfig: use 'vidconsole' name instead of old 'video'

2021-10-12 Thread Anatolij Gustschin
On Mon,  4 Oct 2021 16:04:32 +0200
Anatolij Gustschin ag...@denx.de wrote:
> ---
>  common/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-video/master.

--
Anatolij


Re: [PATCH v2 0/4] 30bpp framebuffer support

2021-10-12 Thread Anatolij Gustschin
On Sat, 25 Sep 2021 22:47:35 +0200
Mark Kettenis kette...@openbsd.org wrote:
...
> v2: - Encode pixel format in favour of adding VIDEO_30BPP
> - Recognize more format strings in simplefb driver
> - Fix EFI block image transfer for 30bpp mode
> 
> Mark Kettenis (4):
>   video: Add 30bpp support
>   efi_loader: GOP: Add 30bpp support
>   video: simplefb: Add 30bpp support
>   efi_loader: GOP: Fix 30bpp block transfer support
> 
>  drivers/video/simplefb.c  | 12 +-
>  drivers/video/vidconsole-uclass.c | 11 --
>  include/video.h   |  9 +
>  lib/efi_loader/efi_gop.c  | 61 +--
>  4 files changed, 86 insertions(+), 7 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij


Please pull u-boot-video

2021-10-09 Thread Anatolij Gustschin
Hi Tom,

please pull new video patches.

gitlab CI: 
https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/9433

Thanks,
Anatolij

The following changes since commit 94e922c76a0e1fcdead3359e340f53fd0709a963:

  Merge branch '2021-10-08-image-cleanups' (2021-10-08 16:02:55 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20211009

for you to fetch changes up to 79c05335a9c101f0b54f2f378d0b08c9b765e1a3:

  video: move MXS to Kconfig (2021-10-09 19:50:03 +0200)


 - add 30bpp support (EFI, simplefb, vidconsole)
 - fix video console name in CONSOLE_MUX Kconfig help
 - move mxsfb driver config option to Kconfig
 - remove unused mx3fb driver


Anatolij Gustschin (3):
  common: Kconfig: use 'vidconsole' name instead of old 'video'
  video: remove not used mx3fb driver
  video: move MXS to Kconfig

Mark Kettenis (4):
  video: Add 30bpp support
  efi_loader: GOP: Add 30bpp support
  video: simplefb: Add 30bpp support
  efi_loader: GOP: Fix 30bpp block transfer support

 common/Kconfig|   4 +-
 configs/colibri-imx6ull_defconfig |   1 +
 configs/colibri_imx7_defconfig|   1 +
 configs/imxrt1050-evk_defconfig   |   1 +
 configs/mx6ul_14x14_evk_defconfig |   1 +
 configs/mx6ul_9x9_evk_defconfig   |   1 +
 configs/opos6uldev_defconfig  |   1 +
 configs/pico-imx6ul_defconfig |   1 +
 configs/pico-imx7d_bl33_defconfig |   1 +
 configs/pico-imx7d_defconfig  |   1 +
 drivers/video/Kconfig |   6 +
 drivers/video/Makefile|   1 -
 drivers/video/cfb_console.c   |  11 -
 drivers/video/mx3fb.c | 906 --
 drivers/video/simplefb.c  |  12 +-
 drivers/video/vidconsole-uclass.c |  11 +-
 include/configs/colibri-imx6ull.h |   3 +-
 include/configs/colibri_imx7.h|   3 +-
 include/configs/imxrt1050-evk.h   |   1 -
 include/configs/mx23evk.h |   2 +-
 include/configs/mx28evk.h |   2 +-
 include/configs/mx6sxsabresd.h|   3 +-
 include/configs/mx6ul_14x14_evk.h |   1 -
 include/configs/mx7dsabresd.h |   3 +-
 include/configs/mxs.h |   5 -
 include/configs/opos6uldev.h  |   1 -
 include/configs/pico-imx6ul.h |   3 +-
 include/configs/pico-imx7d.h  |   1 -
 include/video.h   |   9 +
 lib/efi_loader/efi_gop.c  |  61 ++-
 30 files changed, 110 insertions(+), 948 deletions(-)
 delete mode 100644 drivers/video/mx3fb.c


Re: imx6 DM_VIDEObroken

2021-10-07 Thread Anatolij Gustschin
On Thu, 7 Oct 2021 12:50:04 -0700
Tim Harvey thar...@gateworks.com wrote:
...
> > then vidconsole should be enabled.  
> 
> Anatolij,
> 
> That is my configuration yet vidconsole does not enable until I
> 'setenv stdout serial,vidconsole':
> Ventana > print stdout
> stdout=serial,vidconsole
> ^^^ see splash, yet no vidconsole
> Ventana > setenv stdout serial,vidconsole
> ^^^ now I see vidconsole

Tim,

something in your board config or code must be different, then.
Do you use HDMI or LVDS display?

> Do you perhaps have another board to check this behavior with on master?

I've tested with current master and a modified wandboard configuration:

U-Boot SPL 2021.10-00525-g7a508a7245-dirty (Oct 07 2021 - 23:32:09 +0200)
Trying to boot from MMC1


U-Boot 2021.10-00525-g7a508a7245-dirty (Oct 07 2021 - 23:32:09 +0200)

CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz
Reset cause: WDOG
DRAM:  512 MiB
MMC:   FSL_SDHC: 4, FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
auto-detected panel HDMI
Display: HDMI (1024x768)
In:serial
Out:   vidconsole
Err:   vidconsole
Board: Wandboard rev B1
Net:   eth0: ethernet@2188000
Hit any key to stop autoboot:  0 
=> print stdout 
stdout=serial,vidconsole

HDMI monitor displays logo and video console text output starting with:
Board: Wandboard rev B1
Net:   eth0: ethernet@2188000
Hit any key to stop autoboot:  0 

It works on wandboard.

The wandboard_defconfig in master has CONFIG_CONSOLE_MUX disabled
and CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE enabled. Therefore I enabled
CONFIG_CONSOLE_MUX and disabled CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
via menuconfig for this test.
And additionally I used below patch to enable building this configuration:

diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index da995dd0f5..73e1a0701f 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -391,11 +391,11 @@ int power_init_board(void)
 /*
  * Do not overwrite the console
  * Use always serial for U-Boot console
- */
 int overwrite_console(void)
 {
return 1;
 }
+ */
 
 #ifdef CONFIG_CMD_BMODE
 static const struct boot_mode board_boot_modes[] = {


--
Anatolij


[PATCH] video: move MXS to Kconfig

2021-10-04 Thread Anatolij Gustschin
Move CONFIG_VIDEO_MXS from board headers to Kconfig
and drop it from obsolete cfb_console driver.

Signed-off-by: Anatolij Gustschin 
---
I'm CCing board maintainers, please review/ack.

 configs/colibri-imx6ull_defconfig | 1 +
 configs/colibri_imx7_defconfig| 1 +
 configs/imxrt1050-evk_defconfig   | 1 +
 configs/mx6ul_14x14_evk_defconfig | 1 +
 configs/mx6ul_9x9_evk_defconfig   | 1 +
 configs/opos6uldev_defconfig  | 1 +
 configs/pico-imx6ul_defconfig | 1 +
 configs/pico-imx7d_bl33_defconfig | 1 +
 configs/pico-imx7d_defconfig  | 1 +
 drivers/video/Kconfig | 6 ++
 drivers/video/cfb_console.c   | 4 
 include/configs/colibri-imx6ull.h | 3 +--
 include/configs/colibri_imx7.h| 3 +--
 include/configs/imxrt1050-evk.h   | 1 -
 include/configs/mx23evk.h | 2 +-
 include/configs/mx28evk.h | 2 +-
 include/configs/mx6sxsabresd.h| 3 +--
 include/configs/mx6ul_14x14_evk.h | 1 -
 include/configs/mx7dsabresd.h | 3 +--
 include/configs/mxs.h | 5 -
 include/configs/opos6uldev.h  | 1 -
 include/configs/pico-imx6ul.h | 3 +--
 include/configs/pico-imx7d.h  | 1 -
 23 files changed, 22 insertions(+), 25 deletions(-)

diff --git a/configs/colibri-imx6ull_defconfig 
b/configs/colibri-imx6ull_defconfig
index 739eea7c07..129b01f747 100644
--- a/configs/colibri-imx6ull_defconfig
+++ b/configs/colibri-imx6ull_defconfig
@@ -94,6 +94,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defconfig
index 39149167e0..4dccfe815c 100644
--- a/configs/colibri_imx7_defconfig
+++ b/configs/colibri_imx7_defconfig
@@ -90,6 +90,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig
index 6b302a7b82..3c7629c963 100644
--- a/configs/imxrt1050-evk_defconfig
+++ b/configs/imxrt1050-evk_defconfig
@@ -70,6 +70,7 @@ CONFIG_USB=y
 # CONFIG_SPL_DM_USB is not set
 CONFIG_USB_EHCI_HCD=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_BACKLIGHT_GPIO=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
diff --git a/configs/mx6ul_14x14_evk_defconfig 
b/configs/mx6ul_14x14_evk_defconfig
index d28b6f6e3c..50b7f98a60 100644
--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -89,6 +89,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/configs/mx6ul_9x9_evk_defconfig b/configs/mx6ul_9x9_evk_defconfig
index 1425724429..0ecb1eb72e 100644
--- a/configs/mx6ul_9x9_evk_defconfig
+++ b/configs/mx6ul_9x9_evk_defconfig
@@ -79,6 +79,7 @@ CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/configs/opos6uldev_defconfig b/configs/opos6uldev_defconfig
index 1e8d56e788..8e6f520fb1 100644
--- a/configs/opos6uldev_defconfig
+++ b/configs/opos6uldev_defconfig
@@ -102,6 +102,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP32 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
diff --git a/configs/pico-imx6ul_defconfig b/configs/pico-imx6ul_defconfig
index f027c866f5..2f2e5f9494 100644
--- a/configs/pico-imx6ul_defconfig
+++ b/configs/pico-imx6ul_defconfig
@@ -77,5 +77,6 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/configs/pico-imx7d_bl33_defconfig 
b/configs/pico-imx7d_bl33_defconfig
index 4657d51e23..24dbdcdafb 100644
--- a/configs/pico-imx7d_bl33_defconfig
+++ b/configs/pico-imx7d_bl33_defconfig
@@ -72,6 +72,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/configs/pico-imx7d_defconfig b/configs/pico-imx7d_defconfig
index c682948218..855c936f6e 100644
--- a/configs/pico-imx7d_defconfig
+++ b/configs/pico-imx7d_defconfig
@@ -76,6 +76,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_MXS=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 8b940d70eb..85a8635022 100644

[PATCH] video: remove not used mx3fb driver

2021-10-04 Thread Anatolij Gustschin
i.MX31 support was removed, and the non dm-video driver
is obsolete and not used. Remove it.

Signed-off-by: Anatolij Gustschin 
---
 drivers/video/Makefile  |   1 -
 drivers/video/cfb_console.c |   7 -
 drivers/video/mx3fb.c   | 906 
 3 files changed, 914 deletions(-)
 delete mode 100644 drivers/video/mx3fb.c

diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 7ae0ab2b35..95c1674edc 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -62,7 +62,6 @@ obj-$(CONFIG_VIDEO_MCDE_SIMPLE) += mcde_simple.o
 obj-${CONFIG_VIDEO_MESON} += meson/
 obj-${CONFIG_VIDEO_MIPI_DSI} += mipi_dsi.o
 obj-$(CONFIG_VIDEO_MVEBU) += mvebu_lcd.o
-obj-$(CONFIG_VIDEO_MX3) += mx3fb.o videomodes.o
 obj-$(CONFIG_VIDEO_MXS) += mxsfb.o videomodes.o
 obj-$(CONFIG_VIDEO_NX) += nexell_display.o videomodes.o nexell/
 obj-$(CONFIG_VIDEO_OMAP3) += omap3_dss.o
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 5e1ee061e8..18d3354950 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -81,13 +81,6 @@
 #define VIDEO_FB_16BPP_WORD_SWAP
 #endif
 
-/*
- * Defines for the i.MX31 driver (mx3fb.c)
- */
-#if defined(CONFIG_VIDEO_MX3) || defined(CONFIG_VIDEO_IPUV3)
-#define VIDEO_FB_16BPP_WORD_SWAP
-#endif
-
 /*
  * Include video_fb.h after definitions of VIDEO_HW_RECTFILL etc.
  */
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c
deleted file mode 100644
index e6dd2b83c6..00
--- a/drivers/video/mx3fb.c
+++ /dev/null
@@ -1,906 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2009
- * Guennadi Liakhovetski, DENX Software Engineering, 
- * Copyright (C) 2011
- * HALE electronic GmbH, 
- */
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include 
-#include 
-#include 
-#include 
-
-#include "videomodes.h"
-
-/* this might need panel specific set-up as-well */
-#define IF_CONF0
-
-/* -- controller specific stuff -- */
-
-/* IPU DMA Controller channel definitions. */
-enum ipu_channel {
-   IDMAC_IC_0 = 0, /* IC (encoding task) to memory */
-   IDMAC_IC_1 = 1, /* IC (viewfinder task) to memory */
-   IDMAC_ADC_0 = 1,
-   IDMAC_IC_2 = 2,
-   IDMAC_ADC_1 = 2,
-   IDMAC_IC_3 = 3,
-   IDMAC_IC_4 = 4,
-   IDMAC_IC_5 = 5,
-   IDMAC_IC_6 = 6,
-   IDMAC_IC_7 = 7, /* IC (sensor data) to memory */
-   IDMAC_IC_8 = 8,
-   IDMAC_IC_9 = 9,
-   IDMAC_IC_10 = 10,
-   IDMAC_IC_11 = 11,
-   IDMAC_IC_12 = 12,
-   IDMAC_IC_13 = 13,
-   IDMAC_SDC_0 = 14,   /* Background synchronous display data */
-   IDMAC_SDC_1 = 15,   /* Foreground data (overlay) */
-   IDMAC_SDC_2 = 16,
-   IDMAC_SDC_3 = 17,
-   IDMAC_ADC_2 = 18,
-   IDMAC_ADC_3 = 19,
-   IDMAC_ADC_4 = 20,
-   IDMAC_ADC_5 = 21,
-   IDMAC_ADC_6 = 22,
-   IDMAC_ADC_7 = 23,
-   IDMAC_PF_0 = 24,
-   IDMAC_PF_1 = 25,
-   IDMAC_PF_2 = 26,
-   IDMAC_PF_3 = 27,
-   IDMAC_PF_4 = 28,
-   IDMAC_PF_5 = 29,
-   IDMAC_PF_6 = 30,
-   IDMAC_PF_7 = 31,
-};
-
-/* More formats can be copied from the Linux driver if needed */
-enum pixel_fmt {
-   /* 2 bytes */
-   IPU_PIX_FMT_RGB565,
-   IPU_PIX_FMT_RGB666,
-   IPU_PIX_FMT_BGR666,
-   /* 3 bytes */
-   IPU_PIX_FMT_RGB24,
-};
-
-struct pixel_fmt_cfg {
-   u32 b0;
-   u32 b1;
-   u32 b2;
-   u32 acc;
-};
-
-static struct pixel_fmt_cfg fmt_cfg[] = {
-   [IPU_PIX_FMT_RGB24] = {
-   0x1600, 0x00E0, 0x0007, 3,
-   },
-   [IPU_PIX_FMT_RGB666] = {
-   0x0005000F, 0x000B000F, 0x0011000F, 1,
-   },
-   [IPU_PIX_FMT_BGR666] = {
-   0x0011000F, 0x000B000F, 0x0005000F, 1,
-   },
-   [IPU_PIX_FMT_RGB565] = {
-   0x0004003F, 0x000A000F, 0x000F003F, 1,
-   }
-};
-
-enum ipu_panel {
-   IPU_PANEL_SHARP_TFT,
-   IPU_PANEL_TFT,
-};
-
-/* IPU Common registers */
-/* IPU_CONF and its bits already defined in imx-regs.h */
-#define IPU_CHA_BUF0_RDY   (0x04 + IPU_BASE)
-#define IPU_CHA_BUF1_RDY   (0x08 + IPU_BASE)
-#define IPU_CHA_DB_MODE_SEL(0x0C + IPU_BASE)
-#define IPU_CHA_CUR_BUF(0x10 + IPU_BASE)
-#define IPU_FS_PROC_FLOW   (0x14 + IPU_BASE)
-#define IPU_FS_DISP_FLOW   (0x18 + IPU_BASE)
-#define IPU_TASKS_STAT (0x1C + IPU_BASE)
-#define IPU_IMA_ADDR   (0x20 + IPU_BASE)
-#define IPU_IMA_DATA   (0x24 + IPU_BASE)
-#define IPU_INT_CTRL_1 (0x28 + IPU_BASE)
-#define IPU_INT_CTRL_2 (0x2C + IPU_BASE)
-#define IPU_INT_CTRL_3 (0x30 + IPU_BASE)
-#define IPU_INT_CTRL_4 (0x34 + IPU_BASE)
-#define IPU_INT_CTRL_5 (0x38 + IPU_BASE)
-#define IPU_INT_STAT_1 (0x3C + IPU_BASE)
-#define IPU_INT_STAT_2 (0x40 + IPU_BASE)
-#define IPU_INT_STAT_3 (0x44 + IPU_BASE

[PATCH] common: Kconfig: use 'vidconsole' name instead of old 'video'

2021-10-04 Thread Anatolij Gustschin
After DM_VIDEO conversion the 'vidconsole' is the correct name
for the frame buffer console. 'video' will not work, so update
the description of the config option.

Signed-off-by: Anatolij Gustschin 
---
 common/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/Kconfig b/common/Kconfig
index ee14d3ad5b..1275c9b1b9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -182,8 +182,8 @@ config SYS_CONSOLE_IS_IN_ENV
default y if CONSOLE_MUX
help
  This allows multiple input/output devices to be set at boot time.
- For example, if stdout is set to "serial,video" then output will
- be sent to both the serial and video devices on boot. The
+ For example, if stdout is set to "serial,vidconsole" then output
+ will be sent to both the serial and video devices on boot. The
  environment variables can be updated after boot to change the
  input/output devices.
 
-- 
2.17.1



Re: imx6 DM_VIDEObroken

2021-10-04 Thread Anatolij Gustschin
On Wed, 29 Sep 2021 09:33:18 -0700
Tim Harvey thar...@gateworks.com wrote:
... 
> One last question on this. I have never used U-Boot vidconsole before.
> It does work if I 'setenv stdout serial,videconsole' but if I saveenv
> and reboot vidconsole is not enabled. Should I expect it to be or is
> it expected that if you want vidconsole you need to do a setenv in
> preboot?

if you have
CONFIG_CONSOLE_MUX=y
CONFIG_SYS_CONSOLE_IS_IN_ENV=y

and
# CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set

then vidconsole should be enabled.

--
Anatolij


Re: imx6 DM_VIDEObroken

2021-09-28 Thread Anatolij Gustschin
Hey Tim,

On Mon, 27 Sep 2021 17:25:58 -0700
Tim Harvey thar...@gateworks.com wrote:

> Anatolij,
> 
> Since commit d37618d18d49 ("imx: convert gwventana board to DM_VIDEO")
> video support for IMX6 based Ventana boards has been broken.

Back then I've tested similar DM_VIDEO conversion changes on i.mx6q
nitrogen6q board and on i.mx6d/i.mx6s wandboards, it was okay if
the board configuration uses the video console output during the
boot sequence (i.e. configured to show splash screen or to output
strings on vidconsole).
 
> I find that while the bind function for fsl_imx6q_ipu is called the
> probe never is (ipuv3_video_probe). Do you know why this is?

Is video console output used during the boot? If not, then it
might be the reason. With DM, the devices are probed when a subsystem
actually tries to use them. You can try to trigger probing via
switching to the video console output, i.e.:

 => setenv stdout vidconsole
> 
> I see that with commit 57f065fee2a4 ("video: ipuv3: add DM_VIDEO
> support") you mention that DTS files must include
> 'u-boot,dm-pre-reloc' for soc/ipu nodes to enable driver binding to
> ipu device but I haven't been able to get that to make a difference
> nor have I found a board that does this. You did add those props to
> imx6qdl.dtsi at one point but they are no longer there.

Does your board dts include imx6qdl-u-boot.dtsi ?

The u-boot,dm-pre-reloc properties were moved to this U-Boot specific
dtsi in 7932b1c9fdb73393aa110249c89bd426533c0649
(imx: imx6qdl: dtsi: move U-Boot specific change to u-boot.dtsi)

> There must have been several other IMX6 boards with video support that
> were affected by this so perhaps I'm missing something simple.

I did not test it recently, it looks I'll have to do it before the
new release.

--
Anatolij


Re: DM_VIDEO migration

2021-09-26 Thread Anatolij Gustschin
Hi Simon,

On Sun, 26 Sep 2021 09:53:24 -0600
Simon Glass s...@chromium.org wrote:

> Hi Anatolij,
> 
> It looks like it is well past time to complete the DM_VIDEO migration
> and drop the old code. There are still a few drivers left.
> 
> Are you looking at this? I could perhaps send an initial patch to remove a 
> few.

Yes, I'm aware of some unused drivers, i.e. mx3fb, ati_radeon_fb
(the latter is already removed in next). nokia_rx51 board does
not enable DM_VIDEO, but it still uses old cfb_console. Also
fsl_diu_fb and fsl_dcu_fb. I've removed all DM_VIDEO conversion
warnings, but there is still cleanup work needed on various board
files/headers. Also some Kconfig work is still needed. I'm working
on it.

Thanks,

--
Anatolij


Re: Rename of the u-boot-atmel custodian tree

2021-09-20 Thread Anatolij Gustschin
On Mon, 20 Sep 2021 06:46:01 +
eugen.hris...@microchip.com eugen.hris...@microchip.com wrote:
...
> Former u-boot-atmel tree is now u-boot-at91, available at :
> 
> https://source.denx.de/u-boot/custodians/u-boot-at91
> 
> Tom, do you know how can we update the U-boot denx wiki ?
> https://www.denx.de/wiki/U-Boot/Custodians

I've updated the git repo description in wiki.

--
Anatolij


Re: [PATCH 05/13] siemens: Move CONFIG_SYS_I2C_EEPROM_ADDR usage out of CONFIG namespace

2021-08-18 Thread Anatolij Gustschin
On Tue, 17 Aug 2021 17:59:40 -0400
Tom Rini tr...@konsulko.com wrote:

> The instances of CONFIG_SYS_I2C_EEPROM_ADDR on these platforms doesn't
> match up with the rest of the EERPOM related defines in U-Boot.  Move
> these out of the CONFIG namespace rather than make complex Kconfig
> logic.
> 
> Cc: Samuel Egli 
> Cc: Anatolij Gustschin 
> Cc: Heiko Schocher 
> Signed-off-by: Tom Rini 

Reviewed-by: Anatolij Gustschin 

But probably some more cleanup in other board config headers needed,
see comment below.

...
> diff --git a/include/configs/draco.h b/include/configs/draco.h
> index 396eb7ded500..7c1f071d99ec 100644
> --- a/include/configs/draco.h
> +++ b/include/configs/draco.h
> @@ -32,10 +32,6 @@
>  /* I2C Configuration */
>  #define CONFIG_SYS_I2C_SPEED 10
>  
> -#define CONFIG_SYS_I2C_EEPROM_ADDR  0x50
> -#define EEPROM_ADDR_DDR3 0x90
> -#define EEPROM_ADDR_CHIP 0x120

these defines are also in

 include/configs/etamin.h
 include/configs/rastaban.h
 include/configs/thuban.h

--
Anatolij


Re: [PATCH] video: Add simple driver for ST-Ericsson MCDE with pre-configured display

2021-08-06 Thread Anatolij Gustschin
On Fri,  2 Jul 2021 19:21:56 +0200
Stephan Gerhold step...@gerhold.net wrote:
...
>  drivers/video/Kconfig   |  12 +++
>  drivers/video/Makefile  |   1 +
>  drivers/video/mcde_simple.c | 141 
>  3 files changed, 154 insertions(+)
>  create mode 100644 drivers/video/mcde_simple.c

applied to u-boot-video/master, thanks!

--
Anatolij


Re: [PATCH] video: Hitachi panel: Drop bogus dependency on CONFIG_VIDEO

2021-08-06 Thread Anatolij Gustschin
On Tue, 27 Jul 2021 15:47:50 +0100
Andre Przywara andre.przyw...@arm.com wrote:
...
>  drivers/video/Kconfig | 1 -
>  1 file changed, 1 deletion(-)

applied to u-boot-video/master, thanks!

--
Anatolij


  1   2   3   4   5   6   7   8   9   10   >