mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/6] ZynqMP clock driver
@ 2019-03-12 10:20 Michael Tretter
  2019-03-12 10:20 ` [PATCH 1/6] of: populate "/firmware" while populating device tree Michael Tretter
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Michael Tretter @ 2019-03-12 10:20 UTC (permalink / raw)
  To: barebox; +Cc: Michael Tretter

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-18  7:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 10:20 [PATCH 0/6] ZynqMP clock driver Michael Tretter
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox