aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-03-07 14:16:00 +0000
committerMark Brown <broonie@kernel.org>2018-03-07 14:16:00 +0000
commitc9ae06deccac6097dd9260dce6762c748340d2a5 (patch)
tree54564586d4b3d91a8aa1081085dbc828616d35b6 /include/sound
parentASoC: Intel: bytcr_rt5651: Not being able to find the codec ACPI-dev is an error (diff)
parentASoC: rt5651: Rewrite jack-type detection (diff)
downloadlinux-dev-c9ae06deccac6097dd9260dce6762c748340d2a5.tar.xz
linux-dev-c9ae06deccac6097dd9260dce6762c748340d2a5.zip
Merge branch 'topic/rt5651' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel
Diffstat (limited to 'include/sound')
-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