[v3 3/3] drm/bridge: it6505: Add audio support

2023-07-30 Thread Jiaxin Yu
it6505's audio feature when PCM triggers START or RESUME. Signed-off-by: Jiaxin Yu --- drivers/gpu/drm/bridge/ite-it6505.c | 81 ++--- 1 file changed, 75 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c

[v3 1/3] ASoC: hdmi-codec: Add event handler for hdmi TX

2023-07-30 Thread Jiaxin Yu
se of adding .trigger callback here is to enable hdmi-codec to notify the dp output driver to power on or off device. Signed-off-by: Jiaxin Yu --- include/sound/hdmi-codec.h| 6 ++ sound/soc/codecs/hdmi-codec.c | 32 ++-- 2 files changed, 36 insertions(+),

[v3 2/3] ASoC: mediatek: mt8186: correct the HDMI widgets

2023-07-30 Thread Jiaxin Yu
Use SND_SOC_DAPM_LINE instead of SND_SOC_DAPM_OUTPUT to trigger DAPM events to hdmi-codec when userspace control the DPAM pin. Signed-off-by: Jiaxin Yu --- sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 2 +- sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 2 +- 2 files

[v3 0/3] ASoC: mediatek:mt8186: fix both the speaker and hdmi

2023-07-30 Thread Jiaxin Yu
The speaker and hdmi of mt8186 platform are shared the same port of I2S, when connect the external display, use build-in speakers to play audio, they both playback at the same time. So we want to manage the playback device through DAPM events. Jiaxin Yu (3): ASoC: hdmi-codec: Add event handler

[PATCH v2 3/3] drm/bridge: it6505: Add audio support

2022-11-26 Thread Jiaxin Yu
it6505's audio feature when PCM triggers START or RESUME. Signed-off-by: Jiaxin Yu --- drivers/gpu/drm/bridge/ite-it6505.c | 81 ++--- 1 file changed, 75 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c

[PATCH v2 2/3] ASoC: mediatek: mt8186: correct the HDMI widgets

2022-11-26 Thread Jiaxin Yu
Use SND_SOC_DAPM_LINE instead of SND_SOC_DAPM_OUTPUT to trigger DAPM events to hdmi-codec when userspace control the DPAM pin. Signed-off-by: Jiaxin Yu --- sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 2 +- sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 2 +- 2 files

[PATCH v2 1/3] ASoC: hdmi-codec: Add event handler for hdmi TX

2022-11-26 Thread Jiaxin Yu
for hdmi TX to solve the above issue. Signed-off-by: Jiaxin Yu --- include/sound/hdmi-codec.h| 6 ++ sound/soc/codecs/hdmi-codec.c | 37 +++ 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/include/sound/hdmi-codec.h b/include/sound/hdmi

[PATCH v2 0/3] ASoC: mediatek:mt8186: fix both the speaker and hdmi

2022-11-26 Thread Jiaxin Yu
for it6505 bridge to hdmi-codec Jiaxin Yu (3): ASoC: hdmi-codec: Add event handler for hdmi TX ASoC: mediatek: mt8186: correct the HDMI widgets drm/bridge: it6505: Add audio support drivers/gpu/drm/bridge/ite-it6505.c | 81 +-- include/sound/hdmi-codec.h

[PATCH 3/3] ASoC: mediatek: mt8186: correct the HDMI widgets

2022-11-24 Thread Jiaxin Yu
Use SND_SOC_DAPM_LINE instead of SND_SOC_DAPM_OUTPUT to trigger DAPM events to hdmi-codec when userspace control the DPAM pin. Signed-off-by: Jiaxin Yu --- sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 2 +- sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 2 +- 2 files

[PATCH 0/3] ASoC: mediatek:mt8186: fix both the speaker and hdmi

2022-11-24 Thread Jiaxin Yu
The speaker and hdmi of mt8186 platform are shared the same port of I2S, when connect the external display, use build-in speakers to play audio, they both playback at the same time. So we want to manage the playback device through DAPM events. Jiaxin Yu (3): drm: bridge: it6505: bridge to hdmi

[PATCH 1/3] drm: bridge: it6505: bridge to hdmi-codec

2022-11-24 Thread Jiaxin Yu
triggers START or RESUME. Signed-off-by: Jiaxin Yu --- drivers/gpu/drm/bridge/ite-it6505.c | 36 - 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c index dfe4351c9bdd..f4e1a1d94ed8

[PATCH 2/3] ASoC: hdmi-codec: Add event handler for hdmi TX

2022-11-24 Thread Jiaxin Yu
for hdmi TX to solve the above issue. Signed-off-by: Jiaxin Yu --- include/sound/hdmi-codec.h| 6 ++ sound/soc/codecs/hdmi-codec.c | 37 +++ 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/include/sound/hdmi-codec.h b/include/sound/hdmi