diff options
author | Dylan Reid <dgreid@chromium.org> | 2015-05-22 18:09:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-25 08:11:41 -0400 |
commit | 1fb1e0ec9a8ab87985448e8b82b20884a186ec31 (patch) | |
tree | a511c51f17ce95ab80475432e9f1620c2832aaab | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) |
ASoC: Add jack types to dt-bindings
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>
-rw-r--r-- | include/dt-bindings/sound/audio-jack-events.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dt-bindings/sound/audio-jack-events.h b/include/dt-bindings/sound/audio-jack-events.h new file mode 100644 index 000000000000..378349f28069 --- /dev/null +++ b/include/dt-bindings/sound/audio-jack-events.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef __AUDIO_JACK_EVENTS_H | ||
2 | #define __AUDIO_JACK_EVENTS_H | ||
3 | |||
4 | #define JACK_HEADPHONE 1 | ||
5 | #define JACK_MICROPHONE 2 | ||
6 | #define JACK_LINEOUT 3 | ||
7 | #define JACK_LINEIN 4 | ||
8 | |||
9 | #endif /* __AUDIO_JACK_EVENTS_H */ | ||