mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v3 1/2] clk: meson: gxbb: Add sd_emmc clk0 clkids
Date: Tue, 1 Aug 2017 14:09:28 +0200	[thread overview]
Message-ID: <ddf63956-781d-670b-366e-712445307e60@baylibre.com> (raw)
In-Reply-To: <20170731115603.29720-2-jbrunet@baylibre.com>

On 07/31/2017 01:56 PM, Jerome Brunet wrote:
> Add the clkids for the clocks feeding the input0 of the mmc controllers
> 
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  drivers/clk/meson/gxbb.h              | 10 ++++++++--
>  include/dt-bindings/clock/gxbb-clkc.h |  3 +++
>  2 files changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
> index 2c8986d3232c..5b1d4b374d1c 100644
> --- a/drivers/clk/meson/gxbb.h
> +++ b/drivers/clk/meson/gxbb.h
> @@ -184,8 +184,14 @@
>  #define CLKID_CTS_MCLK_I958_DIV	  112
>  #define CLKID_32K_CLK_SEL	  115
>  #define CLKID_32K_CLK_DIV	  116
> -
> -#define NR_CLKS			  117
> +#define CLKID_SD_EMMC_A_CLK0_SEL  117
> +#define CLKID_SD_EMMC_A_CLK0_DIV  118
> +#define CLKID_SD_EMMC_B_CLK0_SEL  120
> +#define CLKID_SD_EMMC_B_CLK0_DIV  121
> +#define CLKID_SD_EMMC_C_CLK0_SEL  123
> +#define CLKID_SD_EMMC_C_CLK0_DIV  124
> +
> +#define NR_CLKS			  126
>  
>  /* include the CLKIDs that have been made part of the DT binding */
>  #include <dt-bindings/clock/gxbb-clkc.h>
> diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h
> index e07fea011ebd..c04a76d8facf 100644
> --- a/include/dt-bindings/clock/gxbb-clkc.h
> +++ b/include/dt-bindings/clock/gxbb-clkc.h
> @@ -110,5 +110,8 @@
>  #define CLKID_CTS_MCLK_I958	110
>  #define CLKID_CTS_I958		113
>  #define CLKID_32K_CLK		114
> +#define CLKID_SD_EMMC_A_CLK0	119
> +#define CLKID_SD_EMMC_B_CLK0	122
> +#define CLKID_SD_EMMC_C_CLK0	125
>  
>  #endif /* __GXBB_CLKC_H */
> 

Applied to clk-meson's next/headers.

Thanks,
Neil

  reply	other threads:[~2017-08-01 12:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-31 11:56 [PATCH v3 0/2] clk: meson: add mmc input 0 clocks Jerome Brunet
2017-07-31 11:56 ` [PATCH v3 1/2] clk: meson: gxbb: Add sd_emmc clk0 clkids Jerome Brunet
2017-08-01 12:09   ` Neil Armstrong [this message]
2017-07-31 11:56 ` [PATCH v3 2/2] clk: meson: gxbb: Add sd_emmc clk0 clocks Jerome Brunet
2017-08-01 12:19   ` Neil Armstrong

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=ddf63956-781d-670b-366e-712445307e60@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=linus-amlogic@lists.infradead.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

all inboxes | Powered by JetHome®