Add u-boot splash screen support for AM62x
cover Add u-boot splash screen support for AM62x
Enable TI Display Subsystem(TIDSS) driver as UCLASS_VIDEO. Enable splash screen support, to display TI logo during boot-up. Tested on microtips panel (Model No: 13-101HIEBCAF0-S) supported by AM62x.
The changes in patch 4 depends on the patch sent for addition of am62x.env file to set environment variables for AM62x.
Nikhil M Jain (6):
drivers: core: ofnode: Add panel timing decode.
drivers: video: simple_panel: make simple panel independent of
backlight
drivers: video: tidss: TIDSS video driver support for AM62x
board: ti: am62x: am62x: Add splash screen env variables
board: ti: am62x: evm: Add splash screen support
tools: logos: Add TI logo files
MAINTAINERS | 1 + board/ti/am62x/am62x.env | 5 + board/ti/am62x/evm.c | 31 + drivers/core/ofnode.c | 53 ++ drivers/video/Kconfig | 2 + drivers/video/Makefile | 1 + drivers/video/simple_panel.c | 7 +- drivers/video/tidss/Kconfig | 18 + drivers/video/tidss/Makefile | 12 + drivers/video/tidss/tidss_drv.c | 960 +++++++++++++++++++++++++++++++ drivers/video/tidss/tidss_drv.h | 152 +++++ drivers/video/tidss/tidss_regs.h | 292 ++++++++++ include/dm/ofnode.h | 12 + tools/logos/ti.bmp | Bin 0 -> 447258 bytes tools/logos/ti.gz | Bin 0 -> 19604 bytes 15 files changed, 1544 insertions(+), 2 deletions(-) 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
Signature · 1 line
2.17.1
PATCH 1/6 drivers: core: ofnode: Add panel timing decode.
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.
--- drivers/core/ofnode.c | 53 +++++++++++++++++++++++++++++++++++++++++++ include/dm/ofnode.h | 12 ++++++++++ 2 files changed, 65 insertions(+)
drivers/core/ofnode.c +53 -0
@@ -991,6 +991,59 @@ 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" , &dt->hback_porch); + ret |=decode_timing_property (timings,"hfront-porch" , &dt->hfront_porch); + ret |=decode_timing_property (timings,"hactive" , &dt->hactive); + ret |=decode_timing_property (timings,"hsync-len" , &dt->hsync_len); + ret |=decode_timing_property (timings,"vback-porch" , &dt->vback_porch); + ret |=decode_timing_property (timings,"vfront-porch" , &dt->vfront_porch); + ret |=decode_timing_property (timings,"vactive" , &dt->vactive); + ret |=decode_timing_property (timings,"vsync-len" , &dt->vsync_len); + ret |=decode_timing_property (timings,"clock-frequency" , &dt->pixelclock); + dt->flags =0 ; + val =ofnode_read_u32_default (timings,"vsync-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_VSYNC_HIGH : +DISPLAY_FLAGS_VSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"hsync-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_HSYNC_HIGH : +DISPLAY_FLAGS_HSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"de-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_DE_HIGH : +DISPLAY_FLAGS_DE_LOW ; + } + val =ofnode_read_u32_default (timings,"pixelclk-active" ,-1 ); +if (val !=-1 ) { + 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))
include/dm/ofnode.h +12 -0
@@ -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 *
Signature · 1 line
2.17.1
Re: [PATCH 1/6] drivers: core: ofnode: Add panel timing decode.
Hi Nikhil,
Quoted 35 lines · Nikhil M Jain
ofnode_decode_display_timingsupports 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 itofnode_decode_panel_timingis added.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/core/ofnode.c | 53 +++++++++++++++++++++++++++++++++++++++++++ include/dm/ofnode.h | 12 ++++++++++ 2 files changed, 65 insertions(+)drivers/core/ofnode.c +14
-0@@ -991,6 +991,59 @@ 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" , &dt->hback_porch); + ret |=decode_timing_property (timings,"hfront-porch" , &dt->hfront_porch);
drivers/core/ofnode.c int ofnode_decode_display_timing(ofnode parent, int index, · line 1017
Quoted 10 lines
drivers/core/ofnode.c +10
-0+ ret |=decode_timing_property (timings,"hactive" , &dt->hactive); + ret |=decode_timing_property (timings,"hsync-len" , &dt->hsync_len); + ret |=decode_timing_property (timings,"vback-porch" , &dt->vback_porch); + ret |=decode_timing_property (timings,"vfront-porch" , &dt->vfront_porch); + ret |=decode_timing_property (timings,"vactive" , &dt->vactive); + ret |=decode_timing_property (timings,"vsync-len" , &dt->vsync_len); + ret |=decode_timing_property (timings,"clock-frequency" , &dt->pixelclock); + dt->flags =0 ; + val =ofnode_read_u32_default (timings,"vsync-active" ,-1 ); +if (val !=-1 ) {
if (!ofnode_read_u32(timings, "vsync-active", &val)) {
Please fix below also
Quoted 56 lines
drivers/core/ofnode.c +29
-0+ dt->flags |= val ?DISPLAY_FLAGS_VSYNC_HIGH : +DISPLAY_FLAGS_VSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"hsync-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_HSYNC_HIGH : +DISPLAY_FLAGS_HSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"de-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_DE_HIGH : +DISPLAY_FLAGS_DE_LOW ; + } + val =ofnode_read_u32_default (timings,"pixelclk-active" ,-1 ); +if (val !=-1 ) { + 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))include/dm/ofnode.h +12
-1@@ -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 * --
Quoted 2 lines
2.17.1
Please add a test to test/dm/ofnode.c
Regards,
Simon
Re: [PATCH 1/6] drivers: core: ofnode: Add panel timing decode.
Hi Simon,
Quoted 105 lines · Simon Glass
Hi Nikhil,
Quoted 35 lines · Nikhil M Jain
ofnode_decode_display_timingsupports 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 itofnode_decode_panel_timingis added.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/core/ofnode.c | 53 +++++++++++++++++++++++++++++++++++++++++++ include/dm/ofnode.h | 12 ++++++++++ 2 files changed, 65 insertions(+)drivers/core/ofnode.c +14
-0@@ -991,6 +991,59 @@ 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" , &dt->hback_porch); + ret |=decode_timing_property (timings,"hfront-porch" , &dt->hfront_porch);drivers/core/ofnode.c int ofnode_decode_display_timing(ofnode parent, int index, · line 1017
Quoted 10 lines
drivers/core/ofnode.c +10
-0+ ret |=decode_timing_property (timings,"hactive" , &dt->hactive); + ret |=decode_timing_property (timings,"hsync-len" , &dt->hsync_len); + ret |=decode_timing_property (timings,"vback-porch" , &dt->vback_porch); + ret |=decode_timing_property (timings,"vfront-porch" , &dt->vfront_porch); + ret |=decode_timing_property (timings,"vactive" , &dt->vactive); + ret |=decode_timing_property (timings,"vsync-len" , &dt->vsync_len); + ret |=decode_timing_property (timings,"clock-frequency" , &dt->pixelclock); + dt->flags =0 ; + val =ofnode_read_u32_default (timings,"vsync-active" ,-1 ); +if (val !=-1 ) {if (!ofnode_read_u32(timings, "vsync-active", &val)) {
Please fix below also
Quoted 52 lines
drivers/core/ofnode.c +29
-0+ dt->flags |= val ?DISPLAY_FLAGS_VSYNC_HIGH : +DISPLAY_FLAGS_VSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"hsync-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_HSYNC_HIGH : +DISPLAY_FLAGS_HSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"de-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_DE_HIGH : +DISPLAY_FLAGS_DE_LOW ; + } + val =ofnode_read_u32_default (timings,"pixelclk-active" ,-1 ); +if (val !=-1 ) { + 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))include/dm/ofnode.h +12
-0@@ -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); +
Quoted 9 lines
Quoted 6 lines
include/dm/ofnode.h +0
-1/** * ofnode_get_property() - get a pointer to the value of a node property * -- 2.17.1
Please add a test to
test/dm/ofnode.c
Wanted to confirm whether I need to add a test for ofnode_get_property or for the ofnode_decode_panel_timings.
Quoted 2 lines
Regards,
Simon
Thanks
Re: [PATCH 1/6] drivers: core: ofnode: Add panel timing decode.
Hi Nikhl,
Quoted 118 lines · Nikhl M Jain
Hi Simon,
Quoted 105 lines · Simon Glass
Hi Nikhil,
Quoted 35 lines · Nikhil M Jain
ofnode_decode_display_timingsupports 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 itofnode_decode_panel_timingis added.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/core/ofnode.c | 53 +++++++++++++++++++++++++++++++++++++++++++ include/dm/ofnode.h | 12 ++++++++++ 2 files changed, 65 insertions(+)drivers/core/ofnode.c +14
-0@@ -991,6 +991,59 @@ 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" , &dt->hback_porch); + ret |=decode_timing_property (timings,"hfront-porch" , &dt->hfront_porch);drivers/core/ofnode.c int ofnode_decode_display_timing(ofnode parent, int index, · line 1017
Quoted 10 lines
drivers/core/ofnode.c +10
-0+ ret |=decode_timing_property (timings,"hactive" , &dt->hactive); + ret |=decode_timing_property (timings,"hsync-len" , &dt->hsync_len); + ret |=decode_timing_property (timings,"vback-porch" , &dt->vback_porch); + ret |=decode_timing_property (timings,"vfront-porch" , &dt->vfront_porch); + ret |=decode_timing_property (timings,"vactive" , &dt->vactive); + ret |=decode_timing_property (timings,"vsync-len" , &dt->vsync_len); + ret |=decode_timing_property (timings,"clock-frequency" , &dt->pixelclock); + dt->flags =0 ; + val =ofnode_read_u32_default (timings,"vsync-active" ,-1 ); +if (val !=-1 ) {if (!ofnode_read_u32(timings, "vsync-active", &val)) {
Please fix below also
Quoted 52 lines
drivers/core/ofnode.c +29
-0+ dt->flags |= val ?DISPLAY_FLAGS_VSYNC_HIGH : +DISPLAY_FLAGS_VSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"hsync-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_HSYNC_HIGH : +DISPLAY_FLAGS_HSYNC_LOW ; + } + val =ofnode_read_u32_default (timings,"de-active" ,-1 ); +if (val !=-1 ) { + dt->flags |= val ?DISPLAY_FLAGS_DE_HIGH : +DISPLAY_FLAGS_DE_LOW ; + } + val =ofnode_read_u32_default (timings,"pixelclk-active" ,-1 ); +if (val !=-1 ) { + 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))include/dm/ofnode.h +12
-0@@ -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); +Quoted 9 lines
Quoted 6 lines
include/dm/ofnode.h +0
-1/** * ofnode_get_property() - get a pointer to the value of a node property * -- 2.17.1
Please add a test to
test/dm/ofnode.c
Quoted 2 lines
Wanted to confirm whether I need to add a test for
ofnode_get_propertyor for theofnode_decode_panel_timings.
I mean for ofnode_decode_panel_timing().
You could certainly add a separate test for ofnode_get_property() too. It is somewhat implicitly tested by things like dm_test_read_int(), but more direct tests are always useful.
Regards,
Simon
PATCH 2/6 drivers: video: simple_panel: make simple panel independent of backlight
In reply to Nikhil M JainTo support boards which don't need backlight control for displays, uclass_get_device_by_phandle(UCLASS_PANEL_BACKLIGHT, dev, "backlight", &priv->backlight); returns ENOENT which can be overlooked.
--- drivers/video/simple_panel.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/video/simple_panel.c +5 -2
@@ -63,12 +63,15 @@ static int simple_panel_of_to_plat(struct udevice *dev)return ret; } } + ret =uclass_get_device_by_phandle (UCLASS_PANEL_BACKLIGHT , dev, -"backlight" , &priv->backlight); +"backlight" , &priv->backlight);if (ret) {debug ("%s: Cannot get backlight: ret=%d\n" , __func__, ret); -return log_ret (ret); +if (ret != -ENOENT ) +return log_ret (ret); } + ret =gpio_request_by_name (dev,"enable-gpios" ,0 , &priv->enable,GPIOD_IS_OUT );if (ret) {
Signature · 1 line
2.17.1
Re: [PATCH 2/6] drivers: video: simple_panel: make simple panel independent of backlight
Quoted 11 lines · Nikhil M Jain
To support boards which don't need backlight control for displays,
uclass_get_device_by_phandle(UCLASS_PANEL_BACKLIGHT, dev, "backlight", &priv->backlight); returns ENOENT which can be overlooked.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/simple_panel.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
but please see below
PATCH 3/6 drivers: video: tidss: TIDSS video driver support for AM62x
In reply to Nikhil M JainAdded tidss video driver support which enables display on oldi panel using AM62x, it creates a simple pipeline framebuffer==>vidl1==>ovr1==>vp1==>oldi_panel and calculates clock rates for panel from panel node in device tree.
To compile TIDSS when user sets CONFIG_VIDEO_TIDSS add rule in Makefile. Include tidss folder location in Kconfig.
TIDSS is ported from linux kernel version 5.10.145
--- MAINTAINERS | 1 + drivers/video/Kconfig | 2 + drivers/video/Makefile | 1 + drivers/video/tidss/Kconfig | 18 + drivers/video/tidss/Makefile | 12 + drivers/video/tidss/tidss_drv.c | 960 +++++++++++++++++++++++++++++++ drivers/video/tidss/tidss_drv.h | 152 +++++ drivers/video/tidss/tidss_regs.h | 292 ++++++++++ 8 files changed, 1438 insertions(+) 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
MAINTAINERS +1 -0
@@ -644,6 +644,7 @@ F: drivers/soc/ti/ F: drivers/sysreset/sysreset-ti-sci.c F: drivers/thermal/ti-bandgap.c F: drivers/timer/omap-timer.c +F: drivers/video/tidss/ F: drivers/watchdog/omap_wdt.c F: include/linux/pruss_driver.h F: include/linux/soc/ti/
drivers/video/Kconfig +2 -0
@@ -634,6 +634,8 @@ config VIDEO_SANDBOX_SDL source "drivers/video/stm32/Kconfig" +source "drivers/video/tidss/Kconfig" + config VIDEO_TEGRA20 bool "Enable LCD support on Tegra20" depends on OF_CONTROL
drivers/video/Makefile +1 -0
@@ -26,6 +26,7 @@ obj-${CONFIG_EXYNOS_FB} += exynos/ obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/ obj-${CONFIG_VIDEO_STM32} += stm32/ obj-${CONFIG_VIDEO_TEGRA124} += tegra124/ +obj-${CONFIG_VIDEO_TIDSS} += tidss/ obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o obj-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o
drivers/video/tidss/Kconfig new file +18 -0
@@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/ +# Nikhil M Jain, [email protected] +# +# based on the linux tidss driver, which is +# +# (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/ +# Author: Tomi Valkeinen <[email protected]> + +menuconfig VIDEO_TIDSS + bool "Enable TIDSS video support" + depends on VIDEO + help + TIDSS supports video output options LVDS and + DPI . This option enables these supports which can be used on + devices which have OLDI or HDMI display connected. +
drivers/video/tidss/Makefile new file +12 -0
@@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/ +# Nikhil M Jain, [email protected] +# +# based on the linux tidss driver, which is +# +# (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/ +# Author: Tomi Valkeinen <[email protected]> + + +obj-${CONFIG_VIDEO_TIDSS} = tidss_drv.o
drivers/video/tidss/tidss_drv.c new file +960 -0
960 lines not on this page · raw message
drivers/video/tidss/tidss_drv.h new file +152 -0
152 lines not on this page · raw message
drivers/video/tidss/tidss_regs.h new file +292 -0
292 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [PATCH 3/6] drivers: video: tidss: TIDSS video driver support for AM62x
() aHi Nikhil,
Quoted 131 lines · Nikhil M Jain
Added tidss video driver support which enables display on oldi panel using AM62x, it creates a simple pipeline framebuffer==>vidl1==>ovr1==>vp1==>oldi_panel and calculates clock rates for panel from panel node in device tree.
To compile TIDSS when user sets
CONFIG_VIDEO_TIDSSadd rule inMakefile. Include tidss folder location inKconfig.TIDSS is ported from linux kernel version 5.10.145
Signed-off-by Nikhil M Jain <[email protected]>--- MAINTAINERS | 1 + drivers/video/Kconfig | 2 + drivers/video/Makefile | 1 + drivers/video/tidss/Kconfig | 18 + drivers/video/tidss/Makefile | 12 + drivers/video/tidss/tidss_drv.c | 960 +++++++++++++++++++++++++++++++ drivers/video/tidss/tidss_drv.h | 152 +++++ drivers/video/tidss/tidss_regs.h | 292 ++++++++++ 8 files changed, 1438 insertions(+) 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.hMAINTAINERS +1
-0@@ -644,6 +644,7 @@ F: drivers/soc/ti/ F: drivers/sysreset/sysreset-ti-sci.c F: drivers/thermal/ti-bandgap.c F: drivers/timer/omap-timer.c +F: drivers/video/tidss/ F: drivers/watchdog/omap_wdt.c F: include/linux/pruss_driver.h F: include/linux/soc/ti/drivers/video/Kconfig +2
-0@@ -634,6 +634,8 @@ config VIDEO_SANDBOX_SDL source "drivers/video/stm32/Kconfig" +source "drivers/video/tidss/Kconfig" + config VIDEO_TEGRA20 bool "Enable LCD support on Tegra20" depends on OF_CONTROLdrivers/video/Makefile +1
-0@@ -26,6 +26,7 @@ obj-${CONFIG_EXYNOS_FB} += exynos/ obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/ obj-${CONFIG_VIDEO_STM32} += stm32/ obj-${CONFIG_VIDEO_TEGRA124} += tegra124/ +obj-${CONFIG_VIDEO_TIDSS} += tidss/ obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o obj-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.odrivers/video/tidss/Kconfig new file +18
-0@@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/ +# Nikhil M Jain, [email protected] +# +# based on the linux tidss driver, which is +# +# (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/ +# Author: Tomi Valkeinen <[email protected]> + +menuconfig VIDEO_TIDSS + bool "Enable TIDSS video support" + depends on VIDEO + help + TIDSS supports video output options LVDS and + DPI . This option enables these supports which can be used on + devices which have OLDI or HDMI display connected. +drivers/video/tidss/Makefile new file +12
-0@@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/ +# Nikhil M Jain, [email protected] +# +# based on the linux tidss driver, which is +# +# (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/ +# Author: Tomi Valkeinen <[email protected]> + + +obj-${CONFIG_VIDEO_TIDSS} = tidss_drv.odrivers/video/tidss/tidss_drv.c new file +16
-0@@ -0,0 +1,960 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/ +* Nikhil M Jain, [email protected] +* +* based on the linux tidss driver, which is +* +* (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/ +* Author: Tomi Valkeinen <[email protected]> +*/ + +#include <dm.h> +#include <clk.h> +#include <log.h> +#include <video.h> +#include <errno.h>
drivers/video/tidss/tidss_drv.c line 26
Quoted 10 lines
drivers/video/tidss/tidss_drv.c new file +10
-0+#include <panel.h> +#include <reset.h> +#include <malloc.h> +#include <fdtdec.h> +#include <common.h> +#include <syscon.h> +#include <regmap.h> +#include <linux/iopoll.h> +#include <cpu_func.h> +#include <media_bus_format.h>
Please sort those and put the linux one below
Quoted 57 lines
drivers/video/tidss/tidss_drv.c new file +57
-0+ +#include <asm/io.h> +#include <asm/cache.h> +#include <asm/utils.h> +#include <asm/bitops.h> + +#include <linux/bug.h> + +#include <dm/devres.h> +#include <dm/of_access.h> +#include <dm/device_compat.h> +#include <dm/device-internal.h> + +#include <linux/delay.h> +#include <linux/err.h> + +#include "tidss_drv.h" +#include "tidss_regs.h" + +DECLARE_GLOBAL_DATA_PTR ; + +/* Panel parameters */ +enum { +LCD_MAX_WIDTH =1920 , +LCD_MAX_HEIGHT =1200 , +LCD_MAX_LOG2_BPP =VIDEO_BPP32 , +}; + +static const u16 *dss_common_regmap; + +static const u16 tidss_am62x_common_regs[DSS_COMMON_REG_TABLE_LEN ] = { + [DSS_REVISION_OFF ] =0x4 , + [DSS_SYSCONFIG_OFF ] =0x8 , + [DSS_SYSSTATUS_OFF ] =0x20 , + [DSS_IRQ_EOI_OFF ] =0x24 , + [DSS_IRQSTATUS_RAW_OFF ] =0x28 , + [DSS_IRQSTATUS_OFF ] =0x2c , + [DSS_IRQENABLE_SET_OFF ] =0x30 , + [DSS_IRQENABLE_CLR_OFF ] =0x40 , + [DSS_VID_IRQENABLE_OFF ] =0x44 , + [DSS_VID_IRQSTATUS_OFF ] =0x58 , + [DSS_VP_IRQENABLE_OFF ] =0x70 , + [DSS_VP_IRQSTATUS_OFF ] =0x7c , + + [WB_IRQENABLE_OFF ] =0x88 , + [WB_IRQSTATUS_OFF ] =0x8c , + + [DSS_GLOBAL_MFLAG_ATTRIBUTE_OFF ] =0x90 , + [DSS_GLOBAL_OUTPUT_ENABLE_OFF ] =0x94 , + [DSS_GLOBAL_BUFFER_OFF ] =0x98 , + [DSS_CBA_CFG_OFF ] =0x9c , + [DSS_DBG_CONTROL_OFF ] =0xa0 , + [DSS_DBG_STATUS_OFF ] =0xa4 , + [DSS_CLKGATING_DISABLE_OFF ] =0xa8 , + [DSS_SECURE_DISABLE_OFF ] =0xac , +}; +
[..]
drivers/video/tidss/tidss_drv.c line 174
Quoted 4 lines
drivers/video/tidss/tidss_drv.c new file +4
-0+static u32 FLD_MASK (u32 start,u32 end) +{ +return ((1 << (start - end +1 )) -1 ) << end; +}
Is this like GENMASK etc.? Please use lower case for function names and add comments as to what on earth these do :-)
Quoted 56 lines
drivers/video/tidss/tidss_drv.c new file +56
-0+ +static u32 FLD_VAL (u32 val,u32 start,u32 end) +{ +return (val << end) &FLD_MASK (start, end); +} + +static u32 FLD_GET (u32 val,u32 start,u32 end) +{ +return (val &FLD_MASK (start, end)) >> end; +} + +static u32 FLD_MOD (u32 orig,u32 val,u32 start,u32 end) +{ +return (orig & ~FLD_MASK (start, end)) |FLD_VAL (val, start, end); +} + +__maybe_unused +static u32 REG_GET (struct tidss_drv_priv *priv,u32 idx,u32 start,u32 end) +{ +return FLD_GET (dss_read (priv, idx), start, end); +} + +static void REG_FLD_MOD (struct tidss_drv_priv *priv,u32 idx,u32 val, +u32 start,u32 end) +{ +dss_write (priv, idx,FLD_MOD (dss_read (priv, idx), val, + start, end)); +} + +static u32 VID_REG_GET (struct tidss_drv_priv *priv,u32 hw_plane,u32 idx, +u32 start,u32 end) +{ +return FLD_GET (dss_vid_read (priv, hw_plane, idx), start, end); +} + +static void VID_REG_FLD_MOD (struct tidss_drv_priv *priv,u32 hw_plane,u32 idx, +u32 val,u32 start,u32 end) +{ +dss_vid_write (priv, hw_plane, idx, +FLD_MOD (dss_vid_read (priv, hw_plane, idx), + val, start, end)); +} + +__maybe_unused +static u32 VP_REG_GET (struct tidss_drv_priv *priv,u32 vp,u32 idx, +u32 start,u32 end) +{ +return FLD_GET (dss_vp_read (priv, vp, idx), start, end); +} + +static void VP_REG_FLD_MOD (struct tidss_drv_priv *priv,u32 vp,u32 idx,u32 val, +u32 start,u32 end) +{ +dss_vp_write (priv, vp, idx,FLD_MOD (dss_vp_read (priv, vp, idx), + val, start, end)); +}
drivers/video/tidss/tidss_drv.c line 240
Quoted 10 lines
drivers/video/tidss/tidss_drv.c new file +10
-0+ +__maybe_unused +static u32 OVR_REG_GET (struct tidss_drv_priv *priv,u32 ovr,u32 idx, +u32 start,u32 end) +{ +return FLD_GET (dss_ovr_read (priv, ovr, idx), start, end); +} + +static void OVR_REG_FLD_MOD (struct tidss_drv_priv *priv,u32 ovr,u32 idx, +u32 val,u32 start,u32 end)
Why all the u32? You should be able to use natural types like uint
Quoted 5 lines
drivers/video/tidss/tidss_drv.c new file +5
-0+{ +dss_ovr_write (priv, ovr, idx,FLD_MOD (dss_ovr_read (priv, ovr, idx), + val, start, end)); +} +
[..]
drivers/video/tidss/tidss_drv.c line 754
Quoted 2 lines
drivers/video/tidss/tidss_drv.c new file +2
-0+ +int tidss_drv_init (struct tidss_drv_priv *priv)
Should not export functions. What is this for?
Quoted 10 lines
drivers/video/tidss/tidss_drv.c new file +10
-0+{ +dss_plane_init (priv); +dss_vp_init (priv); +return 0 ; +} + +static int tidss_drv_probe (struct udevice *dev) +{ +struct video_uc_plat *uc_plat =dev_get_uclass_plat (dev); +struct video_priv *uc_priv =dev_get_uclass_priv (dev);
drivers/video/tidss/tidss_drv.c line 774
Quoted 10 lines
drivers/video/tidss/tidss_drv.c new file +10
-0+struct tidss_drv_priv *priv =dev_get_priv (dev); +struct udevice *panel =NULL ; +struct display_timing timings; +unsigned int i; +int ret =0 ; +const char *mode; + + priv =devm_kzalloc (dev,sizeof (*priv),GFP_KERNEL ); +if (!priv) +return -ENOMEM ;
It is already allocated by driver model - see dev_get_priv() above.
Quoted 12 lines
drivers/video/tidss/tidss_drv.c new file +12
-0+ + priv->dev = dev; + + priv->feat = &dss_am625_feats; + +/* +* set your plane format based on your bmp image +* Supported 24bpp and 32bpp bmpimages +*/ + + priv->pixel_format =DSS_FORMAT_XRGB8888 ; +
[..]
drivers/video/tidss/tidss_drv.c line 940
Quoted 5 lines
drivers/video/tidss/tidss_drv.c new file +5
-0+static int tidss_ofdata_to_platdata (struct udevice *dev) +{ +ofnode node; + + node =ofnode_by_compatible (ofnode_null (),"ti,am625-dss" );
What is going on here? Drivers should be discovered by having a driver. Please drop this code.
Quoted 166 lines
drivers/video/tidss/tidss_drv.c new file +20
-0+ +if (!ofnode_valid (node)) { +dev_err (dev,"missing 'ti,am625-dss' node\n" ); +return -ENXIO ; + } + +return 0 ; +} + +U_BOOT_DRIVER (tidss_drv) = { + .name ="tidss_drv" , + .id =UCLASS_VIDEO , + .of_match = tidss_drv_ids, + .bind = tidss_drv_bind, + .of_to_plat = tidss_ofdata_to_platdata, + .probe = tidss_drv_probe, + .remove = tidss_drv_remove, + .priv_auto =sizeof (struct tidss_drv_priv ), + .flags =DM_FLAG_OS_PREPARE , +};drivers/video/tidss/tidss_drv.h new file +140
-0@@ -0,0 +1,152 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/ +* Nikhil M Jain, [email protected] +* +* based on the linux tidss driver, which is +* +* (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/ +* Author: Tomi Valkeinen <[email protected]> +*/ + +#ifndef __TIDSS_DRV_H__ +#define __TIDSS_DRV_H__ + +#include <media_bus_format.h> + +#define TIDSS_MAX_PORTS 4 +#define TIDSS_MAX_PLANES 4 + +enum dss_vp_bus_type { + DSS_VP_DPI, /* DPI output */ + DSS_VP_OLDI, /* OLDI (LVDS) output */ + DSS_VP_INTERNAL, /* SoC internal routing */ + DSS_VP_MAX_BUS_TYPE, +}; + +enum dss_oldi_modes { + OLDI_MODE_OFF, /* OLDI turned off / tied off in IP. */ + OLDI_SINGLE_LINK_SINGLE_MODE, /* Single Output over OLDI 0. */ + OLDI_SINGLE_LINK_DUPLICATE_MODE, /* Duplicate Output over OLDI 0 and 1. */ + OLDI_DUAL_LINK, /* Combined Output over OLDI 0 and 1. */ +}; + +struct dss_features_scaling { + u32 in_width_max_5tap_rgb; + u32 in_width_max_3tap_rgb; + u32 in_width_max_5tap_yuv; + u32 in_width_max_3tap_yuv; + u32 upscale_limit; + u32 downscale_limit_5tap; + u32 downscale_limit_3tap; + u32 xinc_max; +}; + +enum tidss_gamma_type { TIDSS_GAMMA_8BIT, TIDSS_GAMMA_10BIT }; + +enum dss_subrevision { + DSS_K2G, + DSS_AM65X, + DSS_J721E, + DSS_AM625, +}; + +struct tidss_vp_feat { + struct tidss_vp_color_feat { + u32 gamma_size; + enum tidss_gamma_type gamma_type; + bool has_ctm; + } color; +}; + +struct tidss_scale_coefs { + s16 c2[16]; + s16 c1[16]; + u16 c0[9]; +}; + +struct dss_color_lut { + /* + * Data is U0.16 fixed point format. + */ + __u16 red; + __u16 green; + __u16 blue; + __u16 reserved; +}; + +struct dss_vp_data { + u32 *gamma_table; +}; + +struct dss_features { + int min_pclk_khz; + int max_pclk_khz[DSS_VP_MAX_BUS_TYPE]; + + struct dss_features_scaling scaling; + + enum dss_subrevision subrev; + + const char *common; + const u16 *common_regs; + u32 num_vps; + const char *vp_name[TIDSS_MAX_PORTS]; /* Should match dt reg names */ + const char *ovr_name[TIDSS_MAX_PORTS]; /* Should match dt reg names */ + const char *vpclk_name[TIDSS_MAX_PORTS]; /* Should match dt clk names */ + const enum dss_vp_bus_type vp_bus_type[TIDSS_MAX_PORTS]; + struct tidss_vp_feat vp_feat; + u32 num_planes; + const char *vid_name[TIDSS_MAX_PLANES]; /* Should match dt reg names */ + bool vid_lite[TIDSS_MAX_PLANES]; + u32 vid_order[TIDSS_MAX_PLANES]; +}; + +enum dss_oldi_mode_reg_val { SPWG_18 = 0, JEIDA_24 = 1, SPWG_24 = 2 }; + +struct dss_bus_format { + u32 bus_fmt; + u32 data_width; + bool is_oldi_fmt; + enum dss_oldi_mode_reg_val oldi_mode_reg_val; +}; + +static struct dss_bus_format dss_bus_formats[] = { + { MEDIA_BUS_FMT_RGB444_1X12, 12, false, 0 }, + { MEDIA_BUS_FMT_RGB565_1X16, 16, false, 0 }, + { MEDIA_BUS_FMT_RGB666_1X18, 18, false, 0 }, + { MEDIA_BUS_FMT_RGB888_1X24, 24, false, 0 }, + { MEDIA_BUS_FMT_RGB101010_1X30, 30, false, 0 }, + { MEDIA_BUS_FMT_RGB121212_1X36, 36, false, 0 }, + { MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, 18, true, SPWG_18 }, + { MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 24, true, SPWG_24 }, + { MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, 24, true, JEIDA_24 }, +}; + +struct tidss_drv_priv { + struct udevice *dev; + void __iomem *base_common; + void __iomem *base_vid[TIDSS_MAX_PLANES]; + void __iomem *base_ovr[TIDSS_MAX_PORTS]; + void __iomem *base_vp[TIDSS_MAX_PORTS]; + struct regmap *oldi_io_ctrl; + + struct clk vp_clk[TIDSS_MAX_PORTS]; + + const struct dss_features *feat; + + struct clk fclk; + + bool is_enabled; +
drivers/video/tidss/tidss_drv.h line 150
Quoted 10 lines
drivers/video/tidss/tidss_drv.h new file +10
-0+struct dss_vp_data vp_data[TIDSS_MAX_PORTS ]; + +enum dss_oldi_modes oldi_mode; + +struct dss_bus_format *bus_format; + +u32 pixel_format; + +u32 memory_bandwidth_limit; +};
Please comment this structure and drop the extra blank lines. This is not Linux :-)
Quoted 2 lines
drivers/video/tidss/tidss_drv.h new file +2
-0+ +#endif
PATCH 4/6 board: ti: am62x: am62x: Add splash screen env variables
In reply to Nikhil M JainSet 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 0x82000000 and splash position is set to middle of screen.
--- board/ti/am62x/am62x.env | 5 +++++ 1 file changed, 5 insertions(+)
board/ti/am62x/am62x.env +5 -0
@@ -103,3 +103,8 @@ get_kern_mmc=load mmc ${bootpart} ${loadaddr} get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit} partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs} + +splashfile=ti.gz +splashimage=0x82000000 +splashpos=m,m +splashsource=mmc
Signature · 1 line
2.17.1
PATCH 5/6 board: ti: am62x: evm: Add splash screen support
In reply to Nikhil M JainSplash 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.
--- board/ti/am62x/evm.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
board/ti/am62x/evm.c +31 -0
@@ -10,6 +10,8 @@#include <asm/io.h> #include <spl.h> #include <dm/uclass.h> +#include <video.h> +#include <splash.h> #include <k3-ddrss.h> #include <fdt_support.h> #include <asm/arch/hardware.h>
@@ -18,8 +20,37 @@DECLARE_GLOBAL_DATA_PTR ; +#ifdef CONFIG_SPLASH_SCREEN +static struct splash_location default_splash_locations[] = { + { + .name ="mmc" , + .storage =SPLASH_STORAGE_MMC , + .flags =SPLASH_STORAGE_FS , + .devpart ="1:1" , + }, + }; + +int splash_screen_prepare (void ) +{ +return splash_source_load (default_splash_locations, +ARRAY_SIZE (default_splash_locations)); +} +#endif +int board_init (void ) { +if (IS_ENABLED (CONFIG_VIDEO_TIDSS )) { +int ret; +struct udevice *dev; + + ret =uclass_get_device_by_name (UCLASS_VIDEO ,"dss@30200000" , &dev); +if (ret) { +debug ("%s: Error device dss@30200000 tree not node added %d\n" + , __func__, ret); +if (ret != -ENODEV ) +panic ("Cannot get DSS device: %d\n" , ret); + } + }return 0 ; }
Signature · 1 line
2.17.1
Re: [PATCH 5/6] board: ti: am62x: evm: Add splash screen support
Hi Nikhil,
Quoted 42 lines · Nikhil M Jain
Splash screen function needs splash source information to load image and display it,
splash_locationprovides the necessary info, Setdefault_splash_locationto MMC at partition 1:1. Probe DSS for splash screen display.Signed-off-by Nikhil M Jain <[email protected]>--- board/ti/am62x/evm.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)board/ti/am62x/evm.c +16
-0@@ -10,6 +10,8 @@#include <asm/io.h> #include <spl.h> #include <dm/uclass.h> +#include <video.h> +#include <splash.h> #include <k3-ddrss.h> #include <fdt_support.h> #include <asm/arch/hardware.h> @@ -18,8 +20,37 @@DECLARE_GLOBAL_DATA_PTR ; +#ifdef CONFIG_SPLASH_SCREEN +static struct splash_location default_splash_locations[] = { + { + .name ="mmc" , + .storage =SPLASH_STORAGE_MMC , + .flags =SPLASH_STORAGE_FS , + .devpart ="1:1" , + }, + }; + +int splash_screen_prepare (void ) +{ +return splash_source_load (default_splash_locations, +ARRAY_SIZE (default_splash_locations));
board/ti/am62x/evm.c line 46
Quoted 10 lines
board/ti/am62x/evm.c +8
-0+} +#endif +int board_init (void ) { +if (IS_ENABLED (CONFIG_VIDEO_TIDSS )) { +int ret; +struct udevice *dev; + + ret =uclass_get_device_by_name (UCLASS_VIDEO ,"dss@30200000" , &dev);
This is bound by stdio so you should not need this. What is going wrong? Does the display not appear?
Also, please drop getting devices by name...it is really not nice.
Quoted 11 lines
board/ti/am62x/evm.c +7
-1+if (ret) { +debug ("%s: Error device dss@30200000 tree not node added %d\n" + , __func__, ret); +if (ret != -ENODEV ) +panic ("Cannot get DSS device: %d\n" , ret); + } + }return 0 ; } --
Quoted 2 lines
2.17.1
Regards,
Simon
PATCH 6/6 tools: logos: Add TI logo files
In reply to Nikhil M JainThe default splashfile name saved is ti.gz. User can use these logos to test splash screen.
--- tools/logos/ti.bmp | Bin 0 -> 447258 bytes tools/logos/ti.gz | Bin 0 -> 19604 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/logos/ti.bmp create mode 100644 tools/logos/ti.gz
tools/logos/ti.bmp new file binary +0 -0
tools/logos/ti.gz new file binary +0 -0
Signature · 1 line
2.17.1
Re: [PATCH 6/6] tools: logos: Add TI logo files
Hi Nikhil,
tools/logos/ti.bmp
Quoted 17 lines · Nikhil M Jain
The default splashfile name saved is ti.gz. User can use these logos to test splash screen.
Signed-off-by Nikhil M Jain <[email protected]>--- tools/logos/ti.bmp | Bin 0 -> 447258 bytes tools/logos/ti.gz | Bin 0 -> 19604 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/logos/ti.bmp create mode 100644 tools/logos/ti.gztools/logos/ti.bmp new file binary +0
-0
That seems quite large. Could you use compression, reduce the size, or should we add PNG8 support?
Regards,
Simon