Re: [PATCH V2 1/9] gpio: gpio-rockchip: parse gpio-ranges for bank id

2023-02-23 Thread Linus Walleij
nto the rk_gpio relevant DTS files as well, so this is not a good solution to your problem. What has been used in the past is just some unique hardware ID in the device tree, so I would just add that. Yours, Linus Walleij

Re: [PATCH] nand: brcmnand: add iproc support

2023-03-07 Thread Linus Walleij
On Sun, Jan 22, 2023 at 12:45 AM Linus Walleij wrote: > Add support for the iproc Broadcom NAND controller, > used in Northstar SoCs for example. Based on the Linux > driver. > > Cc: Philippe Reynes > Signed-off-by: Linus Walleij It's been 1 1/2 month, could we apply th

Re: [PATCH] mtd: rawnand: nand_base: Handle algorithm selection

2023-03-07 Thread Linus Walleij
On Sun, Jan 22, 2023 at 12:43 AM Linus Walleij wrote: > For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the > D-Link DIR-885L and DIR-890L routers, we need to explicitly > select the ECC like this in the device tree: > > nand-ecc-algo = "bch"; > nand-ecc-

Re: [PATCH] nand: brcmnand: add iproc support

2023-03-08 Thread Linus Walleij
On Wed, Mar 8, 2023 at 5:54 PM Tom Rini wrote: > On Wed, Mar 08, 2023 at 12:04:53AM +0100, Linus Walleij wrote: > > On Sun, Jan 22, 2023 at 12:45 AM Linus Walleij > > wrote: > > > > > Add support for the iproc Broadcom NAND controller, > > > used in N

[PATCH v2] mtd: rawnand: nand_base: Handle algorithm selection

2023-03-08 Thread Linus Walleij
inux kernel but U-Boot core does not respect this. Fix it up by parsing the algorithm and preserve the behaviour using this property to select software BCH as far as possible. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Drop pointless check for ecc_algo >= 0, it is always >

[PATCH v2] nand: brcmnand: add iproc support

2023-03-08 Thread Linus Walleij
Add support for the iproc Broadcom NAND controller, used in Northstar SoCs for example. Based on the Linux driver. Cc: Philippe Reynes Cc: Dario Binacchi Reviewed-by: Michael Trimarchi Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Check return value of dev_read_resource() -

Re: [PATCH 3/3] board: Add new Broadcom Northstar board

2023-03-21 Thread Linus Walleij
On Fri, Feb 10, 2023 at 6:49 PM Tom Rini wrote: > On Thu, Feb 02, 2023 at 12:37:45AM +0100, Linus Walleij wrote: > > > This adds a simple Northstar "BRCMNS" board to be used with > > the BCM4709x and BCM5301x chips. > > > > The main intention is to use t

[PATCH v3 0/5] Add Broadcom Northstar basic support

2023-03-21 Thread Linus Walleij
- Bundle with the iproc NAND and nand base pacthes as the iproc patch is a prerequisite. - Jump from v1->v3 as the other patches was at version v3. It is a bit of a mystery to me who can merge this patches... BRCM custodian? Linus Walleij (5): nand: brcmnand: add iproc support m

[PATCH v3 2/5] mtd: rawnand: nand_base: Handle algorithm selection

2023-03-21 Thread Linus Walleij
inux kernel but U-Boot core does not respect this. Fix it up by parsing the algorithm and preserve the behaviour using this property to select software BCH as far as possible. Reviewed-by: Michael Trimarchi Acked-by: William Zhang Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Collect rev

[PATCH v3 1/5] nand: brcmnand: add iproc support

2023-03-21 Thread Linus Walleij
Add support for the iproc Broadcom NAND controller, used in Northstar SoCs for example. Based on the Linux driver. Cc: Philippe Reynes Cc: Dario Binacchi Acked-by: William Zhang Reviewed-by: Michael Trimarchi Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Collect William Zhang&#x

[PATCH v3 5/5] board: Add new Broadcom Northstar board

