[U-Boot] [PATCH 0/7] MSCC: Add Jaguar2 SOC family

2019-01-06 Thread Horatiu Vultur
This patch series add support for MSCC Jaguar2 SOC family. In this family there are following boards: Jaguar2(pcb110), Jaguar2-48(pcb111) and Serval2(pcb112). This is based off the u-boot-mips/next repository Horatiu Vultur (7): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC

[U-Boot] [PATCH 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-06 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

[U-Boot] [PATCH 4/7] MSCC: Add device tree for Jaguar2-48 board

2019-01-06 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH 5/7] MSCC: add device tree for Serval2 board

2019-01-06 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

[U-Boot] [PATCH 6/7] MSCC: add configuration for Jaguar2 SOC family.

2019-01-06 Thread Horatiu Vultur
Add configuration that is used by Jaguar2 SOC family. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + configs/mscc_jr2_defconfig | 59 ++ 2 files changed, 60 insertions(+) create mode 100644 configs/mscc_jr2_defconfig diff --git

[U-Boot] [PATCH 7/7] MSCC: Add board support for Jaguar2 SOC family.

2019-01-06 Thread Horatiu Vultur
Add board support for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Makefile| 5 +- board/mscc/common/spi.c | 31 ++ board/mscc/jr2/Kconfig | 15

[U-Boot] [PATCH 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-06 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-06 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extented mscc-common to support new number of pins. Signed-off-by: Horatiu Vultur --- MAINTAINERS| 1 + drivers/pinctrl/mscc/Kconfig | 9 ++ drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc

[U-Boot] [PATCH 0/3] mtd: spi: Add MSCC SPI flash driver

2019-01-16 Thread Horatiu Vultur
is based on u-boot-mips/next. Horatiu Vultur (3): mtd: spi: export functions to sf_internal.h mtd: spi: add MSCC SPI flash driver mips: mscc: use MSCC SPI flash driver for Luton MAINTAINERS | 1 + arch/mips/dts/luton_pcb090.dts | 3 +- arch/mips/dts/luton_pcb091.dts | 3

[U-Boot] [PATCH 1/3] mtd: spi: export functions to sf_internal.h

2019-01-16 Thread Horatiu Vultur
Expose the following functions: clean_bar, write_bar, spi_flash_std_write, spi_flash_std_erase and spi_flash_std_probe to sf_internal.h to be able to reuse them. Cc: Jagan Teki Signed-off-by: Horatiu Vultur --- drivers/mtd/spi/sf_internal.h | 8 drivers/mtd/spi/sf_probe.c| 8

[U-Boot] [PATCH 1/3] pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family.

2019-01-16 Thread Horatiu Vultur
The Servalt SoC family has 36 pins. Currently there is not support for Servalt pinctrl in Linux kernel. Signed-off-by: Horatiu Vultur --- drivers/pinctrl/mscc/Kconfig | 9 ++ drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc/pinctrl-servalt.c | 269

[U-Boot] [PATCH 0/3] MSCC: Add Servalt SoC family

2019-01-16 Thread Horatiu Vultur
This patch series adds support for MSCC Servalt SoC family. In this family there is only one board: Servalt(pcb116). This is based off the u-boot-mips/next repository Horatiu Vultur (3): pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family. MSCC: Add support for Servalt SoC family

Re: [U-Boot] [PATCH 1/2] MSCC: Add sysreset drivers for MSCC Socs

2019-01-16 Thread Horatiu Vultur
Hi Daniel, The 01/16/2019 15:22, Daniel Schwierzeck wrote: > > > Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > > Add sysreset driver for Luton, Ocelot and Jaguar2 SoCs. > > > > Signed-off-by: Horatiu Vultur > > --- > > MAINTAINERS

[U-Boot] [PATCH 3/3] mips: mscc: use MSCC SPI flash driver for Luton

2019-01-16 Thread Horatiu Vultur
Update Luton DT and defconfig to use the new MSCC SPI flash driver. Signed-off-by: Horatiu Vultur --- arch/mips/dts/luton_pcb090.dts | 3 ++- arch/mips/dts/luton_pcb091.dts | 3 ++- configs/mscc_luton_defconfig | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/mips

[U-Boot] [PATCH 3/3] MSCC: Add board support for Servalt SoC family

2019-01-16 Thread Horatiu Vultur
Add board support, configuration and DTS for Servalt SoC family. Currently there is one board in this family. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/dts/mscc,servalt.dtsi | 149 +++ arch/mips/dts/servalt_pcb116

[U-Boot] [PATCH 2/3] MSCC: Add support for Servalt SoC family.

2019-01-16 Thread Horatiu Vultur
As Ocelot, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 8 + arch/mips/mach-mscc/cpu.c | 2 +- arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH 2/3] mtd: spi: add MSCC SPI flash driver

