All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <cf9ea98a3263ffb8fc8b542888ad0ad680facfc7.camel@mediatek.com>

diff --git a/a/1.txt b/N1/1.txt
index a6c2562..54fc10a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -21,8 +21,8 @@ On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:
 > > Let me describe the hardware connection about mt8186 with
 > > it6505(hdmi)
 > > and rt1015p(speakers).
-> >                        ==>it6505
-> >                      =
+> >                        ==>it6505 
+> >                      = 
 > > DL1(FE) ==>I2S3(BE) =
 > >                      =
 > >                        ==>rt1015p
@@ -33,7 +33,7 @@ On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:
 > > resulting in
 > > sound on both devices.
 > > Is there another way to control them separately? Thank you.
->
+> 
 > If you just need power control for one or both devices then the
 > machine
 > driver can add a _PIN_SWITCH() on the output of the device, that'll
@@ -56,24 +56,3 @@ Yes, we do use a _PIN_SWITCH() on the outout of the device:
 Which operation should I use to inform bridge driver to control audio
 on or off? I'm curious why I don't see .trigger in the structure
 hdmi_codec_ops compared to the structure snd_soc_dai_ops?
-
-
-
-
-
-
-
-************* 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!
diff --git a/a/content_digest b/N1/content_digest
index 6e38e43..e321c73 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -7,22 +7,22 @@
  "Subject\0Re: [PATCH v2 1/3] ASoC: hdmi-codec: Add event handler for hdmi TX\0"
  "Date\0Thu, 1 Dec 2022 15:06:04 +0000\0"
  "To\0broonie@kernel.org <broonie@kernel.org>\0"
- "Cc\0alsa-devel@alsa-project.org <alsa-devel@alsa-project.org>"
-  neil.armstrong@linaro.org <neil.armstrong@linaro.org>
-  nfraprado@collabora.com <nfraprado@collabora.com>
+ "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>"
+  linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
+  ajye_huang@compal.corp-partner.google.com <ajye_huang@compal.corp-partner.google.com>
  " Chunxu Li (\346\235\216\346\230\245\346\227\255) <Chunxu.Li@mediatek.com>"
  " Allen-KH Cheng (\347\250\213\345\206\240\345\213\263) <Allen-KH.Cheng@mediatek.com>"
-  kuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com>
-  linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>
   dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org>
+  kuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com>
+  andrzej.hajda@intel.com <andrzej.hajda@intel.com>
+  linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
   Project_Global_Chrome_Upstream_Group <Project_Global_Chrome_Upstream_Group@mediatek.com>
-  linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
   robert.foss@linaro.org <robert.foss@linaro.org>
-  andrzej.hajda@intel.com <andrzej.hajda@intel.com>
+  Laurent.pinchart@ideasonboard.com <Laurent.pinchart@ideasonboard.com>
+  neil.armstrong@linaro.org <neil.armstrong@linaro.org>
   angelogioacchino.delregno@collabora.com <angelogioacchino.delregno@collabora.com>
-  ajye_huang@compal.corp-partner.google.com <ajye_huang@compal.corp-partner.google.com>
-  linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
- " Laurent.pinchart@ideasonboard.com <Laurent.pinchart@ideasonboard.com>\0"
+  nfraprado@collabora.com <nfraprado@collabora.com>
+ " alsa-devel@alsa-project.org <alsa-devel@alsa-project.org>\0"
  "\00:1\0"
  "b\0"
  "On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:\n"
@@ -48,8 +48,8 @@
  "> > Let me describe the hardware connection about mt8186 with\n"
  "> > it6505(hdmi)\n"
  "> > and rt1015p(speakers).\n"
- "> >                        ==>it6505\n"
- "> >                      =\n"
+ "> >                        ==>it6505 \n"
+ "> >                      = \n"
  "> > DL1(FE) ==>I2S3(BE) =\n"
  "> >                      =\n"
  "> >                        ==>rt1015p\n"
@@ -60,7 +60,7 @@
  "> > resulting in\n"
  "> > sound on both devices.\n"
  "> > Is there another way to control them separately? Thank you.\n"
- ">\n"
+ "> \n"
  "> If you just need power control for one or both devices then the\n"
  "> machine\n"
  "> driver can add a _PIN_SWITCH() on the output of the device, that'll\n"