2023-03-21 Thread Linus Walleij
ad command, so we are currently not adding support for things such as networking. If other board need other ECC for example, they need to create a separate DTS file and augment the code, but I don't know if any other users will turn up. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- C

[PATCH v3 4/5] arm: Add support for the Broadcom Northstar SoCs

2023-03-21 Thread Linus Walleij
Linux kernel and OpenWrt as it is used in many routers. Since we currently don't need any chip-specific quirks and can get the system up from just the device tree, a mach-* directory doesn't even need to be added, just some small Kconfig fragments. Cc: Rafał Miłecki Signed-off-by: Lin

[PATCH v3 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-03-21 Thread Linus Walleij
This brings in the main SoC device tree used by the Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. This is taken from the latest Linux kernel. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- ChangeLog v1->v3: - Bundle with the iproc nand and algo select patches --- arch/arm/

Re: [PATCH 1/2] misc: vexpress_config: Use member .priv_auto to set the private data

2023-10-21 Thread Linus Walleij
g Looks like a reasonable solution to me! Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 2/2] vexpress64: Add MMC card to the BOOT_TARGET_DEVICES of FVP

2023-10-21 Thread Linus Walleij
On Wed, Oct 18, 2023 at 8:28 AM Qi Feng wrote: > From: Wei Chen > > Add MMC disk to FVP's BOOT_TARGET_DEVICES. This allows the user to boot > from MMC devices. > > Signed-off-by: Wei Chen > Signed-off-by: Qi Feng Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v2] bmips: Add Inteno XG6846 board

2023-10-31 Thread Linus Walleij
On Tue, Sep 26, 2023 at 11:23 AM Linus Walleij wrote: > This adds support for the Inteno XG6846 board based on the > Broadcom MIPS 6328 SoC. > > The default boot will read a uImage from flash and boot it. > > Reviewed-by: Daniel Schwierzeck > Signed-off-by: Linus Walleij

[PATCH v4 0/5] Add Broadcom Northstar basic support

2023-04-07 Thread Linus Walleij
to me who can merge this patches... BRCM custodian? Linus Walleij (5): nand: brcmnand: add iproc support mtd: rawnand: nand_base: Handle algorithm selection arm: dts: Import device tree for Broadcom Northstar arm: Add support for the Broadcom Northstar SoCs board: Add new Broadcom Northst

[PATCH v4 1/5] nand: brcmnand: add iproc support

2023-04-07 Thread Linus Walleij
Add support for the iproc Broadcom NAND controller, used in Northstar SoCs for example. Based on the Linux driver. Cc: Philippe Reynes Cc: Dario Binacchi Acked-by: William Zhang Reviewed-by: Michael Trimarchi Signed-off-by: Linus Walleij --- ChangeLog v3->v4: - No changes ChangeLog v2-

[PATCH v4 2/5] mtd: rawnand: nand_base: Handle algorithm selection

2023-04-07 Thread Linus Walleij
inux kernel but U-Boot core does not respect this. Fix it up by parsing the algorithm and preserve the behaviour using this property to select software BCH as far as possible. Reviewed-by: Michael Trimarchi Acked-by: William Zhang Signed-off-by: Linus Walleij --- ChangeLog v3->v4: - After a bug

[PATCH v4 4/5] arm: Add support for the Broadcom Northstar SoCs

2023-04-07 Thread Linus Walleij
Linux kernel and OpenWrt as it is used in many routers. Since we currently don't need any chip-specific quirks and can get the system up from just the device tree, a mach-* directory doesn't even need to be added, just some small Kconfig fragments. Cc: Rafał Miłecki Signed-off-by: Lin

[PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-04-07 Thread Linus Walleij
This brings in the main SoC device tree used by the Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. This is taken from the latest Linux kernel. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- ChangeLog v3->v4: - No changes ChangeLog v1->v3: - Bundle with the iproc nand an

[PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-07 Thread Linus Walleij
ad command, so we are currently not adding support for things such as networking. If other board need other ECC for example, they need to create a separate DTS file and augment the code, but I don't know if any other users will turn up. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- C

Re: [PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-04-07 Thread Linus Walleij
On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > On Fri, Apr 07, 2023 at 03:40:06PM +0200, Linus Walleij wrote: > > > This brings in the main SoC device tree used by the > > Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. > > This is taken from the latest Linux k

Re: [PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-07 Thread Linus Walleij
On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote: > > This adds a simple Northstar "BRCMNS" board to be used with > > the BCM4709x and BCM5301x chips. > > > > The main intention is to use this with

Re: [PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-08 Thread Linus Walleij
On Fri, Apr 7, 2023 at 11:40 PM Tom Rini wrote: > On Fri, Apr 07, 2023 at 11:31:03PM +0200, Linus Walleij wrote: > > On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > > > On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote: > > > > This adds a simple North

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-19 Thread Linus Walleij
ernel.org/u-boot/20230407134008.1939717-2-linus.wall...@linaro.org/ https://lore.kernel.org/u-boot/20230407134008.1939717-3-linus.wall...@linaro.org/ Otherwise please use these versions instead, because the second patch needed some fixing for Tom's system. Thanks a lot! Yours, Linus Walleij

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-19 Thread Linus Walleij
On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi wrote: > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij > wrote: > > > > On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi > > wrote: > > > > > Applied to nand-next ( as well as the patch "mtd: rawnand:

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-20 Thread Linus Walleij
On Wed, Apr 19, 2023 at 6:13 PM Dario Binacchi wrote: > On Wed, Apr 19, 2023 at 4:00 PM Linus Walleij > wrote: > > > > On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi > > wrote: > > > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij > > > wrote: > &

[PATCH] RFT: mips: implement __udivdi3

2023-09-17 Thread Linus Walleij
Mauro Condarelli Cc: Ralf Baechle Signed-off-by: Linus Walleij --- I can't test this because it didn't work for MTD devices as I had expected, but I saw Mauro had this problem before so I think I might have fixed it. I better put the patch out there rather than let it sit on my drive. ---

[PATCH] bmips: Add Inteno XG6846 board

2023-09-20 Thread Linus Walleij
This adds support for the Inteno XG6846 board based on the Broadcom MIPS 6328 SoC. The default boot will read a uImage from flash and boot it. Cc: Daniel Schwierzeck Signed-off-by: Linus Walleij --- arch/mips/dts/Makefile | 1 + arch/mips/dts/inteno,xg6846.dts | 57

Re: [PATCH] bmips: Add Inteno XG6846 board

2023-09-20 Thread Linus Walleij
ed to be upstreamed before the device trees can be upstreamed. But I can try to bring in more of it for sure :) > > +++ b/board/inteno/xg6846/xg6846.c > > @@ -0,0 +1,6 @@ > > +// SPDX-License-Identifier: GPL-2.0+ > > +/* > > + * Copyright (C) 2023 Linus Walleij > &

Re: [PATCH] RFT: mips: implement __udivdi3

2023-09-21 Thread Linus Walleij
); > return ret; > } > > #endif /* BITS_PER_LONG == 32 */ > > What do you think? Looks good to me! You can just modify the patch, sign off and apply, I guess? Go ahead! Yours, Linus Walleij

Re: [PATCH] bmips: Add Inteno XG6846 board

2023-09-25 Thread Linus Walleij
nywhere with this? If it's on the master I'll just rebase and be done with it, else I can go with an empty Makefile simply. Yours, Linus Walleij

[PATCH v2] bmips: Add Inteno XG6846 board

2023-09-26 Thread Linus Walleij
This adds support for the Inteno XG6846 board based on the Broadcom MIPS 6328 SoC. The default boot will read a uImage from flash and boot it. Reviewed-by: Daniel Schwierzeck Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Rebase on top of Tom's patches making Makefile option

[PATCH v5 0/3] Add Broadcom Northstar basic support

2023-04-24 Thread Linus Walleij
with the iproc NAND and nand base pacthes as the iproc patch is a prerequisite. - Jump from v1->v3 as the other patches was at version v3. Linus Walleij (3): arm: dts: Import device tree for Broadcom Northstar arm: Add support for the Broadcom Northstar SoCs board: Add new Broadcom Nort

[PATCH v5 1/3] arm: dts: Import device tree for Broadcom Northstar

2023-04-24 Thread Linus Walleij
This brings in the main SoC device tree used by the Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. This is taken from the v6.3 Linux kernel. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- ChangeLog v4->v5: - Rebase on the U-Boot master branch ChangeLog v3->v4: - No c

[PATCH v5 2/3] arm: Add support for the Broadcom Northstar SoCs

2023-04-24 Thread Linus Walleij
Linux kernel and OpenWrt as it is used in many routers. Since we currently don't need any chip-specific quirks and can get the system up from just the device tree, a mach-* directory doesn't even need to be added, just some small Kconfig fragments. Cc: Rafał Miłecki Signed-off-by: Lin

[PATCH v5 3/3] board: Add new Broadcom Northstar board

2023-04-24 Thread Linus Walleij
ey need to create a separate DTS file and augment the code, but I don't know if any other users will turn up. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- ChangeLog v4->v5: - Rebase on the U-Boot master branch - Add some documentation ChangeLog v3->v4: - No changes ChangeLog v1-&

[PATCH 00/14] Backport BRCMNAND changes from Linux

2023-01-15 Thread Linus Walleij
Hunting down a bug on my system I took to back-porting all reasonable changes from the Linux brcmnand driver that were not yet in the U-Boot derivative. I noticed that a simple diff -ur between brcmnand.c between the file in Linux and U-Boot was possible to see what differs. Combining this with so

[PATCH 01/14] mtd: nand: brcm: switch to mtd_ooblayout_ops

2023-01-15 Thread Linus Walleij
From: Boris Brezillon Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 260

[PATCH 02/14] mtd: rawnand: brcmnand: Fix BCH ECC layout for large page NAND parts

2023-01-15 Thread Linus Walleij
rom the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index 8ea33e861354..65aab4be87b9 100644 --- a/drivers

[PATCH 03/14] mtd: rawnand: brcmnand: Refactored code to introduce helper functions

2023-01-15 Thread Linus Walleij
From: Kamal Dasu Refactored NAND ECC and CMD address configuration code to use helper functions. Signed-off-by: Kamal Dasu Signed-off-by: Miquel Raynal [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 100

[PATCH 04/14] mtd: rawnand: brcmnand: Add support for v7.3 controller

2023-01-15 Thread Linus Walleij
: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 106 ++- 1 file changed, 84 insertions(+), 22 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index ede51def5063..ef73205d8c18 100644 --- a/drivers/mtd/nand

[PATCH 05/14] mtd: rawnand: brcmnand: Fix ecc chunk calculation for erased page bitfips

2023-01-15 Thread Linus Walleij
Kamal Dasu Signed-off-by: Miquel Raynal [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/ra

[PATCH 06/14] mtd: nand: brcmnand: Add support for flash-dma v0

2023-01-15 Thread Linus Walleij
From: Kamal Dasu This change adds support for flash dma v0.0. Signed-off-by: Kamal Dasu Signed-off-by: Miquel Raynal [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 21 +++-- 1 file changed, 19 insertions

[PATCH 07/14] mtd: rawnand: brcmnand: fix hamming oob layout

2023-01-15 Thread Linus Walleij
/linux-mtd/20200512075733.745374-2-nolt...@gmail.com [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/ra

[PATCH 08/14] mtd: rawnand: brcmnand: improve hamming oob layout

2023-01-15 Thread Linus Walleij
] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 35 +++- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index 7cb6f2651250..d082801b8306 100644 --- a

[PATCH 10/14] mtd: rawnand: brcmnand: rename v4 registers

2023-01-15 Thread Linus Walleij
from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index b87e3e0656df..effc7f1ea802 100644

[PATCH 09/14] mtd: rawnand: brcmnand: correctly verify erased pages

2023-01-15 Thread Linus Walleij
Fixes: 02b88eea9f9c ("mtd: brcmnand: Add check for erased page bitflips") Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20200512082451.771212-1-nolt...@gmail.com [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij -

[PATCH 11/14] mtd: rawnand: brcmnand: fix CS0 layout

2023-01-15 Thread Linus Walleij
by: Florian Fainelli Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20200522121524.4161539-3-nolt...@gmail.com [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 5 +++-- 1 file changed, 3 insertions(+), 2 dele

[PATCH 12/14] mtd: rawnand: brcmnand: rename page sizes

2023-01-15 Thread Linus Walleij
kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index c02d34ffbc95..934981e2f3fe 100644 --- a/drivers/mtd

[PATCH 13/14] mtd: rawnand: brcmnand: support v2.1-v2.2 controllers

2023-01-15 Thread Linus Walleij
...@gmail.com [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 85 +--- 1 file changed, 76 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c

[PATCH 14/14] mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC

2023-01-15 Thread Linus Walleij
lore.kernel.org/linux-mtd/20210224080210.23686-1-nolt...@gmail.com [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/

Re: [PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

2024-01-26 Thread Linus Walleij
e in the device tree. > > Signed-off-by: Ole P. Orhagen Nice! Reviewed-by: Linus Walleij Are you using the actual hardware, or QEMU? > - chosen { }; > + chosen { > + stdout-path = &v2m_serial0; > + }; Can you please send this patch also to the Linux codebase. Yours, Linus Walleij

Re: [PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

2024-01-29 Thread Linus Walleij
On Mon, Jan 29, 2024 at 12:54 PM Kristian Amlie wrote: > On 29/01/2024 12:41, Ole Orhagen wrote: > > On Fri, Jan 26, 2024 at 8:57 PM Linus Walleij > <mailto:linus.wall...@linaro.org>> wrote: > > Are you using the actual hardware, or QEMU? > > &

Re: [PATCH 04/33] arm: u8500: Remove and add needed includes

2024-04-30 Thread Linus Walleij
On Tue, Apr 30, 2024 at 3:36 PM Tom Rini wrote: > Remove from all mach-u8500 files and when needed add missing > include files directly. > > Signed-off-by: Tom Rini Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

2024-02-08 Thread Linus Walleij
.35 Filename 'zImage'. Load address: 0x6200 Loading: smc911x: MAC 00:02:f7:00:3c:9d Yours, Linus Walleij

[PATCH] mmc: arm_pl180_mmci: Rely on DM

2024-02-08 Thread Linus Walleij
: Linus Walleij --- drivers/mmc/Kconfig | 1 + drivers/mmc/arm_pl180_mmci.c | 66 ++-- 2 files changed, 3 insertions(+), 64 deletions(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 17618c3bdcc1..59716c3966e5 100644 --- a/drivers/mmc

Re: [PATCH] dt-bindings: vendor-prefixes: Add U-Boot bootloader prefix

2020-05-12 Thread Linus Walleij
ned-off-by: Michal Simek > --- > > The patch was created based on discussion with Rob > https://lore.kernel.org/linux-devicetree/CAL_Jsq+ehJSK7sjqmKtWOVjr-QZ3LDB+ywCO85uF8WJ+cB=a...@mail.gmail.com/ Makes sense. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 1/7] arm: juno: Fix Juno address variables

2020-03-26 Thread Linus Walleij
> certain setups. > > Signed-off-by: Andre Przywara > Reviewed-by: Liviu Dudau Makes perfect sense. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 2/7] uart: pl011: Add proper DM clock support

2020-03-26 Thread Linus Walleij
escribed by the official binding. > > These clock nodes seem to be not ready very early in the boot process, > so provide a fallback value, by re-using the already existing > CONFIG_PL011_CLOCK variable. > > Signed-off-by: Andre Przywara A good start for other platforms to follow. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 3/7] arm: juno: Fix UART clock rate

2020-03-27 Thread Linus Walleij
Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 4/7] arm: juno: Enable OF_CONTROL

2020-03-27 Thread Linus Walleij
It's a bit of duplication but what can we do. We need to inspect the flash to find the DTB that defines where the flash is. We can certainly live with this bootstrapping as a compromise. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 5/7] arm: juno: Use PSCI based reset

2020-03-27 Thread Linus Walleij
On Wed, Mar 25, 2020 at 3:47 PM Andre Przywara wrote: > So far the Juno board wasn't implementing reset. Let's just use the > already existing PSCI_RESET based method to avoid any extra code. > > Signed-off-by: Andre Przywara > Acked-by: Liviu Dudau Reviewed-by: Lin

Re: [PATCH 6/7] arm: juno: enable USB

2020-03-27 Thread Linus Walleij
Juno r0) > for loading. > > Signed-off-by: Andre Przywara > Acked-by: Liviu Dudau Excellent. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 7/7] arm: vexpress64: Remove unneeded CONFIG_ check

2020-03-27 Thread Linus Walleij
On Wed, Mar 25, 2020 at 3:47 PM Andre Przywara wrote: > CONFIG_SEMIHOSTING is selected for the VFP target by the means of > Kconfig already, there is no need to check this in the header file. > > Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 03/27] arm: Remove integratorap* boards

2021-05-15 Thread Linus Walleij
On Sat, May 15, 2021 at 3:34 AM Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline. > Remove them. > > Cc: Linus Walleij > Signed-off-by: Tom Rini > --- > I haven't fully streamlined things for integatorcp-only, in case you > wi

[PATCH] ARM: integrator: Drop PCI support

2021-05-15 Thread Linus Walleij
We didn't convert the Integrator to use DM for PCI in time, and we don't use it either so let's just drop PCI support from the Integrator. Signed-off-by: Linus Walleij --- board/armltd/integrator/Makefile| 1 - board/armltd/integrator/integrator.c| 1 - board/ar

Re: [PATCH 1/2] gpio: Drop long unused DB8500 GPIO driver

2021-07-02 Thread Linus Walleij
t;) fully embraces the > new Driver Model and device trees where possible, so this is > preparation to add a new, simplified GPIO driver based on DM_GPIO. > > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 2/2] gpio: Add driver for Nomadik GPIO

2021-07-02 Thread Linus Walleij
egisters that allow updating the state without having to read the > existing state. > > The driver implements support for it for use together with DM_GPIO > and the existing ste-dbx5x0.dtsi device tree. > > Cc: Linus Walleij > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] timer: nomadik-mtu: Use dev_read_addr_ptr()

2021-07-02 Thread Linus Walleij
On Fri, Jul 2, 2021 at 6:00 PM Stephan Gerhold wrote: > Simplify the code a bit by using dev_read_addr_ptr() instead of > dev_read_addr(). This avoids having to cast explicitly to the > struct nomadik_mtu_regs. > > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij

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

2021-07-02 Thread Linus Walleij
and mode displays) we need to explicitly > trigger a software sync. This is done through the video_sync() > callback that triggers the sync and wait for completion. > > Cc: Linus Walleij > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 2/3] phy: Add driver for ST-Ericsson AB8500 USB PHY

2021-07-07 Thread Linus Walleij
t the moment. > Therefore, one very simple approach that works fine is to select > the mode to configure at compile time. When the MUSB driver is > configured in host mode the PHY is configured in host mode, and > similarly when the MUSB driver is configured in device/gadget mode. >

Re: [PATCH 3/3] usb: musb-new: Add glue driver for ST-Ericsson Ux500

2021-07-07 Thread Linus Walleij
ogether with a generic PHY. > There are no SoC-specific registers etc needed to make USB work. > > The new Ux500 glue driver is only tested to work with DM_USB > and DM_USB_GADGET. Both host and gadget mode work fine on > the u8500 "stemmy" board that is already present in U-

Re: [PATCH 0/4] Add support for eMMC on ST-Ericsson Ux500(v2)

2021-07-07 Thread Linus Walleij
the u8500 "stemmy" board that is already present > in U-Boot. The series: Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 1/2] board: stemmy: Parse atags to get available memory

2021-07-07 Thread Linus Walleij
enerate ATAGS in U-Boot > (asm/setup.h) can also be easily used to parse them. > > Also clarify and simplify stemmy.h a bit to make it more clear where > some of the magic values in there are actually coming from. > > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij &g

Re: [PATCH 2/2] board: stemmy: Copy atags for booting downstream/vendor kernel

2021-07-07 Thread Linus Walleij
SERIAL that is also passed by the Samsung bootloader. > > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] arm: vexpress64: juno: Enable distro_bootcmd functionality

