clk: tegra: add KBC clock for Tegra20
Subsystems (3)
PATCH 1/1 clk: tegra: add KBC clock for Tegra20
From: Stephen Warren <[email protected]>
This clock has been missing from all our upstream clock drivers. Add it by copying the tegra_clk_periph_gate() call from Tegra30; the data matches what's in the ChromeOS kernel for this clock.
---
Mike, I'd need to apply this to the Tegra tree as part of the common clock framework conversion.
drivers/clk/tegra/clk-tegra20.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/clk/tegra/clk-tegra20.c +7 -0
@@ -896,6 +896,13 @@ static void __init tegra20_periph_clk_init(void)clk_register_clkdev (clk,NULL ,"timer" ); clks[timer] = clk; +/* kbc */ + clk =tegra_clk_periph_gate ("kbc" ,"clk_32k" ,TEGRA_PERIPH_NO_RESET | +TEGRA_PERIPH_ON_APB , clk_base,0 , +36 , &periph_h_regs, periph_clk_enb_refcnt); +clk_register_clkdev (clk,NULL ,"tegra-kbc" ); + clks[kbc] = clk; +/* csus */ clk = tegra_clk_periph_gate("csus", "clk_m", TEGRA_PERIPH_NO_RESET, clk_base, 0, 92, &periph_u_regs,
Signature · 1 line
1.7.10.4
PATCH 1/1 clk: tegra: add KBC clock for Tegra20
Quoting Stephen Warren (2013-01-11 15:17:42)
Quoted 6 lines
From: Stephen Warren <[email protected]>
This clock has been missing from all our upstream clock drivers. Add it by copying the
tegra_clk_periph_gate()call from Tegra30; the data matches what's in the ChromeOS kernel for this clock.
Quoted 7 lines
Cc Prashant Gaikwad <[email protected]>Cc Peter De Schrijver <[email protected]>Signed-off-by Stephen Warren <[email protected]>---
Mike, I'd need to apply this to the Tegra tree as part of the common clock framework conversion.
Is this patch going to be rolled into patch 6/9 of the larger tegra ccf series?
Thanks,
Mike
Quoted 23 lines
drivers/clk/tegra/clk-tegra20.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/clk/tegra/clk-tegra20.c +7
-0@@ -896,6 +896,13 @@ static void __init tegra20_periph_clk_init(void)clk_register_clkdev (clk,NULL ,"timer" ); clks[timer] = clk; +/* kbc */ + clk =tegra_clk_periph_gate ("kbc" ,"clk_32k" ,TEGRA_PERIPH_NO_RESET | +TEGRA_PERIPH_ON_APB , clk_base,0 , +36 , &periph_h_regs, periph_clk_enb_refcnt); +clk_register_clkdev (clk,NULL ,"tegra-kbc" ); + clks[kbc] = clk; +/* csus */ clk = tegra_clk_periph_gate("csus", "clk_m", TEGRA_PERIPH_NO_RESET, clk_base, 0, 92, &periph_u_regs,Signature · 1 line
1.7.10.4
PATCH 1/1 clk: tegra: add KBC clock for Tegra20
Quoted 15 lines · Mike Turquette
Quoting Stephen Warren (2013-01-11 15:17:42)
Quoted 6 lines
From: Stephen Warren <[email protected]>
This clock has been missing from all our upstream clock drivers. Add it by copying the
tegra_clk_periph_gate()call from Tegra30; the data matches what's in the ChromeOS kernel for this clock.Quoted 7 lines
Cc Prashant Gaikwad <[email protected]>Cc Peter De Schrijver <[email protected]>Signed-off-by Stephen Warren <[email protected]>---
Mike, I'd need to apply this to the Tegra tree as part of the common clock framework conversion.
Quoted 2 lines
Is this patch going to be rolled into patch 6/9 of the larger tegra ccf series?
In the latest Tegra CCF series that I posted, I've rolled all these small fixes in already.
PATCH 1/1 clk: tegra: add KBC clock for Tegra20
Quoting Stephen Warren (2013-01-22 10:26:05)
Quoted 16 lines · Mike Turquette
Quoted 15 lines
Quoting Stephen Warren (2013-01-11 15:17:42)
Quoted 13 lines
From: Stephen Warren <[email protected]>
This clock has been missing from all our upstream clock drivers. Add it by copying the
tegra_clk_periph_gate()call from Tegra30; the data matches what's in the ChromeOS kernel for this clock.Cc Prashant Gaikwad <[email protected]>Cc Peter De Schrijver <[email protected]>Signed-off-by Stephen Warren <[email protected]>---
Mike, I'd need to apply this to the Tegra tree as part of the common clock framework conversion.
Quoted 5 lines
Quoted 2 lines
Is this patch going to be rolled into patch 6/9 of the larger tegra ccf series?
In the latest Tegra CCF series that I posted, I've rolled all these small fixes in already.
Right, I just realized that there is a V6 but it has only the three patches affecting drivers/clk/* instead of the larger nine patch series. Scanning my inbox I mistakenly thought those were unrelated series.
Regards,
Mike