@@ -82,27 +82,6 @@
  "\n"
  "Which operation should I use to inform bridge driver to control audio\n"
  "on or off? I'm curious why I don't see .trigger in the structure\n"
- "hdmi_codec_ops compared to the structure snd_soc_dai_ops?\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "************* MEDIATEK Confidentiality Notice\n"
- " ********************\n"
- "The information contained in this e-mail message (including any\n"
- "attachments) may be confidential, proprietary, privileged, or otherwise\n"
- "exempt from disclosure under applicable laws. It is intended to be\n"
- "conveyed only to the designated recipient(s). Any use, dissemination,\n"
- "distribution, printing, retaining or copying of this e-mail (including its\n"
- "attachments) by unintended recipient(s) is strictly prohibited and may\n"
- "be unlawful. If you are not an intended recipient of this e-mail, or believe\n"
- "\n"
- "that you have received this e-mail in error, please notify the sender\n"
- "immediately (by replying to this e-mail), delete any and all copies of\n"
- "this e-mail (including any attachments) from your system, and do not\n"
- disclose the content of this e-mail to any other person. Thank you!
+ hdmi_codec_ops compared to the structure snd_soc_dai_ops?
 
-d3b5d549ec401c580fad8801b23f9587dfce699996e291c2214e3b81937b9248
+a1078fd0b31e798b63c9a1b7fcfcd325ebb257788dbb6af7c6d15ac1cbbd667b

diff --git a/a/1.txt b/N2/1.txt
index a6c2562..2be5787 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -21,8 +21,8 @@ On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:
 > > Let me describe the hardware connection about mt8186 with
 > > it6505(hdmi)
 > > and rt1015p(speakers).
-> >                        ==>it6505
-> >                      =
+> >                        ==>it6505 
+> >                      = 
 > > DL1(FE) ==>I2S3(BE) =
 > >                      =
 > >                        ==>rt1015p
@@ -33,7 +33,7 @@ On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:
 > > resulting in
 > > sound on both devices.
 > > Is there another way to control them separately? Thank you.
->
+> 
 > If you just need power control for one or both devices then the
 > machine
 > driver can add a _PIN_SWITCH() on the output of the device, that'll
@@ -61,19 +61,7 @@ hdmi_codec_ops compared to the structure snd_soc_dai_ops?
 
 
 
-
-
-************* 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!
+_______________________________________________
+linux-arm-kernel mailing list
+linux-arm-kernel@lists.infradead.org
+http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/a/content_digest b/N2/content_digest
index 6e38e43..0293f74 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -7,22 +7,22 @@
  "Subject\0Re: [PATCH v2 1/3] ASoC: hdmi-codec: Add event handler for hdmi TX\0"
  "Date\0Thu, 1 Dec 2022 15:06:04 +0000\0"
  "To\0broonie@kernel.org <broonie@kernel.org>\0"
- "Cc\0alsa-devel@alsa-project.org <alsa-devel@alsa-project.org>"
-  neil.armstrong@linaro.org <neil.armstrong@linaro.org>
-  nfraprado@collabora.com <nfraprado@collabora.com>
+ "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>"
+  linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
+  ajye_huang@compal.corp-partner.google.com <ajye_huang@compal.corp-partner.google.com>
  " Chunxu Li (\346\235\216\346\230\245\346\227\255) <Chunxu.Li@mediatek.com>"
  " Allen-KH Cheng (\347\250\213\345\206\240\345\213\263) <Allen-KH.Cheng@mediatek.com>"
-  kuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com>
-  linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>
   dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org>
+  kuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com>
+  andrzej.hajda@intel.com <andrzej.hajda@intel.com>
+  linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
   Project_Global_Chrome_Upstream_Group <Project_Global_Chrome_Upstream_Group@mediatek.com>
-  linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
   robert.foss@linaro.org <robert.foss@linaro.org>
-  andrzej.hajda@intel.com <andrzej.hajda@intel.com>
+  Laurent.pinchart@ideasonboard.com <Laurent.pinchart@ideasonboard.com>
+  neil.armstrong@linaro.org <neil.armstrong@linaro.org>
   angelogioacchino.delregno@collabora.com <angelogioacchino.delregno@collabora.com>
