Devicetree
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Rob Herring <robh@kernel.org>,
	sashiko-reviews@lists.linux.dev, CK Hu <ck.hu@mediatek.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v4 09/10] dt-bindings: display: mediatek: wdma: Add compatibles for more SoCs
Date: Wed, 15 Jul 2026 12:34:19 +0200	[thread overview]
Message-ID: <f6daedf2-2a3a-4abc-a726-5e401e325976@collabora.com> (raw)
In-Reply-To: <e8d3efc2-bc93-438a-a45d-6ae0b303ad02@collabora.com>

On 7/15/26 12:29, AngeloGioacchino Del Regno wrote:
> On 7/14/26 16:34, Rob Herring wrote:
>> On Mon, Jul 13, 2026 at 02:42:20PM +0000, sashiko-bot@kernel.org wrote:
>>> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to 
>>> consider:
>>> - [Medium] The compatible string `mediatek,mt6893-disp-wdma` is incorrectly 
>>> added to the standalone enum instead of the fallback items list.
>>> -- 
>>>
>>> --- Patch [9]: [PATCH v4 09/10] dt-bindings: display: mediatek: wdma: Add 
>>> compatibles for more SoCs ---
>>> commit 8001f83833ae9c684be67bc719c7aaa056f90763
>>> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>>>
>>> dt-bindings: display: mediatek: wdma: Add compatibles for more SoCs
>>>
>>> Multiple MediaTek SoCs have the Write DMA hardware in their Display
>>> Controller. This commit adds the missing compatibles for Dimensity 1200
>>> (MT6893) and for Kompanio 500/520/820/1200.
>>>
>>>> diff --git a/Documentation/devicetree/bindings/display/mediatek/ 
>>>> mediatek,wdma.yaml b/Documentation/devicetree/bindings/display/mediatek/ 
>>>> mediatek,wdma.yaml
>>>> index 97d052b0fb614..c3ed867d058d9 100644
>>>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml
>>>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml
>>>> @@ -22,11 +22,16 @@ properties:
>>>>     compatible:
>>>>       oneOf:
>>>>         - enum:
>>>> +          - mediatek,mt6893-disp-wdma
>>>
>>> [Severity: Medium]
>>> Does this incorrectly place mediatek,mt6893-disp-wdma as a standalone
>>> compatible string rather than in the items list requiring a fallback?
>>>
>>> If a device tree uses compatible = "mediatek,mt6893-disp-wdma" to satisfy
>>> this schema, the DRM driver will not probe the device since it only matches
>>> mediatek,mt8173-disp-wdma. If the developer instead provides the fallback
>>> compatible = "mediatek,mt6893-disp-wdma", "mediatek,mt8173-disp-wdma" so the
>>> driver can probe it, won't the device tree fail schema validation here?
>>
>> Sashiko fails to look at patch 10. However, the commit message gives no
>> clue whether mt6893 is or is not compatible with something else. If not
>> compatible, explain why it isn't. What's different?
>>
> Eh, MT6893 supports 64-bits image data destination address (has two registers,
> lower 32 bits and upper 32 bits), while MT8173 and others supports 32-bits only.
> 
> Should I resend with an improved commit message, or would it be fine to change
> that while applying?
> 
> Multiple MediaTek SoCs have the Write DMA hardware in their Display
> Controller. This commit adds the missing compatibles for Dimensity 1200
> (MT6893), supporting image destination address of up to 64 bits, and for
> Kompanio 500/520/820/1200, fully compatible with MT8173, supporting only
> 32 bits.
> 
> Cheers,
> Angelo

Nevermind. I missed a compatible and I anyway have to send a v5.

Cheers,
Angelo

  reply	other threads:[~2026-07-15 10:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-13 14:27 [PATCH v4 00/10] drm/mediatek: Add DSC, WDMA, MT8189/96 DSI support AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 01/10] dt-bindings: display: mediatek: dsc: Add MT8196 compatible AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 02/10] drm/mediatek: Implement Display Stream Compression support AngeloGioacchino Del Regno
2026-07-13 14:41   ` sashiko-bot
2026-07-14  8:09     ` AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 03/10] dt-bindings: display: mediatek: dsi: Document MT8189 and MT8196 AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 04/10] drm/mediatek: mtk_dsi: Enable interrupt at component bind time AngeloGioacchino Del Regno
2026-07-13 14:43   ` sashiko-bot
2026-07-14  8:17     ` AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 05/10] drm/mediatek: mtk_dsi: Transfer register offsets to per-SoC const AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 06/10] drm/mediatek: mtk_dsi: Add support for MT8189 AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 07/10] drm/mediatek: mtk_dsi: Add support for MT8196 AngeloGioacchino Del Regno
2026-07-13 14:39   ` sashiko-bot
2026-07-13 14:27 ` [PATCH v4 08/10] drm/mediatek: mtk_dsi: Enable PM Runtime on probe AngeloGioacchino Del Regno
2026-07-13 14:43   ` sashiko-bot
2026-07-14  8:13     ` AngeloGioacchino Del Regno
2026-07-13 14:27 ` [PATCH v4 09/10] dt-bindings: display: mediatek: wdma: Add compatibles for more SoCs AngeloGioacchino Del Regno
2026-07-13 14:42   ` sashiko-bot
2026-07-14 14:34     ` Rob Herring
2026-07-15 10:29       ` AngeloGioacchino Del Regno
2026-07-15 10:34         ` AngeloGioacchino Del Regno [this message]
2026-07-13 14:27 ` [PATCH v4 10/10] drm/mediatek: Add Write DMA (WDMA) Engine for Writeback support AngeloGioacchino Del Regno
2026-07-13 14:47   ` sashiko-bot

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=f6daedf2-2a3a-4abc-a726-5e401e325976@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=ck.hu@mediatek.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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