ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* Pull request: u-boot-sunxi/master for v2024.10
@ 2024-07-16 12:24 Andre Przywara
  2024-07-16 18:45 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2024-07-16 12:24 UTC (permalink / raw)
  To: Tom Rini
  Cc: u-boot, Jagan Teki, Michael Walle, linux-sunxi, Ryan Walklin,
	Chris Morgan

Hi Tom,

please pull the sunxi/master branch, containing the first part of the
2024.10 changes.
Nothing really major here, some rework of the SPL PMIC drivers, adding
support for the AXP717 on the way, which is showing up on newer boards
now, most prominently some Anbernic handheld gaming devices.
The rest is enabling Ethernet and SPI boot on the Allwinner V3s SoC,
plus two fixes.
This also updates the "traditional U-Boot" DTs to that of kernel v6.9.
I will look into upgrading some SoCs to dts/upstream in the coming cycle,
though this will not cover all SoCs for now, as we carry some non-mainline
fix to improve compatibility with older kernels. Will see how it goes,
but for now we stick with the "old way".

The branch survived the gitlab CI run, and Linux boot testing on some
selected boards.

Please pull!

Cheers,
Andre

============================================================
The following changes since commit b182816c1fb436916661949213c543bf4d42250b:

  turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master

for you to fetch changes up to 674e4f994f5da537cab62ad86bc8bdf5acaae88c:

  spi: sunxi: drop max_hz handling (2024-07-16 01:40:40 +0100)

----------------------------------------------------------------
Andre Przywara (8):
      power: regulator: add AXP717 support
      power: pmic: sunxi: only build AXP drivers for SPL
      power: pmic: sunxi: introduce generic SPL AXP DC/DC driver
      power: pmic: sunxi: add AXP717 SPL support
      power: pmic: sunxi: use generic AXP SPL driver for AXP313
      power: pmic: sunxi: use generic AXP SPL driver for AXP305
      sunxi: dts: arm/arm64: update devicetree files from Linux-v6.9
      sunxi: spl: h616: fix booting from high MMC offset

Michael Walle (4):
      clk: sunxi: add EMAC and EPHY clocks and resets for the V3s SoC
      net: sun8i_emac: add support for the V3s
      sunxi: SPL SPI: add support for the V3s SoC
      spi: sunxi: drop max_hz handling

 arch/arm/dts/sun50i-h6-beelink-gs1.dts             |   2 +
 arch/arm/dts/sun50i-h6-tanix.dtsi                  |   2 +
 arch/arm/dts/sun50i-h6.dtsi                        |   7 +-
 arch/arm/dts/sun50i-h616-bigtreetech-cb1-manta.dts |   2 +-
 arch/arm/dts/sun50i-h616-bigtreetech-cb1.dtsi      |   4 +-
 arch/arm/dts/sun50i-h616-bigtreetech-pi.dts        |   2 +-
 arch/arm/dts/sun50i-h616.dtsi                      | 155 +++++++++
 arch/arm/dts/sun50i-h618-longan-module-3h.dtsi     |  75 +++++
 arch/arm/dts/sun50i-h618-longanpi-3h.dts           | 144 +++++++++
 arch/arm/dts/sun50i-h618-transpeed-8k618-t.dts     |  23 ++
 arch/arm/dts/sun50i-h64-remix-mini-pc.dts          | 356 +++++++++++++++++++++
 arch/arm/dts/sun8i-r40-feta40i.dtsi                |   7 +
 arch/arm/mach-sunxi/Kconfig                        |   2 +-
 arch/arm/mach-sunxi/board.c                        |   5 +-
 arch/arm/mach-sunxi/pmic_bus.c                     |   3 +
 arch/arm/mach-sunxi/spl_spi_sunxi.c                |   3 +-
 board/sunxi/board.c                                |   2 +-
 drivers/clk/sunxi/clk_v3s.c                        |   6 +
 drivers/net/sun8i_emac.c                           |   7 +
 drivers/power/Kconfig                              |  17 +-
 drivers/power/Makefile                             |   9 +-
 drivers/power/axp305.c                             |  82 -----
 drivers/power/axp313.c                             | 133 --------
 drivers/power/axp_spl.c                            | 173 ++++++++++
 drivers/power/pmic/axp.c                           |   1 +
 drivers/power/regulator/axp_regulator.c            |  28 ++
 drivers/spi/spi-sunxi.c                            |  21 +-
 include/axp_pmic.h                                 |   1 +
 28 files changed, 1026 insertions(+), 246 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-h618-longan-module-3h.dtsi
 create mode 100644 arch/arm/dts/sun50i-h618-longanpi-3h.dts
 create mode 100644 arch/arm/dts/sun50i-h64-remix-mini-pc.dts
 delete mode 100644 drivers/power/axp305.c
 delete mode 100644 drivers/power/axp313.c
 create mode 100644 drivers/power/axp_spl.c

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pull request: u-boot-sunxi/master for v2024.10
  2024-07-16 12:24 Pull request: u-boot-sunxi/master for v2024.10 Andre Przywara
