projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce397d2
)
clk: imx: add ocram_s clock for i.mx6sx
author
Anson Huang
<
[email protected]
>
Wed, 11 Jul 2018 00:58:58 +0000
(08:58 +0800)
committer
Stephen Boyd
<
[email protected]
>
Wed, 25 Jul 2018 16:44:58 +0000
(09:44 -0700)
i.MX6SX has a 16KB always-on ocram bank called
ocram_s, and its clock gate in CCM CCGR1 CG14
needs to be enabled before access, add it to
clock tree.
Signed-off-by: Anson Huang <
[email protected]
>
Reviewed-by: Fabio Estevam <
[email protected]
>
Signed-off-by: Stephen Boyd <
[email protected]
>
drivers/clk/imx/clk-imx6sx.c
patch
|
blob
|
history
diff --git
a/drivers/clk/imx/clk-imx6sx.c
b/drivers/clk/imx/clk-imx6sx.c
index 10c771b91ef6aadc5fa96b0e75298e37c8c0ab8a..691db26bd09a2d21df65ee38a936dd7b423acca6 100644
(file)
--- a/
drivers/clk/imx/clk-imx6sx.c
+++ b/
drivers/clk/imx/clk-imx6sx.c
@@
-411,6
+411,7
@@
static void __init imx6sx_clocks_init(struct device_node *ccm_node)
clks[IMX6SX_CLK_GPT_BUS] = imx_clk_gate2("gpt_bus", "perclk", base + 0x6c, 20);
clks[IMX6SX_CLK_GPT_SERIAL] = imx_clk_gate2("gpt_serial", "perclk", base + 0x6c, 22);
clks[IMX6SX_CLK_GPU] = imx_clk_gate2("gpu", "gpu_core_podf", base + 0x6c, 26);
+ clks[IMX6SX_CLK_OCRAM_S] = imx_clk_gate2("ocram_s", "ahb", base + 0x6c, 28);
clks[IMX6SX_CLK_CANFD] = imx_clk_gate2("canfd", "can_podf", base + 0x6c, 30);
/* CCGR2 */