summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-03-04 15:35:51 +0100
committerMark Brown <broonie@kernel.org>2018-03-07 12:45:03 +0000
commitf0c2a330d99ef81519dc809d8b6a7dafe39b0933 (patch)
tree732117aa13e1621165d16d4ee6823a8b37bd35f6 /include/sound
parent9db7d4b32cbccb5807e2e1f22e2fafc80034ee6d (diff)
downloadlinux-f0c2a330d99ef81519dc809d8b6a7dafe39b0933.tar.bz2
ASoC: rt5651: Configure jack-detect source through a device-property
Configure the jack-detect source through a device-property which can be set by code outside of the codec driver. Rather then putting platform specific DMI quirks inside the generic codec driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5651.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h
index 1612462bf5ad..725b36c329d0 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,