summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2016-09-07 17:13:39 +0200
committerKevin Hilman <khilman@baylibre.com>2016-09-14 11:22:49 -0700
commitf2120a8b090676380d9bce4ea23f855dc8e0d71f (patch)
treec6f0fc7c1b837e238b54bd64262abdaea1852469
parented6f4b518004845f6f830422cc9e3ab4f0284930 (diff)
clk: gxbb: expose spifc clock
SPI clock is needed for the spifc driver, expose to DT (and comment out in the clk driver) Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r--drivers/clk/meson/gxbb.h2
-rw-r--r--include/dt-bindings/clock/gxbb-clkc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
index a05b5f62e580..4e643149cc3e 100644
--- a/drivers/clk/meson/gxbb.h
+++ b/drivers/clk/meson/gxbb.h
@@ -202,7 +202,7 @@
#define CLKID_ABUF 31
#define CLKID_HIU_IFACE 32
#define CLKID_ASSIST_MISC 33
-#define CLKID_SPI 34
+/* CLKID_SPI */
#define CLKID_I2S_SPDIF 35
#define CLKID_ETH 36
#define CLKID_DEMUX 37
diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h
index ccef0283173b..7955d7c712f6 100644
--- a/include/dt-bindings/clock/gxbb-clkc.h
+++ b/include/dt-bindings/clock/gxbb-clkc.h
@@ -12,6 +12,7 @@
#define CLKID_FCLK_DIV4 6
#define CLKID_CLK81 12
#define CLKID_MPLL2 15
+#define CLKID_SPI 34
#define CLKID_ETH 36
#define CLKID_SD_EMMC_A 94
#define CLKID_SD_EMMC_B 95