From: "Y.b. Lu" <yangbo.lu@nxp.com>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>
Subject: RE: [PATCH] clk: qoriq: add ls1088a hwaccel clocks support
Date: Fri, 20 Dec 2019 03:58:06 +0000 [thread overview]
Message-ID: <VI1PR0401MB22374453B5D1AF0A845299CFF82D0@VI1PR0401MB2237.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20191216100111.17122-1-yangbo.lu@nxp.com>
Any comments?
Thanks!
Best regards,
Yangbo Lu
> -----Original Message-----
> From: Yangbo Lu <yangbo.lu@nxp.com>
> Sent: Monday, December 16, 2019 6:01 PM
> To: Michael Turquette <mturquette@baylibre.com>; Stephen Boyd
> <sboyd@kernel.org>; linux-clk@vger.kernel.org
> Cc: Y.b. Lu <yangbo.lu@nxp.com>
> Subject: [PATCH] clk: qoriq: add ls1088a hwaccel clocks support
>
> This patch is to add hwaccel clocks information for ls1088a.
>
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
> ---
> drivers/clk/clk-qoriq.c | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c
> index bed140f..d5946f7 100644
> --- a/drivers/clk/clk-qoriq.c
> +++ b/drivers/clk/clk-qoriq.c
> @@ -342,6 +342,32 @@ static const struct clockgen_muxinfo ls1046a_hwa2
> = {
> },
> };
>
> +static const struct clockgen_muxinfo ls1088a_hwa1 = {
> + {
> + {},
> + { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 },
> + { CLKSEL_VALID, CGA_PLL1, PLL_DIV2 },
> + { CLKSEL_VALID, CGA_PLL1, PLL_DIV3 },
> + { CLKSEL_VALID, CGA_PLL1, PLL_DIV4 },
> + {},
> + { CLKSEL_VALID, CGA_PLL2, PLL_DIV2 },
> + { CLKSEL_VALID, CGA_PLL2, PLL_DIV3 },
> + },
> +};
> +
> +static const struct clockgen_muxinfo ls1088a_hwa2 = {
> + {
> + {},
> + { CLKSEL_VALID, CGA_PLL2, PLL_DIV1 },
> + { CLKSEL_VALID, CGA_PLL2, PLL_DIV2 },
> + { CLKSEL_VALID, CGA_PLL2, PLL_DIV3 },
> + { CLKSEL_VALID, CGA_PLL2, PLL_DIV4 },
> + {},
> + { CLKSEL_VALID, CGA_PLL1, PLL_DIV2 },
> + { CLKSEL_VALID, CGA_PLL1, PLL_DIV3 },
> + },
> +};
> +
> static const struct clockgen_muxinfo ls1012a_cmux = {
> {
> [0] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 },
> @@ -607,6 +633,9 @@ static const struct clockgen_chipinfo chipinfo[] = {
> .cmux_groups = {
> &clockgen2_cmux_cga12
> },
> + .hwaccel = {
> + &ls1088a_hwa1, &ls1088a_hwa2
> + },
> .cmux_to_group = {
> 0, 0, -1
> },
> --
> 2.7.4
next prev parent reply other threads:[~2019-12-20 3:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-16 10:01 [PATCH] clk: qoriq: add ls1088a hwaccel clocks support Yangbo Lu
2019-12-20 3:58 ` Y.b. Lu [this message]
2020-01-08 3:40 ` Y.b. Lu
2020-01-31 0:32 ` Stephen Boyd
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=VI1PR0401MB22374453B5D1AF0A845299CFF82D0@VI1PR0401MB2237.eurprd04.prod.outlook.com \
--to=yangbo.lu@nxp.com \
--cc=linux-clk@vger.kernel.org \
--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).