[PATCH 1/2] clk: sunxi: support Ethernet clock gates and resets on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
Previously Ethernet clock gates and resets were missing from the V3s CCU driver. Add the required clock gates and resets for Ethernet MAC and internal Ethernet phy. Signed-off-by: Tobias Schramm --- drivers/clk/sunxi/clk_v3s.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers

[PATCH 2/2] net: sun8i_emac: add support for EMAC on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
The Allwinner V3s SoC and related SoCs have a fast Ethernet MAC with internal Ethernet phy. The internal phy is connected via MII and the MII is not exposed externally on SoC pins. Add support for this MAC and phy combo to the sun8i EMAC driver. Signed-off-by: Tobias Schramm --- drivers/net

[PATCH 0/2] sunxi: add support for Ethernet on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
This patchset adds support for Ethernet on V3s-based SoCs, adding in required clock gates, resets to the CCU driver and finally a matching configuration for the sun8i_emac driver. Tobias Schramm (2): clk: sunxi: support Ethernet clock gates and resets on V3s-based SoCs net: sun8i_emac: add

[PATCH] arm: sunxi: add support for I2C1 on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
Previously enabling I2C1 when using a V3s-based SoC had no effect. Set pinmux on PE21 and PE22 to I2C1 function when enabling I2C1 on V3s-based SoCs. Signed-off-by: Tobias Schramm --- board/sunxi/board.c | 4 include/sunxi_gpio.h | 1 + 2 files changed, 5 insertions(+) diff --git a/board

[PATCH v2] sunxi: support boot console on uart1 for sun8i

2021-02-14 Thread Tobias Schramm
The A23, A33, H3, H5, A83T, V3 and Sochip S3 sun8i SoCs can mux uart1 on GPIOs PG6 and PG7. This patch adds support for using uart1 on those pins as boot console. Signed-off-by: Tobias Schramm --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 5 + 2

Re: [PATCH] sunxi: support boot console on uart1 for sun8i

2021-02-13 Thread Tobias Schramm
Hi Andre, > Which particular SoC or board is this triggered by? > I'm currently using a board with a Sochip S3 SoC, where the boot console is on uart1. > From the SoCs listed as belonging to the MACH_SUN8I "family", I don't > see the R40 and V3s having UART1 muxed on PortG, only A23, A33,

[PATCH] sunxi: support boot console on uart1 for sun8i

2021-02-12 Thread Tobias Schramm
From: Tobias Schramm This commit adds support for using uart1 as boot console on sun8i. Signed-off-by: Tobias Schramm --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 4 include/configs/sunxi-common.h | 2 ++ 3 files changed, 7 insertions

[PATCH 0/2] Add sf SPI flash support to distro boot

2020-04-21 Thread Tobias Schramm
framework. I'll use this feature for supporting the Pine64 Pinebook Pro, an 14" RK3399 ARM based laptop. I'll send a patchset for that device, soon. Cc-ing some of the latest commit signers since there does not seem to be a dedicated maintainer for distro boot. Tobias Tobias Schra

[PATCH 1/2] distro_bootcmd: make BOOTENV_DEV_NAME and BOOTENV_DEV macro variadic

2020-04-21 Thread Tobias Schramm
Using a variadic macro allows boot device macros to take additional arguments Signed-off-by: Tobias Schramm Cc: Patrick Wildt Cc: AKASHI Takahiro --- include/config_distro_bootcmd.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/config_distro_bootcmd.h b

[PATCH 2/2] distro_bootcmd: add sf SPI flash boot support

2020-04-21 Thread Tobias Schramm
This commit adds generic boot support for SPI flash. Adding SPI flash support to a device can be achieved by adding following declaration to the BOOT_TARGET_DEVICES func(SF, sf, [:], ) Signed-off-by: Tobias Schramm Cc: Patrick Wildt Cc: AKASHI Takahiro --- include