Re: [PATCH v3 1/1] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-02-11 Thread Jesse T
I'm very sorry for my email issues I some how mess it up each time. On Thu, Feb 11, 2021, 8:11 PM Jesse wrote: > From: Jesse Taube > > This timer driver is using GPT Timer (General Purpose Timer) > available on almost all i.MX SoCs family. > Since this driver is only meant to provide u-boot's t

[PATCH v3 1/1] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-02-11 Thread Jesse
From: Jesse Taube This timer driver is using GPT Timer (General Purpose Timer) available on almost all i.MX SoCs family. Since this driver is only meant to provide u-boot's timer and counter, and most of the i.MX* SoCs use a 24Mhz crystal, let's only deal with that specific source. Signed-off-

[PATCH v3 0/1] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-02-11 Thread Jesse
From: Jesse Taube This timer driver is using GPT Timer (General Purpose Timer) available on almost all i.MX SoCs family. Since this driver is only meant to provide u-boot's timer and counter, and most of the i.MX* SoCs use a 24Mhz crystal, let's only deal with that specific source. Jesse Taube

Re: [PATCH] serial: s5p: Allow independent selection

2021-02-11 Thread Mark Kettenis
Bleah. Sent this out to quickly. Will do a v2 when I've properly tested building an actual S5P family target. > From: Mark Kettenis > Date: Fri, 12 Feb 2021 00:34:49 +0100 > > Currently support for the Samsung serial port driver is part > of CONFIG_S5P which controls selection of several drive

[PATCH] serial: s5p: Allow independent selection

2021-02-11 Thread Mark Kettenis
Currently support for the Samsung serial port driver is part of CONFIG_S5P which controls selection of several drivers for the S5P family. Give it its own config option such that we can use it on other SoCs as well. Signed-off-by: Mark Kettenis --- drivers/serial/Kconfig | 7 +++ drivers/s

Re: Final of-platdata thing

2021-02-11 Thread Tom Rini
On Wed, Feb 10, 2021 at 11:39:54AM -0700, Simon Glass wrote: > Hi Tom, > > I have the dtoc changes ready to go but I was thinking it best to > apply the driver-model updates before sending a pull request. > > But that is (currently) designed to set on top of the SPL test > improvements...have yo

Re: [PULL] u-boot-usb/master

2021-02-11 Thread Tom Rini
On Wed, Feb 10, 2021 at 11:39:51PM +0100, Marek Vasut wrote: > The following changes since commit c7182c02cefb11431a79a8abb4d8a821e4a478b5: > > Merge tag 'u-boot-amlogic-20210210' of > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic (2021-02-10 07:56:57 > -0500) > > are available in th

Re: [PATCH v2 1/1] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-02-11 Thread Jesse T
On Wed, Feb 10, 2021 at 3:09 PM Giulio Benetti < giulio.bene...@benettiengineering.com> wrote: > Hi Jesse, > > I re-add all people and ML in Cc so they can follow. Next time reply to > all. > > On 2/10/21 8:00 PM, Jesse Taube wrote: > > > > On 2/10/21 12:49 PM, Giulio Benetti wrote: > >> On 2/10/2

Re: [PATCH 14/25] arm: Remove sheevaplug board

2021-02-11 Thread Tom Rini
On Wed, Feb 10, 2021 at 09:09:56PM -0800, Rick Thomas wrote: > > > On Wed, Feb 10, 2021, at 8:57 PM, Vagrant Cascadian wrote: > > On 2021-02-10, Rick Thomas wrote: > > > I have not recently (since before 2019) done anything more than allow > > > aptitude to upgrade packages as it thinks best. In

Re: [PATCH v2 1/1] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-02-11 Thread Giulio Benetti
On 2/11/21 7:54 PM, Jesse T wrote: [SNIP] > > The IPG_CLK_24M needs a different prescaler and a second enable bit. > This will completely bypass all other clock sources making the check for > the clock rate useless. Yes, in the operative way yes, you could also avoid

[PATCH v2 2/2] mtd: nand: spi: Support GigaDevice GD5F1GQ5UExxG

