diff mbox series

[v3,01/12] dt-bindings: media: mediatek,jpeg: Add mediatek, mt8196-jpgdec compatible

Message ID 20250425085328.16929-2-kyrie.wu@mediatek.com
State New
Headers show
Series Enable jpeg enc & dec multi-hardwares for MT8196 | expand

Commit Message

Kyrie Wu (吴晗) April 25, 2025, 8:53 a.m. UTC
Compared to the previous generation IC, the MT8196 uses SMMU
instead of IOMMU and supports features such as dynamic voltage
and frequency scaling. Therefore, add "mediatek,mt8196-jpgdec"
compatible to the binding document.

Signed-off-by: Kyrie Wu <kyrie.wu@mediatek.com>
---
 .../bindings/media/mediatek,mt8195-jpegdec.yaml           | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Krzysztof Kozlowski April 28, 2025, 7:04 a.m. UTC | #1
On Fri, Apr 25, 2025 at 04:53:17PM GMT, Kyrie Wu wrote:
> Compared to the previous generation IC, the MT8196 uses SMMU
> instead of IOMMU and supports features such as dynamic voltage
> and frequency scaling. Therefore, add "mediatek,mt8196-jpgdec"
> compatible to the binding document.
> 
> Signed-off-by: Kyrie Wu <kyrie.wu@mediatek.com>

I gave you a link to the exact part of documentation about prefixes to
read. I do not see improvements, so I do not believe you read it. I could
imagine people skip reading entire doc (who would listen to the
reviewer, right?), but if I give direct link to specific chapter and
still not following it, makes me feel quite dissapointed.

Best regards,
Krzysztof
Kyrie Wu (吴晗) April 29, 2025, 8:25 a.m. UTC | #2
On Tue, 2025-04-29 at 09:33 +0200, Krzysztof Kozlowski wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> On 28/04/2025 10:19, Kyrie Wu (吴晗) wrote:
> > On Mon, 2025-04-28 at 09:04 +0200, Krzysztof Kozlowski wrote:
> > > External email : Please do not click links or open attachments
> > > until
> > > you have verified the sender or the content.
> > > 
> > > 
> > > On Fri, Apr 25, 2025 at 04:53:17PM GMT, Kyrie Wu wrote:
> > > > Compared to the previous generation IC, the MT8196 uses SMMU
> > > > instead of IOMMU and supports features such as dynamic voltage
> > > > and frequency scaling. Therefore, add "mediatek,mt8196-jpgdec"
> > > > compatible to the binding document.
> > > > 
> > > > Signed-off-by: Kyrie Wu <kyrie.wu@mediatek.com>
> > > 
> > > I gave you a link to the exact part of documentation about
> > > prefixes
> > > to
> > > read. I do not see improvements, so I do not believe you read it.
> > > I
> > > could
> > > imagine people skip reading entire doc (who would listen to the
> > > reviewer, right?), but if I give direct link to specific chapter
> > > and
> > > still not following it, makes me feel quite dissapointed.
> > > 
> > > Best regards,
> > > Krzysztof
> > > 
> > 
> > Dear Krzysztof,
> > 
> > I would like to apologize to you again here. I am very sorry for
> > wasting your precious time. I changed the subject from "dt-
> > bindings:
> > mediatek: XXX" to "dt-bindings: media: mediatek,jpeg: XXX" in V3.
> > This
> > change is based on your previous suggestion. Use this command, git
> > log
> > --oneline --
> > Documentation/devicetree/bindings/media/, obtained. But this
> > modification does not meet your requirements. Should I change the
> > subject to "media: dt-bindings: mediatek,jpeg: XXX"?
> > 
> > Another question I need to ask you:
> > MT8195 and MT8196 both have multi-core hardware architectures. Do
> > we
> > need to change the yaml file name from 'mediatek,mt8195-
> > jpegenc.yaml'
> > to 'mediatek,multi-core-jpegenc.yaml'? In my opinion, this is more
> > appropriate. What is your suggestion?
> 
> I asked above about link to documentation. You ignored that part, so
> let's be specific:
> 
> Did you or did you not read the doc I linked last time?
> 
> Best regards,
> Krzysztof

Dear Krzysztof,

I have read the following link you provided:

https://urldefense.com/v3/__https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html*i-for-patch-submitters__;Iw!!CTRNKA9wMg0ARbw!lYnGLcOBQIh9yQUyMcteKxvcKQv2_eSc4udxkDDWXikTyN8VcXyYDgGuK-8UZWxKE5Pmg3D5lvplcw$

How to add the prefix of the patch's subject, the link and command line
you provided respectively introduce two different methods:
'media:dt-bindings:xxx' is the method provided in the link you
provided;
‘dt-bindings:media:xxx’ is the information obtained from the command
you provided;
I have previously sent you an email asking how you would choose between
the two (
https://patchwork.kernel.org/project/linux-mediatek/patch/20250410063006.5313-3-kyrie.wu@mediatek.com/
). But you didn't reply. Therefore, I used the previously merged patch
approach in V3:
b15a5ce86383 dt-bindings: media: mediatek,jpeg: Relax IOMMU max item
count
My behavior has caused you inconvenience and I have misunderstood your
instructions. I once again sincerely apologize to you. I hope you can
understand and accept it.
Finally, please give some correct guidance.

