U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Marangi <ansuelsmth@gmail.com>
To: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
	Tom Rini <trini@konsulko.com>, Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Sumit Garg <sumit.garg@linaro.org>,
	Christian Marangi <ansuelsmth@gmail.com>,
	Simon Glass <sjg@chromium.org>, Stephen Boyd <sboyd@kernel.org>,
	Conor Dooley <conor.dooley@microchip.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	u-boot@lists.denx.de
Subject: [PATCH v2 0/6] airoha: Add initial support AN7581
Date: Fri, 14 Mar 2025 19:59:20 +0100	[thread overview]
Message-ID: <20250314185941.27834-1-ansuelsmth@gmail.com> (raw)

This little series adds initial support for Airoha AN7581 SoC.

With the help of some backport patch, this use OF_UPSTREAM
directly.

Posting this to have the targer and the very basic driver.

Ethernet, SNAND and eMMC support is already ready downstream
and will be posted shortly after this gets approved.

Having the first driver ready permits to separately push
dedicate series for SNAND, eMMC and Ethrnet as they all depends
on basic support of clock and reset and nothing else.

Changes v2:
- Use OF_UPSTREAM directly
- Backport some patch for OF_UPSTREAM
- Make use of u-boot.dtsi files
- Fix defconfig
- Use pattern for MAINTAINERS file
- Correctly handle SYS_BOARD/SYS_CONFIG_NAME
- Drop config for header file

Christian Marangi (6):
  airoha: Add initial support for Airoha AN7581 SoC
  clk: airoha: Add support for Airoha AN7581 SoC clock
  reset: airoha: Add driver for controlling reset line of AN7581
  arm64: dts: airoha: en7581: Add Clock Controller node
  dt-bindings: clock: drop NUM_CLOCKS define for EN7581
  dt-bindings: clock: add ID for eMMC for EN7581

 arch/arm/Kconfig                              |   9 +
 arch/arm/Makefile                             |   1 +
 arch/arm/dts/an7581-u-boot.dtsi               |  18 +
 arch/arm/dts/en7581-evb-u-boot.dtsi           |  11 +
 arch/arm/mach-airoha/Kconfig                  |  32 ++
 arch/arm/mach-airoha/Makefile                 |   5 +
 arch/arm/mach-airoha/an7581/Makefile          |   3 +
 arch/arm/mach-airoha/an7581/init.c            |  47 ++
 arch/arm/mach-airoha/cpu.c                    |  20 +
 board/airoha/an7581/MAINTAINERS               |   5 +
 board/airoha/an7581/Makefile                  |   3 +
 board/airoha/an7581/an7581_rfb.c              |  16 +
 configs/an7581_evb_defconfig                  |  78 +++
 drivers/clk/Makefile                          |   1 +
 drivers/clk/airoha/Makefile                   |   3 +
 drivers/clk/airoha/clk-airoha.c               | 454 ++++++++++++++++++
 drivers/reset/Kconfig                         |   7 +
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-airoha.c                  | 173 +++++++
 .../include/dt-bindings/clock/en7523-clk.h    |   2 +-
 dts/upstream/src/arm64/airoha/en7581.dtsi     |   8 +
 include/configs/an7581.h                      |  19 +
 22 files changed, 915 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/an7581-u-boot.dtsi
 create mode 100644 arch/arm/dts/en7581-evb-u-boot.dtsi
 create mode 100644 arch/arm/mach-airoha/Kconfig
 create mode 100644 arch/arm/mach-airoha/Makefile
 create mode 100644 arch/arm/mach-airoha/an7581/Makefile
 create mode 100644 arch/arm/mach-airoha/an7581/init.c
 create mode 100644 arch/arm/mach-airoha/cpu.c
 create mode 100644 board/airoha/an7581/MAINTAINERS
 create mode 100644 board/airoha/an7581/Makefile
 create mode 100644 board/airoha/an7581/an7581_rfb.c
 create mode 100644 configs/an7581_evb_defconfig
 create mode 100644 drivers/clk/airoha/Makefile
 create mode 100644 drivers/clk/airoha/clk-airoha.c
 create mode 100644 drivers/reset/reset-airoha.c
 create mode 100644 include/configs/an7581.h

-- 
2.48.1


             reply	other threads:[~2025-03-14 19:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14 18:59 Christian Marangi [this message]
2025-03-14 18:59 ` [PATCH v2 1/6] airoha: Add initial support for Airoha AN7581 SoC Christian Marangi
2025-03-14 18:59 ` [PATCH v2 2/6] clk: airoha: Add support for Airoha AN7581 SoC clock Christian Marangi
2025-03-14 18:59 ` [PATCH v2 3/6] reset: airoha: Add driver for controlling reset line of AN7581 Christian Marangi
2025-03-14 18:59 ` [PATCH v2 4/6] arm64: dts: airoha: en7581: Add Clock Controller node Christian Marangi
2025-03-14 18:59 ` [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581 Christian Marangi
2025-03-27 14:43   ` Krzysztof Kozlowski
2025-03-27 14:50     ` Christian Marangi
2025-03-27 14:58       ` Krzysztof Kozlowski
2025-04-01 14:44         ` Tom Rini
2025-04-01 14:56           ` Conor Dooley
2025-04-01 15:27           ` Krzysztof Kozlowski
2025-04-01 16:40             ` Tom Rini
2025-04-01 17:28               ` Krzysztof Kozlowski
2025-04-01 18:02                 ` Tom Rini
2025-04-02  7:12                   ` Sumit Garg
2025-04-02 14:16                     ` Tom Rini
2025-03-14 18:59 ` [PATCH v2 6/6] dt-bindings: clock: add ID for eMMC " Christian Marangi
2025-03-27 14:44   ` Krzysztof Kozlowski
2025-03-14 20:26 ` [PATCH v2 0/6] airoha: Add initial support AN7581 Tom Rini
2025-03-27 14:20   ` Christian Marangi
2025-04-01 10:45 ` Andreas Gnau
2025-04-01 10:50   ` Christian Marangi
2025-04-01 20:36 ` Tom Rini

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=20250314185941.27834-1-ansuelsmth@gmail.com \
    --to=ansuelsmth@gmail.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor.dooley@microchip.com \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lukma@denx.de \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=sboyd@kernel.org \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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