Hello Michael,
On 21.03.22 23:17, Michael Grzeschik wrote:
> Hi Ahmad!
>
> On Wed, Jan 06, 2021 at 11:05:43AM +0100, Sascha Hauer wrote:
>> On Mon, Dec 21, 2020 at 01:32:50AM +0100, Ahmad Fatoum wrote:
>>> Linux doesn't seem to enforce a fixed order between phy_init and
>>> phy_power_on. The
Hi Ahmad!
On Wed, Jan 06, 2021 at 11:05:43AM +0100, Sascha Hauer wrote:
On Mon, Dec 21, 2020 at 01:32:50AM +0100, Ahmad Fatoum wrote:
Linux doesn't seem to enforce a fixed order between phy_init and
phy_power_on. The Linux dwc2 driver does power_on and then phy_init,
which is the inverse of
Signed-off-by: Juergen Borleis
---
arch/arm/boards/webasto-ccbv2/lowlevel.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boards/webasto-ccbv2/lowlevel.c
b/arch/arm/boards/webasto-ccbv2/lowlevel.c
index 32117b0..dfc5c0f 100644
---
Signed-off-by: Juergen Borleis
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx6ul-webasto-marvel.dts | 586 +
2 files changed, 587 insertions(+)
create mode 100644 arch/arm/dts/imx6ul-webasto-marvel.dts
diff --git a/arch/arm/dts/Makefile
Signed-off-by: Juergen Borleis
---
arch/arm/boards/webasto-ccbv2/board.c| 6 +-
arch/arm/boards/webasto-ccbv2/lowlevel.c | 24 ++--
images/Makefile.imx | 2 ++
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git
From: Steffen Trumtrar
barebox port of the linux patch:
commit a528e5be6b5f8026eda029b03340dcfa23c70824
Author: Rasmus Villemoes
Date: Tue Jun 4 07:34:29 2019 +
net: dsa: mv88e6xxx: implement port_set_speed for mv88e6250
The data sheet also mentions the possibility of
From: Steffen Trumtrar
barebox port of the linux patch:
commit 1f71836f5d96e4c87fad16db86d324bee47e1d30
Author: Rasmus Villemoes
Date: Tue Jun 4 07:34:32 2019 +
net: dsa: mv88e6xxx: add support for mv88e6250
This adds support for the Marvell 88E6250. I've checked that
From: Ahmad Fatoum
e.g. GPIOF_ACTIVE_HIGH/LOW uses currently depend on another header
defining BIT(). Remedy this.
Signed-off-by: Ahmad Fatoum
---
include/gpio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/gpio.h b/include/gpio.h
index 81beb4730929..6134190138c3 100644
---
On 16. 03. 22 11:44, Sascha Hauer wrote:
On Tue, Mar 15, 2022 at 03:24:23PM +0100, Ahmad Fatoum wrote:
On 15.03.22 14:39, Andrej Picej wrote:
GPIO lines in da9063 are assigned dynamically, while majority of SOC
GPIO drivers assign their GPIOs in static manner (GPIO line numbers can
be
Port SJA11xx driver from u-boot v2022.04-rc2 to provide support for NXP SJA11xx
series of switches.
Signed-off-by: Oleksij Rempel
---
drivers/net/Kconfig | 17 +
drivers/net/Makefile |1 +
drivers/net/sja1105.c | 2918 +
3 files changed, 2936
Add DSA based port multiplexing functionality for barebox. With this
framework we will be able to use different ports of as switch
separately.
Signed-off-by: Oleksij Rempel
---
drivers/net/Kconfig | 3 +
drivers/net/Makefile | 1 +
drivers/net/dsa.c| 385
This function is needed for SJA11xx switch driver
Signed-off-by: Oleksij Rempel
---
include/spi/spi.h | 24
1 file changed, 24 insertions(+)
diff --git a/include/spi/spi.h b/include/spi/spi.h
index d133e0e212..b6d08592a3 100644
--- a/include/spi/spi.h
+++
This header is needed for SJA11xx switch driver
Signed-off-by: Oleksij Rempel
---
include/linux/if_vlan.h | 56 +
1 file changed, 56 insertions(+)
create mode 100644 include/linux/if_vlan.h
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
Add DSA support to be able to handle different ports of switch
controllers to handle as separate Ethernet devices.
With this patches different switch ports are visible and configurable
will existing barebox infrastructure. For example:
- dhcp ethX
- devinfo ethX
- ...
Oleksij Rempel (9):
net:
For DSA support we need to find MAC node by phandle from the switch port
node. So, provide of_find_eth_device_by_node() to solve this task.
Signed-off-by: Oleksij Rempel
---
include/net.h | 1 +
net/eth.c | 16
2 files changed, 17 insertions(+)
diff --git a/include/net.h
Add dev_get_priv() to make driver porting easier. Needed for SJA11xx
switch driver.
Signed-off-by: Oleksij Rempel
---
include/driver.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/driver.h b/include/driver.h
index 85cb30f8b0..b35b5f397e 100644
--- a/include/driver.h
+++
Add callback for optional rx_preprocessor. This is needed to add DSA
switch support and demultiplex traffic received from different switch ports.
Signed-off-by: Oleksij Rempel
---
include/net.h | 3 +++
net/net.c | 6 ++
2 files changed, 9 insertions(+)
diff --git a/include/net.h
For DSA support we need to work with multiple MDIO buses. So, we need to
make that MDIO bus node is probed before on on request of DSA switch
registration.
Signed-off-by: Oleksij Rempel
---
drivers/net/phy/phy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/phy.c
We need it for SJA11xx driver.
Signed-off-by: Oleksij Rempel
---
include/linux/mdio.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index 4bcb41c71b..b910b05cec 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -324,4 +324,6 @@
Add barebox update handler for the SD ports.
Signed-off-by: Oleksij Rempel
---
arch/arm/boards/protonic-imx6/board.c | 34 +++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/boards/protonic-imx6/board.c
b/arch/arm/boards/protonic-imx6/board.c
index
To make SJA1105 switch work properly with bareobx, we need to configure
RGMII ref_clk.
Signed-off-by: Oleksij Rempel
---
arch/arm/boards/protonic-imx6/board.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boards/protonic-imx6/board.c
On 18/03/2022 12:59, Sascha Hauer wrote:
> Have a look at "md -s /dev/nand0.raw 0+2112", then you can see how the
> OOB data should look like and compare it with the data read in
> omap_gpmc_read_page_bch_rom_mode(). The ".raw" is important, I saw you
> printed 2112 bytes from a non raw device. I
22 matches
Mail list logo