All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC
@ 2017-03-07 11:05 ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: heiko
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel,
	Elaine Zhang

change in V2:
split clock-id addition and the assignment in the clock-
driver.

Elaine Zhang (5):
  clk: rockchip: rk3368: fix up the timer-ids
  clk: rockchip: rk3368: remove the unused id
  clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
  clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
  clk: rockchip: rk3368: add some clks as critical

 drivers/clk/rockchip/clk-rk3368.c      | 27 +++++++++++++++------------
 include/dt-bindings/clock/rk3368-cru.h | 19 ++++++++++++-------
 2 files changed, 27 insertions(+), 19 deletions(-)

-- 
1.9.1

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

* [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC
@ 2017-03-07 11:05 ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

change in V2:
split clock-id addition and the assignment in the clock-
driver.

Elaine Zhang (5):
  clk: rockchip: rk3368: fix up the timer-ids
  clk: rockchip: rk3368: remove the unused id
  clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
  clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
  clk: rockchip: rk3368: add some clks as critical

 drivers/clk/rockchip/clk-rk3368.c      | 27 +++++++++++++++------------
 include/dt-bindings/clock/rk3368-cru.h | 19 ++++++++++++-------
 2 files changed, 27 insertions(+), 19 deletions(-)

-- 
1.9.1

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

* [PATCH v2 1/5] clk: rockchip: rk3368: fix up the timer-ids
  2017-03-07 11:05 ` Elaine Zhang
@ 2017-03-07 11:05   ` Elaine Zhang
  -1 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: heiko
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel,
	Elaine Zhang

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3368-cru.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h
index 9c5dd9ba2f6c..52f86ddac773 100644
--- a/include/dt-bindings/clock/rk3368-cru.h
+++ b/include/dt-bindings/clock/rk3368-cru.h
@@ -44,12 +44,12 @@
 #define SCLK_I2S_8CH		82
 #define SCLK_SPDIF_8CH		83
 #define SCLK_I2S_2CH		84
-#define SCLK_TIMER0		85
-#define SCLK_TIMER1		86
-#define SCLK_TIMER2		87
-#define SCLK_TIMER3		88
-#define SCLK_TIMER4		89
-#define SCLK_TIMER5		90
+#define SCLK_TIMER00		85
+#define SCLK_TIMER01		86
+#define SCLK_TIMER02		87
+#define SCLK_TIMER03		88
+#define SCLK_TIMER04		89
+#define SCLK_TIMER05		90
 #define SCLK_TIMER6		91
 #define SCLK_OTGPHY0		93
 #define SCLK_OTG_ADP		96
-- 
1.9.1

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

* [PATCH v2 1/5] clk: rockchip: rk3368: fix up the timer-ids
@ 2017-03-07 11:05   ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3368-cru.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h
index 9c5dd9ba2f6c..52f86ddac773 100644
--- a/include/dt-bindings/clock/rk3368-cru.h
+++ b/include/dt-bindings/clock/rk3368-cru.h
@@ -44,12 +44,12 @@
 #define SCLK_I2S_8CH		82
 #define SCLK_SPDIF_8CH		83
 #define SCLK_I2S_2CH		84
-#define SCLK_TIMER0		85
-#define SCLK_TIMER1		86
-#define SCLK_TIMER2		87
-#define SCLK_TIMER3		88
-#define SCLK_TIMER4		89
-#define SCLK_TIMER5		90
+#define SCLK_TIMER00		85
+#define SCLK_TIMER01		86
+#define SCLK_TIMER02		87
+#define SCLK_TIMER03		88
+#define SCLK_TIMER04		89
+#define SCLK_TIMER05		90
 #define SCLK_TIMER6		91
 #define SCLK_OTGPHY0		93
 #define SCLK_OTG_ADP		96
-- 
1.9.1

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

* [PATCH v2 2/5] clk: rockchip: rk3368: remove the unused id
  2017-03-07 11:05 ` Elaine Zhang
@ 2017-03-07 11:05   ` Elaine Zhang
  -1 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: heiko
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel,
	Elaine Zhang

remove SCLK_TIMER6 id

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3368-cru.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h
index 52f86ddac773..2bf23eda8938 100644
--- a/include/dt-bindings/clock/rk3368-cru.h
+++ b/include/dt-bindings/clock/rk3368-cru.h
@@ -50,7 +50,6 @@
 #define SCLK_TIMER03		88
 #define SCLK_TIMER04		89
 #define SCLK_TIMER05		90
-#define SCLK_TIMER6		91
 #define SCLK_OTGPHY0		93
 #define SCLK_OTG_ADP		96
 #define SCLK_HSICPHY480M	97
-- 
1.9.1

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

* [PATCH v2 2/5] clk: rockchip: rk3368: remove the unused id
@ 2017-03-07 11:05   ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

remove SCLK_TIMER6 id

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3368-cru.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h
index 52f86ddac773..2bf23eda8938 100644
--- a/include/dt-bindings/clock/rk3368-cru.h
+++ b/include/dt-bindings/clock/rk3368-cru.h
@@ -50,7 +50,6 @@
 #define SCLK_TIMER03		88
 #define SCLK_TIMER04		89
 #define SCLK_TIMER05		90
-#define SCLK_TIMER6		91
 #define SCLK_OTGPHY0		93
 #define SCLK_OTG_ADP		96
 #define SCLK_HSICPHY480M	97
-- 
1.9.1

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

* [PATCH v2 3/5] clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
  2017-03-07 11:05 ` Elaine Zhang
@ 2017-03-07 11:05   ` Elaine Zhang
  -1 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: heiko
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel,
	Elaine Zhang

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3368-cru.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h
index 2bf23eda8938..aeb83e581a11 100644
--- a/include/dt-bindings/clock/rk3368-cru.h
+++ b/include/dt-bindings/clock/rk3368-cru.h
@@ -81,6 +81,12 @@
 #define SCLK_SFC		126
 #define SCLK_MAC		127
 #define SCLK_MACREF_OUT		128
+#define SCLK_TIMER10		133
+#define SCLK_TIMER11		134
+#define SCLK_TIMER12		135
+#define SCLK_TIMER13		136
+#define SCLK_TIMER14		137
+#define SCLK_TIMER15		138
 
 #define DCLK_VOP		190
 #define MCLK_CRYPTO		191
-- 
1.9.1

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

* [PATCH v2 3/5] clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
@ 2017-03-07 11:05   ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3368-cru.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h
index 2bf23eda8938..aeb83e581a11 100644
--- a/include/dt-bindings/clock/rk3368-cru.h
+++ b/include/dt-bindings/clock/rk3368-cru.h
@@ -81,6 +81,12 @@
 #define SCLK_SFC		126
 #define SCLK_MAC		127
 #define SCLK_MACREF_OUT		128
+#define SCLK_TIMER10		133
+#define SCLK_TIMER11		134
+#define SCLK_TIMER12		135
+#define SCLK_TIMER13		136
+#define SCLK_TIMER14		137
+#define SCLK_TIMER15		138
 
 #define DCLK_VOP		190
 #define MCLK_CRYPTO		191
-- 
1.9.1

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

* [PATCH v2 4/5] clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
  2017-03-07 11:05 ` Elaine Zhang
@ 2017-03-07 11:05   ` Elaine Zhang
  -1 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: heiko
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel,
	Elaine Zhang

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3368.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 6cb474c593e7..139d418f448e 100644
--- a/drivers/clk/rockchip/clk-rk3368.c
+++ b/drivers/clk/rockchip/clk-rk3368.c
@@ -835,18 +835,18 @@ enum rk3368_plls {
 	GATE(PCLK_PMU, "pclk_pmu", "pclk_pd_pmu", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(23), 0, GFLAGS),
 
 	/* timer gates */
-	GATE(0, "sclk_timer15", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 11, GFLAGS),
-	GATE(0, "sclk_timer14", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 10, GFLAGS),
-	GATE(0, "sclk_timer13", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 9, GFLAGS),
-	GATE(0, "sclk_timer12", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 8, GFLAGS),
-	GATE(0, "sclk_timer11", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 7, GFLAGS),
-	GATE(0, "sclk_timer10", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 6, GFLAGS),
-	GATE(0, "sclk_timer05", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 5, GFLAGS),
-	GATE(0, "sclk_timer04", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 4, GFLAGS),
-	GATE(0, "sclk_timer03", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 3, GFLAGS),
-	GATE(0, "sclk_timer02", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 2, GFLAGS),
-	GATE(0, "sclk_timer01", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 1, GFLAGS),
-	GATE(0, "sclk_timer00", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 0, GFLAGS),
+	GATE(SCLK_TIMER15, "sclk_timer15", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 11, GFLAGS),
+	GATE(SCLK_TIMER14, "sclk_timer14", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 10, GFLAGS),
+	GATE(SCLK_TIMER13, "sclk_timer13", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 9, GFLAGS),
+	GATE(SCLK_TIMER12, "sclk_timer12", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 8, GFLAGS),
+	GATE(SCLK_TIMER11, "sclk_timer11", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 7, GFLAGS),
+	GATE(SCLK_TIMER10, "sclk_timer10", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 6, GFLAGS),
+	GATE(SCLK_TIMER05, "sclk_timer05", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 5, GFLAGS),
+	GATE(SCLK_TIMER04, "sclk_timer04", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 4, GFLAGS),
+	GATE(SCLK_TIMER03, "sclk_timer03", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 3, GFLAGS),
+	GATE(SCLK_TIMER02, "sclk_timer02", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 2, GFLAGS),
+	GATE(SCLK_TIMER01, "sclk_timer01", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 1, GFLAGS),
+	GATE(SCLK_TIMER00, "sclk_timer00", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 0, GFLAGS),
 };
 
 static const char *const rk3368_critical_clocks[] __initconst = {
-- 
1.9.1

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

* [PATCH v2 4/5] clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
@ 2017-03-07 11:05   ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3368.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 6cb474c593e7..139d418f448e 100644
--- a/drivers/clk/rockchip/clk-rk3368.c
+++ b/drivers/clk/rockchip/clk-rk3368.c
@@ -835,18 +835,18 @@ enum rk3368_plls {
 	GATE(PCLK_PMU, "pclk_pmu", "pclk_pd_pmu", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(23), 0, GFLAGS),
 
 	/* timer gates */
-	GATE(0, "sclk_timer15", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 11, GFLAGS),
-	GATE(0, "sclk_timer14", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 10, GFLAGS),
-	GATE(0, "sclk_timer13", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 9, GFLAGS),
-	GATE(0, "sclk_timer12", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 8, GFLAGS),
-	GATE(0, "sclk_timer11", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 7, GFLAGS),
-	GATE(0, "sclk_timer10", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 6, GFLAGS),
-	GATE(0, "sclk_timer05", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 5, GFLAGS),
-	GATE(0, "sclk_timer04", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 4, GFLAGS),
-	GATE(0, "sclk_timer03", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 3, GFLAGS),
-	GATE(0, "sclk_timer02", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 2, GFLAGS),
-	GATE(0, "sclk_timer01", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 1, GFLAGS),
-	GATE(0, "sclk_timer00", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 0, GFLAGS),
+	GATE(SCLK_TIMER15, "sclk_timer15", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 11, GFLAGS),
+	GATE(SCLK_TIMER14, "sclk_timer14", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 10, GFLAGS),
+	GATE(SCLK_TIMER13, "sclk_timer13", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 9, GFLAGS),
+	GATE(SCLK_TIMER12, "sclk_timer12", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 8, GFLAGS),
+	GATE(SCLK_TIMER11, "sclk_timer11", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 7, GFLAGS),
+	GATE(SCLK_TIMER10, "sclk_timer10", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 6, GFLAGS),
+	GATE(SCLK_TIMER05, "sclk_timer05", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 5, GFLAGS),
+	GATE(SCLK_TIMER04, "sclk_timer04", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 4, GFLAGS),
+	GATE(SCLK_TIMER03, "sclk_timer03", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 3, GFLAGS),
+	GATE(SCLK_TIMER02, "sclk_timer02", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 2, GFLAGS),
+	GATE(SCLK_TIMER01, "sclk_timer01", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 1, GFLAGS),
+	GATE(SCLK_TIMER00, "sclk_timer00", "xin24m", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(24), 0, GFLAGS),
 };
 
 static const char *const rk3368_critical_clocks[] __initconst = {
-- 
1.9.1

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

* [PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical
  2017-03-07 11:05 ` Elaine Zhang
  (?)
@ 2017-03-07 11:16   ` Elaine Zhang
  -1 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:16 UTC (permalink / raw)
  To: heiko
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel,
	Elaine Zhang

make pclk_pd_alive, pclk_peri, hclk_peri as critical

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3368.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 139d418f448e..024762d3214d 100644
--- a/drivers/clk/rockchip/clk-rk3368.c
+++ b/drivers/clk/rockchip/clk-rk3368.c
@@ -858,6 +858,9 @@ enum rk3368_plls {
 	 */
 	"pclk_pwm1",
 	"pclk_pd_pmu",
+	"pclk_pd_alive",
+	"pclk_peri",
+	"hclk_peri",
 };
 
 static void __init rk3368_clk_init(struct device_node *np)
-- 
1.9.1

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

* [PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical
@ 2017-03-07 11:16   ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:16 UTC (permalink / raw)
  To: heiko
  Cc: mark.rutland, huangtao, mturquette, Elaine Zhang, sboyd, xxx,
	linux-kernel, linux-rockchip, robh+dt, linux-clk,
	linux-arm-kernel

make pclk_pd_alive, pclk_peri, hclk_peri as critical

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3368.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 139d418f448e..024762d3214d 100644
--- a/drivers/clk/rockchip/clk-rk3368.c
+++ b/drivers/clk/rockchip/clk-rk3368.c
@@ -858,6 +858,9 @@ enum rk3368_plls {
 	 */
 	"pclk_pwm1",
 	"pclk_pd_pmu",
+	"pclk_pd_alive",
+	"pclk_peri",
+	"hclk_peri",
 };
 
 static void __init rk3368_clk_init(struct device_node *np)
-- 
1.9.1

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

* [PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical
@ 2017-03-07 11:16   ` Elaine Zhang
  0 siblings, 0 replies; 16+ messages in thread
From: Elaine Zhang @ 2017-03-07 11:16 UTC (permalink / raw)
  To: linux-arm-kernel

make pclk_pd_alive, pclk_peri, hclk_peri as critical

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3368.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 139d418f448e..024762d3214d 100644
--- a/drivers/clk/rockchip/clk-rk3368.c
+++ b/drivers/clk/rockchip/clk-rk3368.c
@@ -858,6 +858,9 @@ enum rk3368_plls {
 	 */
 	"pclk_pwm1",
 	"pclk_pd_pmu",
+	"pclk_pd_alive",
+	"pclk_peri",
+	"hclk_peri",
 };
 
 static void __init rk3368_clk_init(struct device_node *np)
-- 
1.9.1

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

* Re: [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC
  2017-03-07 11:05 ` Elaine Zhang
  (?)
@ 2017-03-10 10:45   ` Heiko Stübner
  -1 siblings, 0 replies; 16+ messages in thread
From: Heiko Stübner @ 2017-03-10 10:45 UTC (permalink / raw)
  To: Elaine Zhang
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel

Am Dienstag, 7. März 2017, 19:05:14 CET schrieb Elaine Zhang:
> change in V2:
> split clock-id addition and the assignment in the clock-
> driver.
> 
> Elaine Zhang (5):
>   clk: rockchip: rk3368: fix up the timer-ids
>   clk: rockchip: rk3368: remove the unused id

folded this into the first patch and added a commit message explaining the 
timer-id circumstances

>   clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
>   clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
>   clk: rockchip: rk3368: add some clks as critical

applied with some minor corrections to the subject (rk3368 in the regular 
wording) for 4.12


Thanks
Heiko

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

* Re: [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC
@ 2017-03-10 10:45   ` Heiko Stübner
  0 siblings, 0 replies; 16+ messages in thread
From: Heiko Stübner @ 2017-03-10 10:45 UTC (permalink / raw)
  To: Elaine Zhang
  Cc: mturquette, sboyd, robh+dt, mark.rutland, linux-clk, huangtao,
	xxx, linux-rockchip, linux-kernel, linux-arm-kernel

Am Dienstag, 7. M=E4rz 2017, 19:05:14 CET schrieb Elaine Zhang:
> change in V2:
> split clock-id addition and the assignment in the clock-
> driver.
>=20
> Elaine Zhang (5):
>   clk: rockchip: rk3368: fix up the timer-ids
>   clk: rockchip: rk3368: remove the unused id

folded this into the first patch and added a commit message explaining the=
=20
timer-id circumstances

>   clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
>   clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
>   clk: rockchip: rk3368: add some clks as critical

applied with some minor corrections to the subject (rk3368 in the regular=20
wording) for 4.12


Thanks
Heiko

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

* [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC
@ 2017-03-10 10:45   ` Heiko Stübner
  0 siblings, 0 replies; 16+ messages in thread
From: Heiko Stübner @ 2017-03-10 10:45 UTC (permalink / raw)
  To: linux-arm-kernel

Am Dienstag, 7. M?rz 2017, 19:05:14 CET schrieb Elaine Zhang:
> change in V2:
> split clock-id addition and the assignment in the clock-
> driver.
> 
> Elaine Zhang (5):
>   clk: rockchip: rk3368: fix up the timer-ids
>   clk: rockchip: rk3368: remove the unused id

folded this into the first patch and added a commit message explaining the 
timer-id circumstances

>   clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
>   clk: rockchip: rk3368: export SCLK_TIMERXX id for timers
>   clk: rockchip: rk3368: add some clks as critical

applied with some minor corrections to the subject (rk3368 in the regular 
wording) for 4.12


Thanks
Heiko

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

end of thread, other threads:[~2017-03-10 10:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-07 11:05 [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC Elaine Zhang
2017-03-07 11:05 ` Elaine Zhang
2017-03-07 11:05 ` [PATCH v2 1/5] clk: rockchip: rk3368: fix up the timer-ids Elaine Zhang
2017-03-07 11:05   ` Elaine Zhang
2017-03-07 11:05 ` [PATCH v2 2/5] clk: rockchip: rk3368: remove the unused id Elaine Zhang
2017-03-07 11:05   ` Elaine Zhang
2017-03-07 11:05 ` [PATCH v2 3/5] clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs Elaine Zhang
2017-03-07 11:05   ` Elaine Zhang
2017-03-07 11:05 ` [PATCH v2 4/5] clk: rockchip: rk3368: export SCLK_TIMERXX id for timers Elaine Zhang
2017-03-07 11:05   ` Elaine Zhang
2017-03-07 11:16 ` [PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical Elaine Zhang
2017-03-07 11:16   ` Elaine Zhang
2017-03-07 11:16   ` Elaine Zhang
2017-03-10 10:45 ` [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC Heiko Stübner
2017-03-10 10:45   ` Heiko Stübner
2017-03-10 10:45   ` Heiko Stübner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.