public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: Stefan Roese <sr@denx.de>
Cc: "Elad Nachman" <enachman@marvell.com>,
	"Vadym Kochan" <vadym.kochan@plvision.eu>,
	"Chris Packham" <judge.packham@gmail.com>,
	"Adam Ford" <aford173@gmail.com>, "Alice Guo" <alice.guo@nxp.com>,
	"Amjad Ouled-Ameur" <aouledameur@baylibre.com>,
	"Andre Przywara" <andre.przywara@arm.com>,
	"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
	"Christian Hewitt" <christianshewitt@gmail.com>,
	"Fabio Estevam" <festevam@denx.de>,
	"Jim Liu" <jim.t90615@gmail.com>,
	"Joe Hershberger" <joe.hershberger@ni.com>,
	Keerthy <j-keerthy@ti.com>, "Lukasz Majewski" <lukma@denx.de>,
	"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
	"Marek Behún" <kabel@kernel.org>, "Marek Vasut" <marex@denx.de>,
	"Michael Scott" <mike@foundries.io>,
	"Michael Walle" <michael@walle.cc>,
	"Pali Rohár" <pali@kernel.org>, "Peng Fan" <peng.fan@nxp.com>,
	"Ramon Fried" <rfried.dev@gmail.com>,
	"Samuel Holland" <samuel@sholland.org>,
	"Sean Anderson" <sean.anderson@seco.com>,
	"Simon Glass" <sjg@chromium.org>,
	"Tim Harvey" <tharvey@gateworks.com>,
	"Tom Rini" <trini@konsulko.com>,
	"Weijie Gao" <weijie.gao@mediatek.com>, "Ye Li" <ye.li@nxp.com>,
	"Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>,
	u-boot@lists.denx.de
Subject: [PATCH 0/7] arm: mvebu: Support for 98DX25xx/98DX35xx (AlleyCat5)
Date: Fri, 16 Sep 2022 16:54:16 +1200	[thread overview]
Message-ID: <20220916045423.3635985-1-judge.packham@gmail.com> (raw)

These patches are based on Marvell's bootloader for the AlleyCat5/5X
which was based on u-boot 2018.03. I've split that code into consumable
chunks and dropped as much unnecessary stuff as I can. I've also tried
to sync the device trees as much as possible with the support that will
land in Linux 6.0 although there are still some differences

Chris Packham (7):
  net: mvneta: Add support for AlleyCat5
  usb: ehci: ehci-marvell: Support for marvell,ac5-ehci
  pinctrl: mvebu: Add AlleyCat5 support
  misc: mvebu: Add sample at reset driver
  arm: mvebu: Support for 98DX25xx/98DX35xx SoC
  arm: mvebu: Add RD-AC5X board
  tools: kwboot: Add knowledge of Marvell's TIM

 arch/arm/dts/Makefile                      |   3 +-
 arch/arm/dts/ac5-98dx25xx.dtsi             | 292 +++++++++++++++++++++
 arch/arm/dts/ac5-98dx35xx-rd.dts           | 155 +++++++++++
 arch/arm/dts/ac5-98dx35xx.dtsi             |  17 ++
 arch/arm/mach-mvebu/Kconfig                |  14 +-
 arch/arm/mach-mvebu/Makefile               |   1 +
 arch/arm/mach-mvebu/alleycat5/Makefile     |   9 +
 arch/arm/mach-mvebu/alleycat5/clock.c      |  49 ++++
 arch/arm/mach-mvebu/alleycat5/cpu.c        | 129 +++++++++
 arch/arm/mach-mvebu/alleycat5/soc.c        | 229 ++++++++++++++++
 arch/arm/mach-mvebu/arm64-common.c         |  15 ++
 arch/arm/mach-mvebu/include/mach/clock.h   |  11 +
 arch/arm/mach-mvebu/include/mach/cpu.h     |   4 +
 arch/arm/mach-mvebu/include/mach/soc.h     |   4 +
 board/Marvell/mvebu_alleycat-5/MAINTAINERS |   6 +
 board/Marvell/mvebu_alleycat-5/Makefile    |   3 +
 board/Marvell/mvebu_alleycat-5/board.c     |  35 +++
 configs/mvebu_ac5_rd_defconfig             |  89 +++++++
 drivers/misc/Kconfig                       |   6 +
 drivers/misc/Makefile                      |   1 +
 drivers/misc/mvebu_sar/Makefile            |   4 +
 drivers/misc/mvebu_sar/ac5_sar.c           | 119 +++++++++
 drivers/misc/mvebu_sar/sar-uclass.c        | 146 +++++++++++
 drivers/net/Kconfig                        |   2 +-
 drivers/net/mvneta.c                       |  66 ++++-
 drivers/pinctrl/mvebu/Kconfig              |   2 +-
 drivers/usb/host/Kconfig                   |   1 +
 drivers/usb/host/ehci-marvell.c            |  57 +++-
 include/configs/mvebu_alleycat-5.h         |  92 +++++++
 include/dm/uclass-id.h                     |   1 +
 include/fdtdec.h                           |   4 +
 include/mvebu/mvebu_chip_sar.h             |  73 ++++++
 include/mvebu/sar.h                        |  57 ++++
 include/mvebu/var.h                        |  28 ++
 include/sar-uclass.h                       |  23 ++
 lib/fdtdec.c                               |   6 +-
 tools/kwbimage.h                           |  29 ++
 tools/kwboot.c                             |   3 +
 38 files changed, 1767 insertions(+), 18 deletions(-)
 create mode 100644 arch/arm/dts/ac5-98dx25xx.dtsi
 create mode 100644 arch/arm/dts/ac5-98dx35xx-rd.dts
 create mode 100644 arch/arm/dts/ac5-98dx35xx.dtsi
 create mode 100644 arch/arm/mach-mvebu/alleycat5/Makefile
 create mode 100644 arch/arm/mach-mvebu/alleycat5/clock.c
 create mode 100644 arch/arm/mach-mvebu/alleycat5/cpu.c
 create mode 100644 arch/arm/mach-mvebu/alleycat5/soc.c
 create mode 100644 arch/arm/mach-mvebu/include/mach/clock.h
 create mode 100644 board/Marvell/mvebu_alleycat-5/MAINTAINERS
 create mode 100644 board/Marvell/mvebu_alleycat-5/Makefile
 create mode 100644 board/Marvell/mvebu_alleycat-5/board.c
 create mode 100644 configs/mvebu_ac5_rd_defconfig
 create mode 100644 drivers/misc/mvebu_sar/Makefile
 create mode 100644 drivers/misc/mvebu_sar/ac5_sar.c
 create mode 100644 drivers/misc/mvebu_sar/sar-uclass.c
 create mode 100644 include/configs/mvebu_alleycat-5.h
 create mode 100644 include/mvebu/mvebu_chip_sar.h
 create mode 100644 include/mvebu/sar.h
 create mode 100644 include/mvebu/var.h
 create mode 100644 include/sar-uclass.h