2019-01-16 Thread Horatiu Vultur
the SPI driver. Using this driver improves the read throughput by a factor of 4.75. Cc: Jagan Teki Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/mtd/spi/Kconfig | 8 + drivers/mtd/spi/Makefile| 1 + drivers/mtd/spi/sf_mscc_flash.c | 76

Re: [U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-16 Thread Horatiu Vultur
Hi Daniel, The 01/16/2019 15:35, Daniel Schwierzeck wrote: > > > Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > > Remove reset.c because it is not used anymore. It is superseed by > > sysreset driver. > > > > Signed-off-by: Horatiu Vultur > >

[U-Boot] [PATCH 1/2] MSCC: Add sysreset drivers for MSCC Socs

2019-01-15 Thread Horatiu Vultur
Add sysreset driver for Luton, Ocelot and Jaguar2 SoCs. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/mscc,jr2.dtsi | 7 +- arch/mips/dts/mscc,luton.dtsi| 10 +++ arch/mips/dts/mscc,ocelot.dtsi | 5 ++ board/mscc/ocelot/ocelot.c

[U-Boot] [PATCH 0/2] MSCC: Add sysreset driver for MSCC SoCs

2019-01-15 Thread Horatiu Vultur
This patch series adds sysreset drivers for MSCC SoCs. There are 3 drivers: sysreset_jr2, sysreset_ocelot and sysreset_luton. This is based off the u-boot-mips/next repository. Horatiu Vultur (2): MSCC: Add sysreset drivers for MSCC Socs MSCC: Remove reset.c MAINTAINERS

[U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-15 Thread Horatiu Vultur
Remove reset.c because it is not used anymore. It is superseed by sysreset driver. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Makefile | 2 +- arch/mips/mach-mscc/include/mach/ddr.h | 18 - arch/mips/mach-mscc/reset.c| 47

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-21 Thread Horatiu Vultur
Hi Vignesh, I have done few small tests on Ocelot and Luton boards which have SPI NOR: mx25l25635f and m25p128. I have not seen any issues. So if you want, you can add: Tested-by: Horatiu Vultur The 12/21/2018 12:08, Vignesh R wrote: > U-Boot SPI NOR support (sf layer) is quite outda

[U-Boot] [PATCH 5/5] MSCC: Add board support for Serval SoC family.

2019-01-23 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SoC family. The detection of the board type is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile| 1 + arch/mips/mach-mscc/Makefile | 1 + board/mscc/serval/Kconfig | 14 board/mscc/serval

[U-Boot] [PATCH 2/5] MSCC: Add support for Serval SoC family.

2019-01-23 Thread Horatiu Vultur
As Ocelot, Servalt, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 2 +- arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH 1/5] pinctrl: mscc: Add gpio and pinctrl for Serval SoC family.

2019-01-23 Thread Horatiu Vultur
The Serval SoC family has 32 pins. Currently there is no support for Serval in Linux kernel. Signed-off-by: Horatiu Vultur --- drivers/pinctrl/mscc/Kconfig | 10 ++ drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc/pinctrl-serval.c | 233

Re: [U-Boot] [PATCH 0/5] MSCC: Add Serval SoC family.

2019-01-23 Thread Horatiu Vultur
Hi Daniel, The 01/23/2019 17:38, Daniel Schwierzeck wrote: > > > Am 23.01.19 um 16:39 schrieb Horatiu Vultur: > > This patch series adds support for MSCC Serval SoC family. In this > > family there are the following boards: pcb105 and pcb106. > > > > Thi

[U-Boot] [PATCH 4/5] MSCC: Add device tree for Serval pcb106 board

2019-01-23 Thread Horatiu Vultur
Add device tree based on evaluation board pcb106. Signed-off-by: Horatiu Vultur --- arch/mips/dts/serval_pcb106.dts | 56 + 1 file changed, 56 insertions(+) create mode 100644 arch/mips/dts/serval_pcb106.dts diff --git a/arch/mips/dts/serval_pcb106.dts

[U-Boot] [PATCH 3/5] MSCC: add device tree for Serval pcb105 board

2019-01-23 Thread Horatiu Vultur
Add device tree based on evaluation board pcb105. Signed-off-by: Horatiu Vultur --- arch/mips/dts/mscc,serval.dtsi | 149 arch/mips/dts/serval_pcb105.dts | 56 +++ 2 files changed, 205 insertions(+) create mode 100644 arch/mips/dts/mscc

[U-Boot] [PATCH 0/5] MSCC: Add Serval SoC family.

2019-01-23 Thread Horatiu Vultur
This patch series adds support for MSCC Serval SoC family. In this family there are the following boards: pcb105 and pcb106. This is based off the patch series[1]. [1] https://lists.denx.de/pipermail/u-boot/2019-January/355031.html Horatiu Vultur (5): pinctrl: mscc: Add gpio and pinctrl

Re: [U-Boot] [PATCH 1/3] mtd: spi: export functions to sf_internal.h

2019-01-17 Thread Horatiu Vultur
Hi Daniel, The 01/16/2019 15:07, Daniel Schwierzeck wrote: > > > Am 16.01.19 um 13:07 schrieb Horatiu Vultur: > > Expose the following functions: clean_bar, write_bar, spi_flash_std_write, > > spi_flash_std_erase and spi_flash_std_probe to sf_internal.h to be able to > &

[U-Boot] [PATCH v2 0/3] MSCC: Add Servalt SoC family

2019-01-17 Thread Horatiu Vultur
This patch series adds support for MSCC Servalt SoC family. In this family there is only one board: Servalt(pcb116). This is based off the u-boot-mips/next repository v2-changes: - rename label for gpio in dts. Horatiu Vultur (3): pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family

[U-Boot] [PATCH v2 1/3] pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family.

2019-01-17 Thread Horatiu Vultur
The Servalt SoC family has 36 pins. Currently there is not support for Servalt pinctrl in Linux kernel. Reviewed-by: Daniel Schwierzeck Signed-off-by: Horatiu Vultur --- drivers/pinctrl/mscc/Kconfig | 9 ++ drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc

[U-Boot] [PATCH v2 2/3] MSCC: Add support for Servalt SoC family.

2019-01-17 Thread Horatiu Vultur
As Ocelot, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Reviewed-by: Daniel Schwierzeck Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 8 + arch/mips/mach-mscc/cpu.c | 2 +- arch/mips/mach

[U-Boot] [PATCH v2 3/3] MSCC: Add board support for Servalt SoC family

2019-01-17 Thread Horatiu Vultur
Add board support, configuration and DTS for Servalt SoC family. Currently there is one board in this family. Reviewed-by: Daniel Schwierzeck Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/dts/mscc,servalt.dtsi | 149

Re: [U-Boot] commit 9a9d66f5ef break U-Boot Env

2019-01-18 Thread Horatiu Vultur
Hi Heiko, The 01/18/2019 09:34, Heiko Schocher wrote: > Hello Horatiu, > > just tried current mainline U-Boot on imx6ull based board with > Env in SPI NOR. Your commit "9a9d66f5eff0" > > env: add spi_flash_read_env function > > breaks reading Env from SPI NOR in my case... > > If I interprete

Re: [U-Boot] MIPS (mt7688): EBase change in U-Boot breaks Linux

2018-12-13 Thread Horatiu Vultur
Hi Stefan, The 12/12/2018 12:41, Stefan Roese wrote: > Hi Horatiu Vultur, > > On 12.12.18 12:21, Horatiu Vultur wrote: > > Is your Linux Kernel compile with CONFIG_CPU_MIPSR2_IRQ_VI? Because we > > had similar issue with two of our boards(Ocelot and Luton). >

Re: [U-Boot] MIPS (mt7688): EBase change in U-Boot breaks Linux

2018-12-12 Thread Horatiu Vultur
Hi Stefan, Is your Linux Kernel compile with CONFIG_CPU_MIPSR2_IRQ_VI? Because we had similar issue with two of our boards(Ocelot and Luton). In our case the problem was that that Linux Kernel didn't reserve memory for the addresses pointed by ebase register and then later the kernel used this

[U-Boot] [PATCH v2] env: add spi_flash_read_env function

2018-12-11 Thread Horatiu Vultur
and assumes that the rest of env is '\0'. This is an optimization for large environments that contain few bytes environment variables. In this case it doesn't need to read the entire environment and only few pages. Signed-off-by: Horatiu Vultur --- env/sf.c | 56

Re: [U-Boot] [PATCH] env: add flash_read function

2018-12-04 Thread Horatiu Vultur
n optimization for large environments that contain few bytes of > > environment variables. In this case it doesn't need to read the entire > > environment and only few pages. > > > > Signed-off-by: Horatiu Vultur > > --- > > env/sf.c | 54 +++

[U-Boot] [PATCH] env: add flash_read function

2018-12-02 Thread Horatiu Vultur
that the rest of env is '\0'. This is an optimization for large environments that contain few bytes of environment variables. In this case it doesn't need to read the entire environment and only few pages. Signed-off-by: Horatiu Vultur --- env/sf.c | 54

[U-Boot] [PATCH v4 0/6] MSCC: Add Jaguar2 SOC family

2019-01-10 Thread Horatiu Vultur
sysreset driver v3-changes: - remove any target specific code from mscc-common.c v2-changes: - create sysreset driver for Jaguar2 - update pinctrl Horatiu Vultur (6): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC: Add support for Jaguar2 SOC family MSCC: Add device tree

[U-Boot] [PATCH v4 1/6] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-10 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers

[U-Boot] [PATCH v4 2/6] MSCC: Add support for Jaguar2 SOC family

2019-01-10 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v4 3/6] MSCC: Add device tree for Jaguar2 board