2021-02-11 Thread Reto Schneider
From: Reto Schneider The relevant changes to the already existing GD5F1GQ4UExxG support has been determined by consulting the GigaDevice product change notice AN-0392-10, version 1.0 from November 30, 2020. As the overlaps are huge, variable names have been generalized accordingly. Apart form t

Re: [Uboot-stm32] [PATCH] usb: dwc2: change compatible st, stm32mp1-hsotg to st, stm32mp15-hsotg

2021-02-11 Thread Ahmad Fatoum
Hi, On 10.02.21 20:59, Tom Rini wrote: > On Tue, Feb 09, 2021 at 08:51:26PM +0100, Patrick DELAUNAY wrote: >> >> On 2/9/21 11:39 AM, Marek Vasut wrote: >>> On 2/9/21 11:14 AM, Patrick Delaunay wrote: >>> Hi, >>> >>> [...] >>> diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/g

Bug: filesystem btrfs: ls mmc 0:3

2021-02-11 Thread Georg Gast
Hello u-boot team, today i compiled u-boot v2021.01 with the am335x_evm_defconfig (Hardware Beaglebone Black) and enabled additional the btrfs filesystem as it should boot the kernel sitting there. Listing the content of the filesystem triggers a bug: The filesystem was created with kernel 5

[PATCH v2 1/2] mtd: nand: spi: Only one dummy byte in QUADIO

2021-02-11 Thread Reto Schneider
From: Hauke Mehrtens The datasheet only lists one dummy byte in the 0xEB operation for the following chips: * GD5F1GQ4xExxG * GD5F1GQ4xFxxG * GD5F1GQ4UAYIG * GD5F4GQ4UAYIG Reto Schneider: - Linux patch ported to U-Boot - Checked for compatibility with GD5F1GQ4xBxxG - Fixed operation code in orig

RE: [PATCH v3 3/3] dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO

2021-02-11 Thread Priyanka Jain
>-Original Message- >From: Igor Opaniuk >Sent: Tuesday, February 9, 2021 5:23 PM >To: u-boot@lists.denx.de >Cc: rica...@foundries.io; Michael Scott ; >jo...@foundries.io; s...@chromium.org; tr...@konsulko.com; Igor Opaniuk >; Heiko Schocher ; Adam Ford >; Alison Wang ; Andre Przywara >; As

[PATCH v2 1/2] mtd: nand: spi: Only one dummy byte in QUADIO

2021-02-11 Thread Reto Schneider
From: Hauke Mehrtens The datasheet only lists one dummy byte in the 0xEB operation for the following chips: * GD5F1GQ4xExxG * GD5F1GQ4xFxxG * GD5F1GQ4UAYIG * GD5F4GQ4UAYIG Reto Schneider: - Linux patch ported to U-Boot - Checked for compatibility with GD5F1GQ4xBxxG - Fixed operation code in orig

[PATCH] net: gem: Fix error path in zynq_gem_probe

2021-02-11 Thread Michal Simek
Clean up error path in connection where priv->rxbuffers and priv->tx_bd are allocated. Signed-off-by: Michal Simek --- Based on https://lists.denx.de/pipermail/u-boot/2021-February/440943.html https://lists.denx.de/pipermail/u-boot/2021-February/441021.html --- drivers/net/zynq_gem.c | 8 --

Re: [PATCH] net: gem: unregister mdio bus if probe fails

2021-02-11 Thread Michal Simek
On 2/10/21 10:41 PM, Michael Walle wrote: > If probe fails, the mdio bus isn't unregistered. Fix it. > > Signed-off-by: Michael Walle > --- > drivers/net/zynq_gem.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c > i

Re: [PATCH] net: gem: unregister mdio bus if probe fails

2021-02-11 Thread Ramon Fried
On Wed, Feb 10, 2021 at 11:42 PM Michael Walle wrote: > > If probe fails, the mdio bus isn't unregistered. Fix it. > > Signed-off-by: Michael Walle > --- > drivers/net/zynq_gem.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq

Re: [PATCH v1] qemu-arm: round down memory to multiple of 2MB

2021-02-11 Thread Igor Opaniuk
Hi Heinrich, On Thu, Feb 11, 2021 at 5:34 PM Heinrich Schuchardt wrote: > > On 11.02.21 15:56, Ard Biesheuvel wrote: > > On Thu, 11 Feb 2021 at 15:18, Heinrich Schuchardt > > wrote: > >> > >> On 11.02.21 13:04, Igor Opaniuk wrote: > >>> From: Igor Opaniuk > >>> > >>> When LPAE is enabled, 1:1

Re: [PATCH v1] qemu-arm: round down memory to multiple of 2MB

2021-02-11 Thread Ard Biesheuvel
On Thu, 11 Feb 2021 at 16:34, Heinrich Schuchardt wrote: > > On 11.02.21 15:56, Ard Biesheuvel wrote: > > On Thu, 11 Feb 2021 at 15:18, Heinrich Schuchardt > > wrote: > >> > >> On 11.02.21 13:04, Igor Opaniuk wrote: > >>> From: Igor Opaniuk > >>> > >>> When LPAE is enabled, 1:1 mapping is creat

Re: [PATCH v1] qemu-arm: round down memory to multiple of 2MB

2021-02-11 Thread Heinrich Schuchardt
On 11.02.21 15:56, Ard Biesheuvel wrote: > On Thu, 11 Feb 2021 at 15:18, Heinrich Schuchardt wrote: >> >> On 11.02.21 13:04, Igor Opaniuk wrote: >>> From: Igor Opaniuk >>> >>> When LPAE is enabled, 1:1 mapping is created using 2 MB blocks. >>> In case amount of memory provided to QEMU is not mult

Re: [PATCH v1] usb: kbd: destroy device after console is stopped

2021-02-11 Thread Andy Shevchenko
On Wed, Feb 03, 2021 at 01:25:38PM +0100, Nicolas Saenz Julienne wrote: > Andy, Tony, > Sorry for my late reply, but I got a bad cold. I hope you are doing well. Unfortunately I haven't heard from you lately, so I have decided to send out whatever I have as a patch series. You are Cc'ed on the la

[PATCH v1 11/11] usb: kbd: destroy device after console is stopped

2021-02-11 Thread Andy Shevchenko
In case of IOMUX enabled it assumes that console devices in the list are available to get them stopped properly via ->stop() callback. However, the USB keyboard driver violates this assumption and tries to play tricks so the device get destroyed while being listed as an active console. Swap the or

[PATCH v1 06/11] console: Set file and devices at one go

2021-02-11 Thread Andy Shevchenko
Logical continuation of the change that brought console_devices_set() is to unify console_setfile() with it and replace in the callers. Signed-off-by: Andy Shevchenko --- common/console.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/common/console.

[PATCH v1 10/11] IOMUX: Introduce iomux_replace_device()

2021-02-11 Thread Andy Shevchenko
Some console devices may appear or disappear at run time. In order to support such a hotplug mechanism introduce a new iomux_replace_device() helper to update the list of devices without altering environment. Signed-off-by: Andy Shevchenko --- common/iomux.c | 33 +++

[PATCH v1 08/11] IOMUX: Split out iomux_match_device() helper

2021-02-11 Thread Andy Shevchenko
Deduplicate the code used in a few places by splitting out a common helper. Signed-off-by: Andy Shevchenko --- common/console.c | 7 +++ common/iomux.c | 27 ++- include/iomux.h | 1 + 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/common/consol

[PATCH v1 07/11] IOMUX: Switch to use stdio_file_to_flags()

2021-02-11 Thread Andy Shevchenko
Deduplicate code by replacing with stdio_file_to_flags() helper. Signed-off-by: Andy Shevchenko --- common/iomux.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/common/iomux.c b/common/iomux.c index 15bf53388559..5d027561bb6f 100644 --- a/common/iomux.c +++ b/co

[PATCH v1 09/11] IOMUX: Split out for_each_console_dev() helper macro

2021-02-11 Thread Andy Shevchenko
It is not only less lines of code, but also better readability when new macro is being in use. Introduce for_each_console_dev() helper macro and convert current users to it. Signed-off-by: Andy Shevchenko --- common/console.c | 15 +-- common/iomux.c | 4 +--- include/iomux.h |

[PATCH v1 05/11] console: Set console device counter in console_devices_set()

