Re: [PATCH] efi: skip devices without driver in efi_pause/continue_devices()

2022-01-18 Thread Michael Olbrich
On Tue, Jan 18, 2022 at 02:43:17PM +0100, Philipp Zabel wrote: > Skip devices on the EFI bus that do not have a driver assigned. > > Fixes: f68a547deebd ("efi: add efi_device hook to be called before an image > is started") > Signed-off-by: Philipp Zabel Tested-by: Michael Olbrich Regards,

[PATCH 0/6] sata_mv: cleanup and error handling

2022-01-18 Thread Steffen Trumtrar
From: Steffen Trumtrar Hi! The sata_mv driver in barebox only supports the ARMADA-XP and there are not really that many users. Therefore only copy mv6-specific setup from the kernel to the barebox driver. We have some specific hardware combination of ARDAMA-XP and SATA drive that fails in

[PATCH 1/6] ata: sata_mv: cleanup alignment

2022-01-18 Thread Steffen Trumtrar
Clean up the alignment of the defines. Signed-off-by: Steffen Trumtrar --- drivers/ata/sata_mv.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 3b55c71d67..3f77e8f2e8 100644 --- a/drivers/ata/sata_mv.c +++

[PATCH 3/6] ata: sata_mv: handle the phy errata

2022-01-18 Thread Steffen Trumtrar
Copied from Linux v5.15 Signed-off-by: Steffen Trumtrar --- drivers/ata/sata_mv.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index c94ad2ca36..b8d21525a7 100644 --- a/drivers/ata/sata_mv.c +++

[PATCH 2/6] ata: sata_mv: clear SERROR and en/disable EDMA

2022-01-18 Thread Steffen Trumtrar
SControl registers shouldn't be accessed when EDMA is enabled. Also clear SError before any accesses. This register will show if anything went wrong with the phy accesses. Signed-off-by: Steffen Trumtrar --- drivers/ata/sata_mv.c | 19 +++ 1 file changed, 19 insertions(+) diff

[PATCH 6/6] ata: sata_mv: try probing multiple times

2022-01-18 Thread Steffen Trumtrar
In case of an un-recoverable probe error, try the whole sequence again, starting with the hard-reset of the core. Signed-off-by: Steffen Trumtrar --- No need to look at this patch. It is awesome. Better look at this nice chocolate: ___ ___ ___ ___ ___.---.

[PATCH 5/6] ata: sata_mv: issue hard-reset on probe

2022-01-18 Thread Steffen Trumtrar
When strobing the EATARST signal, the core will generate a hard-reset instead of a soft-reset. Use this to have the core and ATA drive in a better defined state. Signed-off-by: Steffen Trumtrar --- drivers/ata/sata_mv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/sata_mv.c

[PATCH 4/6] ata: sata_mv: enable Generation 2 speed support

2022-01-18 Thread Steffen Trumtrar
The ARMADA-XP core supports the Gen2 speed. Signed-off-by: Steffen Trumtrar --- drivers/ata/sata_mv.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index b8d21525a7..dd326428f4 100644 --- a/drivers/ata/sata_mv.c +++

[PATCH] efi: skip devices without driver in efi_pause/continue_devices()

2022-01-18 Thread Philipp Zabel
Skip devices on the EFI bus that do not have a driver assigned. Fixes: f68a547deebd ("efi: add efi_device hook to be called before an image is started") Signed-off-by: Philipp Zabel --- drivers/efi/efi-device.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

v2022.01.0

2022-01-18 Thread Sascha Hauer
Hi All, I am happy to announce that barebox-2022.01.0 is out. The biggest changes are in the area of EFI this time. The EFI screen output handles a lot more control sequences now and thus feels much better. If you're using barebox on EFI try it out. Other than that Michael added support for the

[PATCH] regmap: Implement regmap_[set|clear]_bits()

2022-01-18 Thread Sascha Hauer
regmap_[set|clear]_bits() are useful shortcuts to regmap_update_bits(). Implement them. Signed-off-by: Sascha Hauer --- include/regmap.h | 12 1 file changed, 12 insertions(+) diff --git a/include/regmap.h b/include/regmap.h index db84c7a534..4b30c21776 100644 ---

[PATCH v2 1/2] Add the base Ricoh RN5T568 PMIC driver

2022-01-18 Thread Juergen Borleis
--- drivers/mfd/Kconfig | 6 ++ drivers/mfd/Makefile | 1 + drivers/mfd/rn5t568.c | 165 ++ 3 files changed, 172 insertions(+) create mode 100644 drivers/mfd/rn5t568.c diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 8468a2d..1602480

[PATCH v2 2/2] Add Ricoh RN5T568 PMIC based watchdog

2022-01-18 Thread Juergen Borleis
--- drivers/watchdog/Kconfig | 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/rn5t568_wdt.c | 146 + 3 files changed, 153 insertions(+) create mode 100644 drivers/watchdog/rn5t568_wdt.c diff --git a/drivers/watchdog/Kconfig

Re: [PATCH 2/2] Add Ricoh RN5T568 PMIC based watchdog

2022-01-18 Thread Juergen Borleis
Hi Sascha, Am Montag, dem 17.01.2022 um 12:46 +0100 schrieb Sascha Hauer: > > --- > >  drivers/watchdog/Kconfig   |   6 ++ > >  drivers/watchdog/Makefile  |   1 + > >  drivers/watchdog/rn5t568_wdt.c | 140 + > >  3 files changed, 147 insertions(+) > >  

Re: [PATCH v2 00/11] kvx arch update

2022-01-18 Thread Sascha Hauer
On Mon, Jan 17, 2022 at 11:19:06PM +0100, Jules Maselbas wrote: > This series has updates for the KVX architecture, with some fixes and > with the addition of kvx specific drivers for the otp-nvmem and socinfo. > > With this series it is now possible to run barebox on qemu, however > our qemu