public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Cc: Peng Fan <peng.fan@nxp.com>,
	Eugen Hristev <eugen.hristev@microchip.com>,
	 Claudiu Beznea <claudiu.beznea@microchip.com>,
	Cyril Jean <cyril.jean@microchip.com>,
	Lukasz Majewski <lukma@denx.de>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>
Subject: Re: [PATCH 2/2] clk: Use generic CCF ops where possible
Date: Wed, 30 Mar 2022 15:21:34 -0400	[thread overview]
Message-ID: <27561571-5c62-a383-9041-df71abaadc42@gmail.com> (raw)
In-Reply-To: <20220320203446.740178-2-seanga2@gmail.com>

On 3/20/22 4:34 PM, Sean Anderson wrote:
> This converts most CCF drivers to use generic ops. imx6q is the only
> outlier, where we retain the existing functionality by moving the check to
> request().
> 
> Signed-off-by: Sean Anderson <seanga2@gmail.com>
> ---
> 
>   drivers/clk/at91/pmc.c           | 56 ++------------------
>   drivers/clk/imx/clk-imx6q.c      | 73 +++-----------------------
>   drivers/clk/imx/clk-imx8mm.c     | 88 +------------------------------
>   drivers/clk/imx/clk-imx8mn.c     | 88 +------------------------------
>   drivers/clk/imx/clk-imx8mp.c     | 90 +-------------------------------
>   drivers/clk/imx/clk-imxrt1020.c  | 65 ++---------------------
>   drivers/clk/imx/clk-imxrt1050.c  | 85 +-----------------------------
>   drivers/clk/microchip/mpfs_clk.c | 67 +-----------------------
>   8 files changed, 21 insertions(+), 591 deletions(-)
> 
> diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
> index 1fa42d728b..58bf1047b5 100644
> --- a/drivers/clk/at91/pmc.c
> +++ b/drivers/clk/at91/pmc.c

This driver needs to #include <linux/clk-provider.h>

I've added this while applying.

--Sean

  parent reply	other threads:[~2022-03-30 19:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 20:34 [PATCH 1/2] clk: ccf: Add some helper functions for clock ops Sean Anderson
2022-03-20 20:34 ` [PATCH 2/2] clk: Use generic CCF ops where possible Sean Anderson
2022-03-21  1:30   ` Peng Fan (OSS)
2022-03-21 13:24   ` Claudiu.Beznea
2022-03-30 19:21   ` Sean Anderson [this message]
2022-03-21  1:29 ` [PATCH 1/2] clk: ccf: Add some helper functions for clock ops Peng Fan (OSS)
2022-03-30 19:21 ` 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=27561571-5c62-a383-9041-df71abaadc42@gmail.com \
    --to=seanga2@gmail.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=cyril.jean@microchip.com \
    --cc=eugen.hristev@microchip.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=lukma@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /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