2019-01-10 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

[U-Boot] [PATCH v4 5/6] MSCC: add device tree for Serval2 board

2019-01-10 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

[U-Boot] [PATCH v4 4/6] MSCC: Add device tree for Jaguar2-48 board

2019-01-10 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH v4 6/6] MSCC: Add board support for Jaguar2 SOC family

2019-01-10 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc

[U-Boot] [PATCH v2 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-07 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

[U-Boot] [PATCH v2 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-07 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins. Signed-off-by: Horatiu Vultur --- MAINTAINERS| 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc/mscc

[U-Boot] [PATCH v2 6/7] MSCC: Add board support for Jaguar2 SOC family

2019-01-07 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc

[U-Boot] [PATCH v2 7/7] MSCC: Add sysreset driver for Jaguar2 SOC family

2019-01-07 Thread Horatiu Vultur
Create sysreset driver for Jaguar2 SOC family and update defconfig to use it. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + board/mscc/jr2/jr2.c| 8 +++ configs/mscc_jr2_defconfig | 2 ++ drivers/sysreset/Kconfig| 6 ++ drivers

[U-Boot] [PATCH v2 4/7] MSCC: Add device tree for Jaguar2-48 board

2019-01-07 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH v2 0/7] MSCC: Add Jaguar2 SOC family

2019-01-07 Thread Horatiu Vultur
sysreset driver for Jaguar2 - update pinctrl Horatiu Vultur (7): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC: Add support for Jaguar2 SOC family MSCC: Add device tree for Jaguar2 board MSCC: Add device tree for Jaguar2-48 board MSCC: add device tree for Serval2 board

[U-Boot] [PATCH v2 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-07 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v2 5/7] MSCC: add device tree for Serval2 board

2019-01-07 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

Re: [U-Boot] [PATCH v2] spi: soft_spi: Fix null ptr when probing soft_spi.

2019-01-07 Thread Horatiu Vultur
The 01/07/2019 18:09, Daniel Schwierzeck wrote: > > > Am 07.01.19 um 09:20 schrieb Horatiu Vultur: > > When probing soft_spi the result of dev_get_parent_priv(dev) in probe > > function is null ptr because the spi is on the ahb bus which has > > per_child_auto_all

[U-Boot] [PATCH v2] spi: soft_spi: Fix for soft_spi

2019-01-07 Thread Horatiu Vultur
This patch series, fix a null ptr inside soft_spi. This version address comments from Jagan Teki v2 changes: - update soft_spi_platdata inside .set_mode. Horatiu Vultur (1): spi: soft_spi: Fix null ptr when probing soft_spi. drivers/spi/soft_spi.c | 15 --- 1 file changed, 8

[U-Boot] [PATCH v2] spi: soft_spi: Fix for soft_spi

2019-01-07 Thread Horatiu Vultur
This patch series, fix a null ptr inside soft_spi. This version address comments from Jagan Teki v2 changes: - update soft_spi_platdata inside .set_mode. Horatiu Vultur (1): spi: soft_spi: Fix null ptr when probing soft_spi. drivers/spi/soft_spi.c | 15 --- 1 file changed, 8

[U-Boot] [PATCH v2] spi: soft_spi: Fix null ptr when probing soft_spi.

2019-01-07 Thread Horatiu Vultur
the soft_spi_platdata flags inside the .set_mode. Signed-off-by: Horatiu Vultur --- drivers/spi/soft_spi.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c index b06883f..2c47577 100644 --- a/drivers/spi/soft_spi.c +++ b/drivers

Re: [U-Boot] [PATCH v2 7/7] MSCC: Add sysreset driver for Jaguar2 SOC family

2019-01-07 Thread Horatiu Vultur
Hi Daniel, The 01/07/2019 21:11, Daniel Schwierzeck wrote: > > > Am 07.01.19 um 14:02 schrieb Horatiu Vultur: > > Create sysreset driver for Jaguar2 SOC family and update defconfig > > to use it. > > > > Signed-off-by: Horatiu Vultur > > --- &g

Re: [U-Boot] [PATCH v2 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-08 Thread Horatiu Vultur
Hi Daniel, The 01/07/2019 20:38, Daniel Schwierzeck wrote: > > > Am 07.01.19 um 14:02 schrieb Horatiu Vultur: > > The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common > > to support new numbe of pins. > > > > Signed-off-by: Horatiu

[U-Boot] [PATCH v5 3/6] MSCC: Add device tree for Jaguar2 board

2019-01-11 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

[U-Boot] [PATCH v5 5/6] MSCC: add device tree for Serval2 board

2019-01-11 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

[U-Boot] [PATCH v5 4/6] MSCC: Add device tree for Jaguar2-48 board

2019-01-11 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH v5 6/6] MSCC: Add board support for Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc

[U-Boot] [PATCH v5 2/6] MSCC: Add support for Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v5 0/6] MSCC: Add Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
to be similar with linux version v4-changes: - remove sysreset driver v3-changes: - remove any target specific code from mscc-common.c v2-changes: - create sysreset driver for Jaguar2 - update pinctrl Horatiu Vultur (6): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC

