• Xiubo Li's avatar
    ASoC: add snd_soc_of_parse_audio_simple_widgets for DT · 9a6d4860
    Xiubo Li authored
    This patch adds snd_soc_of_parse_audio_simple_widgets() and supports
    below style of widgets name on DT:
    
    	"template-wname", "user supplied wname"
    
    For instance:
    	simple-audio-widgets =
    		"Microphone", "Microphone Jack",
    		"Line", "Line In Jack",
    		"Line", "Line Out Jack",
    		"Headphone", "Headphone Jack",
    		"Speaker", "Speaker External";
    
    The "template-wname" currently includes: "Microphone", "Line", "Headphone"
    and "Speaker".
    Signed-off-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    9a6d4860
soc.h 40.4 KB