2021-07-21 Thread Linus Walleij
distributions and UEFI work out of the box. > The NOR flash kernel functionality is still preserved as the last > resort, should all other methods fail. > > Signed-off-by: Andre Przywara Looks helpful! Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [U-Boot] Should UEFI be disabled on ARM11 boards by default?

2019-11-20 Thread Linus Walleij
On Tue, Nov 19, 2019 at 7:44 PM Heinrich Schuchardt wrote: > Tom suggested to disable UEFI by default on ARM11 to reduce the size of > the U-Boot binary. This would concern the following boards: (...) > integratorcp_cm1136_defconfig That's fine to go without UEFI. Yours,

Re: [U-Boot] [PATCH 1/1] arm: fix -march for ARM11

2019-11-20 Thread Linus Walleij
m > Signed-off-by: Heinrich Schuchardt Reviewed-by: Linus Walleij Yours, Linus Walleij ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [PATCH v2 7/7] arm: vexpress64: Remove unneeded CONFIG_ check

2020-04-12 Thread Linus Walleij
On Tue, Apr 7, 2020 at 1:13 PM Andre Przywara wrote: > CONFIG_SEMIHOSTING is selected for the VFP target by the means of > Kconfig already, there is no need to check this in the header file. > > Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] fvp: Add support for loading Android boot images via semihosting

