From: Angus Ainslie <angus@akkea.ca>
To: u-boot@lists.denx.de, marex@denx.de, seanga2@gmail.com
Cc: lukma@denx.de, sbabic@denx.de, festevam@gmail.com,
kernel@puri.sm, uboot-imx@nxp.com, peng.fan@nxp.com,
heiko.thiery@gmail.com, Angus Ainslie <angus@akkea.ca>
Subject: [PATCH v6 0/3] Add a clock driver for the imx8mq
Date: Tue, 29 Mar 2022 06:52:21 -0700 [thread overview]
Message-ID: <20220329135224.295780-1-angus@akkea.ca> (raw)
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 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 | 505 +++++++++++++++++++++++
drivers/clk/imx/clk-pll14xx.c | 61 +++
drivers/clk/imx/clk.h | 4 +
include/dt-bindings/clock/imx8mq-clock.h | 16 +-
9 files changed, 625 insertions(+), 166 deletions(-)
create mode 100644 drivers/clk/imx/clk-imx8mq.c
--
2.25.1
next reply other threads:[~2022-03-29 13:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 13:52 Angus Ainslie [this message]
2022-03-29 13:52 ` [PATCH v6 1/3] dt-bindings: imx8mq-clock: add mainline definitions Angus Ainslie
2022-03-29 13:52 ` [PATCH v6 2/3] clk: imx8mq: Add a clock driver for the imx8mq Angus Ainslie
2022-03-29 13:52 ` [PATCH v6 3/3] clk: imx8m: reduce rate table duplication Angus Ainslie
2022-03-29 14:04 ` [PATCH v6 0/3] Add a clock driver for the imx8mq Angus Ainslie
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=20220329135224.295780-1-angus@akkea.ca \
--to=angus@akkea.ca \
--cc=festevam@gmail.com \
--cc=heiko.thiery@gmail.com \
--cc=kernel@puri.sm \
--cc=lukma@denx.de \
--cc=marex@denx.de \
--cc=peng.fan@nxp.com \
--cc=sbabic@denx.de \
--cc=seanga2@gmail.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.