Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: hda: add verbs for stripe control

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>

authored by

Sameer Pujar and committed by
Takashi Iwai
e6ce7943 36c346e1

+2
+2
include/sound/hda_verbs.h
··· 66 66 #define AC_VERB_GET_CONFIG_DEFAULT 0x0f1c 67 67 /* f20: AFG/MFG */ 68 68 #define AC_VERB_GET_SUBSYSTEM_ID 0x0f20 69 + #define AC_VERB_GET_STRIPE_CONTROL 0x0f24 69 70 #define AC_VERB_GET_CVT_CHAN_COUNT 0x0f2d 70 71 #define AC_VERB_GET_HDMI_DIP_SIZE 0x0f2e 71 72 #define AC_VERB_GET_HDMI_ELDD 0x0f2f ··· 111 110 #define AC_VERB_SET_CONFIG_DEFAULT_BYTES_3 0x71f 112 111 #define AC_VERB_SET_EAPD 0x788 113 112 #define AC_VERB_SET_CODEC_RESET 0x7ff 113 + #define AC_VERB_SET_STRIPE_CONTROL 0x724 114 114 #define AC_VERB_SET_CVT_CHAN_COUNT 0x72d 115 115 #define AC_VERB_SET_HDMI_DIP_INDEX 0x730 116 116 #define AC_VERB_SET_HDMI_DIP_DATA 0x731