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>
This commit is contained in:
parent
b787f68c36
commit
1fb1e0ec9a
1 changed files with 9 additions and 0 deletions
9
include/dt-bindings/sound/audio-jack-events.h
Normal file
9
include/dt-bindings/sound/audio-jack-events.h
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue