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

diff --git a/N1/2.bin b/N1/2.bin
new file mode 100644
index 0000000..d47b719
--- /dev/null
+++ b/N1/2.bin
@@ -0,0 +1,75 @@
+<html><body><p>
+<pre>
+On&#32;Sun,&#32;2025-01-12&#32;at&#32;14:47&#32;+0100,&#32;Krzysztof&#32;Kozlowski&#32;wrote:
+&gt;&#32;External&#32;email&#32;:&#32;Please&#32;do&#32;not&#32;click&#32;links&#32;or&#32;open&#32;attachments&#32;until&#32;you&#32;have&#32;verified&#32;the&#32;sender&#32;or&#32;the&#32;content.
+&gt;&#32;
+&gt;&#32;
+&gt;&#32;Use&#32;syscon_regmap_lookup_by_phandle_args()&#32;which&#32;is&#32;a&#32;wrapper&#32;over
+&gt;&#32;syscon_regmap_lookup_by_phandle()&#32;combined&#32;with&#32;getting&#32;the&#32;syscon
+&gt;&#32;argument.&#32;&#32;Except&#32;simpler&#32;code&#32;this&#32;annotates&#32;within&#32;one&#32;line&#32;that&#32;given
+&gt;&#32;phandle&#32;has&#32;arguments,&#32;so&#32;grepping&#32;for&#32;code&#32;would&#32;be&#32;easier.
+&gt;&#32;
+&gt;&#32;There&#32;is&#32;also&#32;no&#32;real&#32;benefit&#32;in&#32;printing&#32;errors&#32;on&#32;missing&#32;syscon
+&gt;&#32;argument,&#32;because&#32;this&#32;is&#32;done&#32;just&#32;too&#32;late:&#32;runtime&#32;check&#32;on
+&gt;&#32;static/build-time&#32;data.&#32;&#32;Dtschema&#32;and&#32;Devicetree&#32;bindings&#32;offer&#32;the
+&gt;&#32;static/build-time&#32;check&#32;for&#32;this&#32;already.
+
+Reviewed-by:&#32;CK&#32;Hu&#32;&lt;ck.hu@mediatek.com&gt;
+
+I&#39;ve&#32;not&#32;decided&#32;to&#32;apply&#32;this&#32;patch&#32;first&#32;or&#32;Angelo&#39;s&#32;patch&#32;first.
+I&#39;ll&#32;fix&#32;conflict&#32;when&#32;I&#32;apply&#32;both&#32;patch.
+
+Regards,
+CK
+
+&gt;&#32;
+&gt;&#32;Signed-off-by:&#32;Krzysztof&#32;Kozlowski&#32;&lt;krzysztof.kozlowski@linaro.org&gt;
+&gt;&#32;---
+&gt;&#32;&#32;drivers/gpu/drm/mediatek/mtk_hdmi.c&#32;|&#32;14&#32;+++++---------
+&gt;&#32;&#32;1&#32;file&#32;changed,&#32;5&#32;insertions(+),&#32;9&#32;deletions(-)
+&gt;&#32;
+&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_hdmi.c&#32;b/drivers/gpu/drm/mediatek/mtk_hdmi.c
+&gt;&#32;index&#32;ca82bc829cb9..4b0eb7dc25d8&#32;100644
+&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_hdmi.c
+&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_hdmi.c
+&gt;&#32;@@&#32;-1458,15&#32;+1458,11&#32;@@&#32;static&#32;int&#32;mtk_hdmi_dt_parse_pdata(struct&#32;mtk_hdmi&#32;*hdmi,
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;*&#32;MMSYS_CONFIG&#32;device&#32;and&#32;the&#32;register&#32;offset&#32;of&#32;the&#32;HDMI_SYS_CFG
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;*&#32;registers&#32;it&#32;contains.
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;*/
+&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;regmap&#32;=&#32;syscon_regmap_lookup_by_phandle(np,&#32;&quot;mediatek,syscon-hdmi&quot;);
+&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;ret&#32;=&#32;of_property_read_u32_index(np,&#32;&quot;mediatek,syscon-hdmi&quot;,&#32;1,
+&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;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&amp;hdmi-&gt;sys_offset);
+&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;if&#32;(IS_ERR(regmap))
+&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;ret&#32;=&#32;PTR_ERR(regmap);
+&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;if&#32;(ret)&#32;{
+&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;dev_err(dev,
+&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;&quot;Failed&#32;to&#32;get&#32;system&#32;configuration&#32;registers:&#32;%d&#92;n&quot;,
+&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;ret);
+&gt;&#32;+&#32;&#32;&#32;&#32;&#32;&#32;&#32;regmap&#32;=&#32;syscon_regmap_lookup_by_phandle_args(np,&#32;&quot;mediatek,syscon-hdmi&quot;,
+&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;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;1,&#32;&amp;hdmi-&gt;sys_offset);
+&gt;&#32;+&#32;&#32;&#32;&#32;&#32;&#32;&#32;if&#32;(IS_ERR(regmap))&#32;{
+&gt;&#32;+&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;ret&#32;=&#32;dev_err_probe(dev,&#32;PTR_ERR(regmap),
+&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;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&quot;Failed&#32;to&#32;get&#32;system&#32;configuration&#32;registers&#92;n&quot;);
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;goto&#32;put_device;
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;}
+&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;hdmi-&gt;sys_regmap&#32;=&#32;regmap;
+&gt;&#32;--
+&gt;&#32;2.43.0
+&gt;&#32;
+&gt;&#32;
+
+
+</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 b382be5..3be245b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -13,7 +13,7 @@
   matthias.bgg@gmail.com <matthias.bgg@gmail.com>
   linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
  " linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>\0"
- "\00:1\0"
+ "\01:1\0"
  "b\0"
  "On Sun, 2025-01-12 at 14:47 +0100, Krzysztof Kozlowski wrote:\n"
  "> External email : Please do not click links or open attachments until you have verified the sender or the content.\n"
@@ -72,5 +72,82 @@
  "> 2.43.0\n"
  "> \n"
  >
+ "\01:2\0"
+ "b\0"
+ "<html><body><p>\r\n"
+ "<pre>\r\n"
+ "On&#32;Sun,&#32;2025-01-12&#32;at&#32;14:47&#32;+0100,&#32;Krzysztof&#32;Kozlowski&#32;wrote:\r\n"
+ "&gt;&#32;External&#32;email&#32;:&#32;Please&#32;do&#32;not&#32;click&#32;links&#32;or&#32;open&#32;attachments&#32;until&#32;you&#32;have&#32;verified&#32;the&#32;sender&#32;or&#32;the&#32;content.\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Use&#32;syscon_regmap_lookup_by_phandle_args()&#32;which&#32;is&#32;a&#32;wrapper&#32;over\r\n"
+ "&gt;&#32;syscon_regmap_lookup_by_phandle()&#32;combined&#32;with&#32;getting&#32;the&#32;syscon\r\n"
+ "&gt;&#32;argument.&#32;&#32;Except&#32;simpler&#32;code&#32;this&#32;annotates&#32;within&#32;one&#32;line&#32;that&#32;given\r\n"
+ "&gt;&#32;phandle&#32;has&#32;arguments,&#32;so&#32;grepping&#32;for&#32;code&#32;would&#32;be&#32;easier.\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;There&#32;is&#32;also&#32;no&#32;real&#32;benefit&#32;in&#32;printing&#32;errors&#32;on&#32;missing&#32;syscon\r\n"
+ "&gt;&#32;argument,&#32;because&#32;this&#32;is&#32;done&#32;just&#32;too&#32;late:&#32;runtime&#32;check&#32;on\r\n"
+ "&gt;&#32;static/build-time&#32;data.&#32;&#32;Dtschema&#32;and&#32;Devicetree&#32;bindings&#32;offer&#32;the\r\n"
+ "&gt;&#32;static/build-time&#32;check&#32;for&#32;this&#32;already.\r\n"
+ "\r\n"
+ "Reviewed-by:&#32;CK&#32;Hu&#32;&lt;ck.hu@mediatek.com&gt;\r\n"
+ "\r\n"
+ "I&#39;ve&#32;not&#32;decided&#32;to&#32;apply&#32;this&#32;patch&#32;first&#32;or&#32;Angelo&#39;s&#32;patch&#32;first.\r\n"
+ "I&#39;ll&#32;fix&#32;conflict&#32;when&#32;I&#32;apply&#32;both&#32;patch.\r\n"
+ "\r\n"
+ "Regards,\r\n"
+ "CK\r\n"
+ "\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Signed-off-by:&#32;Krzysztof&#32;Kozlowski&#32;&lt;krzysztof.kozlowski@linaro.org&gt;\r\n"
+ "&gt;&#32;---\r\n"
+ "&gt;&#32;&#32;drivers/gpu/drm/mediatek/mtk_hdmi.c&#32;|&#32;14&#32;+++++---------\r\n"
+ "&gt;&#32;&#32;1&#32;file&#32;changed,&#32;5&#32;insertions(+),&#32;9&#32;deletions(-)\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_hdmi.c&#32;b/drivers/gpu/drm/mediatek/mtk_hdmi.c\r\n"
+ "&gt;&#32;index&#32;ca82bc829cb9..4b0eb7dc25d8&#32;100644\r\n"
+ "&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_hdmi.c\r\n"
+ "&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_hdmi.c\r\n"
+ "&gt;&#32;@@&#32;-1458,15&#32;+1458,11&#32;@@&#32;static&#32;int&#32;mtk_hdmi_dt_parse_pdata(struct&#32;mtk_hdmi&#32;*hdmi,\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;*&#32;MMSYS_CONFIG&#32;device&#32;and&#32;the&#32;register&#32;offset&#32;of&#32;the&#32;HDMI_SYS_CFG\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;*&#32;registers&#32;it&#32;contains.\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;*/\r\n"
+ "&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;regmap&#32;=&#32;syscon_regmap_lookup_by_phandle(np,&#32;&quot;mediatek,syscon-hdmi&quot;);\r\n"
+ "&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;ret&#32;=&#32;of_property_read_u32_index(np,&#32;&quot;mediatek,syscon-hdmi&quot;,&#32;1,\r\n"
+ "&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;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&amp;hdmi-&gt;sys_offset);\r\n"
+ "&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;if&#32;(IS_ERR(regmap))\r\n"
+ "&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;ret&#32;=&#32;PTR_ERR(regmap);\r\n"
+ "&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;if&#32;(ret)&#32;{\r\n"
+ "&gt;&#32;-&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;dev_err(dev,\r\n"
+ "&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;&quot;Failed&#32;to&#32;get&#32;system&#32;configuration&#32;registers:&#32;%d&#92;n&quot;,\r\n"
+ "&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;ret);\r\n"
+ "&gt;&#32;+&#32;&#32;&#32;&#32;&#32;&#32;&#32;regmap&#32;=&#32;syscon_regmap_lookup_by_phandle_args(np,&#32;&quot;mediatek,syscon-hdmi&quot;,\r\n"
+ "&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;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;1,&#32;&amp;hdmi-&gt;sys_offset);\r\n"
+ "&gt;&#32;+&#32;&#32;&#32;&#32;&#32;&#32;&#32;if&#32;(IS_ERR(regmap))&#32;{\r\n"
+ "&gt;&#32;+&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;ret&#32;=&#32;dev_err_probe(dev,&#32;PTR_ERR(regmap),\r\n"
+ "&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;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&quot;Failed&#32;to&#32;get&#32;system&#32;configuration&#32;registers&#92;n&quot;);\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;goto&#32;put_device;\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;}\r\n"
+ "&gt;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;hdmi-&gt;sys_regmap&#32;=&#32;regmap;\r\n"
+ "&gt;&#32;--\r\n"
+ "&gt;&#32;2.43.0\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;\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><!--}-->
 
-2ffac9ad7b09ccdf785549e499b1753d3e352f9f91eacd112aa5e8114e6619f3
+68da748f2ee254a44a4556602bda80a709516d4e197a28c382ab08e0e366c9d2

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.