From: "Jay Liu (刘博)" <Jay.Liu@mediatek.com>
To: "krzk@kernel.org" <krzk@kernel.org>
Cc: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"chunkuang.hu@kernel.org" <chunkuang.hu@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"mripard@kernel.org" <mripard@kernel.org>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"airlied@gmail.com" <airlied@gmail.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Subject: Re: [PATCH v3 4/6] dt-bindings: display: mediatek: disp-tdshp: Add support for MT8196
Date: Sun, 21 Sep 2025 04:39:57 +0000 [thread overview]
Message-ID: <ee7b16097fbc7c5cc6b8c3163447d48ead0d44f5.camel@mediatek.com> (raw)
In-Reply-To: <20250811-boisterous-skinny-ammonite-a4ca7b@kuoka>
On Mon, 2025-08-11 at 09:52 +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, Aug 08, 2025 at 08:53:59PM +0800, Jay Liu wrote:
> > Add disp-tdshp hardware description for MediaTek MT8196 SoC
> >
> > Signed-off-by: Jay Liu <jay.liu@mediatek.com>
> > ---
> > .../display/mediatek/mediatek,disp-tdshp.yaml | 52
> > +++++++++++++++++++
> > 1 file changed, 52 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
>
> We expect filename based on compatibles (see writing bindings).
>
> >
> > diff --git
> > a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
> > b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
> > new file mode 100644
> > index 000000000000..94aa33a2a5ed
> > --- /dev/null
> > +++
> > b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
> > @@ -0,0 +1,52 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id:
> > https://urldefense.com/v3/__http://devicetree.org/schemas/display/mediatek/mediatek,disp-tdshp.yaml*__;Iw!!CTRNKA9wMg0ARbw!iQm_1HzyfT_nSaK-KNbXByLmW5dXythQCPEJzW-_ibXiLJyOKzw08MgQui4GKRmJ3QjHIj0zl1x1$
> > +$schema:
> > https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!CTRNKA9wMg0ARbw!iQm_1HzyfT_nSaK-KNbXByLmW5dXythQCPEJzW-_ibXiLJyOKzw08MgQui4GKRmJ3QjHIsmf4urv$
> > +
> > +title: MediaTek display 2D sharpness processor
> > +
> > +maintainers:
> > + - Chun-Kuang Hu <chunkuang.hu@kernel.org>
> > + - Philipp Zabel <p.zabel@pengutronix.de>
> > +
> > +description: |
> > + MediaTek display 2D sharpness processor, namely TDSHP, provides
> > a
> > + operation used to adjust sharpness in display system.
> > + TDSHP device node must be siblings to the central MMSYS_CONFIG
> > node.
>
> Heh? Why would this have to be a sibling? This is really odd, because
> you cannto actually rely on that.
>
hi Krzysztof,
disp-tdshp is one of components of display pipeline. just like OVL,
color, etc. MMSYS_CONFIG controls the clock of display pipeline,
> You just added unverifiable unusual ABI with no explanation.
>
>
> > + For a description of the MMSYS_CONFIG binding, see
> > + Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.ya
> > ml
> > + for details.
> > +
> > +properties:
> > + compatible:
> > + items:
>
> Drop, just enum.
>
> > + - enum:
> > + - mediatek,mt8196-disp-tdshp
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + clocks:
> > + maxItems: 1
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > +
>
> Drop blank line
>
> > + soc {
> > + #address-cells = <2>;
> > + #size-cells = <2>;
>
> messed indentation
>
> > +
> > + disp-tdshp@321e0000 {
>
> Node names should be generic. See also an explanation and list of
> examples (not exhaustive) in DT specification:
>
https://urldefense.com/v3/__https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html*generic-names-recommendation__;Iw!!CTRNKA9wMg0ARbw!iQm_1HzyfT_nSaK-KNbXByLmW5dXythQCPEJzW-_ibXiLJyOKzw08MgQui4GKRmJ3QjHIjQOIUWC$
>
> e.g. image-processor
>
> Best regards,
> Krzysztof
>
WARNING: multiple messages have this Message-ID (diff)
From: "Jay Liu (刘博)" <Jay.Liu@mediatek.com>
To: "krzk@kernel.org" <krzk@kernel.org>
Cc: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"chunkuang.hu@kernel.org" <chunkuang.hu@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"mripard@kernel.org" <mripard@kernel.org>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"airlied@gmail.com" <airlied@gmail.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Subject: Re: [PATCH v3 4/6] dt-bindings: display: mediatek: disp-tdshp: Add support for MT8196
Date: Sun, 21 Sep 2025 04:39:57 +0000 [thread overview]
Message-ID: <ee7b16097fbc7c5cc6b8c3163447d48ead0d44f5.camel@mediatek.com> (raw)
In-Reply-To: <20250811-boisterous-skinny-ammonite-a4ca7b@kuoka>
[-- Attachment #1: Type: text/plain, Size: 3555 bytes --]
On Mon, 2025-08-11 at 09:52 +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, Aug 08, 2025 at 08:53:59PM +0800, Jay Liu wrote:
> > Add disp-tdshp hardware description for MediaTek MT8196 SoC
> >
> > Signed-off-by: Jay Liu <jay.liu@mediatek.com>
> > ---
> > .../display/mediatek/mediatek,disp-tdshp.yaml | 52
> > +++++++++++++++++++
> > 1 file changed, 52 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
>
> We expect filename based on compatibles (see writing bindings).
>
> >
> > diff --git
> > a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
> > b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
> > new file mode 100644
> > index 000000000000..94aa33a2a5ed
> > --- /dev/null
> > +++
> > b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-
> > tdshp.yaml
> > @@ -0,0 +1,52 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id:
> > https://urldefense.com/v3/__http://devicetree.org/schemas/display/mediatek/mediatek,disp-tdshp.yaml*__;Iw!!CTRNKA9wMg0ARbw!iQm_1HzyfT_nSaK-KNbXByLmW5dXythQCPEJzW-_ibXiLJyOKzw08MgQui4GKRmJ3QjHIj0zl1x1$
> > +$schema:
> > https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!CTRNKA9wMg0ARbw!iQm_1HzyfT_nSaK-KNbXByLmW5dXythQCPEJzW-_ibXiLJyOKzw08MgQui4GKRmJ3QjHIsmf4urv$
> > +
> > +title: MediaTek display 2D sharpness processor
> > +
> > +maintainers:
> > + - Chun-Kuang Hu <chunkuang.hu@kernel.org>
> > + - Philipp Zabel <p.zabel@pengutronix.de>
> > +
> > +description: |
> > + MediaTek display 2D sharpness processor, namely TDSHP, provides
> > a
> > + operation used to adjust sharpness in display system.
> > + TDSHP device node must be siblings to the central MMSYS_CONFIG
> > node.
>
> Heh? Why would this have to be a sibling? This is really odd, because
> you cannto actually rely on that.
>
hi Krzysztof,
disp-tdshp is one of components of display pipeline. just like OVL,
color, etc. MMSYS_CONFIG controls the clock of display pipeline,
> You just added unverifiable unusual ABI with no explanation.
>
>
> > + For a description of the MMSYS_CONFIG binding, see
> > + Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.ya
> > ml
> > + for details.
> > +
> > +properties:
> > + compatible:
> > + items:
>
> Drop, just enum.
>
> > + - enum:
> > + - mediatek,mt8196-disp-tdshp
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + clocks:
> > + maxItems: 1
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > +
>
> Drop blank line
>
> > + soc {
> > + #address-cells = <2>;
> > + #size-cells = <2>;
>
> messed indentation
>
> > +
> > + disp-tdshp@321e0000 {
>
> Node names should be generic. See also an explanation and list of
> examples (not exhaustive) in DT specification:
>
https://urldefense.com/v3/__https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html*generic-names-recommendation__;Iw!!CTRNKA9wMg0ARbw!iQm_1HzyfT_nSaK-KNbXByLmW5dXythQCPEJzW-_ibXiLJyOKzw08MgQui4GKRmJ3QjHIjQOIUWC$
>
> e.g. image-processor
>
> Best regards,
> Krzysztof
>
[-- Attachment #2: Type: text/html, Size: 7009 bytes --]
next prev parent reply other threads:[~2025-09-21 4:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-08 12:53 [PATCH v3 0/6] porting pq compnent for MT8196 Jay Liu
2025-08-08 12:53 ` [PATCH v3 1/6] dt-bindings: display: mediatek: gamma: Add support " Jay Liu
2025-08-11 7:47 ` Krzysztof Kozlowski
2025-08-08 12:53 ` [PATCH v3 2/6] dt-bindings: display: mediatek: dither: " Jay Liu
2025-08-11 7:48 ` Krzysztof Kozlowski
2025-08-08 12:53 ` [PATCH v3 3/6] dt-bindings: display: mediatek: ccorr: " Jay Liu
2025-08-11 7:49 ` Krzysztof Kozlowski
2025-08-08 12:53 ` [PATCH v3 4/6] dt-bindings: display: mediatek: disp-tdshp: " Jay Liu
2025-08-11 7:52 ` Krzysztof Kozlowski
2025-09-21 4:39 ` Jay Liu (刘博) [this message]
2025-09-21 4:39 ` Jay Liu (刘博)
2025-10-07 6:21 ` Krzysztof Kozlowski
2025-08-08 12:54 ` [PATCH v3 5/6] drm/mediatek: Support multiple CCORR component Jay Liu
2025-08-08 12:54 ` [PATCH v3 6/6] drm/mediatek: Add TDSHP component support for MT8196 Jay Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ee7b16097fbc7c5cc6b8c3163447d48ead0d44f5.camel@mediatek.com \
--to=jay.liu@mediatek.com \
--cc=airlied@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthias.bgg@gmail.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.