Re: [PATCH 0/2] net: jr2: Fix for jr2 switch

2021-04-11 Thread Horatiu Vultur
Hi, A gentle ping. Thanks. The 03/10/2021 09:31, Horatiu Vultur wrote: > This patch series contains two patches. The first patch resets the > switch at probe time while the second one fixes an issue with the > serdes6g configuration which is used on jr2_pcb111 board > > Ho

Re: [RFC 4/7] pinctrl: mscc: Fix multiple definition error

2021-05-04 Thread Horatiu Vultur
The 05/03/2021 16:48, Tom Rini wrote: > > With gcc-11 we get a multiple errors here as the declarations for > mscc_pinctrl_ops and mscc_gpio_ops are missing an extern. Reviewed-by: Horatiu Vultur > > CC: Gregory CLEMENT > Cc: Lars Povlsen > Cc: Horatiu Vultur >

[PATCH 2/2] net: jr2: Fix Serdes6G configuration

2021-03-10 Thread Horatiu Vultur
Sometimes no traffic was getting out on the ports, the root cause was a wrong configuration of the Serdes6G, which is used on jr2 pcb111. This patch fixes this issue by applying the correct configuration. Fixes: 5e1d417bec92ac ("net: Add MSCC Jaguar2 network driver.") Signed-off-b

Re: [PATCH] dm: core: Add address translation in fdt_get_resource

2021-04-06 Thread Horatiu Vultur
The 04/06/2021 09:38, Patrick Delaunay wrote: Hi Patrick, I have applied your patches and I have done a basic test on jr2_switch. It seems to work fine. I got some warnings from the function '__of_translate_address' which I need to figure out. But one more important thing is that also luton_swit

[PATCH 0/2] net: jr2: Fix for jr2 switch

2021-03-10 Thread Horatiu Vultur
This patch series contains two patches. The first patch resets the switch at probe time while the second one fixes an issue with the serdes6g configuration which is used on jr2_pcb111 board Horatiu Vultur (2): net: jr2: Reset switch net: jr2: Fix Serdes6G configuration arch/mips/dts/mscc

[PATCH 1/2] net: jr2: Reset switch

2021-03-10 Thread Horatiu Vultur
Make sure to reset the switch core at probe time. Signed-off-by: Horatiu Vultur --- arch/mips/dts/mscc,jr2.dtsi | 6 -- drivers/net/mscc_eswitch/jr2_switch.c | 16 +++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/mips/dts/mscc,jr2.dtsi b/arch

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

2018-12-02 Thread Horatiu Vultur
env and assumes 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:

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

2018-12-04 Thread Horatiu Vultur
; > > > 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

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

2018-12-11 Thread Horatiu Vultur
further the env 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:

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 ad

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). > > No,

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 outdated as