-  ajye_huang@compal.corp-partner.google.com <ajye_huang@compal.corp-partner.google.com>
-  linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
- " Laurent.pinchart@ideasonboard.com <Laurent.pinchart@ideasonboard.com>\0"
+  nfraprado@collabora.com <nfraprado@collabora.com>
+ " alsa-devel@alsa-project.org <alsa-devel@alsa-project.org>\0"
  "\00:1\0"
  "b\0"
  "On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:\n"
@@ -48,8 +48,8 @@
  "> > Let me describe the hardware connection about mt8186 with\n"
  "> > it6505(hdmi)\n"
  "> > and rt1015p(speakers).\n"
- "> >                        ==>it6505\n"
- "> >                      =\n"
+ "> >                        ==>it6505 \n"
+ "> >                      = \n"
  "> > DL1(FE) ==>I2S3(BE) =\n"
  "> >                      =\n"
  "> >                        ==>rt1015p\n"
@@ -60,7 +60,7 @@
  "> > resulting in\n"
  "> > sound on both devices.\n"
  "> > Is there another way to control them separately? Thank you.\n"
- ">\n"
+ "> \n"
  "> If you just need power control for one or both devices then the\n"
  "> machine\n"
  "> driver can add a _PIN_SWITCH() on the output of the device, that'll\n"
@@ -88,21 +88,9 @@
  "\n"
  "\n"
  "\n"
- "\n"
- "\n"
- "************* MEDIATEK Confidentiality Notice\n"
- " ********************\n"
- "The information contained in this e-mail message (including any\n"
- "attachments) may be confidential, proprietary, privileged, or otherwise\n"
- "exempt from disclosure under applicable laws. It is intended to be\n"
- "conveyed only to the designated recipient(s). Any use, dissemination,\n"
- "distribution, printing, retaining or copying of this e-mail (including its\n"
- "attachments) by unintended recipient(s) is strictly prohibited and may\n"
- "be unlawful. If you are not an intended recipient of this e-mail, or believe\n"
- "\n"
- "that you have received this e-mail in error, please notify the sender\n"
- "immediately (by replying to this e-mail), delete any and all copies of\n"
- "this e-mail (including any attachments) from your system, and do not\n"
- disclose the content of this e-mail to any other person. Thank you!
+ "_______________________________________________\n"
+ "linux-arm-kernel mailing list\n"
+ "linux-arm-kernel@lists.infradead.org\n"
+ http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
 
-d3b5d549ec401c580fad8801b23f9587dfce699996e291c2214e3b81937b9248
+4e9e4ae9ee084f2bca654dc1164815b85aa098601bc422b12d13337a4cfc00e0

