From: Angus Ainslie <angus@akkea.ca>
To: u-boot@lists.denx.de, Marek Vasut <marex@denx.de>
Cc: lukma@denx.de, seanga2@gmail.com, sbabic@denx.de,
festevam@gmail.com, kernel@puri.sm, uboot-imx@nxp.com,
peng.fan@nxp.com, Angus Ainslie <angus@akkea.ca>
Subject: [PATCH v4 0/4] Add a clock driver for the imx8mq
Date: Tue, 15 Mar 2022 06:08:16 -0700 [thread overview]
Message-ID: <20220315130820.1054186-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 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
Angus Ainslie (4):
dt-bindings: imx8mq-clock: add mainline definitions
clk: imx8mq: Add a clock driver for the imx8mq
clk: imx8m: reduce rate table duplication
clk: imx8m: remove code duplication
drivers/clk/imx/Kconfig | 16 +
drivers/clk/imx/Makefile | 8 +-
drivers/clk/imx/clk-imx8m.c | 108 ++++++
drivers/clk/imx/clk-imx8m.h | 12 +
drivers/clk/imx/clk-imx8mm.c | 149 +-------
drivers/clk/imx/clk-imx8mn.c | 149 +-------
drivers/clk/imx/clk-imx8mp.c | 156 +-------
drivers/clk/imx/clk-imx8mq.c | 441 +++++++++++++++++++++++
drivers/clk/imx/clk-pll14xx.c | 61 ++++
drivers/clk/imx/clk.h | 4 +
include/dt-bindings/clock/imx8mq-clock.h | 16 +-
11 files changed, 688 insertions(+), 432 deletions(-)
create mode 100644 drivers/clk/imx/clk-imx8m.c
create mode 100644 drivers/clk/imx/clk-imx8m.h
create mode 100644 drivers/clk/imx/clk-imx8mq.c
--
2.25.1
next reply other threads:[~2022-03-15 13:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 13:08 Angus Ainslie [this message]
2022-03-15 13:08 ` [PATCH v4 1/4] dt-bindings: imx8mq-clock: add mainline definitions Angus Ainslie
2022-03-15 13:08 ` [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq Angus Ainslie
2022-03-15 15:12 ` Heiko Thiery
2022-03-15 15:35 ` Heiko Thiery
2022-03-15 15:46 ` Angus Ainslie
2022-03-15 16:13 ` Angus Ainslie
2022-03-16 7:14 ` Heiko Thiery
2022-03-16 12:26 ` Heiko Thiery
2022-03-16 12:35 ` Angus Ainslie
2022-03-16 14:02 ` Heiko Thiery
2022-03-16 14:15 ` Angus Ainslie
2022-03-16 14:21 ` Heiko Thiery
2022-03-16 15:55 ` Heiko Thiery
2022-03-16 16:00 ` Angus Ainslie
2022-03-16 16:20 ` Michael Walle
2022-03-21 1:38 ` Peng Fan (OSS)
2022-03-15 19:01 ` Marek Vasut
2022-03-16 7:02 ` Heiko Thiery
2022-03-21 1:32 ` Peng Fan (OSS)
2022-03-20 23:57 ` Sean Anderson
2022-03-24 8:28 ` Heiko Thiery
2022-03-24 12:06 ` Angus Ainslie
2022-03-15 13:08 ` [PATCH v4 3/4] clk: imx8m: reduce rate table duplication Angus Ainslie
2022-03-15 13:08 ` [PATCH v4 4/4] clk: imx8m: remove code duplication Angus Ainslie
2022-03-20 23:58 ` Sean Anderson
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=20220315130820.1054186-1-angus@akkea.ca \
--to=angus@akkea.ca \
--cc=festevam@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).