Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Sofus Forstreuter" <sofus.c@icloud.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH v4 15/17] arm64: dts: apple: t602x: add avd nodes
Date: Sat, 28 Nov 2026 22:20:39 +0000	[thread overview]
Message-ID: <sashiko-outbox-239087@kernel.org> (raw)
In-Reply-To: <20261128-avd-v4-15-35ad7d52c842@icloud.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: apple: undocumented dma-coherent property in t602x
  avd node
--

commit 7082a27a7eaf587260f0d96194b647ed6fbfb7ed
Author: Sofus Forstreuter <sofus.c@icloud.com>

arm64: dts: apple: t602x: add avd nodes

This commit adds the Apple Video Decoder (AVD) and its associated DART
IOMMU device tree nodes for Apple T602x SoCs.

> diff --git a/arch/arm64/boot/dts/apple/t602x-dieX.dtsi b/arch/arm64/boot/dts/apple/t602x-dieX.dtsi
> index 4044c4f21795f..3cccf103375ca 100644
> --- a/arch/arm64/boot/dts/apple/t602x-dieX.dtsi
> +++ b/arch/arm64/boot/dts/apple/t602x-dieX.dtsi
> @@ -24,6 +24,39 @@ DIE_NODE(cpufreq_p1): cpufreq@212e20000 {
>  		#performance-domain-cells = <0>;
>  	};
>  
> +	DIE_NODE(avd_dart): iommu@287010000 {
> +		compatible = "apple,t6020-dart", "apple,t8110-dart";
> +		reg = <0x2 0x87010000 0x0 0x4000>;
> +		interrupt-parent = <&aic>;
> +		interrupts = <AIC_IRQ DIE_NO 1095 IRQ_TYPE_LEVEL_HIGH>;
> +		#iommu-cells = <1>;
> +		power-domains = <&DIE_NODE(ps_avd_sys)>;
> +	};
> +
> +	video-codec@287070000 {
> +		compatible = "apple,t6020-avd";
> +		reg = <0x2 0x87070000 0x0 0x4000>,
> +		      <0x2 0x87080000 0x0 0x10000>,
> +		      <0x2 0x87090000 0x0 0x10000>,
> +		      <0x2 0x870a0000 0x0 0x4000>,
> +		      <0x2 0x87100000 0x0 0x10000>;
> +		reg-names = "piodma", "code", "sram", "mbox", "ctrl";
> +		interrupt-parent = <&aic>;
> +		interrupts = <AIC_IRQ DIE_NO 1088 IRQ_TYPE_LEVEL_HIGH>,
> +			     <AIC_IRQ DIE_NO 1089 IRQ_TYPE_LEVEL_HIGH>,
> +			     <AIC_IRQ DIE_NO 1090 IRQ_TYPE_LEVEL_HIGH>,
> +			     <AIC_IRQ DIE_NO 1091 IRQ_TYPE_LEVEL_HIGH>,
> +			     <AIC_IRQ DIE_NO 1092 IRQ_TYPE_LEVEL_HIGH>,
> +			     <AIC_IRQ DIE_NO 1093 IRQ_TYPE_LEVEL_HIGH>,
> +			     <AIC_IRQ DIE_NO 1094 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupt-names = "mbox0", "mbox1", "mbox2", "mbox3",
> +				  "flag0", "flag1", "piodma";
> +		iommus = <&DIE_NODE(avd_dart) 0>, <&DIE_NODE(avd_dart) 1>;
> +		power-domains = <&DIE_NODE(ps_avd_sys)>;
> +		resets = <&DIE_NODE(ps_avd_sys)>;
> +		dma-coherent;
> +	};

[Severity: Low]
Should dma-coherent be dropped from video-codec@287070000 (or added to the
binding schema)?  Documentation/devicetree/bindings/media/apple,avd.yaml sets
additionalProperties: false without declaring dma-coherent, so dtbs_check
fails on the T602x device trees.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128-avd-v4-0-35ad7d52c842@icloud.com?part=15

  reply	other threads:[~2026-11-28 22:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 22:02 [PATCH v4 00/17] media: apple: add avd driver Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 01/17] dt-bindings: media: add apple,avd Sofus Forstreuter
2026-11-28 22:08   ` sashiko-bot
2026-11-28 22:02 ` [PATCH v4 02/17] media: v4l2: Add P210 pixel format Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 03/17] media: v4l2: Add Apple interchange pixel formats Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 04/17] media: v4l2-ctrls: validate AV1 context_update_tile_id Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 05/17] media: v4l2-ctrls: validate vp9 tile_rows_log2 Sofus Forstreuter
2026-11-28 22:08   ` sashiko-bot
2026-11-28 22:02 ` [PATCH v4 06/17] media: apple: add avd driver Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 07/17] media: apple: avd: add h264 support Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 08/17] media: apple: avd: add vp9 support Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 09/17] media: apple: avd: add hevc support Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 10/17] media: apple: avd: add av1 support Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 11/17] arm64: dts: apple: t8103: add avd nodes Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 12/17] arm64: dts: apple: t8112: " Sofus Forstreuter
2026-11-28 22:21   ` sashiko-bot
2026-11-28 22:02 ` [PATCH v4 13/17] arm64: dts: apple: t8122: " Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 14/17] arm64: dts: apple: t600x: " Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 15/17] arm64: dts: apple: t602x: " Sofus Forstreuter
2026-11-28 22:20   ` sashiko-bot [this message]
2026-11-28 22:02 ` [PATCH v4 16/17] arm64: dts: apple: t6030: " Sofus Forstreuter
2026-11-28 22:02 ` [PATCH v4 17/17] arm64: dts: apple: t6031: " Sofus Forstreuter

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=sashiko-outbox-239087@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=media-ci@linuxtv.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=sofus.c@icloud.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