[U-Boot] [PATCH v5 1/6] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers

[U-Boot] [PATCH v6 2/6] MSCC: Add support for Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v6 3/6] MSCC: Add device tree for Jaguar2 board

2019-01-11 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

[U-Boot] [PATCH v6 4/6] MSCC: Add device tree for Jaguar2-48 board

2019-01-11 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH v6 5/6] MSCC: add device tree for Serval2 board

2019-01-11 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

[U-Boot] [PATCH v6 1/6] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers

[U-Boot] [PATCH v6 0/6] MSCC: Add Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
pinctrl to be similar with linux version v4-changes: - remove sysreset driver v3-changes: - remove any target specific code from mscc-common.c v2-changes: - create sysreset driver for Jaguar2 - update pinctrl Horatiu Vultur (6): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

[U-Boot] [PATCH v6 6/6] MSCC: Add board support for Jaguar2 SOC family

2019-01-11 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc

[U-Boot] [PATCH v7 0/6] MSCC: Add Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
pinctrl Horatiu Vultur (6): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC: Add support for Jaguar2 SOC family MSCC: Add device tree for Jaguar2 board MSCC: Add device tree for Jaguar2-48 board MSCC: add device tree for Serval2 board MSCC: Add board support for Jaguar2

[U-Boot] [PATCH v7 2/6] MSCC: Add support for Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v7 1/6] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers

