From: Conor Dooley <conor@kernel.org>
To: u-boot@lists.denx.de
Cc: conor@kernel.org, Conor Dooley <conor.dooley@microchip.com>,
Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>,
Tom Rini <trini@konsulko.com>,
Cyril Jean <cyril.jean@microchip.com>,
Lukasz Majewski <lukma@denx.de>,
Sean Anderson <seanga2@gmail.com>,
Sumit Garg <sumit.garg@linaro.org>
Subject: [PATCH v2 0/3] PolarFire SoC clock devicetree rework
Date: Wed, 23 Oct 2024 11:17:51 +0100 [thread overview]
Message-ID: <20241023101754.4021948-1-conor@kernel.org> (raw)
From: Conor Dooley <conor.dooley@microchip.com>
Here's a U-Boot implementation of the changes I'm trying to make in
https://lore.kernel.org/all/20241002-private-unequal-33cfa6101338@spud/
that affect how the clocks are described in devicetree for PolarFire
SoC. There's been no complaints about the only part that impacts U-Boot,
so I figured it was time to send patches here.
I've implemented things here in a backwards compatible manner, so that
these changes can be applied now without the relevant devicetree
patches (since the dust has not settled on all aspects of the rework)
and the revised devicetree can make its way into U-Boot via a regular
OF_UPSTREAM update once merged "upstream".
~There's minor duplication with Hal's work in patch 3, but I think that's~
~not particularly important, given it is the addition of a trivial~
~Makefile we both require:~
~https://lore.kernel.org/all/20240930155919.111738-1-hal.feng@starfivetech.com~
In v2, I rebased on top of master as Sumit suggested to pick up the
movement of some dts Makefile, so while there's still a bit of
duplication, what's here is "better" than what's linked above.
Cheers,
Conor.
CC: Rick Chen <rick@andestech.com>
CC: Leo <ycliang@andestech.com>
CC: Tom Rini <trini@konsulko.com>
CC: Conor Dooley <conor.dooley@microchip.com>
CC: Cyril Jean <cyril.jean@microchip.com>
CC: Lukasz Majewski <lukma@denx.de>
CC: Sean Anderson <seanga2@gmail.com>
CC: Sumit Garg <sumit.garg@linaro.org>
CC: u-boot@lists.denx.de
Conor Dooley (3):
clk: microchip: mpfs: support new syscon based devicetree
configuration
board: mpfs_icicle: imply new clk driver dependencies
riscv: dts: mpfs: migrate to OF_UPSTREAM
arch/riscv/dts/Makefile | 1 -
arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi | 71 ---
arch/riscv/dts/mpfs-icicle-kit-u-boot.dtsi | 14 -
arch/riscv/dts/mpfs-icicle-kit.dts | 208 ---------
arch/riscv/dts/mpfs.dtsi | 511 ---------------------
board/microchip/mpfs_icicle/Kconfig | 2 +
configs/microchip_mpfs_icicle_defconfig | 4 +-
drivers/clk/microchip/Kconfig | 2 +
drivers/clk/microchip/mpfs_clk.c | 63 ++-
drivers/clk/microchip/mpfs_clk.h | 5 +-
drivers/clk/microchip/mpfs_clk_cfg.c | 16 +-
drivers/clk/microchip/mpfs_clk_periph.c | 37 +-
dts/upstream/src/riscv/Makefile | 6 +
13 files changed, 91 insertions(+), 849 deletions(-)
delete mode 100644 arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi
delete mode 100644 arch/riscv/dts/mpfs-icicle-kit-u-boot.dtsi
delete mode 100644 arch/riscv/dts/mpfs-icicle-kit.dts
delete mode 100644 arch/riscv/dts/mpfs.dtsi
create mode 100644 dts/upstream/src/riscv/Makefile
--
2.45.2
next reply other threads:[~2024-10-23 10:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 10:17 Conor Dooley [this message]
2024-10-23 10:17 ` [PATCH v2 1/3] clk: microchip: mpfs: support new syscon based devicetree configuration Conor Dooley
2024-10-29 11:56 ` Leo Liang
2024-10-23 10:17 ` [PATCH v2 2/3] board: mpfs_icicle: imply new clk driver dependencies Conor Dooley
2024-10-29 11:57 ` Leo Liang
2024-10-23 10:17 ` [PATCH v2 3/3] riscv: dts: mpfs: migrate to OF_UPSTREAM Conor Dooley
2024-10-23 12:13 ` Sumit Garg
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=20241023101754.4021948-1-conor@kernel.org \
--to=conor@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=cyril.jean@microchip.com \
--cc=lukma@denx.de \
--cc=rick@andestech.com \
--cc=seanga2@gmail.com \
--cc=sumit.garg@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=ycliang@andestech.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