summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2017-09-18 18:14:26 +0800
committerMark Brown <broonie@kernel.org>2017-09-19 12:57:59 +0100
commit457c25efc592bb5539e18161c505f7a865013fb7 (patch)
tree25320497eac59a3d81d97de98146850621af2795 /include/sound
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
ASoC: rt5663: Add the function of impedance sensing
Support the function of impedance sensing. It could be set the matrix row number of the impedance sensing table and the related parameters in the DTS. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5663.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/rt5663.h b/include/sound/rt5663.h
index 7d00e5849706..7b90a8f1034c 100644
--- a/include/sound/rt5663.h
+++ b/include/sound/rt5663.h
@@ -16,6 +16,9 @@ struct rt5663_platform_data {
unsigned int dc_offset_r_manual;
unsigned int dc_offset_l_manual_mic;
unsigned int dc_offset_r_manual_mic;
+
+ unsigned int impedance_sensing_num;
+ unsigned int *impedance_sensing_table;
};
#endif