[U-Boot] [PATCH v7 3/6] MSCC: Add device tree for Jaguar2 board

2019-01-12 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

[U-Boot] [PATCH v7 6/6] MSCC: Add board support for Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc

[U-Boot] [PATCH v7 4/6] MSCC: Add device tree for Jaguar2-48 board

2019-01-12 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH v7 5/6] MSCC: add device tree for Serval2 board

2019-01-12 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

[U-Boot] [PATCH v3 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v3 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions

Re: [U-Boot] [PATCH v2 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
the way I have done in v3 and then create a new patch series specific for fixing pinctrl. Similar with the issue that I have for sysreset driver. The 01/08/2019 17:12, Daniel Schwierzeck wrote: > > > Am 08.01.19 um 09:00 schrieb Horatiu Vultur: > > Hi Daniel, > > > > T

[U-Boot] [PATCH v3 7/7] MSCC: Add sysreset driver for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Create sysreset driver for Jaguar2 SOC family and update defconfig to use it. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + board/mscc/jr2/jr2.c| 8 +++ configs/mscc_jr2_defconfig | 2 ++ drivers/sysreset/Kconfig| 6 ++ drivers

[U-Boot] [PATCH v3 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers

[U-Boot] [PATCH v3 0/7] MSCC: Add Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
target specific code from mscc-common.c v2-changes: - create sysreset driver for Jaguar2 - update pinctrl Horatiu Vultur (7): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC: Add support for Jaguar2 SOC family MSCC: Add device tree for Jaguar2 board MSCC: Add device tree

[U-Boot] [PATCH v3 6/7] MSCC: Add board support for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc

[U-Boot] [PATCH v3 4/7] MSCC: Add device tree for Jaguar2-48 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch

[U-Boot] [PATCH v3 5/7] MSCC: add device tree for Serval2 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

[U-Boot] [PATCH] spi: designware: Fix issue when CONFIG_BOARD_TYPES is defined

2019-01-04 Thread Horatiu Vultur
the default value 500KHz. Even if someone tries to change the speed, there is a check that doesn't allow higher speeds than the speed read from device tree. The fix consists of changing the order of the include headers so it can see the define CONFIG_BOARD_TYPES. Signed-off-by: Horatiu Vultur

[U-Boot] [RESEND PATCH v2] env: add spi_flash_read_env function

2019-01-14 Thread Horatiu Vultur
and assumes that the rest of env is '\0'. This is an optimization for large environments that contain few bytes environment variables. In this case it doesn't need to read the entire environment and only few pages. Signed-off-by: Horatiu Vultur --- env/sf.c | 56

[U-Boot] [PATCH] spi: soft_spi: Fix null ptr when probing soft_spi.

2018-12-19 Thread Horatiu Vultur
of dm_spi_slave_platdata until a child under the spi is probed, to be able to read SPI mode. Therefore implement .child_pre_probe in which updates soft_spi_platdata based on child dm_spi_slave_platdata. Signed-off-by: Horatiu Vultur --- drivers/spi/soft_spi.c | 24 +--- 1 file

Re: [U-Boot] [PATCH v3 1/4] net: Add MSCC Jaguar2 network driver.

2019-04-03 Thread Horatiu Vultur
Hi Daniel, The 04/03/2019 12:18, Daniel Schwierzeck wrote: > External E-Mail > > > > Am 30.03.19 um 11:17 schrieb Horatiu Vultur: > > Add network driver for Microsemi Ethernet switch. > > It is present on Jaguar2 SoCs. > > > > Signed-off-by: H

[U-Boot] [Resend Patch] net: mscc: ocelot: Fix reset of the phys

2019-03-27 Thread Horatiu Vultur
The function mscc_miim_reset resets all the phys, but it is called for each phy separetely. One consequence of this is that the boot time is increased by 2 seconds. The fix consists for calling the mscc_miim_reset function only once for all phys. Signed-off-by: Horatiu Vultur Reviewed

Re: [U-Boot] [PATCH] Revert "env: add spi_flash_read_env function"

2019-03-26 Thread Horatiu Vultur
Hi Heiko, Sorry, for late reply. I have seen that this patch was accepted, so I have only few things bellow. The 03/15/2019 05:34, Heiko Schocher wrote: > External E-Mail > > > Hello Horatiu, > > Am 14.03.2019 um 13:53 schrieb Horatiu Vultur: > > Hi Heiko, > &g

Re: [U-Boot] [PATCH 2/4] board: mscc: jr2: Update MSCC Jaguar2 boards

2019-03-24 Thread Horatiu Vultur
Hi Daniel, The 03/15/2019 13:02, Daniel Schwierzeck wrote: > External E-Mail > > > Hi Horatio, > > Am 06.03.19 um 23:11 schrieb Horatiu Vultur: > > Hi Daniel, > > > > The 03/06/2019 14:19, Daniel Schwierzeck wrote: > >> > >> > >>

[U-Boot] [PATCH v4 4/4] configs: mscc_jr2: Add network support

2019-04-03 Thread Horatiu Vultur
Update default confing to use network driver for Jaguar2 SoCs. Signed-off-by: Horatiu Vultur --- configs/mscc_jr2_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig index 95562b7..92c22b8 100644

[U-Boot] [PATCH v4 2/4] board: mscc: jr2: Update MSCC Jaguar2 boards

2019-04-03 Thread Horatiu Vultur
In Jaguar2 SoC family there are 3 different pcb. Each of this needs to configure the phys in different ways. Therefore implement the function board_phy_config and based on pcb configure them accordingly. Signed-off-by: Horatiu Vultur --- board/mscc/jr2/jr2.c | 23 +++ 1 file

  1   2   >