2020-04-16 Thread Linus Walleij
ks for doing this. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 1/7] arm: vexpress64: Fix counter frequency

2020-06-20 Thread Linus Walleij
On Thu, Jun 11, 2020 at 1:04 PM Andre Przywara wrote: > The arch timer on 64-bit Arm Ltd. platforms is driven by a 24 MHz > crystal oscillator, so the frequency is not 25165824 MHz, as the current > code suggests. > > Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij

Re: [PATCH 2/7] net: dm: Remove warning about EEPROM provided MAC address

2020-06-20 Thread Linus Walleij
orld having a unique MAC address > sitting in some on-NIC storage is considered the normal case. > > If there is a properly provided MAC address (either from ROM or from DT), > remove the warning to not scare the user unnecessarily. > > Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 3/7] net: smc911x: Properly handle EEPROM MAC address

2020-06-20 Thread Linus Walleij
gt; This fixes MAC address issues when using the driver in DM_ETH "mode". > > Signed-off-by: Andre Przywara Oups. That explains why the ethernet addresses were looking so funny at times. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 4/7] arm: juno: Enable DM_ETH

2020-06-20 Thread Linus Walleij
On Thu, Jun 11, 2020 at 1:04 PM Andre Przywara wrote: > The smc911X driver is now DM enabled, so we can switch the Juno board > over to use DM_ETH for the on-board Fast Ethernet device. > Works out of the box by using the DT. > > Signed-off-by: Andre Przywara Reviewed-by: Linus

