ASoC: Add jack types to dt-bindings
authorDylan Reid <dgreid@chromium.org>
Fri, 22 May 2015 22:09:19 +0000 (15:09 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 25 May 2015 12:11:41 +0000 (13:11 +0100)
Adding the jack type to the dt-bindings directory will allow for device
tree files to specify the type of audio jacks that are present for a
board.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/dt-bindings/sound/audio-jack-events.h [new file with mode: 0644]

diff --git a/include/dt-bindings/sound/audio-jack-events.h b/include/dt-bindings/sound/audio-jack-events.h
new file mode 100644 (file)
index 0000000..378349f
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef __AUDIO_JACK_EVENTS_H
+#define __AUDIO_JACK_EVENTS_H
+
+#define JACK_HEADPHONE         1
+#define JACK_MICROPHONE                2
+#define JACK_LINEOUT           3
+#define JACK_LINEIN            4
+
+#endif /* __AUDIO_JACK_EVENTS_H */