summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/g12a.h
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-02-19 09:49:28 +0100
committerJerome Brunet <jbrunet@baylibre.com>2020-02-19 18:41:27 +0100
commita18c8e0b76979881f3b31e96c398e62ab30a1662 (patch)
tree591032c2061662a33c1fe50f4d26709d5bc01dc5 /drivers/clk/meson/g12a.h
parent51a0c29b229ebc33f25398532797639d8c5aafe7 (diff)
downloadlinux-a18c8e0b76979881f3b31e96c398e62ab30a1662.tar.bz2
clk: meson: g12a: add support for the SPICC SCLK Source clocks
This adds the clocks used for the Amlogic G12A and compatible SoCs SPICC controller to provide a more complete range of frequencies instead of the SPICC internal divider over Xtal. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/g12a.h')
-rw-r--r--drivers/clk/meson/g12a.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/clk/meson/g12a.h b/drivers/clk/meson/g12a.h
index 9df4068aced1..a8852556836e 100644
--- a/drivers/clk/meson/g12a.h
+++ b/drivers/clk/meson/g12a.h
@@ -255,8 +255,12 @@
#define CLKID_DSU_CLK_DYN1 249
#define CLKID_DSU_CLK_DYN 250
#define CLKID_DSU_CLK_FINAL 251
+#define CLKID_SPICC0_SCLK_SEL 256
+#define CLKID_SPICC0_SCLK_DIV 257
+#define CLKID_SPICC1_SCLK_SEL 259
+#define CLKID_SPICC1_SCLK_DIV 260
-#define NR_CLKS 256
+#define NR_CLKS 262
/* include the CLKIDs that have been made part of the DT binding */
#include <dt-bindings/clock/g12a-clkc.h>