Re: [PATCH 5/7] sata_sil: Enable DM_PCI operation

2020-06-20 Thread Linus Walleij
; DM_PCI_COMPAT to covert the rest of the interface. > > Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 6/7] arm: juno: Enable PCI

2020-06-20 Thread Linus Walleij
PCIe devices. > > Add the respective options to the Juno defconfig to enable the PCI > framework and the generic ECAM driver, and initialise the driver upon > loading U-Boot. > > Make some functions in the Juno PCIe init code static on the way. > > Signed-off-by: Andre Przywara E

Re: [PATCH 7/7] arm: juno: Enable SATA controller

2020-06-20 Thread Linus Walleij
from SATA disks. > > Tested by loading kernels and Grub/EFI from an SSD and successfully > booting a Linux system (with and without using UEFI). > > Signed-off-by: Andre Przywara Nice!! Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [RFC PATCH 1/5] timer: Add driver for Nomadik Multi Timer Unit (MTU)

2020-01-05 Thread Linus Walleij
Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [RFC PATCH 2/5] arm: dts: Import device tree for ST-Ericsson Ux500

2020-01-05 Thread Linus Walleij
merge in Linux 5.6) > > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [RFC PATCH 3/5] arm: Add support for ST-Ericsson U8500 SoC

2020-01-05 Thread Linus Walleij
n future patches. > > Cc: Mathieu Poirier > Cc: John Rigby > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [RFC PATCH 4/5] MAINTAINERS: Add ARM U8500

