linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] clk: gxbb: expose CLKID_MMC_PCLK
@ 2016-07-07  3:38 Kevin Hilman
  2016-07-08  3:07 ` Michael Turquette
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2016-07-07  3:38 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd; +Cc: linux-clk, linux-amlogic, linux-arm-kernel

The MMC_PCLK is needed for the SD/eMMC driver, expose to DT (and comment
out in clk driver)

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
 drivers/clk/meson/gxbb.h              | 2 +-
 include/dt-bindings/clock/gxbb-clkc.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
index a2adf3448b59..8355ecd27b81 100644
--- a/drivers/clk/meson/gxbb.h
+++ b/drivers/clk/meson/gxbb.h
@@ -234,7 +234,7 @@
 #define CLKID_HDMI_PCLK		  63
 #define CLKID_USB1_DDR_BRIDGE	  64
 #define CLKID_USB0_DDR_BRIDGE	  65
-#define CLKID_MMC_PCLK		  66
+/* CLKID_MMC_PCLK */	       
 #define CLKID_DVIN		  67
 #define CLKID_UART2		  68
 #define CLKID_SANA		  69
diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h
index f889d80246cb..5eb69ec74f6b 100644
--- a/include/dt-bindings/clock/gxbb-clkc.h
+++ b/include/dt-bindings/clock/gxbb-clkc.h
@@ -8,5 +8,6 @@
 #define CLKID_CPUCLK		1
 #define CLKID_CLK81		12
 #define CLKID_ETH		36
+#define CLKID_MMC_PCLK		66
 
 #endif /* __GXBB_CLKC_H */
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] clk: gxbb: expose CLKID_MMC_PCLK
  2016-07-07  3:38 [PATCH v2] clk: gxbb: expose CLKID_MMC_PCLK Kevin Hilman
@ 2016-07-08  3:07 ` Michael Turquette
  2016-07-15 16:48   ` Kevin Hilman
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Turquette @ 2016-07-08  3:07 UTC (permalink / raw)
  To: Kevin Hilman, Stephen Boyd; +Cc: linux-clk, linux-amlogic, linux-arm-kernel

Quoting Kevin Hilman (2016-07-06 20:38:37)
> The MMC_PCLK is needed for the SD/eMMC driver, expose to DT (and comment
> out in clk driver)
> =

> Signed-off-by: Kevin Hilman <khilman@baylibre.com>

Applied to the same clk-s905 branch if you need to re-pull it as a
dependency.

Regards,
Mike

> ---
>  drivers/clk/meson/gxbb.h              | 2 +-
>  include/dt-bindings/clock/gxbb-clkc.h | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> =

> diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
> index a2adf3448b59..8355ecd27b81 100644
> --- a/drivers/clk/meson/gxbb.h
> +++ b/drivers/clk/meson/gxbb.h
> @@ -234,7 +234,7 @@
>  #define CLKID_HDMI_PCLK                  63
>  #define CLKID_USB1_DDR_BRIDGE    64
>  #define CLKID_USB0_DDR_BRIDGE    65
> -#define CLKID_MMC_PCLK           66
> +/* CLKID_MMC_PCLK */          =

>  #define CLKID_DVIN               67
>  #define CLKID_UART2              68
>  #define CLKID_SANA               69
> diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/=
clock/gxbb-clkc.h
> index f889d80246cb..5eb69ec74f6b 100644
> --- a/include/dt-bindings/clock/gxbb-clkc.h
> +++ b/include/dt-bindings/clock/gxbb-clkc.h
> @@ -8,5 +8,6 @@
>  #define CLKID_CPUCLK           1
>  #define CLKID_CLK81            12
>  #define CLKID_ETH              36
> +#define CLKID_MMC_PCLK         66
>  =

>  #endif /* __GXBB_CLKC_H */
> -- =

> 2.9.0
>=20

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] clk: gxbb: expose CLKID_MMC_PCLK
  2016-07-08  3:07 ` Michael Turquette
@ 2016-07-15 16:48   ` Kevin Hilman
  2016-07-16  2:18     ` Michael Turquette
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2016-07-15 16:48 UTC (permalink / raw)
  To: Michael Turquette
  Cc: Stephen Boyd, linux-clk, linux-amlogic, linux-arm-kernel

Michael Turquette <mturquette@baylibre.com> writes:

> Quoting Kevin Hilman (2016-07-06 20:38:37)
>> The MMC_PCLK is needed for the SD/eMMC driver, expose to DT (and comment
>> out in clk driver)
>> 
>> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
>
> Applied to the same clk-s905 branch if you need to re-pull it as a
> dependency.

Ugh.  Just received some updated documentation, and turns out this clock
is not used at all. :(

Feel free to revert now before it becomes ABI.

Now that I have actual docs, I'll have a new series coming that will
have the right clock details.

Thanks, and sorry for the noise,

Kevin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] clk: gxbb: expose CLKID_MMC_PCLK
  2016-07-15 16:48   ` Kevin Hilman
@ 2016-07-16  2:18     ` Michael Turquette
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Turquette @ 2016-07-16  2:18 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: Stephen Boyd, linux-clk, linux-amlogic, linux-arm-kernel

Quoting Kevin Hilman (2016-07-15 09:48:30)
> Michael Turquette <mturquette@baylibre.com> writes:
> =

> > Quoting Kevin Hilman (2016-07-06 20:38:37)
> >> The MMC_PCLK is needed for the SD/eMMC driver, expose to DT (and comme=
nt
> >> out in clk driver)
> >> =

> >> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> >
> > Applied to the same clk-s905 branch if you need to re-pull it as a
> > dependency.
> =

> Ugh.  Just received some updated documentation, and turns out this clock
> is not used at all. :(
> =

> Feel free to revert now before it becomes ABI.

Reverted.

> =

> Now that I have actual docs, I'll have a new series coming that will
> have the right clock details.

No problem. I did a git revert b/c I don't want to rebase this late in
the cycle.

Regards,
Mike

> =

> Thanks, and sorry for the noise,
> =

> Kevin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-16  2:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07  3:38 [PATCH v2] clk: gxbb: expose CLKID_MMC_PCLK Kevin Hilman
2016-07-08  3:07 ` Michael Turquette
2016-07-15 16:48   ` Kevin Hilman
2016-07-16  2:18     ` Michael Turquette

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).