From: Michael Tretter <m.tretter@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH 0/6] ZynqMP clock driver
Date: Tue, 12 Mar 2019 11:20:49 +0100 [thread overview]
Message-ID: <20190312102055.12386-1-m.tretter@pengutronix.de> (raw)
Hello,
This series adds a clock driver for the ZynqMP. On ZynqMP, Barebox does not
have direct access to the hardware but needs to go through the firmware to
configure the clock tree.
Patches 1 and 2 update how firmware device tree nodes are populated. The
behavior for this is copied from Linux.
Patch 3 provides the size of the return value from the ZynqMP firmware to
firmware client drivers. This is necessary to use the "query" call.
Patch 4 adds the actual driver.
Patches 5 and 6 add the firmware to the device tree and connect various
devices to the clock controller.
Michael
Michael Tretter (3):
ARM: zynqmp: move PAYLOAD_ARG_CNT to firmware header
clk: add ZynqMP clock driver
ARM: zynqmp: switch to firmware clock driver
Thomas Haemmerle (3):
of: populate "/firmware" while populating device tree
ARM: zynqmp: populate zynqmp_firmware dt node
ARM: zynqmp: add firmware DT node
arch/arm/dts/zynqmp-clk.dtsi | 155 +++++
arch/arm/dts/zynqmp-zcu104-revA.dts | 2 +
arch/arm/dts/zynqmp.dtsi | 17 +
arch/arm/mach-zynqmp/firmware-zynqmp.c | 3 +-
.../include/mach/firmware-zynqmp.h | 2 +
drivers/clk/Makefile | 1 +
drivers/clk/zynqmp/Makefile | 5 +
drivers/clk/zynqmp/clk-divider-zynqmp.c | 111 ++++
drivers/clk/zynqmp/clk-gate-zynqmp.c | 93 +++
drivers/clk/zynqmp/clk-mux-zynqmp.c | 102 +++
drivers/clk/zynqmp/clk-pll-zynqmp.c | 213 +++++++
drivers/clk/zynqmp/clk-zynqmp.h | 55 ++
drivers/clk/zynqmp/clkc.c | 582 ++++++++++++++++++
drivers/of/base.c | 6 +-
14 files changed, 1344 insertions(+), 3 deletions(-)
create mode 100644 arch/arm/dts/zynqmp-clk.dtsi
create mode 100644 arch/arm/dts/zynqmp.dtsi
create mode 100644 drivers/clk/zynqmp/Makefile
create mode 100644 drivers/clk/zynqmp/clk-divider-zynqmp.c
create mode 100644 drivers/clk/zynqmp/clk-gate-zynqmp.c
create mode 100644 drivers/clk/zynqmp/clk-mux-zynqmp.c
create mode 100644 drivers/clk/zynqmp/clk-pll-zynqmp.c
create mode 100644 drivers/clk/zynqmp/clk-zynqmp.h
create mode 100644 drivers/clk/zynqmp/clkc.c
--
2.20.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2019-03-12 10:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 10:20 Michael Tretter [this message]
2019-03-12 10:20 ` [PATCH 1/6] of: populate "/firmware" while populating device tree Michael Tretter
2019-03-12 10:20 ` [PATCH 2/6] ARM: zynqmp: populate zynqmp_firmware dt node Michael Tretter
2019-03-12 10:20 ` [PATCH 3/6] ARM: zynqmp: move PAYLOAD_ARG_CNT to firmware header Michael Tretter
2019-03-12 10:20 ` [PATCH 4/6] clk: add ZynqMP clock driver Michael Tretter
2019-03-12 10:20 ` [PATCH 5/6] ARM: zynqmp: add firmware DT node Michael Tretter
2019-03-12 10:20 ` [PATCH 6/6] ARM: zynqmp: switch to firmware clock driver Michael Tretter
2019-03-18 7:50 ` [PATCH 0/6] ZynqMP " 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=20190312102055.12386-1-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=barebox@lists.infradead.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