2020-01-05 Thread Linus Walleij
On Sat, Jan 4, 2020 at 6:48 PM Stephan Gerhold wrote: > Add myself as maintainer for ST-Ericsson U8500 SoC to MAINTAINERS. > Linus Walleij usually reviews all Ux500 related patches, > so add him as a reviewer. > > Cc: Linus Walleij > Signed-off-by: Stephan Gerhold Reviewed

Re: [RFC PATCH 5/5] board: Add new Samsung "stemmy" board based on ST-Ericsson U8500

2020-01-05 Thread Linus Walleij
t; flashing Android boot images through Samsung's proprietary download > mode. > > The Samsung "stemmy" board covers all Samsung devices based on U8500. > Add minimal support for "stemmy". For now only UART is supported but > this will be extended later. > > Signed-off-by: Stephan Gerhold Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH] cmd: Add a SEAMA image load command

2023-01-31 Thread Linus Walleij
-off-by: Linus Walleij --- MAINTAINERS | 7 ++ README | 1 + cmd/Kconfig | 6 ++ cmd/Makefile| 1 + cmd/seama.c | 158 doc/usage/cmd/seama.rst | 60 +++ doc/usage/index.rst

[PATCH 0/3] Add Broadcom Northstar basic support

2023-02-01 Thread Linus Walleij
-Boot. While it is a bit tailored to this usecase (it can probably also be used with the DIR-885L without modifications) it forms a base that can be used to support more Northstar boards. I have this working with DIR-890L and OpenWrt: https://dflund.se/~triad/krad/dlink-dir-890l/ Linus Walleij (3):

