Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594127 > unrolled thread

[PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC

Started byElaine Zhang <zhangqing@rock-chips.com>
First post2017-03-07 12:10 +0100
Last post2017-03-10 11:50 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC  Elaine Zhang <zhangqing@rock-chips.com> - 2017-03-07 12:10 +0100
    [PATCH v2 3/5] clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs Elaine Zhang <zhangqing@rock-chips.com> - 2017-03-07 12:10 +0100
    [PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical Elaine Zhang <zhangqing@rock-chips.com> - 2017-03-07 14:50 +0100
    Re: [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC Heiko Stübner <heiko@sntech.de> - 2017-03-10 11:50 +0100

#1594127 — [PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC

FromElaine Zhang <zhangqing@rock-chips.com>
Date2017-03-07 12:10 +0100
Subject[PATCH v2 0/5] clk: rockchip: fix up the clk for RK3368 SoC
Message-ID<tilaa-6G6-9@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1594129 — [PATCH v2 3/5] clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs

FromElaine Zhang <zhangqing@rock-chips.com>
Date2017-03-07 12:10 +0100
Subject[PATCH v2 3/5] clk: rockchip: add clock ids for timer10-15 of RK3368 SoCs
Message-ID<tilab-6G6-35@gated-at.bofh.it>
In reply to#1594127
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

[toc] | [prev] | [next] | [standalone]


#1594243 — [PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical

FromElaine Zhang <zhangqing@rock-chips.com>
Date2017-03-07 14:50 +0100
Subject[PATCH v2 5/5] clk: rockchip: rk3368: add some clks as critical
Message-ID<tinF0-8c0-5@gated-at.bofh.it>
In reply to#1594127
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

[toc] | [prev] | [next] | [standalone]


#1597054

FromHeiko Stübner <heiko@sntech.de>
Date2017-03-10 11:50 +0100
Message-ID<tjqhs-2KE-25@gated-at.bofh.it>
In reply to#1594127
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web