summaryrefslogtreecommitdiff
path: root/include/sound/rt5651.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/rt5651.h')
-rw-r--r--include/sound/rt5651.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h
index 18b79a761f10..6403b862fb9a 100644
--- a/include/sound/rt5651.h
+++ b/include/sound/rt5651.h
@@ -11,6 +11,10 @@
#ifndef __LINUX_SND_RT5651_H
#define __LINUX_SND_RT5651_H
+/*
+ * Note these MUST match the values from the DT binding:
+ * Documentation/devicetree/bindings/sound/rt5651.txt
+ */
enum rt5651_jd_src {
RT5651_JD_NULL,
RT5651_JD1_1,
@@ -18,12 +22,15 @@ enum rt5651_jd_src {
RT5651_JD2,
};
-struct rt5651_platform_data {
- /* IN2 can optionally be differential */
- bool in2_diff;
-
- bool dmic_en;
- enum rt5651_jd_src jd_src;
+/*
+ * Note these MUST match the values from the DT binding:
+ * Documentation/devicetree/bindings/sound/rt5651.txt
+ */
+enum rt5651_ovcd_sf {
+ RT5651_OVCD_SF_0P5,
+ RT5651_OVCD_SF_0P75,
+ RT5651_OVCD_SF_1P0,
+ RT5651_OVCD_SF_1P5,
};
#endif