public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Add a clock driver for the imx8mq
@ 2022-03-29 14:02 Angus Ainslie
  2022-03-29 14:02 ` [PATCH v7 1/3] dt-bindings: imx8mq-clock: add mainline definitions Angus Ainslie
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Angus Ainslie @ 2022-03-29 14:02 UTC (permalink / raw)
  To: u-boot, marex, seanga2
  Cc: lukma, sbabic, festevam, kernel, uboot-imx, peng.fan,
	heiko.thiery, Angus Ainslie

This is a DM clock driver for the imx8mq based on the linux kernel
driver and the u-boot imx8mm clock driver.

It also removes some code duplication in the imx8m[nmp] clock drivers.

Changes since v6

Fixed unused variable warning

Changes since v5

Added UART clocks
Added video clocks
Added DRAM clocks

Changes since v4

Rebased onto [1] so patch 4 of 4 was dropped.
Added CLK_COMPOSITE_CCF
Fixed const* clock definitions

Changes since v3:

Fixed driver spelling
Moved rate macros out of the header into the dot c

Changes since v2:

Added kernel commit IDs
Re-factored rate table code to remove duplication
Remove duplicate code by creating a common clk-imx8m

Changes since v1:

More verbose clock driver description
Added forgotten dt-bindings
Synced PLL frequencies with mainline kernel

[1] https://patchwork.ozlabs.org/project/uboot/patch/20220320203446.740178-2-seanga2@gmail.com/

Angus Ainslie (3):
  dt-bindings: imx8mq-clock: add mainline definitions
  clk: imx8mq: Add a clock driver for the imx8mq
  clk: imx8m: reduce rate table duplication

 drivers/clk/imx/Kconfig                  |  18 +
 drivers/clk/imx/Makefile                 |   2 +
 drivers/clk/imx/clk-imx8mm.c             |  60 +--
 drivers/clk/imx/clk-imx8mn.c             |  60 +--
 drivers/clk/imx/clk-imx8mp.c             |  65 +--
 drivers/clk/imx/clk-imx8mq.c             | 503 +++++++++++++++++++++++
 drivers/clk/imx/clk-pll14xx.c            |  61 +++
 drivers/clk/imx/clk.h                    |   4 +
 include/dt-bindings/clock/imx8mq-clock.h |  16 +-
 9 files changed, 623 insertions(+), 166 deletions(-)
 create mode 100644 drivers/clk/imx/clk-imx8mq.c

-- 
2.25.1


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

end of thread, other threads:[~2022-04-12 18:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 14:02 [PATCH v7 0/3] Add a clock driver for the imx8mq Angus Ainslie
2022-03-29 14:02 ` [PATCH v7 1/3] dt-bindings: imx8mq-clock: add mainline definitions Angus Ainslie
2022-04-12 18:42   ` sbabic
2022-03-29 14:02 ` [PATCH v7 2/3] clk: imx8mq: Add a clock driver for the imx8mq Angus Ainslie
2022-04-12 18:44   ` sbabic
2022-03-29 14:02 ` [PATCH v7 3/3] clk: imx8m: reduce rate table duplication Angus Ainslie
2022-04-12 18:45   ` sbabic

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