diff --git a/N3/1.bin b/N3/1.bin
new file mode 100644
index 0000000..f7f6ae1
--- /dev/null
+++ b/N3/1.bin
@@ -0,0 +1,80 @@
+<pre>
+On&#32;Tue,&#32;2022-11-29&#32;at&#32;17:22&#32;+0000,&#32;Mark&#32;Brown&#32;wrote:
+&gt;&#32;On&#32;Mon,&#32;Nov&#32;28,&#32;2022&#32;at&#32;03:07:22PM&#32;+0000,&#32;Jiaxin&#32;Yu&#32;(&#20446;&#23478;&#37995;)&#32;wrote:
+&gt;&#32;&gt;&#32;On&#32;Fri,&#32;2022-11-25&#32;at&#32;12:18&#32;+0000,&#32;Mark&#32;Brown&#32;wrote:
+&gt;&#32;&gt;&#32;&gt;&#32;On&#32;Fri,&#32;Nov&#32;25,&#32;2022&#32;at&#32;05:44:11PM&#32;+0800,&#32;Jiaxin&#32;Yu&#32;wrote:
+&gt;&#32;&gt;&#32;&gt;&#32;I&#39;m&#32;a&#32;little&#32;unclear&#32;why&#32;this&#32;is&#32;being&#32;implemented&#32;as&#32;a&#32;DAPM
+&gt;&#32;&gt;&#32;&gt;&#32;operation
+&gt;&#32;&gt;&#32;&gt;&#32;rather&#32;than&#32;having&#32;the&#32;driver&#32;forward&#32;the&#32;PCM&#32;trigger&#32;op&#32;if&#32;it&#39;s
+&gt;&#32;&gt;&#32;&gt;&#32;needed&#63;
+&gt;&#32;&gt;&#32;&gt;&#32;Or&#32;alternatively&#32;if&#32;a&#32;DAPM&#32;callback&#32;is&#32;needed&#32;why&#32;not&#32;provide&#32;one
+&gt;&#32;&gt;&#32;&gt;&#32;directly&#32;rather&#32;than&#32;hooking&#32;into&#32;the&#32;trigger&#32;function&#32;-&#32;that&#39;s
+&gt;&#32;&gt;&#32;&gt;&#32;going
+&gt;&#32;&gt;&#32;&gt;&#32;to
+&gt;&#32;&gt;&#32;&gt;&#32;be&#32;called&#32;out&#32;of&#32;sequence&#32;with&#32;the&#32;rest&#32;of&#32;DAPM&#32;and&#32;be
+&gt;&#32;&gt;&#32;&gt;&#32;potentially
+&gt;&#32;&gt;&#32;&gt;&#32;confusing&#32;given&#32;the&#32;very&#32;different&#32;environments&#32;that&#32;trigger&#32;and
+&gt;&#32;&gt;&#32;&gt;&#32;DAPM
+&gt;&#32;&gt;&#32;&gt;&#32;operations&#32;run&#32;in.&#32;&#32;A&#32;quick&#32;glance&#32;at&#32;the&#32;it6505&#32;driver&#32;suggests
+&gt;&#32;&gt;&#32;&gt;&#32;it&#39;d
+&gt;&#32;&gt;&#32;&gt;&#32;be
+&gt;&#32;&gt;&#32;&gt;&#32;happier&#32;with&#32;a&#32;DAPM&#32;callback.
+&gt;&#32;&gt;&#32;Let&#32;me&#32;describe&#32;the&#32;hardware&#32;connection&#32;about&#32;mt8186&#32;with
+&gt;&#32;&gt;&#32;it6505(hdmi)
+&gt;&#32;&gt;&#32;and&#32;rt1015p(speakers).
+&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;==&gt;it6505&#32;
+&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;=&#32;
+&gt;&#32;&gt;&#32;DL1(FE)&#32;==&gt;I2S3(BE)&#32;=
+&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;=
+&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;==&gt;rt1015p
+&gt;&#32;&gt;&#32;They&#32;shared&#32;the&#32;same&#32;one&#32;i2s&#32;port,&#32;but&#32;we&#39;d&#32;like&#32;to&#32;control&#32;them
+&gt;&#32;&gt;&#32;separately.&#32;So&#32;if&#32;hdmi-codec&#32;use&#32;the&#32;PCM&#32;trigger&#32;op,&#32;whne&#32;we&#32;turn
+&gt;&#32;&gt;&#32;on
+&gt;&#32;&gt;&#32;the&#32;speaker,&#32;hdmi-codec&#39;s&#32;PCM&#32;trigger&#32;op&#32;is&#32;also&#32;executed,
+&gt;&#32;&gt;&#32;resulting&#32;in
+&gt;&#32;&gt;&#32;sound&#32;on&#32;both&#32;devices.
+&gt;&#32;&gt;&#32;Is&#32;there&#32;another&#32;way&#32;to&#32;control&#32;them&#32;separately&#63;&#32;Thank&#32;you.
+&gt;&#32;
+&gt;&#32;If&#32;you&#32;just&#32;need&#32;power&#32;control&#32;for&#32;one&#32;or&#32;both&#32;devices&#32;then&#32;the
+&gt;&#32;machine
+&gt;&#32;driver&#32;can&#32;add&#32;a&#32;_PIN_SWITCH()&#32;on&#32;the&#32;output&#32;of&#32;the&#32;device,&#32;that&#39;ll
+&gt;&#32;cause&#32;DAPM&#32;to&#32;keep&#32;the&#32;device&#32;powered&#32;down&#32;when&#32;not&#32;in&#32;use.&#32;&#32;That
+&gt;&#32;should
+&gt;&#32;work&#32;well&#32;with&#32;the&#32;suggestion&#32;to&#32;provide&#32;a&#32;DAPM&#32;callback&#32;instead&#32;of&#32;a
+&gt;&#32;a
+&gt;&#32;trigger&#32;operation.
+
+Yes,&#32;we&#32;do&#32;use&#32;a&#32;_PIN_SWITCH()&#32;on&#32;the&#32;outout&#32;of&#32;the&#32;device:
+
+&gt;&#32;&#32;static&#32;const&#32;struct&#32;snd_kcontrol_new
+&gt;&#32;&#32;mt8186_mt6366_rt1019_rt5682s_controls[]&#32;=&#32;{
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;Speakers&quot;),
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;Headphone&quot;),
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;Headset&#32;Mic&quot;),
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;HDMI1&quot;),
+&gt;&#32;&#32;};
+
+Which&#32;operation&#32;should&#32;I&#32;use&#32;to&#32;inform&#32;bridge&#32;driver&#32;to&#32;control&#32;audio
+on&#32;or&#32;off&#63;&#32;I&#39;m&#32;curious&#32;why&#32;I&#32;don&#39;t&#32;see&#32;.trigger&#32;in&#32;the&#32;structure
+hdmi_codec_ops&#32;compared&#32;to&#32;the&#32;structure&#32;snd_soc_dai_ops&#63;
+
+
+
+
+
+
+</pre><!--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/N3/2.hdr b/N3/2.hdr
new file mode 100644
index 0000000..45d76fc
--- /dev/null
+++ b/N3/2.hdr
@@ -0,0 +1,3 @@
+Content-Type: text/plain;
+	charset="utf-8"
+Content-Transfer-Encoding: base64
diff --git a/a/1.txt b/N3/2.txt
similarity index 70%
rename from a/1.txt
rename to N3/2.txt
index a6c2562..54fc10a 100644
--- a/a/1.txt
+++ b/N3/2.txt
@@ -21,8 +21,8 @@ On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:
 > > Let me describe the hardware connection about mt8186 with
 > > it6505(hdmi)
 > > and rt1015p(speakers).
-> >                        ==>it6505
-> >                      =
+> >                        ==>it6505 
+> >                      = 
 > > DL1(FE) ==>I2S3(BE) =
 > >                      =
 > >                        ==>rt1015p
@@ -33,7 +33,7 @@ On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:
 > > resulting in
 > > sound on both devices.
 > > Is there another way to control them separately? Thank you.
->
+> 
 > If you just need power control for one or both devices then the
 > machine
 > driver can add a _PIN_SWITCH() on the output of the device, that'll
@@ -56,24 +56,3 @@ Yes, we do use a _PIN_SWITCH() on the outout of the device:
 Which operation should I use to inform bridge driver to control audio
 on or off? I'm curious why I don't see .trigger in the structure
 hdmi_codec_ops compared to the structure snd_soc_dai_ops?
-
-
-
-
-
-
-
-************* 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!
diff --git a/a/content_digest b/N3/content_digest
index 6e38e43..ca2efa0 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -23,7 +23,89 @@
   ajye_huang@compal.corp-partner.google.com <ajye_huang@compal.corp-partner.google.com>
   linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
  " Laurent.pinchart@ideasonboard.com <Laurent.pinchart@ideasonboard.com>\0"
- "\00:1\0"
+ "\01:1\0"
+ "b\0"
+ "<pre>\r\n"
+ "On&#32;Tue,&#32;2022-11-29&#32;at&#32;17:22&#32;+0000,&#32;Mark&#32;Brown&#32;wrote:\r\n"
+ "&gt;&#32;On&#32;Mon,&#32;Nov&#32;28,&#32;2022&#32;at&#32;03:07:22PM&#32;+0000,&#32;Jiaxin&#32;Yu&#32;(&#20446;&#23478;&#37995;)&#32;wrote:\r\n"
+ "&gt;&#32;&gt;&#32;On&#32;Fri,&#32;2022-11-25&#32;at&#32;12:18&#32;+0000,&#32;Mark&#32;Brown&#32;wrote:\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;On&#32;Fri,&#32;Nov&#32;25,&#32;2022&#32;at&#32;05:44:11PM&#32;+0800,&#32;Jiaxin&#32;Yu&#32;wrote:\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;I&#39;m&#32;a&#32;little&#32;unclear&#32;why&#32;this&#32;is&#32;being&#32;implemented&#32;as&#32;a&#32;DAPM\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;operation\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;rather&#32;than&#32;having&#32;the&#32;driver&#32;forward&#32;the&#32;PCM&#32;trigger&#32;op&#32;if&#32;it&#39;s\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;needed&#63;\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;Or&#32;alternatively&#32;if&#32;a&#32;DAPM&#32;callback&#32;is&#32;needed&#32;why&#32;not&#32;provide&#32;one\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;directly&#32;rather&#32;than&#32;hooking&#32;into&#32;the&#32;trigger&#32;function&#32;-&#32;that&#39;s\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;going\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;to\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;be&#32;called&#32;out&#32;of&#32;sequence&#32;with&#32;the&#32;rest&#32;of&#32;DAPM&#32;and&#32;be\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;potentially\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;confusing&#32;given&#32;the&#32;very&#32;different&#32;environments&#32;that&#32;trigger&#32;and\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;DAPM\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;operations&#32;run&#32;in.&#32;&#32;A&#32;quick&#32;glance&#32;at&#32;the&#32;it6505&#32;driver&#32;suggests\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;it&#39;d\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;be\r\n"
+ "&gt;&#32;&gt;&#32;&gt;&#32;happier&#32;with&#32;a&#32;DAPM&#32;callback.\r\n"
+ "&gt;&#32;&gt;&#32;Let&#32;me&#32;describe&#32;the&#32;hardware&#32;connection&#32;about&#32;mt8186&#32;with\r\n"
+ "&gt;&#32;&gt;&#32;it6505(hdmi)\r\n"
+ "&gt;&#32;&gt;&#32;and&#32;rt1015p(speakers).\r\n"
+ "&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;==&gt;it6505&#32;\r\n"
+ "&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;=&#32;\r\n"
+ "&gt;&#32;&gt;&#32;DL1(FE)&#32;==&gt;I2S3(BE)&#32;=\r\n"
+ "&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;=\r\n"
+ "&gt;&#32;&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;==&gt;rt1015p\r\n"
+ "&gt;&#32;&gt;&#32;They&#32;shared&#32;the&#32;same&#32;one&#32;i2s&#32;port,&#32;but&#32;we&#39;d&#32;like&#32;to&#32;control&#32;them\r\n"
+ "&gt;&#32;&gt;&#32;separately.&#32;So&#32;if&#32;hdmi-codec&#32;use&#32;the&#32;PCM&#32;trigger&#32;op,&#32;whne&#32;we&#32;turn\r\n"
+ "&gt;&#32;&gt;&#32;on\r\n"
+ "&gt;&#32;&gt;&#32;the&#32;speaker,&#32;hdmi-codec&#39;s&#32;PCM&#32;trigger&#32;op&#32;is&#32;also&#32;executed,\r\n"
+ "&gt;&#32;&gt;&#32;resulting&#32;in\r\n"
+ "&gt;&#32;&gt;&#32;sound&#32;on&#32;both&#32;devices.\r\n"
+ "&gt;&#32;&gt;&#32;Is&#32;there&#32;another&#32;way&#32;to&#32;control&#32;them&#32;separately&#63;&#32;Thank&#32;you.\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;If&#32;you&#32;just&#32;need&#32;power&#32;control&#32;for&#32;one&#32;or&#32;both&#32;devices&#32;then&#32;the\r\n"
+ "&gt;&#32;machine\r\n"
+ "&gt;&#32;driver&#32;can&#32;add&#32;a&#32;_PIN_SWITCH()&#32;on&#32;the&#32;output&#32;of&#32;the&#32;device,&#32;that&#39;ll\r\n"
+ "&gt;&#32;cause&#32;DAPM&#32;to&#32;keep&#32;the&#32;device&#32;powered&#32;down&#32;when&#32;not&#32;in&#32;use.&#32;&#32;That\r\n"
+ "&gt;&#32;should\r\n"
+ "&gt;&#32;work&#32;well&#32;with&#32;the&#32;suggestion&#32;to&#32;provide&#32;a&#32;DAPM&#32;callback&#32;instead&#32;of&#32;a\r\n"
+ "&gt;&#32;a\r\n"
+ "&gt;&#32;trigger&#32;operation.\r\n"
+ "\r\n"
+ "Yes,&#32;we&#32;do&#32;use&#32;a&#32;_PIN_SWITCH()&#32;on&#32;the&#32;outout&#32;of&#32;the&#32;device:\r\n"
+ "\r\n"
+ "&gt;&#32;&#32;static&#32;const&#32;struct&#32;snd_kcontrol_new\r\n"
+ "&gt;&#32;&#32;mt8186_mt6366_rt1019_rt5682s_controls[]&#32;=&#32;{\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;Speakers&quot;),\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;Headphone&quot;),\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;Headset&#32;Mic&quot;),\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;SOC_DAPM_PIN_SWITCH(&quot;HDMI1&quot;),\r\n"
+ "&gt;&#32;&#32;};\r\n"
+ "\r\n"
+ "Which&#32;operation&#32;should&#32;I&#32;use&#32;to&#32;inform&#32;bridge&#32;driver&#32;to&#32;control&#32;audio\r\n"
+ "on&#32;or&#32;off&#63;&#32;I&#39;m&#32;curious&#32;why&#32;I&#32;don&#39;t&#32;see&#32;.trigger&#32;in&#32;the&#32;structure\r\n"
+ "hdmi_codec_ops&#32;compared&#32;to&#32;the&#32;structure&#32;snd_soc_dai_ops&#63;\r\n"
+ "\r\n"
+ "\r\n"
+ "\r\n"
+ "\r\n"
+ "\r\n"
+ "\r\n"
+ "</pre><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice\r\n"
+ " ********************\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"
+ " \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><!--}-->
+ "\01:2\0"
  "b\0"
  "On Tue, 2022-11-29 at 17:22 +0000, Mark Brown wrote:\n"
  "> On Mon, Nov 28, 2022 at 03:07:22PM +0000, Jiaxin Yu (\344\277\236\345\256\266\351\221\253) wrote:\n"