2021-02-11 Thread Andy Shevchenko
console_devices_set() missed the console device counter to be set correctly. Fixes: 45375adc9799 ("console: add function console_devices_set") Cc: Patrick Delaunay Signed-off-by: Andy Shevchenko --- common/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/console.c b/common/c

[PATCH v1 04/11] console: Switch to use stdio_file_to_flags()

2021-02-11 Thread Andy Shevchenko
Deduplicate code by replacing with stdio_file_to_flags() helper. Signed-off-by: Andy Shevchenko --- common/console.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/common/console.c b/common/console.c index f3cc45cab548..b1c3ed17cc03 100644 --- a/common/consol

[PATCH v1 02/11] stdio: Split out nulldev_register() and move it under #if

2021-02-11 Thread Andy Shevchenko
It's possible that NULLDEV can be disabled while it makes leftovers, move entire device under #if. Signed-off-by: Andy Shevchenko --- common/stdio.c | 33 + 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/common/stdio.c b/common/stdio.c index e3e24

[PATCH v1 03/11] stdio: Introduce a new helper stdio_file_to_flags()

2021-02-11 Thread Andy Shevchenko
Let's deduplicate existing copies by splitting off to a new helper. Signed-off-by: Andy Shevchenko --- common/stdio.c | 13 + include/stdio_dev.h | 2 ++ 2 files changed, 15 insertions(+) diff --git a/common/stdio.c b/common/stdio.c index 2935d0d9ba8a..aa003b308a21 100644 ---

[PATCH v1 01/11] stdio: Get rid of dead code, i.e. stdio_deregister()

2021-02-11 Thread Andy Shevchenko
Nobody is using stdio_deregister(), remove for good. Note, even its parameters are not consistent with stdio_register(). So, if anyone want to introduce this again, better with some consistency. Signed-off-by: Andy Shevchenko --- common/stdio.c | 11 --- include/stdio_dev.h | 1 -

Re: [PATCH v1] qemu-arm: round down memory to multiple of 2MB

2021-02-11 Thread Ard Biesheuvel
On Thu, 11 Feb 2021 at 15:18, Heinrich Schuchardt wrote: > > On 11.02.21 13:04, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > When LPAE is enabled, 1:1 mapping is created using 2 MB blocks. > > In case amount of memory provided to QEMU is not multiple > > of 2 MB, round down the amount of av

Re: [PATCH v2 1/4] test: Include /sbin to the PATH when creating ext4 disk image

2021-02-11 Thread Andy Shevchenko
On Thu, Feb 11, 2021 at 04:40:09PM +0200, Andy Shevchenko wrote: > On some distributions the mkfs.ext4 is under /sbin and /sbin is not set > for mere users. Include /sbin to the PATH when creating ext4 disk image, > so that users won't get a scary traceback from Python. Note, patches 1 and 4 may b

[PATCH v2 2/4] test: Allow simple glob pattern in the test name

2021-02-11 Thread Andy Shevchenko
When run `ut dm [test name]` allow to use simple pattern to run all tests started with given prefix. For example, to run all ACPI test cases: ut dm acpi* Signed-off-by: Andy Shevchenko --- v2: rebased against dm/test-working branch (Simon) test/test-main.c | 11 +-- 1 file change

[PATCH v2 3/4] test: Use positive conditional in test_matches()

