From: "Sunny Shen (沈姍姍)" <Sunny.Shen@mediatek.com>
To: "conor@kernel.org" <conor@kernel.org>
Cc: "robh@kernel.org" <robh@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"chunkuang.hu@kernel.org" <chunkuang.hu@kernel.org>,
"Jason-JH Lin (林睿祥)" <Jason-JH.Lin@mediatek.com>,
"Singo Chang (張興國)" <Singo.Chang@mediatek.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
Project_Global_Chrome_Upstream_Group
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
"Paul-pl Chen (陳柏霖)" <Paul-pl.Chen@mediatek.com>,
"Nancy Lin (林欣螢)" <Nancy.Lin@mediatek.com>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"treapking@chromium.org" <treapking@chromium.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>
Subject: Re: [PATCH 1/5] dt-bindings: display: mediatek: mdp-rsz: Add rules for MT8196
Date: Sun, 23 Feb 2025 17:49:45 +0000 [thread overview]
Message-ID: <029f9fd7ab898769a7ae627b160e1dce446ccc9e.camel@mediatek.com> (raw)
In-Reply-To: <20250211-feed-shed-4b32f146cc54@spud>
On Tue, 2025-02-11 at 17:54 +0000, Conor Dooley wrote:
> On Tue, Feb 11, 2025 at 10:52:50AM +0800, Sunny Shen wrote:
> > Add MDP-RSZ hardware description for MediaTek MT8196 SoC
> >
> > Signed-off-by: Sunny Shen <sunny.shen@mediatek.com>
> > ---
> > .../display/mediatek/mediatek,mdp-rsz.yaml | 46
> > +++++++++++++++++++
> > 1 file changed, 46 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-
> > rsz.yaml
> >
> > diff --git
> > a/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-
> > rsz.yaml
> > b/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-
> > rsz.yaml
> > new file mode 100644
> > index 000000000000..6642b9aa651a
> > --- /dev/null
> > +++
> > b/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-
> > rsz.yaml
> > @@ -0,0 +1,46 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id:
> > http://devicetree.org/schemas/display/mediatek/mediatek,mdp-rsz.yaml#
>
> Filename matching compatible please
Got it
will modify the compatible to "mediatek,mt8196-mdp-rsz"
>
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: MediaTek display multimedia data path resizer
> > +
> > +maintainers:
> > + - Chun-Kuang Hu <chunkuang.hu@kernel.org>
> > + - Philipp Zabel <p.zabel@pengutronix.de>
> > +
> > +description: |
> > + MediaTek display multimedia data path resizer, namely MDP-RSZ,
> > + can do scaling up/down to the picture.
> > +
> > +properties:
> > + compatible:
> > + const: mediatek,mt8196-disp-mdp-rsz
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + clocks:
> > + items:
> > + - description: MDP-RSZ Clock
>
> This can just be "maxItems: 1"
OK, will modify this
>
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + soc {
> > + #address-cells = <2>;
> > + #size-cells = <2>;
> > +
> > + disp_mdp_rsz0: disp-mdp-rsz0@321a0000 {
>
> And "disp-mdp-rsz0" isn't anything close to a generic node name.
Will modify "disp-mdp-rsz0@321a0000" to "mdp-rsz@321a0000"
>
> > + compatible = "mediatek,mt8196-disp-mdp-rsz";
> > + reg = <0 0x321a0000 0 0x1000>;
> > + clocks = <&dispsys_config_clk 101>;
>
> Surprised there are so few properties, no ports link or anything like
> that?
Because the mt8196's path mux design, we use mdp-rsz as a bypass mode
hw.
So only set the basic properties.
>
> > + };
> > + };
> > --
> > 2.34.1
> >
next prev parent reply other threads:[~2025-02-23 17:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 2:52 [PATCH 0/5] Add components to support PQ in display path for MT8196 Sunny Shen
2025-02-11 2:52 ` [PATCH 1/5] dt-bindings: display: mediatek: mdp-rsz: Add rules " Sunny Shen
2025-02-11 17:54 ` Conor Dooley
2025-02-23 17:49 ` Sunny Shen (沈姍姍) [this message]
2025-02-24 19:01 ` Conor Dooley
2025-03-18 3:14 ` Sunny Shen (沈姍姍)
2025-03-19 20:00 ` Conor Dooley
2025-03-21 5:45 ` Sunny Shen (沈姍姍)
2025-02-17 6:01 ` CK Hu (胡俊光)
2025-02-23 17:50 ` Sunny Shen (沈姍姍)
2025-02-11 2:52 ` [PATCH 2/5] dt-bindings: display: mediatek: postmask: Modify " Sunny Shen
2025-02-11 17:44 ` Conor Dooley
2025-02-23 17:51 ` Sunny Shen (沈姍姍)
2025-02-11 2:52 ` [PATCH 3/5] soc: mediatek: Add components to support PQ in display path " Sunny Shen
2025-02-11 2:52 ` [PATCH 4/5] drm/mediatek: Add MDP-RSZ component support " Sunny Shen
2025-02-17 6:04 ` CK Hu (胡俊光)
2025-02-23 17:52 ` Sunny Shen (沈姍姍)
2025-02-24 2:07 ` CK Hu (胡俊光)
2025-02-11 2:52 ` [PATCH 5/5] drm/mediatek: Change main display path to support PQ " Sunny Shen
2025-02-17 6:06 ` CK Hu (胡俊光)
2025-02-17 14:25 ` AngeloGioacchino Del Regno
2025-03-27 5:44 ` Sunny Shen (沈姍姍)
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=029f9fd7ab898769a7ae627b160e1dce446ccc9e.camel@mediatek.com \
--to=sunny.shen@mediatek.com \
--cc=Jason-JH.Lin@mediatek.com \
--cc=Nancy.Lin@mediatek.com \
--cc=Paul-pl.Chen@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=Singo.Chang@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=treapking@chromium.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox