ALSA: hda: add verbs for stripe control
authorSameer Pujar <spujar@nvidia.com>
Mon, 14 Jan 2019 18:21:08 +0000 (23:51 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jan 2019 18:52:23 +0000 (19:52 +0100)
Controllers can support multiple Serial Data Out(SDO) lines, for
extended outbound bandwidth, to pump data to all codecs on the link.
Codecs can sample data present on SDO.

Add verbs AC_VERB_GET_STRIPE_CONTROL and AC_VERB_SET_STRIPE_CONTROL
These can be used to program usage of SDO lines for codec.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hda_verbs.h

index 2a8573a00ea60d4b1b5606e7504b100f53757e46..e36b77531c5c38692f99dca0f218a92cd08b6ba0 100644 (file)
@@ -66,6 +66,7 @@ enum {
 #define AC_VERB_GET_CONFIG_DEFAULT             0x0f1c
 /* f20: AFG/MFG */
 #define AC_VERB_GET_SUBSYSTEM_ID               0x0f20
+#define AC_VERB_GET_STRIPE_CONTROL             0x0f24
 #define AC_VERB_GET_CVT_CHAN_COUNT             0x0f2d
 #define AC_VERB_GET_HDMI_DIP_SIZE              0x0f2e
 #define AC_VERB_GET_HDMI_ELDD                  0x0f2f
@@ -110,6 +111,7 @@ enum {
 #define AC_VERB_SET_CONFIG_DEFAULT_BYTES_3     0x71f
 #define AC_VERB_SET_EAPD                               0x788
 #define AC_VERB_SET_CODEC_RESET                        0x7ff
+#define AC_VERB_SET_STRIPE_CONTROL             0x724
 #define AC_VERB_SET_CVT_CHAN_COUNT             0x72d
 #define AC_VERB_SET_HDMI_DIP_INDEX             0x730
 #define AC_VERB_SET_HDMI_DIP_DATA              0x731