linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: meson-gxbb: Export PWM related clocks for DT
@ 2016-08-22 12:49 Neil Armstrong
  2016-09-03 13:02 ` Neil Armstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Neil Armstrong @ 2016-08-22 12:49 UTC (permalink / raw)
  To: linus-amlogic

Add the PWM related clocks in order to be referenced as PWM source
clocks.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/clk/meson/gxbb.h              | 6 +++---
 include/dt-bindings/clock/gxbb-clkc.h | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
index a2adf34..523b494 100644
--- a/drivers/clk/meson/gxbb.h
+++ b/drivers/clk/meson/gxbb.h
@@ -170,11 +170,11 @@
  */
 #define CLKID_SYS_PLL		  0
 /* CLKID_CPUCLK */
-#define CLKID_HDMI_PLL		  2
+/* CLKID_HDMI_PLL */
 #define CLKID_FIXED_PLL		  3
 #define CLKID_FCLK_DIV2		  4
-#define CLKID_FCLK_DIV3		  5
-#define CLKID_FCLK_DIV4		  6
+/* CLKID_FCLK_DIV3 */
+/* CLKID_FCLK_DIV4 */
 #define CLKID_FCLK_DIV5		  7
 #define CLKID_FCLK_DIV7		  8
 #define CLKID_GP0_PLL		  9
diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h
index f889d80..a5897f3 100644
--- a/include/dt-bindings/clock/gxbb-clkc.h
+++ b/include/dt-bindings/clock/gxbb-clkc.h
@@ -6,6 +6,9 @@
 #define __GXBB_CLKC_H
 
 #define CLKID_CPUCLK		1
+#define CLKID_HDMI_PLL		2
+#define CLKID_FCLK_DIV3		5
+#define CLKID_FCLK_DIV4		6
 #define CLKID_CLK81		12
 #define CLKID_ETH		36
 
-- 
1.9.1

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

* [PATCH] clk: meson-gxbb: Export PWM related clocks for DT
  2016-08-22 12:49 [PATCH] clk: meson-gxbb: Export PWM related clocks for DT Neil Armstrong
@ 2016-09-03 13:02 ` Neil Armstrong
  2016-09-07  0:34   ` Stephen Boyd
  2016-09-07  0:52 ` Stephen Boyd
  2016-10-11  7:59 ` Michael Turquette
  2 siblings, 1 reply; 6+ messages in thread
From: Neil Armstrong @ 2016-09-03 13:02 UTC (permalink / raw)
  To: linus-amlogic



Le 22/08/2016 14:49, Neil Armstrong a ?crit :
> Add the PWM related clocks in order to be referenced as PWM source
> clocks.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  drivers/clk/meson/gxbb.h              | 6 +++---
>  include/dt-bindings/clock/gxbb-clkc.h | 3 +++
>  2 files changed, 6 insertions(+), 3 deletions(-)

Dear Clock Maintainers,

Could you review this patch since it is a strong requirement to select the PWM clock parents over DT ?

Thanks,
Neil

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

* [PATCH] clk: meson-gxbb: Export PWM related clocks for DT
  2016-09-03 13:02 ` Neil Armstrong
@ 2016-09-07  0:34   ` Stephen Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2016-09-07  0:34 UTC (permalink / raw)
  To: linus-amlogic

On 09/03, Neil Armstrong wrote:
> 
> 
> Le 22/08/2016 14:49, Neil Armstrong a ?crit :
> > Add the PWM related clocks in order to be referenced as PWM source
> > clocks.
> > 
> > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> > ---
> >  drivers/clk/meson/gxbb.h              | 6 +++---
> >  include/dt-bindings/clock/gxbb-clkc.h | 3 +++
> >  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> Dear Clock Maintainers,
> 
> Could you review this patch since it is a strong requirement to select the PWM clock parents over DT ?
> 

Looks fine to me. Did you want an ack or an immutable branch?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* [PATCH] clk: meson-gxbb: Export PWM related clocks for DT
  2016-08-22 12:49 [PATCH] clk: meson-gxbb: Export PWM related clocks for DT Neil Armstrong
  2016-09-03 13:02 ` Neil Armstrong