[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 for

[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

[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 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 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 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

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 0/3] Add network support for Luton SoCs

2019-01-28 Thread Horatiu Vultur
This series adds network support for Luton SoCs. Currently there is not support for Luton SoCs in Linux. Horatiu Vultur (3): MIPS: mscc: luton: Add ethernet nodes for Luton. net: add MSCC Luton switch support configs: mscc_luton: add network support. MAINTAINERS| 1

[U-Boot] [PATCH 1/3] MIPS: mscc: luton: Add ethernet nodes for Luton.

2019-01-28 Thread Horatiu Vultur
Add nodes for pcb090 and pcb091. There is currently no support in Linux for this SoC. Signed-off-by: Horatiu Vultur --- arch/mips/dts/luton_pcb090.dts | 51 + arch/mips/dts/luton_pcb091.dts | 51 + arch/mips/dts/mscc,luton.dtsi | 165

[U-Boot] [PATCH 2/3] net: add MSCC Luton switch support

2019-01-28 Thread Horatiu Vultur
Add network driver for Microsemi Ethernet switch is present on Luton SoCs. Signed-off-by: Horatiu Vultur --- MAINTAINERS| 1 + drivers/net/Kconfig| 7 + drivers/net/Makefile | 1 + drivers/net/luton_switch.c | 972

[U-Boot] [PATCH 3/3] configs: mscc_luton: add network support.

2019-01-28 Thread Horatiu Vultur
Update default config to use network driver for Luton SoC. Signed-off-by: Horatiu Vultur --- configs/mscc_luton_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig index 7154e97..0fdd9b8 100644 --- a/configs

[U-Boot] [PATCH] MSCC: Jaguar2 enable debug uart

2019-01-29 Thread Horatiu Vultur
Enable debug uart for Jaguar2 SoC family. Signed-off-by: Horatiu Vultur --- board/mscc/jr2/jr2.c | 7 +++ configs/mscc_jr2_defconfig | 6 ++ 2 files changed, 13 insertions(+) diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c index eac4dca..226181f 100644 --- a/board/mscc

[U-Boot] [PATCH] MSCC: Fix Jaguar2 board detection.

2019-01-29 Thread Horatiu Vultur
When power cycle the Jaguar2 boards, it couldn't read the phys, therefore it always deduce that the board type is pcb111. Add a small delay after setting the gpio pins, fix the issue. Signed-off-by: Horatiu Vultur --- board/mscc/jr2/jr2.c | 3 +++ 1 file changed, 3 insertions(+) diff --

[U-Boot] [PATCH v2 1/8] net: mscc: Move ocelot_switch to mscc_switch folder.

2019-01-30 Thread Horatiu Vultur
Move file ocelot_switch to mscc_switch to prepare to add new net drivers for other MSCC SoCs. Signed-off-by: Horatiu Vultur --- MAINTAINERS| 2 +- drivers/net/Makefile | 2 +- drivers/net/mscc_eswitch/Makefile | 2

[U-Boot] [PATCH v2 0/8] Add network support for Luton SoCs

2019-01-30 Thread Horatiu Vultur
This series adds network support for Luton SoCs. Currently there is not support for Luton SoCs in Linux. v2-changes: - reuse functions from ocelot for luton network driver Horatiu Vultur (8): net: mscc: Move ocelot_switch to mscc_switch folder. net: mscc: Move miim commands into separate

[U-Boot] [PATCH v2 3/8] net: mscc: Move ocelot_send and ocelot_recv in a different file.

2019-01-30 Thread Horatiu Vultur
This functions can be reused by other MSCC SoCs therefore, make them more generic and move them in separate files. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Makefile| 2 +- drivers/net/mscc_eswitch/mscc_xfer.c | 139 +++ drivers/net

[U-Boot] [PATCH v2 4/8] net: mscc: Move mac_table_add function into different file.

2019-01-30 Thread Horatiu Vultur
Move the function mac_table_add into a different file, so it can be reused. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Makefile | 2 +- drivers/net/mscc_eswitch/mscc_mac_table.c | 74 + drivers/net/mscc_eswitch/mscc_mac_table.h | 19

[U-Boot] [PATCH v2 5/8] net: mscc: Remove unused variables

2019-01-30 Thread Horatiu Vultur
Remove unused variables in the struct ocelot_private. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/ocelot_switch.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c b/drivers/net/mscc_eswitch/ocelot_switch.c index 40152e6

[U-Boot] [PATCH v2 6/8] mips: mscc: luton: Add ethernet nodes for Luton.

2019-01-30 Thread Horatiu Vultur
Add nodes for pcb090 and pcb091. There is currently no support in Linux for this SoC. Signed-off-by: Horatiu Vultur --- arch/mips/dts/luton_pcb090.dts | 51 + arch/mips/dts/luton_pcb091.dts | 51 + arch/mips/dts/mscc,luton.dtsi | 165

[U-Boot] [PATCH v2 8/8] configs: mscc_luton: Add network support.

2019-01-30 Thread Horatiu Vultur
Update default config to use network driver for Luton SoCs. Signed-off-by: Horatiu Vultur --- configs/mscc_luton_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig index 7154e97..0fdd9b8 100644 --- a/configs

[U-Boot] [PATCH v2 7/8] net: Add MSCC Luton networkd driver.

2019-01-30 Thread Horatiu Vultur
Add network driver for Microsemi Ethernet switch, it is present on Luton SoCs. Signed-off-by: Horatiu Vultur --- drivers/net/Kconfig | 7 + drivers/net/Makefile| 2 +- drivers/net/mscc_eswitch/Makefile | 1 + drivers/net/mscc_eswitch

[U-Boot] [PATCH v2 2/8] net: mscc: Move miim commands into separate file.

2019-01-30 Thread Horatiu Vultur
Move miim functions that can be shared in a different file inside mscc_eswitch. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Makefile| 2 +- drivers/net/mscc_eswitch/mscc_miim.c | 74 drivers/net/mscc_eswitch/mscc_miim.h | 12

[U-Boot] [PATCH v3 0/8] Add network support for Luton SoCs

2019-01-31 Thread Horatiu Vultur
This series adds network support for Luton SoCs. Currently there is not support for Luton SoCs in Linux. v3-changes: - reorder the changes of the commits and add Kconfig in mscc_eswitch folder v2-changes: - reuse functions from ocelot for luton network driver Horatiu Vultur (8): net

[U-Boot] [PATCH v3 2/8] net: mscc: Move miim commands into separate file.

2019-01-31 Thread Horatiu Vultur
Move miim functions that can be shared in a different file inside mscc_eswitch. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Makefile| 2 +- drivers/net/mscc_eswitch/mscc_miim.c | 74 drivers/net/mscc_eswitch/mscc_miim.h | 12

[U-Boot] [PATCH v3 1/8] net: mscc: Move ocelot_switch to mscc_eswitch folder

2019-01-31 Thread Horatiu Vultur
Move file ocelot_switch to mscc_eswitch to prepare to add new net drivers for other MSCC SoCs. Signed-off-by: Horatiu Vultur --- MAINTAINERS| 2 +- drivers/net/Kconfig| 7 +-- drivers/net/Makefile

[U-Boot] [PATCH v3 3/8] net: mscc: Move ocelot_send and ocelot_recv in a different file.

2019-01-31 Thread Horatiu Vultur
This functions can be reused by other MSCC SoCs therefore, make them more generic and move them in separate files. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Makefile| 2 +- drivers/net/mscc_eswitch/mscc_xfer.c | 139 +++ drivers/net

[U-Boot] [PATCH v3 5/8] net: mscc: Remove unused variables

2019-01-31 Thread Horatiu Vultur
Remove unused variables in the struct ocelot_private and make miim variable static. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/ocelot_switch.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c b/drivers

[U-Boot] [PATCH v3 4/8] net: mscc: Move mac_table_add function into different file.

2019-01-31 Thread Horatiu Vultur
Move the function mac_table_add into a different file, so it can be reused. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Makefile | 2 +- drivers/net/mscc_eswitch/mscc_mac_table.c | 74 + drivers/net/mscc_eswitch/mscc_mac_table.h | 19

[U-Boot] [PATCH v3 6/8] mips: mscc: luton: Add ethernet nodes for Luton.

2019-01-31 Thread Horatiu Vultur
Add nodes for pcb090 and pcb091. There is currently no support in Linux for this SoC. Signed-off-by: Horatiu Vultur --- arch/mips/dts/luton_pcb090.dts | 51 + arch/mips/dts/luton_pcb091.dts | 51 + arch/mips/dts/mscc,luton.dtsi | 165

[U-Boot] [PATCH v3 7/8] net: Add MSCC Luton networkd driver.

2019-01-31 Thread Horatiu Vultur
Add network driver for Microsemi Ethernet switch, it is present on Luton SoCs. Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Kconfig| 7 + drivers/net/mscc_eswitch/Makefile | 1 + drivers/net/mscc_eswitch/luton_switch.c | 736 3

[U-Boot] [PATCH v3 8/8] configs: mscc_luton: Add network support.

2019-01-31 Thread Horatiu Vultur
Update default config to use network driver for Luton SoCs. Signed-off-by: Horatiu Vultur --- configs/mscc_luton_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig index 7154e97..0fdd9b8 100644 --- a/configs

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

2018-12-19 Thread Horatiu Vultur
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

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

2019-01-04 Thread Horatiu Vultur
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 V

[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 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 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 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 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 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
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

[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 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 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 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

[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 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

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_alloc_

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

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 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 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 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

[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 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 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 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 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 for

[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 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 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 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 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 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 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

  1   2   >