mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: wsa@kernel.org
Subject: [PATCH 0/5] ARM: at91: add first DT support for Calao usb/tny boards
Date: Tue, 26 Sep 2023 20:38:30 +0200	[thread overview]
Message-ID: <20230926183835.2617909-1-a.fatoum@pengutronix.de> (raw)

We have a lot of defconfigs for ARM9 AT91 boards, that we want to get
rid off after migrating the boards to at91_multi_defconfig.

Thanks to a temporarily donated Calao USB-A9G20 by Wolfram, we start by
switching the Calao boards to DT.

This is not yet a complete replacement:

  - We use the legacy NAND driver instead of the newly backported driver
    that Linux uses with the hardware, presumably without issues

  - OHCI hangs during probe, so it's disabled for now

  - A barebox with comparative functionality to the non-DT version
    exceeds the 256K partition size

These can be resolved separately though, so add here first DT support.

Ahmad Fatoum (5):
  Revert "mtd: nand: drop DT support in legacy driver"
  ARM: at91: add SDRAMC driver for memory detection
  ARM: at91: at91sam9_rst: add DT support for at91sam9260
  ARM: at91: sam9260: don't build non-DT device support when unneeded
  ARM: at91: add first DT support for Calao usb/tny boards

 arch/arm/boards/Makefile              |   1 +
 arch/arm/boards/calao/Makefile        |   4 +
 arch/arm/boards/calao/board.c         |  13 ++++
 arch/arm/boards/calao/lowlevel.c      |  30 ++++++++
 arch/arm/configs/at91_multi_defconfig |   4 +-
 arch/arm/dts/Makefile                 |   3 +
 arch/arm/dts/at91sam9260.dtsi         |  33 ++++++++
 arch/arm/dts/at91sam9g20.dtsi         |   2 +
 arch/arm/dts/calao_nand.dtsi          |  48 ++++++++++++
 arch/arm/dts/tny_a9260.dts            |   4 +
 arch/arm/dts/tny_a9g20.dts            |   4 +
 arch/arm/dts/usb_a9260.dts            |   4 +
 arch/arm/dts/usb_a9g20.dts            |   4 +
 arch/arm/mach-at91/Kconfig            |  13 ++++
 arch/arm/mach-at91/Makefile           |   3 +-
 arch/arm/mach-at91/at91sam9_rst.c     |  18 ++++-
 arch/arm/mach-at91/sdramc.c           |  47 ++++++++++++
 drivers/mtd/nand/Kconfig              |   8 +-
 drivers/mtd/nand/atmel/legacy.c       | 104 +++++++++++++++++++++++++-
 images/Makefile.at91                  |   9 +++
 include/mach/at91/at91sam9260.h       |   1 +
 include/mach/at91/at91sam9_sdramc.h   |   4 +
 include/mach/at91/at91sam9g45.h       |   1 +
 23 files changed, 353 insertions(+), 9 deletions(-)
 create mode 100644 arch/arm/boards/calao/Makefile
 create mode 100644 arch/arm/boards/calao/board.c
 create mode 100644 arch/arm/boards/calao/lowlevel.c
 create mode 100644 arch/arm/dts/at91sam9260.dtsi
 create mode 100644 arch/arm/dts/at91sam9g20.dtsi
 create mode 100644 arch/arm/dts/calao_nand.dtsi
 create mode 100644 arch/arm/dts/tny_a9260.dts
 create mode 100644 arch/arm/dts/tny_a9g20.dts
 create mode 100644 arch/arm/dts/usb_a9260.dts
 create mode 100644 arch/arm/dts/usb_a9g20.dts
 create mode 100644 arch/arm/mach-at91/sdramc.c

-- 
2.39.2




             reply	other threads:[~2023-09-26 18:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26 18:38 Ahmad Fatoum [this message]
2023-09-26 18:38 ` [PATCH 1/5] Revert "mtd: nand: drop DT support in legacy driver" Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 2/5] ARM: at91: add SDRAMC driver for memory detection Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 3/5] ARM: at91: at91sam9_rst: add DT support for at91sam9260 Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 4/5] ARM: at91: sam9260: don't build non-DT device support when unneeded Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 5/5] ARM: at91: add first DT support for Calao usb/tny boards Ahmad Fatoum
2023-09-26 21:21 ` OFFLIST Re: [PATCH 0/5] " Wolfram Sang
2023-10-04  8:25 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230926183835.2617909-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=wsa@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox