summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/gxbb.h
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2017-03-03 12:40:15 +0100
committerJerome Brunet <jbrunet@baylibre.com>2017-04-07 16:50:46 +0200
commit7eaa44f6207fb64b1fa4304f83f22486590540e2 (patch)
tree1b505620c574925bed8b59ca5c727fc7cb626def /drivers/clk/meson/gxbb.h
parent3c277c247eabeb0c869c06580c11efe12094a32f (diff)
clk: meson: gxbb: add cts_i958 clock
This adds the cts_i958 clock to control the clock source of the spdif output block. This mux is not explicitly mentionned in the documentation but it is critical to the spdif dai. It is used to select whether the clock source of the spdif output is cts_amclk (when data are taken from i2s buffer) or the cts_mclk_i958 (when data are taken from the spdif buffer) Acked-by: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/gxbb.h')
-rw-r--r--drivers/clk/meson/gxbb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
index ac2718925b68..1d8d13f5e813 100644
--- a/drivers/clk/meson/gxbb.h
+++ b/drivers/clk/meson/gxbb.h
@@ -283,8 +283,9 @@
#define CLKID_CTS_MCLK_I958 110
#define CLKID_CTS_MCLK_I958_SEL 111
#define CLKID_CTS_MCLK_I958_DIV 112
+#define CLKID_CTS_I958 113
-#define NR_CLKS 113
+#define NR_CLKS 114
/* include the CLKIDs that have been made part of the stable DT binding */
#include <dt-bindings/clock/gxbb-clkc.h>