Thanks!

Regards,
Kyrie.
Kyrie Wu (吴晗) May 8, 2025, 9:01 a.m. UTC | #3
On Tue, 2025-04-29 at 16:25 +0800, Kyrie Wu wrote:
> On Tue, 2025-04-29 at 09:33 +0200, Krzysztof Kozlowski wrote:
> > External email : Please do not click links or open attachments
> > until
> > you have verified the sender or the content.
> > 
> > 
> > On 28/04/2025 10:19, Kyrie Wu (吴晗) wrote:
> > > On Mon, 2025-04-28 at 09:04 +0200, Krzysztof Kozlowski wrote:
> > > > External email : Please do not click links or open attachments
> > > > until
> > > > you have verified the sender or the content.
> > > > 
> > > > 
> > > > On Fri, Apr 25, 2025 at 04:53:17PM GMT, Kyrie Wu wrote:
> > > > > Compared to the previous generation IC, the MT8196 uses SMMU
> > > > > instead of IOMMU and supports features such as dynamic
> > > > > voltage
> > > > > and frequency scaling. Therefore, add "mediatek,mt8196-
> > > > > jpgdec"
> > > > > compatible to the binding document.
> > > > > 
> > > > > Signed-off-by: Kyrie Wu <kyrie.wu@mediatek.com>
> > > > 
> > > > I gave you a link to the exact part of documentation about
> > > > prefixes
> > > > to
> > > > read. I do not see improvements, so I do not believe you read
> > > > it.
> > > > I
> > > > could
> > > > imagine people skip reading entire doc (who would listen to the
> > > > reviewer, right?), but if I give direct link to specific
> > > > chapter
> > > > and
> > > > still not following it, makes me feel quite dissapointed.
> > > > 
> > > > Best regards,
> > > > Krzysztof
> > > > 
> > > 
> > > Dear Krzysztof,
> > > 
> > > I would like to apologize to you again here. I am very sorry for
> > > wasting your precious time. I changed the subject from "dt-
> > > bindings:
> > > mediatek: XXX" to "dt-bindings: media: mediatek,jpeg: XXX" in V3.
> > > This
> > > change is based on your previous suggestion. Use this command,
> > > git
> > > log
> > > --oneline --
> > > Documentation/devicetree/bindings/media/, obtained. But this
> > > modification does not meet your requirements. Should I change the
> > > subject to "media: dt-bindings: mediatek,jpeg: XXX"?
> > > 
> > > Another question I need to ask you:
> > > MT8195 and MT8196 both have multi-core hardware architectures. Do
> > > we
> > > need to change the yaml file name from 'mediatek,mt8195-
> > > jpegenc.yaml'
> > > to 'mediatek,multi-core-jpegenc.yaml'? In my opinion, this is
> > > more
> > > appropriate. What is your suggestion?
> > 
> > I asked above about link to documentation. You ignored that part,
> > so
> > let's be specific:
> > 
> > Did you or did you not read the doc I linked last time?
> > 
> > Best regards,
> > Krzysztof
> 
> Dear Krzysztof,
> 
> I have read the following link you provided:
> 
> 
https://urldefense.com/v3/__https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html*i-for-patch-submitters__;Iw!!CTRNKA9wMg0ARbw!lYnGLcOBQIh9yQUyMcteKxvcKQv2_eSc4udxkDDWXikTyN8VcXyYDgGuK-8UZWxKE5Pmg3D5lvplcw$
> 
> How to add the prefix of the patch's subject, the link and command
> line
> you provided respectively introduce two different methods:
> 'media:dt-bindings:xxx' is the method provided in the link you
> provided;
> ‘dt-bindings:media:xxx’ is the information obtained from the command
> you provided;
> I have previously sent you an email asking how you would choose
> between
> the two (
> 
https://patchwork.kernel.org/project/linux-mediatek/patch/20250410063006.5313-3-kyrie.wu@mediatek.com/
> ). But you didn't reply. Therefore, I used the previously merged
> patch
> approach in V3:
> b15a5ce86383 dt-bindings: media: mediatek,jpeg: Relax IOMMU max item
> count
> My behavior has caused you inconvenience and I have misunderstood
> your
> instructions. I once again sincerely apologize to you. I hope you can
> understand and accept it.
> Finally, please give some correct guidance.
> 
> Thanks!
> 
> Regards,
> Kyrie.
> 
> 
Dear Krzysztof,

I'm terriably sorry to bother you again.
Could you please give more specific suggestions on this issue?
We apologize for any inconvenience caused to you.
Thank you!

Regards,
Kyrie.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml b/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml
index e5448c60e3eb..28a9a9bfdbf8 100644
--- a/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml
@@ -14,7 +14,9 @@  description:
 
 properties:
   compatible:
-    const: mediatek,mt8195-jpgdec
+    enum:
+      - mediatek,mt8195-jpgdec
+      - mediatek,mt8196-jpgdec
 
   power-domains:
     maxItems: 1
@@ -44,7 +46,9 @@  patternProperties:
 
     properties:
       compatible:
-        const: mediatek,mt8195-jpgdec-hw
+        enum:
+          - mediatek,mt8195-jpgdec-hw
+          - mediatek,mt8196-jpgdec-hw
 
       reg:
         maxItems: 1