summaryrefslogtreecommitdiff
path: root/drivers/clk/ingenic/jz4740-cgu.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-08-09 01:33:16 +0300
committerPaul Burton <paul.burton@mips.com>2019-08-09 01:33:16 +0300
commit75b7329a4f08b3d2566afa25cfaddc8ddfb6dfa1 (patch)
tree17a4e177a2a245af450827330eef0f39f16be3cf /drivers/clk/ingenic/jz4740-cgu.c
parent6393e60644862478a9da8c6599ffc04f7f94bedf (diff)
parentabc552284f6b1e8e6f153771dac1dff72e9d6d66 (diff)
downloadlinux-75b7329a4f08b3d2566afa25cfaddc8ddfb6dfa1.tar.xz
Merge branch 'ingenic-tcu-v5.4' into mips-next
Merge the Ingenic TCU patchset from the ingenic-tcu-v5.4 branch which was created to enable follow-on changes in other subsystems. Signed-off-by: Paul Burton <paul.burton@mips.com>
Diffstat (limited to 'drivers/clk/ingenic/jz4740-cgu.c')
-rw-r--r--drivers/clk/ingenic/jz4740-cgu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/ingenic/jz4740-cgu.c b/drivers/clk/ingenic/jz4740-cgu.c
index 4c0a20949c2c..67f8a0e14284 100644
--- a/drivers/clk/ingenic/jz4740-cgu.c
+++ b/drivers/clk/ingenic/jz4740-cgu.c
@@ -222,6 +222,12 @@ static const struct ingenic_cgu_clk_info jz4740_cgu_clocks[] = {
.parents = { JZ4740_CLK_EXT, -1, -1, -1 },
.gate = { CGU_REG_CLKGR, 5 },
},
+
+ [JZ4740_CLK_TCU] = {
+ "tcu", CGU_CLK_GATE,
+ .parents = { JZ4740_CLK_EXT, -1, -1, -1 },
+ .gate = { CGU_REG_CLKGR, 1 },
+ },
};
static void __init jz4740_cgu_init(struct device_node *np)