From 7c30bdfff1371b676573c1d0cfaf92a855fb3a73 Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Tue, 25 Sep 2018 12:47:54 +0800 Subject: [PATCH] dt-bindings: sound: Add snapshot of audio port types for soundwire This is a snapshot of the audio codec port types in new header required by soundwire interface as of commit (Add new file of audio port types for soundwire). Change-Id: I2325b3a8d04aaa5e204ab7e51041329700156154 Signed-off-by: Ramprasad Katkam Signed-off-by: Meng Wang --- .../sound/audio-codec-port-types.h | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 include/dt-bindings/sound/audio-codec-port-types.h diff --git a/include/dt-bindings/sound/audio-codec-port-types.h b/include/dt-bindings/sound/audio-codec-port-types.h new file mode 100644 index 000000000000..cb54ec224266 --- /dev/null +++ b/include/dt-bindings/sound/audio-codec-port-types.h @@ -0,0 +1,41 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ + +#ifndef __AUDIO_CODEC_PORT_TYPES_H +#define __AUDIO_CODEC_PORT_TYPES_H + +#define SPKR_L 1 +#define SPKR_L_BOOST 2 +#define SPKR_L_COMP 3 +#define SPKR_L_VI 4 +#define SPKR_R 5 +#define SPKR_R_BOOST 6 +#define SPKR_R_COMP 7 +#define SPKR_R_VI 8 +#define HPH_L 9 +#define HPH_R 10 +#define COMP_L 11 +#define COMP_R 12 +#define CLSH 13 +#define LO 14 +#define DSD_L 15 +#define DSD_R 16 +#define MBHC 17 +#define ADC1 18 +#define ADC2 19 +#define ADC3 20 +#define ADC4 21 +#define DMIC0 22 +#define DMIC1 23 +#define DMIC2 24 +#define DMIC3 25 +#define DMIC4 26 +#define DMIC5 27 +#define DMIC6 28 +#define DMIC7 29 +#define DMIC8 30 +#define DMIC9 31 +#define DMIC10 32 +#define PCM_OUT1 33 + +#endif /* __AUDIO_CODEC_PORT_TYPES_H */