projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a476ab
)
ASoC: madera: Add support for using MCLK3
author
Charles Keepax
<ckeepax@opensource.cirrus.com>
Tue, 1 Oct 2019 13:57:00 +0000
(14:57 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 1 Oct 2019 16:44:47 +0000
(17:44 +0100)
Some Madera CODECs have a third MCLK pin allow this to be sourced for
the FLLs and system clocks.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20191001135700.31017-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/madera.h
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/madera.h
b/sound/soc/codecs/madera.h
index 1f3e8e230cf25152a180b111368854d3fe1b1e41..6d8938a3fb647ae2455f501ae3e9e2d3221561e9 100644
(file)
--- a/
sound/soc/codecs/madera.h
+++ b/
sound/soc/codecs/madera.h
@@
-27,6
+27,7
@@
#define MADERA_FLL_SRC_NONE -1
#define MADERA_FLL_SRC_MCLK1 0
#define MADERA_FLL_SRC_MCLK2 1
+#define MADERA_FLL_SRC_MCLK3 2
#define MADERA_FLL_SRC_SLIMCLK 3
#define MADERA_FLL_SRC_FLL1 4
#define MADERA_FLL_SRC_FLL2 5
@@
-51,6
+52,7
@@
#define MADERA_CLK_SRC_MCLK1 0x0
#define MADERA_CLK_SRC_MCLK2 0x1
+#define MADERA_CLK_SRC_MCLK3 0x2
#define MADERA_CLK_SRC_FLL1 0x4
#define MADERA_CLK_SRC_FLL2 0x5
#define MADERA_CLK_SRC_FLL3 0x6