From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jianhua Lin <jianhua.lin@mediatek.com>,
mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, matthias.bgg@gmail.com,
angelogioacchino.delregno@collabora.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-media@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Project_Global_Chrome_Upstream_Group@mediatek.com,
sirius.wang@mediatek.com, vince-wl.liu@mediatek.com,
jh.hsu@mediatek.com
Subject: Re: [PATCH 3/4] dt-bindings: media: mediatek-jpeg-encoder: add MT8189 compatible string
Date: Fri, 12 Dec 2025 04:18:30 +0100 [thread overview]
Message-ID: <9493a11e-7c4e-4c28-91c3-a896d499e151@kernel.org> (raw)
In-Reply-To: <20251212015218.4689-4-jianhua.lin@mediatek.com>
On 12/12/2025 02:52, Jianhua Lin wrote:
> Compared to the previous generation IC, the MT8189 uses 34-bit
> iova address-space. Therefore, add "mediatek,mt8189-jpgenc"
> compatible to the binding document.
>
> Signed-off-by: Jianhua Lin <jianhua.lin@mediatek.com>
> ---
> .../bindings/media/mediatek-jpeg-encoder.yaml | 27 ++++++++++++++-----
> 1 file changed, 20 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
> index 5b15f8977f67..3044c7fc5c18 100644
> --- a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
> +++ b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
> @@ -14,13 +14,22 @@ description: |-
>
> properties:
> compatible:
> - items:
> - - enum:
> - - mediatek,mt2701-jpgenc
> - - mediatek,mt8183-jpgenc
> - - mediatek,mt8186-jpgenc
> - - mediatek,mt8188-jpgenc
> - - const: mediatek,mtk-jpgenc
> + oneOf:
> + - items:
> + - enum:
> + - mediatek,mtk-jpgenc
NAK, makes absolutely no sense. It is contradictory to the main DT
rules, expressed in writing bindings or on numerous presentations.
You cannot have generic front compatible because it expressed nothing.
Plus this is really, really not properly explained in the commit msg.
Did you receive proper internal review, before posting? Considering
absolutely poor quality patches from Mediatek, I find it as a
requirement now.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-12-12 3:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-12 1:52 [PATCH 0/4] Mediatek MT8189 JPEG support Jianhua Lin
2025-12-12 1:52 ` [PATCH 1/4] arm64: dts: mt8188: update JPEG encoder/decoder compatible Jianhua Lin
2025-12-12 1:52 ` [PATCH 2/4] dt-bindings: media: mediatek-jpeg-decoder: add MT8189 compatible string Jianhua Lin
2025-12-12 3:16 ` Krzysztof Kozlowski
2025-12-12 1:52 ` [PATCH 3/4] dt-bindings: media: mediatek-jpeg-encoder: " Jianhua Lin
2025-12-12 3:18 ` Krzysztof Kozlowski [this message]
2025-12-12 1:52 ` [PATCH 4/4] media: mediatek: jpeg: add compatible for MT8189 SoC Jianhua Lin
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=9493a11e-7c4e-4c28-91c3-a896d499e151@kernel.org \
--to=krzk@kernel.org \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jh.hsu@mediatek.com \
--cc=jianhua.lin@mediatek.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=sirius.wang@mediatek.com \
--cc=vince-wl.liu@mediatek.com \
/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