[PATCH 2/3] arm: Add support for the Broadcom Northstar SoCs

2023-02-01 Thread Linus Walleij
Linux kernel and OpenWrt as it is used in many routers. Since we currently don't need any chip-specific quirks and can get the system up from just the device tree, a mach-* directory doesn't even need to be added, just some small Kconfig fragments. Cc: Rafał Miłecki Signed-off-by: Lin

[PATCH 1/3] arm: dts: Import device tree for Broadcom Northstar

2023-02-01 Thread Linus Walleij
This brings in the main SoC device tree used by the Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. This is taken from the latest Linux kernel. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- arch/arm/dts/bcm5301x.dtsi | 581 include/dt-bindings

[PATCH 3/3] board: Add new Broadcom Northstar board

2023-02-01 Thread Linus Walleij
ad command, so we are currently not adding support for things such as networking. If other board need other ECC for example, they need to create a separate DTS file and augment the code, but I don't know if any other users will turn up. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- a

Re: [PATCH 01/14] mtd: nand: brcm: switch to mtd_ooblayout_ops

2023-02-03 Thread Linus Walleij
On Fri, Feb 3, 2023 at 9:48 AM Michael Nazzareno Trimarchi wrote: > On Thu, Jan 26, 2023 at 6:39 PM William Zhang > wrote: > > > > > > > > On 01/26/2023 12:43 AM, Linus Walleij wrote: > > > On Thu, Jan 26, 2023 at 2:02 AM William Zhang > > > wrote

  1   2   3   4   5   >