@@ -48,8 +130,8 @@
  "> > Let me describe the hardware connection about mt8186 with\n"
  "> > it6505(hdmi)\n"
  "> > and rt1015p(speakers).\n"
- "> >                        ==>it6505\n"
- "> >                      =\n"
+ "> >                        ==>it6505 \n"
+ "> >                      = \n"
  "> > DL1(FE) ==>I2S3(BE) =\n"
  "> >                      =\n"
  "> >                        ==>rt1015p\n"
@@ -60,7 +142,7 @@
  "> > resulting in\n"
  "> > sound on both devices.\n"
  "> > Is there another way to control them separately? Thank you.\n"
- ">\n"
+ "> \n"
  "> If you just need power control for one or both devices then the\n"
  "> machine\n"
  "> driver can add a _PIN_SWITCH() on the output of the device, that'll\n"
@@ -82,27 +164,6 @@
  "\n"
  "Which operation should I use to inform bridge driver to control audio\n"
  "on or off? I'm curious why I don't see .trigger in the structure\n"
- "hdmi_codec_ops compared to the structure snd_soc_dai_ops?\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "\n"
- "************* MEDIATEK Confidentiality Notice\n"
- " ********************\n"
- "The information contained in this e-mail message (including any\n"
- "attachments) may be confidential, proprietary, privileged, or otherwise\n"
- "exempt from disclosure under applicable laws. It is intended to be\n"
- "conveyed only to the designated recipient(s). Any use, dissemination,\n"
- "distribution, printing, retaining or copying of this e-mail (including its\n"
- "attachments) by unintended recipient(s) is strictly prohibited and may\n"
- "be unlawful. If you are not an intended recipient of this e-mail, or believe\n"
- "\n"
- "that you have received this e-mail in error, please notify the sender\n"
- "immediately (by replying to this e-mail), delete any and all copies of\n"
- "this e-mail (including any attachments) from your system, and do not\n"
- disclose the content of this e-mail to any other person. Thank you!
+ hdmi_codec_ops compared to the structure snd_soc_dai_ops?
 
-d3b5d549ec401c580fad8801b23f9587dfce699996e291c2214e3b81937b9248
+516313440f08d85da203b64d87a1e17ae90d3b7bfed4204c2f0a39bb79c71424

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.