2021-02-11 Thread Andy Shevchenko
It is easier to read the positive conditional. While at it, convert hard coded length of "_test_" to strlen("_test_") which will be converted to a constant bu optimizing compiler. Signed-off-by: Andy Shevchenko --- v2: new patch test/test-main.c | 12 ++-- 1 file changed, 6 insertions(+

[PATCH v2 4/4] test: Don't unmount not (yet) mounted system

2021-02-11 Thread Andy Shevchenko
When test suite tries to create a file for a new filesystem test case and fails, the clean up of the exception tries to unmount the image, that has not yet been mounted. When it happens, the fuse_mounted global variable is set to False and inconveniently the test case tries to use sudo, so without

[PATCH v2 1/4] test: Include /sbin to the PATH when creating ext4 disk image

2021-02-11 Thread Andy Shevchenko
On some distributions the mkfs.ext4 is under /sbin and /sbin is not set for mere users. Include /sbin to the PATH when creating ext4 disk image, so that users won't get a scary traceback from Python. Cc: Patrick Delaunay Signed-off-by: Andy Shevchenko --- v2: used '/sbin' as is (Simon) test/py/

Re: [PATCH v1] qemu-arm: round down memory to multiple of 2MB

2021-02-11 Thread Heinrich Schuchardt
On 11.02.21 13:04, Igor Opaniuk wrote: > From: Igor Opaniuk > > When LPAE is enabled, 1:1 mapping is created using 2 MB blocks. > In case amount of memory provided to QEMU is not multiple > of 2 MB, round down the amount of available memory to avoid hang > during MMU initialization. > > How to rep

Re: [Uboot-stm32] [PATCH] usb: dwc2: change compatible st, stm32mp1-hsotg to st, stm32mp15-hsotg

2021-02-11 Thread Tom Rini
On Thu, Feb 11, 2021 at 12:14:51PM +0100, Ahmad Fatoum wrote: > Hi, > > On 10.02.21 20:59, Tom Rini wrote: > > On Tue, Feb 09, 2021 at 08:51:26PM +0100, Patrick DELAUNAY wrote: > >> > >> On 2/9/21 11:39 AM, Marek Vasut wrote: > >>> On 2/9/21 11:14 AM, Patrick Delaunay wrote: > >>> Hi, > >>> > >>>

[PATCH] configs: fsl: move bootrom specific defines to Kconfig

2021-02-11 Thread Rajesh Bhagat
Moves below bootrom specific defines to Kconfig: CONFIG_SYS_FSL_BOOTROM_BASE CONFIG_SYS_FSL_BOOTROM_SIZE Signed-off-by: Rajesh Bhagat --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 10 ++ arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 -- scripts/config_whitelist.txt

[PATCH v1] qemu-arm: round down memory to multiple of 2MB

2021-02-11 Thread Igor Opaniuk
From: Igor Opaniuk When LPAE is enabled, 1:1 mapping is created using 2 MB blocks. In case amount of memory provided to QEMU is not multiple of 2 MB, round down the amount of available memory to avoid hang during MMU initialization. How to reproduce: qemu-system-arm -machine virt -m 1058 -nograp

Re: [PATCH] clk: at91: compat: partially revert "dm: Remove uses of device_bind_offset()"

2021-02-11 Thread Eugen.Hristev
On 03.02.2021 14:59, Simon Glass wrote: > On Tue, 2 Feb 2021 at 01:48, Eugen Hristev > wrote: >> >> Revert changes in at91 compat.c that cause u-boot to fail booting on >> sama5d4_xplained and sama5d2_xplained >> >> Log below: >> >> >> No serial driver found >> Could not initialize timer (err -1

Re: [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line

2021-02-11 Thread Eugen.Hristev
On 28.01.2021 10:14, Eugen Hristev wrote: > If the serial tx/rx are floating, it can happen that bogus characters > are detected on the line at boot time. This leads to U-boot accidentally > thinking someone pressed a key to stop autoboot, thus stopping booting > process. > This can happen if the

Re: [PATCH] usb: gadget: dwc2_udc_otg: Fix dwc2_gadget_start()

2021-02-11 Thread Marek Vasut
On 2/11/21 10:58 AM, Patrice CHOTARD wrote: Hi Marek On 2/10/21 3:26 PM, Marek Vasut wrote: On 2/10/21 3:17 PM, Patrice Chotard wrote: Since commit 8745b9ebccae ("usb: gadget: add super speed support") ums was no more functional on platform which use dwc2_udc_otg driver. Remove the speed test

[PATCH v2 1/1] efi_loader: fix get_last_capsule()

2021-02-11 Thread Heinrich Schuchardt
fix get_last_capsule() leads to writes beyond the stack allocated buffer. This was indicated when enabling the stack protector. utf16_utf8_strcpy() only stops copying when reaching '\0'. The current invocation always writes beyond the end of value[]. The output length of utf16_utf8_strcpy() may b

[PATCH 1/1] buildman: 'Thread' object has no attribute 'isAlive'

2021-02-11 Thread Heinrich Schuchardt
The isAlive() method was deprecated in Python 3.8 and has been removed in Python 3.9. See https://bugs.python.org/issue37804. Use is_alive() instead. Since Python 2.6 is_alive() has been a synonym for isAlive(). So there should be no problems for users using elder Python 3 versions. Signed-off-by

Re: [PATCH v4] armv8: Handle EL2 Host mode

2021-02-11 Thread Marc Zyngier
Hi Mark, On 2021-02-11 10:22, Mark Kettenis wrote: Date: Thu, 11 Feb 2021 09:58:49 + From: Marc Zyngier On 2021-02-10 19:14, Mark Kettenis wrote: > On implementations that support VHE, the layout of the CPTR_EL2 > register depends on whether HCR_EL2.E2H is set. If the bit is > set, CPTR_E

RE: [PATCH 10/16] ppc: Remove MPC8544DS board

2021-02-11 Thread Priyanka Jain
>-Original Message- >From: Tom Rini >Sent: Wednesday, February 10, 2021 8:13 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain >Subject: [PATCH 10/16] ppc: Remove MPC8544DS board > >This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. >The deadline for this conversion w

RE: [PATCH 11/16] ppc: Remove MPC8572DS board

2021-02-11 Thread Priyanka Jain
>-Original Message- >From: Tom Rini >Sent: Wednesday, February 10, 2021 8:13 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain >Subject: [PATCH 11/16] ppc: Remove MPC8572DS board > >This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. >The deadline for this conversio

RE: [PATCH 12/16] ppc: Remove MPC8610HPCD board

2021-02-11 Thread Priyanka Jain
>-Original Message- >From: Tom Rini >Sent: Wednesday, February 10, 2021 8:13 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain >Subject: [PATCH 12/16] ppc: Remove MPC8610HPCD board > >This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. >The deadline for this conversion

RE: [PATCH 13/16] ppc: Remove MPC8641HPCN board

2021-02-11 Thread Priyanka Jain
>-Original Message- >From: Tom Rini >Sent: Wednesday, February 10, 2021 8:13 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain >Subject: [PATCH 13/16] ppc: Remove MPC8641HPCN board > >This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. >The deadline for this convers

RE: [PATCH 18/25] arm: Remove ls2080a_simu board

2021-02-11 Thread Priyanka Jain
>-Original Message- >From: Tom Rini >Sent: Tuesday, February 9, 2021 6:33 PM >To: u-boot@lists.denx.de >Cc: Prabhakar Kushwaha ; Priyanka Jain > >Subject: [PATCH 18/25] arm: Remove ls2080a_simu board > >This board has not been converted to CONFIG_DM_MMC by the deadline of >v2019.04, which

Re: [PATCH v4] armv8: Handle EL2 Host mode

2021-02-11 Thread Mark Kettenis
> Date: Thu, 11 Feb 2021 09:58:49 + > From: Marc Zyngier > > On 2021-02-10 19:14, Mark Kettenis wrote: > > On implementations that support VHE, the layout of the CPTR_EL2 > > register depends on whether HCR_EL2.E2H is set. If the bit is > > set, CPTR_EL2 uses the same layout as CPACR_EL1 and

Re: [PATCH v6 5/5] test: add a simple test for the adc-keys button driver

2021-02-11 Thread Heinrich Schuchardt
On 11.02.21 09:47, Marek Szyprowski wrote: > Add adc-keys device to the sandbox/test.dts and connect it to the channel > #3 of the sandbox_adc driver. The default values sampled by sandbox_adc > driver determines that button3 and button4 are released and button5 is > pressed. > > Signed-off-by: Mar

Re: [PATCH v4] armv8: Handle EL2 Host mode

2021-02-11 Thread Marc Zyngier
On 2021-02-10 19:14, Mark Kettenis wrote: On implementations that support VHE, the layout of the CPTR_EL2 register depends on whether HCR_EL2.E2H is set. If the bit is set, CPTR_EL2 uses the same layout as CPACR_EL1 and can in fact be accessed through that register. In that case, jump to the EL

Re: [PATCH] usb: gadget: dwc2_udc_otg: Fix dwc2_gadget_start()

2021-02-11 Thread Patrice CHOTARD
Hi Marek On 2/10/21 3:26 PM, Marek Vasut wrote: > On 2/10/21 3:17 PM, Patrice Chotard wrote: >> Since commit 8745b9ebccae ("usb: gadget: add super speed support") >> ums was no more functional on platform which use dwc2_udc_otg driver. >> >> Remove the speed test in dwc2_gadget_start() to fix it.

Re: [PATCH 2/2] mtd: nand: spi: Support GigaDevice GD5F1GQ5UExxG

2021-02-11 Thread Stefan Roese
On 10.02.21 19:36, Reto Schneider wrote: From: Reto Schneider The relevant changes to the already existing GD5F1GQ4UExxG support has been determined by consulting the GigaDevice product change notice AN-0392-10, version 1.0 from November 30, 2020. As the overlaps are huge, variable names have

Re: [PATCH 1/2] mtd: nand: spi: Only one dummy byte in QUADIO

2021-02-11 Thread Stefan Roese
On 10.02.21 19:36, Reto Schneider wrote: From: Reto Schneider The datasheet only lists one dummy byte in the 0xEH operation for the following chips: * GD5F1GQ4xBxxG * GD5F1GQ4xExxG * GD5F1GQ4xFxxG * GD5F1GQ4UAYIG * GD5F4GQ4UAYIG This patch and its commit message reflects what has been done in

Re: qemu-arm: hang during MMU initialization

2021-02-11 Thread Ard Biesheuvel
On Fri, 5 Feb 2021 at 18:38, Igor Opaniuk wrote: > > Hi, > > With this commit 3fa914af82("arm: qemu: implement enable_caches()") > introduced, > which enables instruction/data caches for qemu-arm target, > U-Boot sometimes hangs during MMU init procedure : > > DRAM: 1 GiB > initcall: 60011df8 >

[PATCH v6 5/5] test: add a simple test for the adc-keys button driver

2021-02-11 Thread Marek Szyprowski
Add adc-keys device to the sandbox/test.dts and connect it to the channel #3 of the sandbox_adc driver. The default values sampled by sandbox_adc driver determines that button3 and button4 are released and button5 is pressed. Signed-off-by: Marek Szyprowski --- arch/sandbox/dts/test.dts | 24 +++

[PATCH v6 2/5] button: add a simple Analog to Digital Converter device based button driver

2021-02-11 Thread Marek Szyprowski
Add a simple Analog to Digital Converter device based button driver. This driver binds to the 'adc-keys' device tree node. Signed-off-by: Marek Szyprowski --- drivers/button/Kconfig | 8 ++ drivers/button/Makefile | 1 + drivers/button/button-adc.c | 146

[PATCH v6 4/5] configs: khadas-vim3(l): enable Function button support

2021-02-11 Thread Marek Szyprowski
Add options required to check the 'Function' button state. Signed-off-by: Marek Szyprowski Reviewed-by: Simon Glass --- configs/khadas-vim3_defconfig | 2 ++ configs/khadas-vim3l_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/khadas-vim3_defconfig b/configs/khadas-vim

[PATCH v6 0/5] VIM3: add support for checking 'Function' button state

2021-02-11 Thread Marek Szyprowski
Hi All, This patchset adds all building blocks needed for checking the 'Function' button state in the boot script on Amlogic A311D based VIM3 board. This button is connected to the ADC line of the SoC, so it required to enable meson SARADC, the clocks needed for it and a simple button-adc drivers.

[PATCH v6 1/5] dt-bindings: input: adc-keys bindings documentation

2021-02-11 Thread Marek Szyprowski
Dump adc-keys bindings documentation from Linux kernel source tree from commit 698dc0cf9447 ("dt-bindings: input: adc-keys: clarify description"). Signed-off-by: Marek Szyprowski Reviewed-by: Simon Glass --- doc/device-tree-bindings/input/adc-keys.txt | 67 + 1 file changed,

[PATCH v6 3/5] adc: meson-saradc: add support for getting reference voltage value

2021-02-11 Thread Marek Szyprowski
Add support for getting the 'vref-supply' regulator and register it as ADC's reference voltage regulator, so clients can translate sampled ADC values to the voltage. Signed-off-by: Marek Szyprowski Reviewed-by: Simon Glass --- drivers/adc/meson-saradc.c | 21 + 1 file change