summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/arizona
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-06-06 14:14:05 +0100
committerMark Brown <broonie@linaro.org>2014-06-09 21:19:50 +0100
commitcc9e92431ee9c7fe974266e0e6533a1a68e45539 (patch)
tree531abd966bb661d7c097f8074ec9f469fe5ed3c9 /include/linux/mfd/arizona
parented70f3a264e9f746eaf17c96ccc4c9b7eda742dc (diff)
downloadblackbird-op-linux-cc9e92431ee9c7fe974266e0e6533a1a68e45539.tar.gz
blackbird-op-linux-cc9e92431ee9c7fe974266e0e6533a1a68e45539.zip
ASoC: wm5102: Add controls to allow shaping of ultrasonic response
Add controls to allow custom shaping of the ultrasonic response. This custom shaping can be turned on/off at runtime, although, it should be noted that settings will not affect a currently open audio stream, they will be applied when the next audio stream is started. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/mfd/arizona')
-rw-r--r--include/linux/mfd/arizona/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h
index 11783b511b9a..55926517d50b 100644
--- a/include/linux/mfd/arizona/core.h
+++ b/include/linux/mfd/arizona/core.h
@@ -113,6 +113,9 @@ struct arizona {
int tdm_width[ARIZONA_MAX_AIF];
int tdm_slots[ARIZONA_MAX_AIF];
+
+ uint16_t dac_comp_coeff;
+ uint8_t dac_comp_enabled;
};
int arizona_clk32k_enable(struct arizona *arizona);
OpenPOWER on IntegriCloud