summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs35l35.h
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2017-05-18 16:32:36 +0100
committerMark Brown <broonie@kernel.org>2017-05-19 17:31:34 +0100
commitb7c752d68aee9c066cb0bd2f24ee73aed64575e8 (patch)
tree3dfe58577425469aa98cf903adea61660af9dc39 /sound/soc/codecs/cs35l35.h
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-b7c752d68aee9c066cb0bd2f24ee73aed64575e8.tar.bz2
ASoC: cs35l35: Add Boost Inductor Calculation
Add the Boost Inductor parameters based off the size of the inductor on the HW setup Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l35.h')
-rw-r--r--sound/soc/codecs/cs35l35.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs35l35.h b/sound/soc/codecs/cs35l35.h
index 5a6e43a87c4d..621bfef70d03 100644
--- a/sound/soc/codecs/cs35l35.h
+++ b/sound/soc/codecs/cs35l35.h
@@ -200,6 +200,12 @@
#define CS35L35_SP_I2S_DRV_MASK 0x03
#define CS35L35_SP_I2S_DRV_SHIFT 0
+/* Boost Converter Config */
+#define CS35L35_BST_CONV_COEFF_MASK 0xFF
+#define CS35L35_BST_CONV_SLOPE_MASK 0xFF
+#define CS35L35_BST_CONV_LBST_MASK 0x03
+#define CS35L35_BST_CONV_SWFREQ_MASK 0xF0
+
/* Class H Algorithm Control */
#define CS35L35_CH_STEREO_MASK 0x40
#define CS35L35_CH_STEREO_SHIFT 6