summaryrefslogtreecommitdiffstats
path: root/include/sound/rt5663.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/sound/rt5663.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/sound/rt5663.h b/include/sound/rt5663.h
new file mode 100644
index 000000000..7b90a8f10
--- /dev/null
+++ b/include/sound/rt5663.h
@@ -0,0 +1,25 @@
+/*
+ * linux/sound/rt5663.h -- Platform data for RT5663
+ *
+ * Copyright 2017 Realtek Semiconductor Corp.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __LINUX_SND_RT5663_H
+#define __LINUX_SND_RT5663_H
+
+struct rt5663_platform_data {
+ unsigned int dc_offset_l_manual;
+ 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
+