It allows to multiplex debug uart onto usb port, using i2c command.
Signed-off-by: Dzmitry Sankouski
Cc: Caleb Connolly
Cc: Dzmitry Sankouski
Cc: Simon Glass
Cc: Sumit Garg
Cc: Tom Rini
Cc: Vladimir Zapolskiy
---
arch/arm/dts/starqltechn.dts | 12 +++-
1 file changed, 11
Add volume up and Bixby buttons.
Signed-off-by: Dzmitry Sankouski
Cc: Caleb Connolly
Cc: Dzmitry Sankouski
Cc: Simon Glass
Cc: Sumit Garg
Cc: Tom Rini
Cc: Vladimir Zapolskiy
---
arch/arm/dts/starqltechn.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm
Add ufs storage support.
Signed-off-by: Dzmitry Sankouski
Cc: Caleb Connolly
Cc: Dzmitry Sankouski
Cc: Simon Glass
Cc: Sumit Garg
Cc: Tom Rini
Cc: Vladimir Zapolskiy
---
arch/arm/dts/starqltechn.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/starqltechn.dts
Fix memory size to 4K aligned.
Signed-off-by: Dzmitry Sankouski
Cc: Caleb Connolly
Cc: Dzmitry Sankouski
Cc: Simon Glass
Cc: Sumit Garg
Cc: Tom Rini
Cc: Vladimir Zapolskiy
---
arch/arm/dts/starqltechn.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts
Series is based on top of caleb work [1] and should
be merged after that.
[1]:
https://lore.kernel.org/u-boot/20231219-b4-qcom-common-target-v2-0-b6dd97042...@linaro.org/
Dzmitry Sankouski (4):
arm: dts: starqltechn: 4K align memory
arm: dts: starqltechn: add ufs support
arm: dts
Button keyboard driver used to navigate bootmenu entries.
Add gpio buttons, button keyboard driver.
Add gpio keys dts bindings.
Signed-off-by: Dzmitry Sankouski
---
arch/arm/dts/starqltechn.dts | 18 ++
configs/starqltechn_defconfig | 3 +++
include/configs/sdm845.h
Needed for multiboot with vendor's Android.
Signed-off-by: Dzmitry Sankouski
---
configs/starqltechn_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/starqltechn_defconfig b/configs/starqltechn_defconfig
index 92e7254c73..5b85ce5fe9 100644
--- a/configs
This font is more readable on high ppi display
Signed-off-by: Dzmitry Sankouski
---
configs/starqltechn_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/starqltechn_defconfig b/configs/starqltechn_defconfig
index 3d96e0ae09..599d926058 100644
--- a/configs
Bootmenu needed to multiboot Android with other OSes.
16x32 font used for starqltechn's high ppi display.
Dzmitry Sankouski (3):
starqltechn: use 16x32 font
starqltechn: use button keyboard driver
starqltechn: enable bootmenu
arch/arm/dts/starqltechn.dts | 18 ++
configs
вт, 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
Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
none
Changes in v7:
none
Changes in v6:
rebase only
Changes in v5:
N/A
Changes in v4:
N/A
Changes in v3
Add 12x22 font in order to write a test for it.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
- add 12X22 font in sandbox_flattree_defconfig for tests
Changes in v7:
none
Changes in v6:
N/A
Changes in v5:
N/A
Changes in v4:
N/A
Changes in v3:
N/A
Changes
Tests fonts wider than a byte.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
none
Changes in v7:
none
Changes in v6:
- rebase
- move sandbox defconfig change to separate patch
- run savedefconfig
Changes in v5:
N/A
Changes in v4:
N/A
Changes in v2:
N/A
none
Since multiple vidconsole drivers exists, vidconsole_get_font_size()
implementation cannot longer live in vidconsole_uclass.c file.
Move current vidconsole_get_font_size logic to truetype driver ops.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
none
Changes
This needed for unit testing different fonts.
Configured fonts are placed in an array of fonts.
First font is selected by default upon console probe.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
none
Changes in v7:
- place 8x16 font first in list as default
Allow font size configuration at runtime for console_simple.c
driver. This needed for unit testing different fonts.
Configuring is done by `font` command, also used for font
selection in true type console.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
none
- replace types - uint*_t to u*
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
- fix build with disabled CONFIG_VIDEO_COPY
- add 12X22 font to sandox defconfig
- fix build with disabled CONFIG_VIDEO_COPY
Changes in v7:
none
Changes in v6:
none
Changes in v5:
- move
Devices with high ppi may benefit from wider fonts.
Current width implementation is limited by 1 byte, i.e. 8 bits.
New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
width bytes, thus allowing fonts wider than 1 byte.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
Consistent font data header names needed to add new
fonts.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes in v8:
none
Changes in v7:
none
Changes in v6:
rebase only
Changes in v5:
N/A
Changes in v4:
N/A
Changes in v3:
N/A
Changes in v2:
N/A
include/video_font.h
font
In version 3,
'video console: add select font logic to vidconsole uclass driver'
patch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
Changes in v8:
- fix build with disabled CONFIG_VIDEO_COPY
- add 12X22 font to sandox defconfig
Dzmitry Sankouski
Current process of sending patches includes running checkpatch.pl
script for each patch, and fixing found style problems.
EditorConfig may help to prevent some style related problems
(like spaces vs tab indentation) on the fly.
Reviewed-by: Simon Glass
Signed-off-by: Dzmitry Sankouski
off tag
Changes in v2:
- add section in coding style rst doc
- unify Kconfig with other files
Dzmitry Sankouski (1):
editorconfig: introduce .editorconfig
.editorconfig | 15 +++
.gitignore | 1 +
doc/develop/codingstyle.rst | 4
3 files
ср, 1 мар. 2023 г. в 18:58, Tom Rini :
>
> On Wed, Mar 01, 2023 at 01:43:38PM +0300, Dzmitry Sankouski wrote:
> > Current process of sending patches includes running checkpatch.pl
> > script for each patch, and fixing found style problems.
> > EditorConfig may help to pr
чт, 2 мар. 2023 г. в 01:20, 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:
Current process of sending patches includes running checkpatch.pl
script for each patch, and fixing found style problems.
EditorConfig may help to prevent some style related problems
(like spaces vs tab indentation) on the fly.
Reviewed-by: Simon Glass
---
Changes for v2:
- add section in coding
Current process of sending patches includes running checkpatch.pl
script for each patch, and fixing found style problems.
Editorconfig may help to prevent some style related problems
(like spaces vs tab indentation) on the fly.
Dzmitry Sankouski (1):
editorconfig: introduce .editorconfig
Current process of sending patches includes running checkpatch.pl
script for each patch, and fixing found style problems.
Editorconfig may help to prevent some style related problems
(like spaces vs tab indentation) on the fly.
---
.editorconfig | 19 +++
.gitignore| 1 +
2
Current process of sending patches includes running checkpatch.pl
script for each patch, and fixing found style problems.
Editorconfig may help to prevent some style related problems
(like spaces vs tab indentation) on the fly.
Dzmitry Sankouski (1):
editorconfig: introduce .editorconfig
Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2:
- edit for runtime configuration
Changes for v3: none
Charges for v4: N/A
Charges for v5: N/A
Charges for v6
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
Add 12x22 font in order to write a test for it.
Run savedefconfig.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N/A
Charges for v6: N/A
Charges for v7: none
configs/sandbox_defconfig | 5 ++---
1 file changed, 2 insertions
Allow font size configuration at runtime for console_simple.c
driver. This needed for unit testing different fonts.
Configuring is done by `font` command, also used for font
selection in true type console.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N
This needed for unit testing different fonts.
Configured fonts are placed in an array of fonts.
First font is selected by default upon console probe.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N
Since multiple vidconsole drivers exists, vidconsole_get_font_size()
implementation cannot longer live in vidconsole_uclass.c file.
Move current vidconsole_get_font_size logic to truetype driver ops.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N
Consistent font data header names needed to add new
fonts.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N/A
Charges for v6: rebase only
Charges for v7: none
include/video_font.h
- 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
Devices with high ppi may benefit from wider fonts.
Current width implementation is limited by 1 byte, i.e. 8 bits.
New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
width bytes, thus allowing fonts wider than 1 byte.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
font
In version 3,
'video console: add select font logic to vidconsole uclass driver'
patch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
Dzmitry Sankouski (10):
video console: refactoring and optimization
video console: add support for fonts wider th
functions in public API use memory and clutter interface.
Move vidconsole_get_font_size to new cmd/test.h file.
Wrap it's implementation with #ifdef only when tests enabled.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N/A
Charges
Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2:
- edit for runtime configuration
Changes for v3: none
Charges for v4: N/A
Charges for v5: N/A
Charges for v6
ops functions with test stuff.
Please see patches for details.
сб, 18 февр. 2023 г. в 02:49, Simon Glass :
>
> Hi Dzmitry,
>
> On Fri, 17 Feb 2023 at 07:13, Dzmitry Sankouski wrote:
> >
> > How does CONSOLE_TRUETYPE interfere with CONFIG_VIDEO_FONT_SUN12X22?
> >
>
Add 12x22 font in order to write a test for it.
Run savedefconfig.
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N/A
Charges for v6: N/A
configs/sandbox_defconfig | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/configs/sandbox_defconfig
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
test/dm/video.c | 41
This needed for unit testing different fonts.
Configured fonts are placed in an array of fonts.
First font is selected by default upon console probe.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N
- 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
Allow font size configuration at runtime for console_simple.c
driver. This needed for unit testing different fonts.
Configuring is done by `font` command, also used for font
selection in true type console.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N
Consistent font data header names needed to add new
fonts.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N/A
Changes for v3: N/A
Charges for v4: N/A
Charges for v5: N/A
Charges for v6: rebase only
include/video_font.h | 2 +-
include
Devices with high ppi may benefit from wider fonts.
Current width implementation is limited by 1 byte, i.e. 8 bits.
New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
width bytes, thus allowing fonts wider than 1 byte.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
atch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
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 con
- replace types - uint*_t to u*
Signed-off-by: Dzmitry Sankouski
---
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
nges in version 2:
- fix video tests failures
- add runtime font size configuration
- add test for 12x22 font
In version 3,
'video console: add select font logic to vidconsole uclass driver'
patch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
Dzm
сб, 18 февр. 2023 г. в 02:49, Simon Glass :
>
> Hi Dzmitry,
>
> On Fri, 17 Feb 2023 at 08:01, Dzmitry Sankouski wrote:
> >
> > - move common code to vidconsole_internal.h
> > - unite probe functions
> > - get rid of code duplications in switch across bpp va
*_t to u*
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: none
Changes for v3: none
Changes for v4:
- move common code to vidconsole_internal.h
- unite probe functions
drivers/video/console_normal.c | 150 +++-
drivers/video/console_rotate.c | 364
ideo console: add select font logic to vidconsole uclass driver'
patch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
Dzmitry Sankouski (1):
video console: refactoring and optimization
drivers/video/console_normal.c | 150 +++-
drivers/v
:50, Simon Glass :
>
> Hi Dzmitry,
>
> On Wed, 15 Feb 2023 at 04:43, Dzmitry Sankouski wrote:
> >
> > Tests fonts wider than a byte.
> >
> > Signed-off-by: Dzmitry Sankouski
> > Reviewed-by: Simon Glass
>
> I found a problem with this
>
> &
Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2:
- edit for runtime configuration
Changes for v3: none
drivers/video/Kconfig |7 +
include
Tests fonts wider than a byte.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2: N/A
Changes for v2: none
configs/sandbox_defconfig | 3 +++
test/dm/video.c | 41 +++
2 files changed, 44 insertions(+)
diff --git
This needed for unit testing different fonts.
Configured fonts are placed in an array of fonts.
First font is selected by default upon console probe.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3: N/A
common/splash.c| 17 ++-
drivers/video/Kconfig
Allow font size configuration at runtime for console_simple.c
driver. This needed for unit testing different fonts.
Configuring is done by `font` command, also used for font
selection in true type console.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3:
- move 8x16 font
Consistent font data header names needed to add new
fonts.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3: N/A
include/video_font.h | 2 +-
include/{video_font_data.h => video_font_8x16.h} | 5 ++---
2 files changed, 3 insertions(+)
- 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
---
Changes for v2
Devices with high ppi may benefit from wider fonts.
Current width implementation is limited by 1 byte, i.e. 8 bits.
New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
width bytes, thus allowing fonts wider than 1 byte.
Signed-off-by: Dzmitry Sankouski
---
Charges for v2:
- replace
Unite console_normal.c and console_rotate.c files.
Those files have similar logic, and common logic
may be extracted after putting code in single file.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: none
Changes for v3: none
drivers/video/Kconfig | 8 +-
drivers
:
- fix video tests failures
- add runtime font size configuration
- add test for 12x22 font
In version 3,
'video console: add select font logic to vidconsole uclass driver'
patch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
Dzmitry Sankouski (9
вт, 14 февр. 2023 г. в 23:13, Heinrich Schuchardt :
>
>
>
> Am 14. Februar 2023 20:48:53 MEZ schrieb Simon Glass :
> >Hi Dzmitry,
> >
> >On Mon, 13 Feb 2023 at 09:57, Dzmitry Sankouski wrote:
> >>
(...)
> >> drivers/video/Kconfig |
Hi, I'll rebase it
вт, 14 февр. 2023 г. в 16:14, Simon Glass :
>
> Hi Dzmitry,
>
> On Mon, 13 Feb 2023 at 10:03, Dzmitry Sankouski wrote:
> >
> > Modern mobile phones typically have high pixel density.
> > Bootmenu is hardly readable on those with 8x16 font.
> &g
Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- edit for runtime configuration
drivers/video/Kconfig |7 +
include/video_font.h |6 +
include
zmitry,
>
> On Wed, 4 Jan 2023 at 04:17, Dzmitry Sankouski wrote:
> >
> > Regarding code-size there's a gain with CONFIG_CONSOLE_ROTATION
> > enabled, and penalty with disabled:
> >
> > New:
> > CONFIG_VIDEO_CONSOLE=y
> > CONFIG_CONSOLE_ROTATION=y
>
Tests fonts wider than a byte.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
configs/sandbox_defconfig | 3 +++
test/dm/video.c | 41 +++
2 files changed, 44 insertions(+)
diff --git a/configs/sandbox_defconfig b/configs
- 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
---
Changes for v2
Select font logic at runtime needed to unit test different fonts.
This commit is a preparation to enable runtime font selection in
console_simple driver.
- move console true type select font logic to driver ops
- add select font logic to vidconsole-uclass.c
Signed-off-by: Dzmitry Sankouski
Devices with high ppi may benefit from wider fonts.
Current width implementation is limited by 1 byte, i.e. 8 bits.
New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
width bytes, thus allowing fonts wider than 1 byte.
Signed-off-by: Dzmitry Sankouski
---
Charges for v2:
- replace
Unite console_normal.c and console_rotate.c files.
Those files have similar logic, and common logic
may be extracted after putting code in single file.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- none
drivers/video/Kconfig | 8 +-
drivers/video/Makefile
:
- fix video tests failures
- add runtime font size configuration
- add test for 12x22 font
Dzmitry Sankouski (8):
video console: unite normal and rotated files
video console: refactoring and optimization
video console: add support for fonts wider than 1 byte
video console: add select font
Bootmenu requires an input device with arrows and enter key.
A common smartphone luckily has power, volume up/down buttons,
which may be used for controlling bootmenu.
To use driver, add 'button-kbd' to stdin.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- add doc on driver private data
Property count may change in /buttons node, if more button tests added,
and this will break ofnode_for_each_prop.
Add separate node for mentioned test.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2: N/A
Changes for v3: N/A
arch/sandbox/dts/test.dts | 14 ++
test/dm/ofnode.c
Linux event code must be used in input devices, using buttons.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- fail, if linux,code not found
Changes for v3:
- add test for linux,code
- change linux,code type to int
- new line after return
- add specific error code in function docs
arch
dbox.dtsi -> BTN_1
- sandbox/dts/sandbox.dts -> BTN_1
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2:
- N/A
Changes for v3:
- import input.h in dts to provide event constants
arch/arm/dts/am3517-evm-ui.dtsi | 2 +-
arch/arm/dts/imx6ul-phytec
GPIO button driver requires direction functions to probe
button gpio. Those functions are blank, since pwrkey is not
really gpio, and don't support direction settings.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Sumit Garg
---
Changes for v2:
- none
Changes for v3:
- KDPWR and RESIN not gpio
support for linux,code in button driver.
Fix qcom pwr-key gpio driver to work with button driver.
Dzmitry Sankouski (5):
gpio: qcom: add direction functions for pwrkey
dts: add missing linux,code in gpio-keys
test: create dedicated fdt node for ofnode_for_each_prop test
dm: button: add support
Bootmenu requires an input device with arrows and enter key.
A common smartphone luckily has power, volume up/down buttons,
which may be used for controlling bootmenu.
To use driver, add 'button-kbd' to stdin.
Signed-off-by: Dzmitry Sankouski
Reviewed-by: Simon Glass
---
Changes for v2:
- add
Linux event code may be used in input devices, using buttons.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- fail, if linux,code not found
drivers/button/button-gpio.c | 16 +++-
drivers/button/button-uclass.c | 10 ++
include/button.h | 16
dbox.dtsi -> BTN_1
- sandbox/dts/sandbox.dts -> BTN_1
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- N/A
arch/arm/dts/am3517-evm-ui.dtsi | 2 +-
arch/arm/dts/imx6ul-phytec-segin-peb-eval-01.dtsi | 2 +-
arch/arm/dts/rk3288-popmetal.dtsi | 1 +
arch
GPIO button driver requires direction functions to probe
button gpio. Those functions are blank, since pwrkey gpio
configured earlier not by u-boot.
Signed-off-by: Dzmitry Sankouski
---
Changes for v2:
- none
drivers/gpio/qcom_pmic_gpio.c | 15 +++
1 file changed, 15 insertions
support for linux,code in button driver.
Fix qcom pwr-key gpio driver to work with button driver.
Dzmitry Sankouski (4):
gpio: qcom: add direction functions for pwrkey
dts: add missing linux,code in gpio-keys
dm: button: add support for linux_code in button-gpio.c driver
dm: input: add
> On 1/14/23 20:42, Dzmitry Sankouski wrote:
> > dev_read_u32 will fail, if linux,code is not found.
> > We shouldn't fail here, as linux,code is optional, so maybe
> > dev_read_u32_default
> > with 0 default value, instead of negative error code?
> >
>
> No,
dev_read_u32 will fail, if linux,code is not found.
We shouldn't fail here, as linux,code is optional, so maybe dev_read_u32_default
with 0 default value, instead of negative error code?
ср, 11 янв. 2023 г. в 18:48, Quentin Schulz
:
>
> Hi Dzmitry,
>
> On 1/11/23 11:19, Dzmitry San
I'll reword the commit description. Files contain similar logic, and
common code may be extracted after putting it together.
пт, 30 дек. 2022 г. в 01:41, Simon Glass :
>
> Hi Dzmitry,
>
> On Mon, 26 Dec 2022 at 13:49, Dzmitry Sankouski wrote:
> >
> > Put video console
ok
пт, 30 дек. 2022 г. в 01:40, Simon Glass :
>
> Hi Dzmitry,
>
> On Mon, 26 Dec 2022 at 13:50, Dzmitry Sankouski wrote:
> >
> > Remove video_font_4x6.h file because it's unused.
> >
> > Signed-off-by: Dzmitry Sankouski
> > ---
> > drivers/vid
I tested on qemu q35 with RUFSCRIPT, CANTORAONE font, it uses
RUFSCRIPT, and works fine.
Not sure how to switch it on runtime, though.
пт, 30 дек. 2022 г. в 01:41, Simon Glass :
>
> Hi Dzmitry,
>
> On Tue, 27 Dec 2022 at 07:44, Dzmitry Sankouski wrote:
> >
> > Modern
This patchset adds wider fonts only for normal console.
пт, 30 дек. 2022 г. в 02:02, Mark Kettenis :
>
> > From: Dzmitry Sankouski
> > Date: Mon, 26 Dec 2022 22:49:24 +0300
> >
> > Modern mobile phones typically have high pixel density.
> > Bootmenu is hardly
Right.
ср, 11 янв. 2023 г. в 05:36, Peter Robinson :
>
> On Tue, Dec 27, 2022 at 7:47 PM Dzmitry Sankouski
> wrote:
> >
> > KASLR address is needed to boot fully functional Android.
> > KASLR is set by primary bootloader, and since u-boot is used
> > as a seco
Bootmenu requires an input device with arrows and enter key.
A common smartphone luckily has power, volume up/down buttons,
which may be used for controlling bootmenu.
To use driver, add 'button-kbd' to stdin.
Signed-off-by: Dzmitry Sankouski
---
drivers/input/Kconfig | 9 +++
drivers
Linux event code may be used in input devices, using buttons.
Signed-off-by: Dzmitry Sankouski
---
drivers/button/button-gpio.c | 20
drivers/button/button-uclass.c | 10 ++
include/button.h | 16
3 files changed, 46 insertions
GPIO button driver requires direction functions to probe
button gpio. Those functions are blank, since pwrkey gpio
configured earlier not by u-boot.
Signed-off-by: Dzmitry Sankouski
---
drivers/gpio/qcom_pmic_gpio.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers
support for linux,code in button driver.
Fix qcom pwr-key gpio driver to work with button driver.
Dzmitry Sankouski (3):
gpio: qcom: add direction functions for pwrkey
dm: button: add support for linux_code in button-gpio.c driver
dm: input: add button_kbd driver
drivers/button/button-gpio.c
, 30 дек. 2022 г. в 01:41, Simon Glass :
>
> Hi Dzmitry,
>
> On Mon, 26 Dec 2022 at 13:50, Dzmitry Sankouski wrote:
> >
> > - get rid of code duplications in switch across bpp values
> > - extract common pixel fill logic in two functions one per
> > horizontal
KASLR address is needed to boot fully functional Android.
KASLR is set by primary bootloader, and since u-boot is used
as a secondary bootloader(replacing kernel) on sdm845 platform,
KASLR may be found by comparing memory chunks at relocaddr over
supposed KASLR range.
Signed-off-by: Dzmitry
It was temporary disabled due to problem with boot.
Issue was fixed in
commit f5ed6c9ccf3e ("uart: sdm845: Fix debug UART pinmux")
Signed-off-by: Dzmitry Sankouski
---
configs/starqltechn_defconfig | 4 ++--
include/configs/sdm845.h | 5 +++--
2 files changed, 5 insertions(+), 4
Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.
Add 16x32 ter font from linux, and allow font size configuration.
Set 16x32 font for starqltechn board.
Signed-off-by: Dzmitry Sankouski
---
configs/starqltechn_defconfig |1
1 - 100 of 160 matches
Mail list logo