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


Groups > linux.kernel > #1400938 > unrolled thread

[PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical

Started byBrian Norris <briannorris@chromium.org>
First post2016-05-13 20:50 +0200
Last post2016-05-17 23:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical Brian Norris <briannorris@chromium.org> - 2016-05-13 20:50 +0200
    Re: [PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical Doug Anderson <dianders@chromium.org> - 2016-05-13 21:50 +0200
    Re: [PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical Heiko Stuebner <heiko@sntech.de> - 2016-05-17 23:20 +0200

#1400938 — [PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical

FromBrian Norris <briannorris@chromium.org>
Date2016-05-13 20:50 +0200
Subject[PATCH 1/2] clk: rockchip: mark rk3399 GIC clocks as critical
Message-ID<ryqjU-Jw-15@gated-at.bofh.it>
We never want to kill the GIC.

Noticed when making other clock fixups, and seeing the newly-constructed
clock tree try to disable cpll, where we had this parent structure:

  aclk_gic <------\
                  |--- aclk_gic_pre <-- cpll <-- pll_cpll
  aclk_gic_noc <--/

Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 drivers/clk/rockchip/clk-rk3399.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index 291543f52caa..145756c4f3c8 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -1466,6 +1466,8 @@ static struct rockchip_clk_branch rk3399_clk_pmu_branches[] __initdata = {
 
 static const char *const rk3399_cru_critical_clocks[] __initconst = {
 	"aclk_cci_pre",
+	"aclk_gic",
+	"aclk_gic_noc",
 	"pclk_perilp0",
 	"pclk_perilp0",
 	"hclk_perilp0",
-- 
2.8.0.rc3.226.g39d4020

[toc] | [next] | [standalone]


#1400956

FromDoug Anderson <dianders@chromium.org>
Date2016-05-13 21:50 +0200
Message-ID<ryrfY-1yb-29@gated-at.bofh.it>
In reply to#1400938
Brian,

On Fri, May 13, 2016 at 11:42 AM, Brian Norris <briannorris@chromium.org> wrote:
> We never want to kill the GIC.
>
> Noticed when making other clock fixups, and seeing the newly-constructed
> clock tree try to disable cpll, where we had this parent structure:
>
>   aclk_gic <------\
>                   |--- aclk_gic_pre <-- cpll <-- pll_cpll
>   aclk_gic_noc <--/
>
> Signed-off-by: Brian Norris <briannorris@chromium.org>
> ---
>  drivers/clk/rockchip/clk-rk3399.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Douglas Anderson <dianders@chromium.org>

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


#1402604

FromHeiko Stuebner <heiko@sntech.de>
Date2016-05-17 23:20 +0200
Message-ID<rzUzf-1lQ-9@gated-at.bofh.it>
In reply to#1400938
Am Freitag, 13. Mai 2016, 11:42:16 schrieb Brian Norris:
> We never want to kill the GIC.
> 
> Noticed when making other clock fixups, and seeing the newly-constructed
> clock tree try to disable cpll, where we had this parent structure:
> 
>   aclk_gic <------\
> 
>                   |--- aclk_gic_pre <-- cpll <-- pll_cpll
> 
>   aclk_gic_noc <--/
> 
> Signed-off-by: Brian Norris <briannorris@chromium.org>

applied both patches to my clk-fixes branch with Dougs review-tags.


Thanks
Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web