From: Michael Tretter <m.tretter@pengutronix.de>
To: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: kernel@pengutronix.de,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Michal Simek <michal.simek@xilinx.com>,
Jolly Shah <jolly.shah@xilinx.com>,
Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH v2 0/4] clk: zynqmp: fix CLK_FRAC and various cleanups
Date: Tue, 19 Mar 2019 11:01:43 +0100 [thread overview]
Message-ID: <20190319100147.4178-1-m.tretter@pengutronix.de> (raw)
Hello,
This is v2 of the patchset to cleanup the ZynqMP clock driver.
I introduced the new is_frac field in zynqmp_clk_divider. The driver uses this
field to flag fractional dividers instead of misusing the clk_hw::core::flags
field.
Furthermore, the driver uses structs for the query responses from the firmware
instead of passing arrays with implicit size.
Michael
v1 -> v2:
- remove export of zynqmp_clk_register_divider
- move CLK_FLAG to property in zynqmp_clk_divider
- merge and rewrite patches 4 and 5 to use structs for responses
Michael Tretter (4):
clk: zynqmp: fix kerneldoc of __zynqmp_clock_get_parents
clk: zynqmp: do not export zynqmp_clk_register_* functions
clk: zynqmp: fix check for fractional clock
clk: zynqmp: use structs for clk query responses
drivers/clk/zynqmp/clk-mux-zynqmp.c | 1 -
drivers/clk/zynqmp/clk-zynqmp.h | 6 --
drivers/clk/zynqmp/clkc.c | 148 ++++++++++++++++------------
drivers/clk/zynqmp/divider.c | 10 +-
4 files changed, 92 insertions(+), 73 deletions(-)
--
2.20.1
next reply other threads:[~2019-03-19 10:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-19 10:01 Michael Tretter [this message]
2019-03-19 10:01 ` [PATCH v2 1/4] clk: zynqmp: fix kerneldoc of __zynqmp_clock_get_parents Michael Tretter
2019-04-11 18:41 ` Stephen Boyd
2019-03-19 10:01 ` [PATCH v2 2/4] clk: zynqmp: do not export zynqmp_clk_register_* functions Michael Tretter
2019-04-11 18:41 ` Stephen Boyd
2019-03-19 10:01 ` [PATCH v2 3/4] clk: zynqmp: fix check for fractional clock Michael Tretter
2019-04-11 18:41 ` Stephen Boyd
2019-03-19 10:01 ` [PATCH v2 4/4] clk: zynqmp: use structs for clk query responses Michael Tretter
2019-04-04 8:16 ` [PATCH v2 0/4] clk: zynqmp: fix CLK_FRAC and various cleanups Michael Tretter
2019-04-11 18:40 ` Stephen Boyd
2019-04-12 9:36 ` Michael Tretter
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=20190319100147.4178-1-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=jolly.shah@xilinx.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.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;
as well as URLs for NNTP newsgroup(s).