From: Dylan Reid Date: Fri, 22 May 2015 22:09:19 +0000 (-0700) Subject: ASoC: Add jack types to dt-bindings X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1fb1e0ec9a8ab87985448e8b82b20884a186ec31;p=deliverable%2Flinux.git 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 Signed-off-by: Mark Brown --- 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 @@ +#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 */