@ 2024-07-16 18:45 ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2024-07-16 18:45 UTC (permalink / raw)
  To: Andre Przywara
  Cc: u-boot, Jagan Teki, Michael Walle, linux-sunxi, Ryan Walklin,
	Chris Morgan

[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]

On Tue, Jul 16, 2024 at 01:24:05PM +0100, Andre Przywara wrote:

> Hi Tom,
> 
> please pull the sunxi/master branch, containing the first part of the
> 2024.10 changes.
> Nothing really major here, some rework of the SPL PMIC drivers, adding
> support for the AXP717 on the way, which is showing up on newer boards
> now, most prominently some Anbernic handheld gaming devices.
> The rest is enabling Ethernet and SPI boot on the Allwinner V3s SoC,
> plus two fixes.
> This also updates the "traditional U-Boot" DTs to that of kernel v6.9.
> I will look into upgrading some SoCs to dts/upstream in the coming cycle,
> though this will not cover all SoCs for now, as we carry some non-mainline
> fix to improve compatibility with older kernels. Will see how it goes,
> but for now we stick with the "old way".
> 
> The branch survived the gitlab CI run, and Linux boot testing on some
> selected boards.
> 
> Please pull!
> 
> Cheers,
> Andre
> 
> ============================================================
> The following changes since commit b182816c1fb436916661949213c543bf4d42250b:
> 
>   turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600)
> 
> are available in the Git repository at:
> 
>   https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master
> 
> for you to fetch changes up to 674e4f994f5da537cab62ad86bc8bdf5acaae88c:
> 
>   spi: sunxi: drop max_hz handling (2024-07-16 01:40:40 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Pull request: u-boot-sunxi/master for v2024.10
@ 2024-08-06 14:38 Andre Przywara
  2024-08-06 18:43 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2024-08-06 14:38 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, Seung-Woo Kim, Michael Walle, linux-sunxi

Hi Tom,

please pull the sunxi/master branch, containing some more changes for
2024.10.
This updates the "old style" DTs to that of Linux v6.10, matching what
OF_UPSTREAM is at now. Hopefully we won't need to do this (manually)
anymore. Since this brings in the DT for a new board (Tanix TX1), also
add the defconfig for that, which has just been waiting for that sync.
There are three more fixes: two for the SPI clock setup, which avoids
too high frequencies in some cases, and one fix to avoid a build warning
with GCC 14 for the sunxi TOC0 part of the mkimage tool.

The gitlab CI passed, and I tested the SPI flash on the OrangePi Zero 3
and also booted that into Linux.

Please pull!

Cheers,
Andre

============================================================
The following changes since commit 6becf9ba1ab82af6f4fcf9f4d0da38f9c75212d2:

  Merge tag 'u-boot-imx-master-20240802' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-08-02 14:40:59 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master

for you to fetch changes up to 541a1649e74787682902d820d0b79e16bad69a4f:

  spi: sunxi: fix clock divider calculation for max frequency setting (2024-08-06 11:20:10 +0100)

----------------------------------------------------------------
Andre Przywara (2):
      sunxi: dts: arm/arm64: update devicetree files from Linux-v6.10
      sunxi: h616: add Tanix TX1 support

Michael Walle (2):
      spi: sunxi: fix CDR2 calculation
      spi: sunxi: fix clock divider calculation for max frequency setting

Seung-Woo Kim (1):
      tools: imagetool: Remove unnecessary check from toc0_verify_cert_item()

 arch/arm/dts/Makefile                             |   1 +
 arch/arm/dts/sun50i-a64-bananapi-m64.dts          |   2 +-
 arch/arm/dts/sun50i-a64-nanopi-a64.dts            |   2 +-
 arch/arm/dts/sun50i-a64-olinuxino.dts             |   2 +-
 arch/arm/dts/sun50i-a64-orangepi-win.dts          |   2 +-
 arch/arm/dts/sun50i-a64-pinebook.dts              |   2 +-
 arch/arm/dts/sun50i-a64-pinephone.dtsi            |  16 +-
 arch/arm/dts/sun50i-a64-pinetab.dts               |   2 +-
 arch/arm/dts/sun50i-a64-teres-i.dts               |   2 +-
 arch/arm/dts/sun50i-a64.dtsi                      |  18 +-
 arch/arm/dts/sun50i-h313-tanix-tx1.dts            | 183 ++++++++++++
 arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts       |   2 +-
 arch/arm/dts/sun50i-h5-nanopi-r1s-h5.dts          |   4 +-
 arch/arm/dts/sun50i-h5-orangepi-prime.dts         |   2 +-
 arch/arm/dts/sun50i-h5-orangepi-zero-plus.dts     |   2 +-
 arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts    |   2 +-
 arch/arm/dts/sun50i-h6-beelink-gs1.dts            |   2 +-
 arch/arm/dts/sun50i-h6-orangepi-3.dts             |   2 +-
 arch/arm/dts/sun50i-h6-orangepi-lite2.dts         |   2 +-
 arch/arm/dts/sun50i-h6-orangepi.dtsi              |   2 +-
 arch/arm/dts/sun50i-h6-pine-h64-model-b.dts       |   6 +-
 arch/arm/dts/sun50i-h6-pine-h64.dts               |   2 +-
 arch/arm/dts/sun50i-h6.dtsi                       |   2 +-
 arch/arm/dts/sun50i-h616-bigtreetech-cb1.dtsi     |   5 +
 arch/arm/dts/sun50i-h616-cpu-opp.dtsi             | 115 ++++++++
 arch/arm/dts/sun50i-h616-orangepi-zero2.dts       |   5 +
 arch/arm/dts/sun50i-h616-x96-mate.dts             |   5 +
 arch/arm/dts/sun50i-h616.dtsi                     |  19 +-
 arch/arm/dts/sun50i-h618-longan-module-3h.dtsi    |   5 +
 arch/arm/dts/sun50i-h618-orangepi-zero2w.dts      |   5 +
 arch/arm/dts/sun50i-h618-orangepi-zero3.dts       |   5 +
 arch/arm/dts/sun50i-h618-transpeed-8k618-t.dts    |   7 +-
 arch/arm/dts/sun50i-h64-remix-mini-pc.dts         |   2 +-
 arch/arm/dts/sun50i-h700-anbernic-rg35xx-2024.dts | 327 ++++++++++++++++++++++
 arch/arm/dts/sun50i-h700-anbernic-rg35xx-h.dts    |  36 +++
 arch/arm/dts/sun50i-h700-anbernic-rg35xx-plus.dts |  53 ++++
 arch/arm/dts/sun5i-a13.dtsi                       |   4 +-
 arch/arm/dts/sun5i-gr8-chip-pro.dts               |   2 +-
 arch/arm/dts/sun5i-r8-chip.dts                    |   2 +-
 arch/arm/dts/sun6i-a31-hummingbird.dts            |   4 +-
 arch/arm/dts/sun6i-a31.dtsi                       |  16 +-
 arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts       |   2 +-
 arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts       |   2 +-
 arch/arm/dts/sun7i-a20-cubietruck.dts             |   2 +-
 arch/arm/dts/sun7i-a20-hummingbird.dts            |   4 +-
 arch/arm/dts/sun7i-a20-olimex-som-evb-emmc.dts    |   2 +-
 arch/arm/dts/sun7i-a20-olimex-som204-evb-emmc.dts |   2 +-
 arch/arm/dts/sun7i-a20-olimex-som204-evb.dts      |   4 +-
 arch/arm/dts/sun7i-a20-olinuxino-lime2.dts        |   2 +-
 arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts       |   2 +-
 arch/arm/dts/sun7i-a20.dtsi                       |   4 +-
 arch/arm/dts/sun8i-a23-a33.dtsi                   |  14 +-
 arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts  |   4 +-
 arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts  |   4 +-
 arch/arm/dts/sun8i-a33-ga10h-v1.1.dts             |   2 +-
 arch/arm/dts/sun8i-a33-inet-d978-rev2.dts         |   2 +-
 arch/arm/dts/sun8i-a33.dtsi                       |  10 +-
 arch/arm/dts/sun8i-a83t-bananapi-m3.dts           |   2 +-
 arch/arm/dts/sun8i-a83t-cubietruck-plus.dts       |   2 +-
 arch/arm/dts/sun8i-a83t-tbs-a711.dts              |   2 +-
 arch/arm/dts/sun8i-a83t.dtsi                      |   8 +-
 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts   |   2 +-
 arch/arm/dts/sun8i-h2-plus-orangepi-r1.dts        |   5 +-
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts      |   6 +-
 arch/arm/dts/sun8i-h3-beelink-x2.dts              |   4 +-
 arch/arm/dts/sun8i-h3-nanopi-duo2.dts             |   4 +-
 arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts          |   4 +-
 arch/arm/dts/sun8i-h3-nanopi-neo-air.dts          |   2 +-
 arch/arm/dts/sun8i-h3-nanopi-r1.dts               |   2 +-
 arch/arm/dts/sun8i-h3-orangepi-2.dts              |   4 +-
 arch/arm/dts/sun8i-h3-orangepi-lite.dts           |   2 +-
 arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts        |   2 +-
 arch/arm/dts/sun8i-h3-orangepi-zero-plus2.dts     |   2 +-
 arch/arm/dts/sun8i-q8-common.dtsi                 |   4 +-
 arch/arm/dts/sun8i-r16-bananapi-m2m.dts           |   2 +-
 arch/arm/dts/sun8i-r16-parrot.dts                 |   2 +-
 arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts      |   2 +-
 arch/arm/dts/sun8i-r40-oka40i-c.dts               |   2 +-
 arch/arm/dts/sun8i-s3-pinecube.dts                |   2 +-
 arch/arm/dts/sun8i-v3s.dtsi                       |   4 +-
 arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts      |   2 +-
 arch/arm/dts/sun9i-a80.dtsi                       |   4 +-
 arch/arm/dts/sunxi-bananapi-m2-plus.dtsi          |   2 +-
 arch/arm/dts/sunxi-h3-h5-emlid-neutis.dtsi        |   2 +-
 arch/arm/dts/sunxi-h3-h5.dtsi                     |   4 +-
 board/sunxi/MAINTAINERS                           |   6 +
 configs/tanix_tx1_defconfig                       |  25 ++
 drivers/spi/spi-sunxi.c                           |  16 +-
 tools/sunxi_toc0.c                                |   2 +-
 89 files changed, 939 insertions(+), 136 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-h313-tanix-tx1.dts
 create mode 100644 arch/arm/dts/sun50i-h616-cpu-opp.dtsi
 create mode 100644 arch/arm/dts/sun50i-h700-anbernic-rg35xx-2024.dts
 create mode 100644 arch/arm/dts/sun50i-h700-anbernic-rg35xx-h.dts
 create mode 100644 arch/arm/dts/sun50i-h700-anbernic-rg35xx-plus.dts
 create mode 100644 configs/tanix_tx1_defconfig

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pull request: u-boot-sunxi/master for v2024.10
  2024-08-06 14:38 Andre Przywara
@ 2024-08-06 18:43 ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2024-08-06 18:43 UTC (permalink / raw)
  To: Andre Przywara; +Cc: u-boot, Seung-Woo Kim, Michael Walle, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

On Tue, Aug 06, 2024 at 03:38:23PM +0100, Andre Przywara wrote:

> Hi Tom,
> 
> please pull the sunxi/master branch, containing some more changes for
> 2024.10.
> This updates the "old style" DTs to that of Linux v6.10, matching what
> OF_UPSTREAM is at now. Hopefully we won't need to do this (manually)
> anymore. Since this brings in the DT for a new board (Tanix TX1), also
> add the defconfig for that, which has just been waiting for that sync.
> There are three more fixes: two for the SPI clock setup, which avoids
> too high frequencies in some cases, and one fix to avoid a build warning
> with GCC 14 for the sunxi TOC0 part of the mkimage tool.
> 
> The gitlab CI passed, and I tested the SPI flash on the OrangePi Zero 3
> and also booted that into Linux.
> 
> Please pull!
> 
> Cheers,
> Andre
> 
> ============================================================
> The following changes since commit 6becf9ba1ab82af6f4fcf9f4d0da38f9c75212d2:
> 
>   Merge tag 'u-boot-imx-master-20240802' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-08-02 14:40:59 -0600)
> 
> are available in the Git repository at:
> 
>   https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master
> 
> for you to fetch changes up to 541a1649e74787682902d820d0b79e16bad69a4f:
> 
>   spi: sunxi: fix clock divider calculation for max frequency setting (2024-08-06 11:20:10 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-06 18:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16 12:24 Pull request: u-boot-sunxi/master for v2024.10 Andre Przywara
2024-07-16 18:45 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2024-08-06 14:38 Andre Przywara
2024-08-06 18:43 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox