All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH v2 1/3] ASoC: rockchip: Add dapm route for HDMI
@ 2017-09-18 11:17 ` Jeffy Chen
  0 siblings, 0 replies; 17+ messages in thread
From: Jeffy Chen @ 2017-09-18 11:17 UTC (permalink / raw)
  To: linux-kernel
  Cc: alsa-devel, briannorris, Heiko Stuebner, Liam Girdwood,
	Mark Brown, Jeffy Chen, dianders, linux-rockchip, mka,
	Takashi Iwai, linux-arm-kernel

Add dapm route for DP codec.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

Changes in v2:
Separate HDMI/DMIC patches.

 sound/soc/rockchip/rk3399_gru_sound.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/rockchip/rk3399_gru_sound.c b/sound/soc/rockchip/rk3399_gru_sound.c
index 0513fe480353..b050510be65f 100644
--- a/sound/soc/rockchip/rk3399_gru_sound.c
+++ b/sound/soc/rockchip/rk3399_gru_sound.c
@@ -47,6 +47,7 @@ static const struct snd_soc_dapm_widget rockchip_dapm_widgets[] = {
 	SND_SOC_DAPM_SPK("Speakers", NULL),
 	SND_SOC_DAPM_MIC("Headset Mic", NULL),
 	SND_SOC_DAPM_MIC("Int Mic", NULL),
+	SND_SOC_DAPM_LINE("HDMI", NULL),
 };
 
 static const struct snd_soc_dapm_route rockchip_dapm_routes[] = {
@@ -59,6 +60,7 @@ static const struct snd_soc_dapm_route rockchip_dapm_routes[] = {
 	{"Headphones", NULL, "HPL"},
 	{"Headphones", NULL, "HPR"},
 	{"Speakers", NULL, "Speaker"},
+	{"HDMI", NULL, "TX"},
 };
 
 static const struct snd_kcontrol_new rockchip_controls[] = {
@@ -66,6 +68,7 @@ static const struct snd_kcontrol_new rockchip_controls[] = {
 	SOC_DAPM_PIN_SWITCH("Speakers"),
 	SOC_DAPM_PIN_SWITCH("Headset Mic"),
 	SOC_DAPM_PIN_SWITCH("Int Mic"),
+	SOC_DAPM_PIN_SWITCH("HDMI"),
 };
 
 static int rockchip_sound_max98357a_hw_params(struct snd_pcm_substream *substream,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-09-19 12:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18 11:17 [RESEND PATCH v2 1/3] ASoC: rockchip: Add dapm route for HDMI Jeffy Chen
2017-09-18 11:17 ` Jeffy Chen
2017-09-18 11:17 ` Jeffy Chen
2017-09-18 11:18 ` [RESEND PATCH v2 2/3] ASoC: rockchip: Add dapm route for DMic Jeffy Chen
2017-09-18 11:18   ` Jeffy Chen
2017-09-18 11:18 ` [RESEND PATCH v2 3/3] ASoC: rockchip: Init dapm routes dynamically Jeffy Chen
2017-09-18 11:18   ` Jeffy Chen
2017-09-19 12:28   ` Mark Brown
2017-09-19 12:28     ` Mark Brown
2017-09-19 12:44     ` jeffy
2017-09-19 12:44       ` jeffy
2017-09-19 12:44       ` jeffy
2017-09-19 12:19 ` [RESEND PATCH v2 1/3] ASoC: rockchip: Add dapm route for HDMI Mark Brown
2017-09-19 12:19   ` Mark Brown
2017-09-19 12:37   ` jeffy
2017-09-19 12:37     ` jeffy
2017-09-19 12:37     ` jeffy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.