This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: Introduce changes reported by Simon Glass:
- Improve dma-uclass.h documen
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6358.dtsi | 18 ++
include/dt-bindings/dma/bcm6358-dma.h | 17 +
2 files changed, 35 insertions(+)
create mode 100644 include/dt-bindin
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: no changes
v2: select DMA_CHANNELS.
drivers/net/Kconfig| 10 +
drivers/net/Makefile | 1 +
drivers/net/bcm6348-eth.c | 517 +
include/configs/bmips_co
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: no changes
v2: no changes
arch/mips/dts/sagem,f...@st1704.dts | 12
configs/sagem_f@st1704_ram_defconfig | 9 -
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/arch/mips/dts/s
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6348.dtsi | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6348.dtsi b/arch/mips/dts/brcm,bcm6348.dtsi
index d774
No comments about DMA?
2018-02-12 17:38 GMT+01:00 Álvaro Fernández Rojas <nolt...@gmail.com>:
> In order to add bcm6348-enet support, dma-uclass must be extended to
> support
> dma channels and rewordked to operate like the other dm uclass (clk,
> reset...).
>
> This i
Hello Jagan,
El 10/08/2017 a las 11:25, Jagan Teki escribió:
On Sun, Jul 30, 2017 at 5:43 PM, Álvaro Fernández Rojas
<nolt...@gmail.com> wrote:
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Review
Hi Jagan,
El 11/08/2017 a las 11:42, Jagan Teki escribió:
On Sun, Jul 30, 2017 at 5:44 PM, Álvaro Fernández Rojas
<nolt...@gmail.com> wrote:
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com&
Hello Tom,
El 01/01/2018 a las 14:41, Tom Rini escribió:
On Sat, Dec 30, 2017 at 11:12:36AM +0100, Álvaro Fernández Rojas wrote:
The only difference with the existing wait_for_bit function is the fact that
wait_for_bit_be expects the register size to be read.
Signed-off-by: Álvaro Fernández
Command bytes are part of the written bytes and they should be taken into
account when sending a spi transfer.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
It's a Winbond (w25x32) 4 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: sync with master
v4: switch to CONFIG_BCM63XX_SPI
v3: rename BCM6338 SPI driver to BCM6348
v2
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: no changes
v4: no changes
v3: rename BCM6338 SPI driver to BCM6348
v2: a
This driver manages the low speed SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: no changes
v4: no changes
v3: no changes
v2: add spi alias
a
It's a Spansion (s25fl064a) 8 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: sync with master
v4: switch to CONFIG_BCM63XX_SPI
v3: no changes
v2: remove spi alias
a
Add 8/16/32 bits and BE/LE versions of wait_for_bit.
This is needed for reading registers that are not aligned to 32 bits.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v6: Introduce changes suggested by Jagan Teki:
- Switch to wait_for_bit instead of infinite loop.
i
driver to BCM6348 SPI since BCM6338 is a stripped
down version of the BCM6348.
Switch to devfdt_get_addr_size_index().
v2: Introduce changes requested by Simon Glass:
- Always include command bytes when determining max write size.
Also move SPI aliases from .dts to .dtsi files.
Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: no changes
v4: no changes
v3: no changes
v2: add spi alias
arch/mips/dts/
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: no changes
v4: no changes
v3: rename BCM6338 SPI driver to BCM6348
v2: a
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: no changes
v5: no changes
v4: no changes
v3: no changes
v2: add spi alias
arch/mips/dts/
For some SPI controllers it's not possible to keep the CS active between
transfers and they are limited to a known number of bytes.
This splits spi_flash reads into different iterations in order to respect
the SPI controller limits.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
v6: Introduce changes suggested by
This prevents the following ENOMEM:
Error binding driver 'bmips_cpu': -12
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/mach-bmips/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/mach-bmips/Kconfig b/arch/mips/mach-bmips/Kconfig
index e3e1
BCM6368 is a dual core BCM63xx SoC.
Álvaro Fernández Rojas (3):
dm: cpu: bmips: add BCM6368 support
MIPS: add support for Broadcom MIPS BCM6368 SoC family
MIPS: add BMIPS Comtrend WAP-5813n board
arch/mips/dts/brcm,bcm6368.dtsi | 168 ++
arch/mips/dts
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/dts/comtrend,wap-5813n.dts| 65 +
board/comtrend/wap5813n/Kconfig | 12 ++
board/comtrend/wap5813n/MAINTAINERS | 6 +++
board/comtrend/wap5813n/Makefile
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/dts/brcm,bcm6368.dtsi | 168 ++
arch/mips/mach-bmips/Kconfig | 24 +
include/configs/bmips_bcm6368.h | 30 ++
include/dt-bindings/clock/bcm6368-c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/cpu/bmips_cpu.c | 36
1 file changed, 36 insertions(+)
diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c
index 1eb744adcd..2e3f1de74e 100644
--- a/drivers/cpu/bmips_cpu.c
to b23c685c6f295da3c01dd487f0e003b70299af91:
mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22
10:39:13 +0530)
NAK:
commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
Author: Álvaro Fernández Rojas <nolt...@gmail.com>
Date: Sat Jan 20 02:11:34 2018 +0100
wait_bit: ad
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@chromium.org>
It's a Spansion (s25fl064a) 8 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v10: n
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@o
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@chromium.org>
For some SPI controllers it's not possible to keep the CS active between
transfers and they are limited to a known number of bytes.
This splits spi_flash reads into different iterations in order to respect
the SPI controller limits.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.
This driver manages the low speed SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@c
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@chromium.org>
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@chromium.org>
wait_for_bit callers use the 32 bit LE version
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
---
v10: no changes
v9: no changes
v8: Introduce changes sugge
Add 8/16/32 bits and BE/LE versions of wait_for_bit.
This is needed for reading registers that are not aligned to 32 bits, and for
Big Endian platforms.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by
Command bytes are part of the written bytes and they should be taken into
account when sending a spi transfer.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
It's a Winbond (w25x32) 4 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Reviewed-by: Jagan Teki <ja...@openedev.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v10: no change
down version of the BCM6348.
Switch to devfdt_get_addr_size_index().
v2: Introduce changes requested by Simon Glass:
- Always include command bytes when determining max write size.
Also move SPI aliases from .dts to .dtsi files.
Álvaro Fernández Rojas (12):
wait_bit: add 8/16/32 BE/LE versions of
Hi Grygorii,
El 09/03/2018 a las 0:07, Grygorii Strashko escribió:
Hi Álvaro,
On 03/05/2018 02:05 PM, Álvaro Fernández Rojas wrote:
This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).
Signed-off
Hi Joe,
El 07/03/2018 a las 22:46, Joe Hershberger escribió:
On Mon, Mar 5, 2018 at 2:05 PM, Álvaro Fernández Rojas
<nolt...@gmail.com> wrote:
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: Receive as much packets as possible from bcm6348-eth an
Hi Joe,
El 07/03/2018 a las 21:28, Joe Hershberger escribió:
On Mon, Mar 5, 2018 at 2:05 PM, Álvaro Fernández Rojas
<nolt...@gmail.com> wrote:
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
inclu
Hi Joe,
El 07/03/2018 a las 22:27, Joe Hershberger escribió:
On Mon, Mar 5, 2018 at 2:05 PM, Álvaro Fernández Rojas
<nolt...@gmail.com> wrote:
This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).
Hi Daniel,
El 17/03/2018 a las 20:30, Daniel Schwierzeck escribió:
On 04.02.2018 11:18, Álvaro Fernández Rojas wrote:
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/phy/Kconfig| 6 +++
drivers/phy/Makefile | 1 +
drivers/phy/bcm634
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/phy/bcm6348-usbh-phy.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/phy/bcm6348-usbh-phy.c b/drivers/phy/bcm6348-usbh-phy.c
index 169e
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/clk/clk_bcm6345.c | 8 ++--
1 file changed, 2 insertions(+),
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/reset/reset-bcm6345.c | 8 ++--
1 file changed, 2 insertions(+),
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/spi/bcm63xx_hsspi.c | 12 +++-
1 file changed, 3 insertions(+),
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/watchdog/bcm6345_wdt.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/watchdog/bcm6345
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/phy/bcm6368-usbh-phy.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/phy/bcm6368-usbh-phy.c b/drivers/phy/bcm6368-usbh-phy.c
index 71abc0fcc4..2c42
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/power/domain/bcm6328-power-domain.c | 8 ++--
1 file changed, 2 inse
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/phy/bcm6358-usbh-phy.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/phy/bcm6358-usbh-phy.c b/drivers/phy/bcm6358-usbh-phy.c
index e000
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/phy/bcm6318-usbh-phy.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/phy/bcm6318-usbh-phy.c b/drivers/phy/bcm6318-usbh-phy.c
index 6d54
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/ram/bmips_ram.c | 7 ++-
1 file changed, 2 insertions(+), 5 deleti
).
Álvaro Fernández Rojas (17):
dm: core: add functions to get memory-mapped I/O addreses
watchdog: bcm6345: convert to use live dt
serial: bcm6345: convert to use live dt
clk: bcm6345: convert to use live dt
reset: bcm6345: convert to use live dt
gpio: bcm6345: convert to use live dt
led
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/serial/serial_bcm6345.c | 8 ++--
1 file changed, 2 insertions(+),
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr_index function.
drivers/gpio/bcm6345_gpio.c | 18 +-
1 file changed,
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/cpu/bmips_cpu.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c
index 6c612bacdc..f766be22e6 100644
--- a/drivers/cpu/bmips_cpu.c
+++ b/d
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/led/led_bcm6328.c | 52 ---
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/core/fdtaddr.c | 12
drivers/core/read.c| 12
include/dm/fdtaddr.h | 22 ++
include/dm/read.h | 32
4 files changed, 78 inse
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Use generic dev_remap_addr function.
drivers/led/led_bcm6358.c | 44 +++-
1 file changed, 15 insertions(+), 29 deletions(-)
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v2: Introduce changes suggested by Daniel Schwierzeck and Simon Glass:
- Use generic dev_remap_addr function.
- Fix bcm63xx_spi conversion.
drivers/spi/bcm63x
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/clk/clk_bcm6345.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/clk_bcm6345.c b/drivers/clk/clk_bcm6345.c
index 93603fa825..f74f470597 100644
--- a/drivers/clk/clk_bcm6345.c
+++ b/d
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/serial/serial_bcm6345.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/serial_bcm6345.c b/drivers/serial/serial_bcm6345.c
index 20f67f4b7e..f410de03c0 100644
--- a/drivers/
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/reset/reset-bcm6345.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c
index ebf6bee9e6..9679d7d4b2 100644
--- a/drivers/reset/reset-b
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/power/domain/bcm6328-power-domain.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/power/domain/bcm6328-power-domain.c
b/drivers/power/domain/bcm6328-power-domain.c
index 776a
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/spi/bcm63xx_spi.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_spi.c b/drivers/spi/bcm63xx_spi.c
index f0df6871d8..357b8ab6d7 100644
--- a/drivers/spi/bcm63xx_spi.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/spi/bcm63xx_hsspi.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hsspi.c
index 3393166a1e..ece1ed214c 100644
--- a/drivers/spi/bcm63xx_h
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/sysreset/sysreset_syscon.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/sysreset/sysreset_syscon.c
b/drivers/sysreset/sysreset_syscon.c
index 3abce7f678..22c602a4d2 100644
--- a/d
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/watchdog/bcm6345_wdt.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/watchdog/bcm6345_wdt.c b/drivers/watchdog/bcm6345_wdt.c
index 3ef7d438a6..90b33aadf1 100644
--- a/drivers/wa
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/gpio/bcm6345_gpio.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/gpio/bcm6345_gpio.c b/drivers/gpio/bcm6345_gpio.c
index b9100cdc58..92541f6002 100644
--- a/driver
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/led/led_bcm6328.c | 48 +--
1 file changed, 17 insertions(+), 31 deletions(-)
diff --git a/drivers/led/led_bcm6328.c b/drivers/led/led_bcm6328.c
index 5d545c5096..0994229bce
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/led/led_bcm6358.c | 40 +++-
1 file changed, 15 insertions(+), 25 deletions(-)
diff --git a/drivers/led/led_bcm6358.c b/drivers/led/led_bcm6358.c
index e8a3b64e68..c7a829ad57
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/ram/bmips_ram.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c
index 7a5dfac4ab..6b05fb1d89 100644
--- a/drivers/ram/bmips_ram.c
+++ b/drive
Hi Daniel,
El 23/03/2018 a las 15:34, Daniel Schwierzeck escribió:
On 22.03.2018 19:39, Álvaro Fernández Rojas wrote:
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/core/fdtaddr.c | 12
drivers/core/read.c| 12
include/dm/fdt
This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v5: remove unneeded dma.h
Move dma_ops to a separate header file, following other uclass implementations.
While doing so, this patch also improves dma_ops documentation.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v5: fix build of ti-edm
by Vignesh:
- Respect current dma implementation.
- Let dma_memcpy find a compatible dma device.
Other changes:
- Fix bcm6348-iudma rx burst config.
Álvaro Fernández Rojas (15):
dma: move dma_ops to dma-uclass.h
dma: add channels support
dma: add bcm6348-iudma support
bmips: bcm6338: add
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
include/phy.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/phy.h b/include/phy.h
index 0543ec10c2..8f3e53db01 100644
--- a/include/phy.h
+++ b/i
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/sagem,f...@st1704.dts | 12
configs/sagem_f@st1704_ram_defconfig | 9 -
2 files changed, 20 insertions(+), 1 deletion(-)
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/comtrend,ct-5361.dts| 12
configs/comtrend_ct5361_ram_defconfig | 8 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff
Hi Grygorii,
Thanks for reporting that, it should be fixed on v5.
Regards,
Álvaro.
El 05/03/2018 a las 20:35, Grygorii Strashko escribió:
On 02/22/2018 10:18 AM, Simon Glass wrote:
On 21 February 2018 at 09:10, Álvaro Fernández Rojas <nolt...@gmail.com> wrote:
Move dma_ops to a se
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6358.dtsi | 28
1 file changed, 28 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dt
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/huawei,hg556a.dts | 12
configs/huawei_hg556a_ram_defconfig | 8 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6358.dtsi | 18 ++
include/dt-bindings/dma/bcm6358-dma.h | 17 +
2 files changed, 35 insertions(+)
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6338.dtsi | 14 ++
include/dt-bindings/dma/bcm6338-dma.h | 15 +++
2 files changed, 29 insertions(+)
creat
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6348.dtsi | 16
include/dt-bindings/dma/bcm6348-dma.h | 17 +
2 files changed, 33 insertions(+)
creat
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: Receive as much packets as possible from bcm6348-eth and cache them in
net_rx_packets. This is needed in order to fix flow control issues.
v4: Fix issues reported by Grygorii Strashko and other fixes:
- Copy received dma
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/sfr,nb4-ser.dts | 24
configs/sfr_nb4-ser_ram_defconfig | 8 +++-
2 files changed, 31 insertions(+), 1 deletion(-)
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: Several fixes and improvements:
- Remove unused defines.
- Increment rx descriptors.
- Fix flow control issues.
- Error checking now depends
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6338.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6338.dtsi b/arch/mips/dts/brcm,bcm633
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: no changes
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6348.dtsi | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6348.dtsi b/arch/mips/dt
dma_memcpy find a compatible dma device.
Other changes:
- Fix bcm6348-iudma rx burst config.
Álvaro Fernández Rojas (15):
dma: move dma_ops to dma-uclass.h
dma: add channels support
dma: add bcm6348-iudma support
bmips: bcm6338: add bcm6348-iudma support
bmips: bcm6348: add bcm6348-iudma
Move dma_ops to a separate header file, following other uclass implementations.
While doing so, this patch also improves dma_ops documentation.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v4: no changes
v3: Intro
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6338.dtsi | 14 ++
include/dt-bindings/dma/bcm6338-dma.h | 15 +++
2 files changed, 29 insertions(+)
create mode 100644 incl
This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v4: no changes
v3: Introduce chan
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: no changes
v3: no changes
v2: no changes
include/phy.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/phy.h b/include/phy.h
index 0543ec10c2..8f3e53db01 100644
--- a/include/phy.h
+++ b/include/phy.h
@@
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: Fix issues reported by Grygorii Strashko and other fixes:
- Remove usage of net_rx_packets as buffer.
- Allocate dynamic rx buffer.
- Check dma
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/huawei,hg556a.dts | 12
configs/huawei_hg556a_ram_defconfig | 8 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/mi
501 - 600 of 786 matches
Mail list logo