@ 2016-09-07  0:52 ` Stephen Boyd
  2016-09-07 19:51   ` Kevin Hilman
  2016-10-11  7:59 ` Michael Turquette
  2 siblings, 1 reply; 6+ messages in thread
From: Stephen Boyd @ 2016-09-07  0:52 UTC (permalink / raw)
  To: linus-amlogic

On 08/22, Neil Armstrong wrote:
> Add the PWM related clocks in order to be referenced as PWM source
> clocks.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---

Acked-by: Stephen Boyd <sboyd@codeaurora.org>

With some more thought, it should go through whatever tree takes
the dts changes. Conflicts in these header files should be
managed by the same person and that person is the platform
maintainer.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* [PATCH] clk: meson-gxbb: Export PWM related clocks for DT
  2016-09-07  0:52 ` Stephen Boyd
@ 2016-09-07 19:51   ` Kevin Hilman
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2016-09-07 19:51 UTC (permalink / raw)
  To: linus-amlogic

Stephen Boyd <sboyd@codeaurora.org> writes:

> On 08/22, Neil Armstrong wrote:
>> Add the PWM related clocks in order to be referenced as PWM source
>> clocks.
>> 
>> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
>> ---
>
> Acked-by: Stephen Boyd <sboyd@codeaurora.org>
>
> With some more thought, it should go through whatever tree takes
> the dts changes. Conflicts in these header files should be
> managed by the same person and that person is the platform
> maintainer.

OK, I'll pick this up and take it through the amlogic -> arm-soc path.

Thanks,

Kevin

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

* [PATCH] clk: meson-gxbb: Export PWM related clocks for DT
  2016-08-22 12:49 [PATCH] clk: meson-gxbb: Export PWM related clocks for DT Neil Armstrong
  2016-09-03 13:02 ` Neil Armstrong
  2016-09-07  0:52 ` Stephen Boyd
@ 2016-10-11  7:59 ` Michael Turquette
  2 siblings, 0 replies; 6+ messages in thread
From: Michael Turquette @ 2016-10-11  7:59 UTC (permalink / raw)
  To: linus-amlogic

Quoting Neil Armstrong (2016-08-22 05:49:37)
> Add the PWM related clocks in order to be referenced as PWM source
> clocks.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

Applied.

Regards,
Mike

> ---
>  drivers/clk/meson/gxbb.h              | 6 +++---
>  include/dt-bindings/clock/gxbb-clkc.h | 3 +++
>  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
> index a2adf34..523b494 100644
> --- a/drivers/clk/meson/gxbb.h
> +++ b/drivers/clk/meson/gxbb.h
> @@ -170,11 +170,11 @@
>   */
>  #define CLKID_SYS_PLL            0
>  /* CLKID_CPUCLK */
> -#define CLKID_HDMI_PLL           2
> +/* CLKID_HDMI_PLL */
>  #define CLKID_FIXED_PLL                  3
>  #define CLKID_FCLK_DIV2                  4
> -#define CLKID_FCLK_DIV3                  5
> -#define CLKID_FCLK_DIV4                  6
> +/* CLKID_FCLK_DIV3 */
> +/* CLKID_FCLK_DIV4 */
>  #define CLKID_FCLK_DIV5                  7
>  #define CLKID_FCLK_DIV7                  8
>  #define CLKID_GP0_PLL            9
> diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h
> index f889d80..a5897f3 100644
> --- a/include/dt-bindings/clock/gxbb-clkc.h
> +++ b/include/dt-bindings/clock/gxbb-clkc.h
> @@ -6,6 +6,9 @@
>  #define __GXBB_CLKC_H
>  
>  #define CLKID_CPUCLK           1
> +#define CLKID_HDMI_PLL         2
> +#define CLKID_FCLK_DIV3                5
> +#define CLKID_FCLK_DIV4                6
>  #define CLKID_CLK81            12
>  #define CLKID_ETH              36
>  
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-clk" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-10-11  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-22 12:49 [PATCH] clk: meson-gxbb: Export PWM related clocks for DT Neil Armstrong
2016-09-03 13:02 ` Neil Armstrong
2016-09-07  0:34   ` Stephen Boyd
2016-09-07  0:52 ` Stephen Boyd
2016-09-07 19:51   ` Kevin Hilman
2016-10-11  7:59 ` 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).