[PATCH] clk: meson-gxbb: Export PWM related clocks for DT

Subsystems: arm/amlogic meson soc clock framework, common clk framework, open firmware and flattened device tree bindings, the rest

STALE3618d

5 messages, 3 authors, 2016-10-11 · open the first message on its own page

[PATCH] clk: meson-gxbb: Export PWM related clocks for DT

From: Neil Armstrong <hidden>
Date: 2016-08-22 12:49:45

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

Signed-off-by: Neil Armstrong <redacted>
---
 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

Re: [PATCH] clk: meson-gxbb: Export PWM related clocks for DT

From: Neil Armstrong <hidden>
Date: 2016-09-03 13:03:16


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 <redacted>
---
 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

Re: [PATCH] clk: meson-gxbb: Export PWM related clocks for DT

From: Stephen Boyd <hidden>
Date: 2016-09-07 00:34:57

On 09/03, Neil Armstrong wrote:

Le 22/08/2016 14:49, Neil Armstrong a ?crit :
quoted
Add the PWM related clocks in order to be referenced as PWM source
clocks.

Signed-off-by: Neil Armstrong <redacted>
---
 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

Re: [PATCH] clk: meson-gxbb: Export PWM related clocks for DT

From: Stephen Boyd <hidden>
Date: 2016-09-07 00:52:13

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 <redacted>
---
Acked-by: Stephen Boyd <redacted>

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

Re: [PATCH] clk: meson-gxbb: Export PWM related clocks for DT

From: Michael Turquette <hidden>
Date: 2016-10-11 07:59:37

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 <redacted>
Applied.

Regards,
Mike
quoted hunk
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help