-- 
2.37.3


             reply	other threads:[~2022-09-16 12:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16  4:54 Chris Packham [this message]
2022-09-16  4:54 ` [PATCH 1/7] net: mvneta: Add support for AlleyCat5 Chris Packham
2022-09-16  4:54 ` [PATCH 2/7] usb: ehci: ehci-marvell: Support for marvell,ac5-ehci Chris Packham
2022-09-16  4:54 ` [PATCH 3/7] pinctrl: mvebu: Add AlleyCat5 support Chris Packham
2022-09-16  4:54 ` [PATCH 4/7] misc: mvebu: Add sample at reset driver Chris Packham
2022-09-16  4:54 ` [PATCH 5/7] arm: mvebu: Support for 98DX25xx/98DX35xx SoC Chris Packham
2022-09-16  4:54 ` [PATCH 6/7] arm: mvebu: Add RD-AC5X board Chris Packham
2022-09-16 10:58   ` Pali Rohár
2022-09-17  9:03     ` Chris Packham
2022-09-16  4:54 ` [PATCH 7/7] tools: kwboot: Add knowledge of Marvell's TIM Chris Packham
2022-09-16  8:11   ` Pali Rohár
2022-09-16 10:34     ` Chris Packham
2022-09-16 10:50       ` Pali Rohár
2022-09-16 12:36       ` Pali Rohár
2022-09-18 22:57         ` Chris Packham
2022-09-18 23:02           ` Pali Rohár
2022-09-19  8:24             ` Chris Packham

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=20220916045423.3635985-1-judge.packham@gmail.com \
    --to=judge.packham@gmail.com \
    --cc=aford173@gmail.com \
    --cc=alice.guo@nxp.com \
    --cc=andre.przywara@arm.com \
    --cc=aouledameur@baylibre.com \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=christianshewitt@gmail.com \
    --cc=enachman@marvell.com \
    --cc=festevam@denx.de \
    --cc=j-keerthy@ti.com \
    --cc=jim.t90615@gmail.com \
    --cc=joe.hershberger@ni.com \
    --cc=kabel@kernel.org \
    --cc=lukma@denx.de \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marex@denx.de \
    --cc=michael@walle.cc \
    --cc=mike@foundries.io \
    --cc=pali@kernel.org \
    --cc=paul.liu@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=rfried.dev@gmail.com \
    --cc=samuel@sholland.org \
    --cc=sean.anderson@seco.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=tharvey@gateworks.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vadym.kochan@plvision.eu \
    --cc=weijie.gao@mediatek.com \
    --cc=ye.li@nxp.com \
    /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