Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717287

Re: [PATCH 1/2] mmc: sdhci-msm: Utilize bulk clock API

From Ulf Hansson <ulf.hansson@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] mmc: sdhci-msm: Utilize bulk clock API
Date 2017-08-22 12:40 +0200
Message-ID <uheLf-14J-7@gated-at.bofh.it> (permalink)
References <ufTIS-6Yr-5@gated-at.bofh.it> <ufTIS-6Yr-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 18 August 2017 at 19:55, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
> By stuffing the runtime controlled clocks into a clk_bulk_data array we
> can utilize the newly introduced bulk clock operations and clean up the
> error paths. This allow us to handle additional clocks in subsequent
> patch, without the added complexity.
>
> Cc: Ritesh Harjani <riteshh@codeaurora.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  drivers/mmc/host/sdhci-msm.c | 44 ++++++++++++++++----------------------------
>  1 file changed, 16 insertions(+), 28 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
> index fc73e56eb1e2..71e01cbc38b6 100644
> --- a/drivers/mmc/host/sdhci-msm.c
> +++ b/drivers/mmc/host/sdhci-msm.c
> @@ -131,6 +131,7 @@ struct sdhci_msm_host {
>         struct clk *pclk;       /* SDHC peripheral bus clock */
>         struct clk *bus_clk;    /* SDHC bus voter clock */
>         struct clk *xo_clk;     /* TCXO clk needed for FLL feature of cm_dll*/
> +       struct clk_bulk_data bulk_clks[2];

Adding bulk clocks, should also enable you to remove the core/pclk
from the struct sdhci_mcm_host, no?

[...]

Kind regards
Uffe

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] mmc: sdhci-msm: Utilize bulk clock API Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-18 20:00 +0200
  Re: [PATCH 1/2] mmc: sdhci-msm: Utilize bulk clock API Ulf Hansson <ulf.hansson@linaro.org> - 2017-08-22 12:40 +0200

csiph-web