diff for duplicates of <a699178dcef540fff5caae6291983a444886bff6.camel@mediatek.com> diff --git a/N1/2.bin b/N1/2.bin new file mode 100644 index 0000000..3a5d47c --- /dev/null +++ b/N1/2.bin @@ -0,0 +1,77 @@ +<html><body><p> +<pre> +On Tue, 2022-12-13 at 16:35 +0000, Mark Brown wrote: +> On Tue, Dec 13, 2022 at 02:23:32PM +0000, Jiaxin Yu (俞家鑫) wrote: +> > On Mon, 2022-12-05 at 12:07 +0000, Mark Brown wrote: +> > > On Mon, Dec 05, 2022 at 09:34:17AM +0000, Jiaxin Yu (俞家鑫) wrote: +> > > No, I mean that if you want to control the enable and disable of +> > > the +> > > output path you should implement a DAPM widget. +> > May I ask which driver file to add a new DAPM widget? Is it the +> > bridge +> > ic driver like it6505.c? Or is it linke the "SDB" added in this +> > patch? +>  +> I would expect this to follow a similar pattern to everything else +> with +> hdmi-codec.c and have the actual ASoC stuff in there with a callback +> exposed to the rest of the world. +>  +> > Yes, I should add a new set of events, such as: +> > enum { +> >     HDMI_CODEC_TRIGGER_EVENT_STOP, +> >     HDMI_CODEC_TRIGGER_EVENT_START, +> >     HDMI_CODEC_TRIGGER_EVENT_SUSPEND, +> >     HDMI_CODEC_TRIGGER_EVENT_RESUME, +> > } +> > Then provide handles for these events in the it6505 driver. Am I +> > right? +>  +> I'd expect more like on/off for a DAPM widget (the DAPM callbacks are +> pre/post on/off) but yes. + +Dear mark, +I apologize for the delay in responding to this issue, as we have +recently encountered the same problem again. I would like to have your +guidance on this issue once more. Let me describe the problem we +encountered again. + + +                     ==> "hdmi-audio-codec"(it6505 plug-in) +DL1(FE) ==> I2S1(BE)  +                     ==> "rt1019p"(Speaker Codec) + +I want to independently control the switches for the speaker and hdmi, +and realize that when HDMI is plugged in, I can switch to speaker +playback, and I can also switch back to hdmi playback too. Of course, +I2S1 is used for playback at this time.  + +So I want to ask if I can do it by just adding +SOC_DAPM_PIN_SWITCH("Speakers") and SOC_DAPM_PIN_SWITCH("HDMI")? +Correspondingly, dapm widget and route path need to be added. That is +"SND_SOC_DAPM_SPK("Speakers", NULL)/ SND_SOC_DAPM_LINE("HDMI1", NULL)" +and "{"Speakers", NULL, "Speaker"}/ {"HDMI1", NULL, "TX"}". + +If the above is not enough, what else should I modify? hdmi-codec.c or +it6505.c? Looking forward to getting you reply, Thank you. + +Jiaxin.Yu + + + + + +</pre> +</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ******************** +The information contained in this e-mail message (including any +attachments) may be confidential, proprietary, privileged, or otherwise +exempt from disclosure under applicable laws. It is intended to be +conveyed only to the designated recipient(s). Any use, dissemination, +distribution, printing, retaining or copying of this e-mail (including its +attachments) by unintended recipient(s) is strictly prohibited and may +be unlawful. If you are not an intended recipient of this e-mail, or believe +that you have received this e-mail in error, please notify the sender +immediately (by replying to this e-mail), delete any and all copies of +this e-mail (including any attachments) from your system, and do not +disclose the content of this e-mail to any other person. Thank you! +</pre><!--}--> diff --git a/N1/2.hdr b/N1/2.hdr new file mode 100644 index 0000000..da1f671 --- /dev/null +++ b/N1/2.hdr @@ -0,0 +1,3 @@ +Content-Type: text/html; + charset="utf-8" +Content-Transfer-Encoding: base64 diff --git a/a/content_digest b/N1/content_digest index 6b1390b..6a3ef11 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -29,7 +29,7 @@ AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Nicolas Prado <nfraprado@collabora.com> " alsa-devel@alsa-project.org <alsa-devel@alsa-project.org>\0" - "\00:1\0" + "\01:1\0" "b\0" "On Tue, 2022-12-13 at 16:35 +0000, Mark Brown wrote:\n" "> On Tue, Dec 13, 2022 at 02:23:32PM +0000, Jiaxin Yu (\344\277\236\345\256\266\351\221\253) wrote:\n" @@ -87,5 +87,84 @@ "it6505.c? Looking forward to getting you reply, Thank you.\n" "\n" Jiaxin.Yu + "\01:2\0" + "b\0" + "<html><body><p>\r\n" + "<pre>\r\n" + "On Tue, 2022-12-13 at 16:35 +0000, Mark Brown wrote:\r\n" + "> On Tue, Dec 13, 2022 at 02:23:32PM +0000, Jiaxin Yu (俞家鑫) wrote:\r\n" + "> > On Mon, 2022-12-05 at 12:07 +0000, Mark Brown wrote:\r\n" + "> > > On Mon, Dec 05, 2022 at 09:34:17AM +0000, Jiaxin Yu (俞家鑫) wrote:\r\n" + "> > > No, I mean that if you want to control the enable and disable of\r\n" + "> > > the\r\n" + "> > > output path you should implement a DAPM widget.\r\n" + "> > May I ask which driver file to add a new DAPM widget? Is it the\r\n" + "> > bridge\r\n" + "> > ic driver like it6505.c? Or is it linke the "SDB" added in this\r\n" + "> > patch?\r\n" + "> \r\n" + "> I would expect this to follow a similar pattern to everything else\r\n" + "> with\r\n" + "> hdmi-codec.c and have the actual ASoC stuff in there with a callback\r\n" + "> exposed to the rest of the world.\r\n" + "> \r\n" + "> > Yes, I should add a new set of events, such as:\r\n" + "> > enum {\r\n" + "> >     HDMI_CODEC_TRIGGER_EVENT_STOP,\r\n" + "> >     HDMI_CODEC_TRIGGER_EVENT_START,\r\n" + "> >     HDMI_CODEC_TRIGGER_EVENT_SUSPEND,\r\n" + "> >     HDMI_CODEC_TRIGGER_EVENT_RESUME,\r\n" + "> > }\r\n" + "> > Then provide handles for these events in the it6505 driver. Am I\r\n" + "> > right?\r\n" + "> \r\n" + "> I'd expect more like on/off for a DAPM widget (the DAPM callbacks are\r\n" + "> pre/post on/off) but yes.\r\n" + "\r\n" + "Dear mark,\r\n" + "I apologize for the delay in responding to this issue, as we have\r\n" + "recently encountered the same problem again. I would like to have your\r\n" + "guidance on this issue once more. Let me describe the problem we\r\n" + "encountered again.\r\n" + "\r\n" + "\r\n" + "                     ==> "hdmi-audio-codec"(it6505 plug-in)\r\n" + "DL1(FE) ==> I2S1(BE) \r\n" + "                     ==> "rt1019p"(Speaker Codec)\r\n" + "\r\n" + "I want to independently control the switches for the speaker and hdmi,\r\n" + "and realize that when HDMI is plugged in, I can switch to speaker\r\n" + "playback, and I can also switch back to hdmi playback too. Of course,\r\n" + "I2S1 is used for playback at this time. \r\n" + "\r\n" + "So I want to ask if I can do it by just adding\r\n" + "SOC_DAPM_PIN_SWITCH("Speakers") and SOC_DAPM_PIN_SWITCH("HDMI")?\r\n" + "Correspondingly, dapm widget and route path need to be added. That is\r\n" + ""SND_SOC_DAPM_SPK("Speakers", NULL)/ SND_SOC_DAPM_LINE("HDMI1", NULL)"\r\n" + "and "{"Speakers", NULL, "Speaker"}/ {"HDMI1", NULL, "TX"}".\r\n" + "\r\n" + "If the above is not enough, what else should I modify? hdmi-codec.c or\r\n" + "it6505.c? Looking forward to getting you reply, Thank you.\r\n" + "\r\n" + "Jiaxin.Yu\r\n" + "\r\n" + "\r\n" + "\r\n" + "\r\n" + "\r\n" + "</pre>\r\n" + "</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************\r\n" + "The information contained in this e-mail message (including any \r\n" + "attachments) may be confidential, proprietary, privileged, or otherwise\r\n" + "exempt from disclosure under applicable laws. It is intended to be \r\n" + "conveyed only to the designated recipient(s). Any use, dissemination, \r\n" + "distribution, printing, retaining or copying of this e-mail (including its \r\n" + "attachments) by unintended recipient(s) is strictly prohibited and may \r\n" + "be unlawful. If you are not an intended recipient of this e-mail, or believe \r\n" + "that you have received this e-mail in error, please notify the sender \r\n" + "immediately (by replying to this e-mail), delete any and all copies of \r\n" + "this e-mail (including any attachments) from your system, and do not\r\n" + "disclose the content of this e-mail to any other person. Thank you!\r\n" + </pre><!--}--> -1fe6668c10e1afc1aa5769bd88a310628e675b95f498965f950747c642409417 +f796e82722b0b150ddc999fd2ebdefc320f4e203a293ca6c54cc4bc0ee114338
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.