From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA9E2C982DA for ; Fri, 18 Sep 2026 13:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0zZBmJTtrGH9GsEVB+t6vr9AivxJspUPLShA3hQ74j8=; b=dfl/rZLwFPnIxS e4jp0ENJr15FLZO/83ndDDTQd5vynfIZo/9AMIN30bcIWs+YiB5y+rV6Uep++9zhkxb1Ul9ZEyeHK tklg81sXeEsfiWbDxKHU4G5OWtMQ1utZyl0m5VBn2yaM+uIbnijYQB3JYAOTZ5iUmsYkdw+RVMXz9 Pn6IUTYw6s1GKiRXtIsdka9FQborLGM+XjXI2BVKW+++9A02wZ3J9aeGXqA1xdERW34U8ZiZvUDz6 +Nq7hq6CBfCnPXr3IhPvP9YImZreFgeTwvyvjn42HVwiJh6AnEUz2ifV8tXuaq2zJXumbKAxJPt34 tFS68/iEoSuwHkJ3tICg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x7YRa-0000000ESGI-2arl; Fri, 18 Sep 2026 13:15:58 +0000 Received: from mr-2006b-snip6-11.eps.apple.com ([2a01:b747:3000:204::15] helo=outbound.mr.icloud.com) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x7YRV-0000000ESBY-29rb for linux-rockchip@lists.infradead.org; Fri, 18 Sep 2026 13:15:54 +0000 Received: from outbound.mr.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-west-2a-10-percent-1 (Postfix) with ESMTPS id 87C401800870; Fri, 18 Sep 2026 13:15:48 +0000 (UTC) X-ICL-RepId: 01a0b4a8-ad48-7976-92c1-2cd601067d2b X-ICL-Out-Info: HUtFAUMEWwJACUgBTUQeDx5WFlZNRAJCTQFMHV8EUxxCDFYAXRcOVk1KF1UYREVRMFAbXwJCDxwTVhUTC1NWWxNVF0YJGQhdHRkKUFAGXRIYXBRcUFgeRhJWDV0JGQZAXlAbXwJCDxwTVhUTHUMZDysISgRDB0UCXgslEwlTVlsTVRdGCRkIXR0ZFVoJClcAQAtOA1QGUx8RTxweGwZGAF0NQQpaAFIBQV9MBlh3AlEcVg1XQ1QEX04ZDEodUlZbE1UXRgk= Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1789737353; x=1792329353; bh=6/XQOq37LtwyxJqEa+VJk2M/nXUic2niECbJ04vPEb8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:x-icloud-hme; b=smzzl1SyxTSGFgsZ2zESyuwnhfR4TWW2TmGvXn5V3zWwpy5WR+RNoXrufR9dOnmtKoB3xOY/gZIDBZCCOQywTpQLAZUvSq+LDN/Quo9T4nKSToLUw4XRr8awtJoiM7I4MJjd7JOCvuhXKdxWWiYN8XJ6w/Rf+ag13FiQC8jj57pbPthb9Z31RNmG9IibbBPc0a6ag45rX6p8rbff2fbuItF8Yki3pOXEGuhOIQzeKtlpgMeZEFg1IkliHnUAoqhLYR44C7kD1MSdqcY2gG8y+WPnne5iq6fqz8830lJLOQ1XVgH5wCns+c5Cc994ux773VmuZ3CnNailyYyMy8JtuQ== Received: from [127.0.0.1] (unknown [17.156.200.36]) by p00-icloudmta-asmtp-us-west-2a-10-percent-1 (Postfix) with ESMTPSA id AB1EB1803F1D; Fri, 18 Sep 2026 13:15:44 +0000 (UTC) From: Sofus Forstreuter Date: Fri, 18 Sep 2026 15:15:07 +0200 Subject: [PATCH 02/14] dt-bindings: media: add apple,avd MIME-Version: 1.0 Message-Id: <20260918-avd-v1-2-49977931f455@icloud.com> References: <20260918-avd-v1-0-49977931f455@icloud.com> In-Reply-To: <20260918-avd-v1-0-49977931f455@icloud.com> To: Mauro Carvalho Chehab , Sven Peter , Janne Grunau , Neal Gompa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Heiko Stuebner Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Sofus Forstreuter X-Mailer: b4 0.15.2 X-Proofpoint-ORIG-GUID: W3r0z4ne5IPIn0SGTBMu_VtDNz50gufT X-Authority-Info-Out: v=2.4 cv=VaD6/Vp9 c=1 sm=1 tr=0 ts=6aad3987 cx=c_apl:c_pps:t_out a=9mRn2PO/+PIrVdEbaIuMPg==:117 a=9mRn2PO/+PIrVdEbaIuMPg==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=x7bEGLp0ZPQA:10 a=kLM9Tyy99jAA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=v3ZZPjhaAAAA:8 a=8V0BG8AgQ9fJwKtalr0A:9 a=QEXdDO2ut3YA:10 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: W3r0z4ne5IPIn0SGTBMu_VtDNz50gufT X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE4MDE4NyBTYWx0ZWRfX/cKuMXzpoaZW /rPfeVZjakGuLMiOzOOidUpxHBpChRXgn3xRkTjf2+810il822wVXNMjpLXHts1Vc2Rpe6hV19O vvNOr0qh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VEkVxiE7Av7m3hObCDCFIyeCYxoK15lI35vByR+kyUzq+RG6tQEKdFTlFxuCkNcgAR5M00PKnt5eI7OE8bu4orQQSg2GoY0kRzwFCVvBOhSeu0F+deIJ+XuHkeXaw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260918_061553_595768_CB44DD8E X-CRM114-Status: GOOD ( 13.18 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Document the Apple Video Decoder. A hardware video decoder present on Apple hardware. Signed-off-by: Sofus Forstreuter --- .../devicetree/bindings/media/apple,avd.yaml | 112 +++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 113 insertions(+) diff --git a/Documentation/devicetree/bindings/media/apple,avd.yaml b/Documentation/devicetree/bindings/media/apple,avd.yaml new file mode 100644 index 000000000000..34a4129d6a46 --- /dev/null +++ b/Documentation/devicetree/bindings/media/apple,avd.yaml @@ -0,0 +1,112 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/apple,avd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Video Decoder (AVD) + +description: | + AVD is a stateless video decode IP block present on Apple devices. + Notably it includes an ARM Cortex-M3 and associated DMA controller. + AVD is capable of decoding H264, H265, VP9 and AV1 on never SoCs. + + The IP does not change much, with changes being mostly the CM3 having more + memory and interrupts. + +maintainers: + - Sofus Forstreuter + +properties: + compatible: + oneOf: + - items: + - enum: + - apple,t6030-avd + - apple,t6031-avd + - const: apple,t8122-avd + - enum: + - apple,t8103-avd + - apple,t8112-avd + - apple,t8122-avd + - apple,t6000-avd + - apple,t6020-avd + + reg: + minItems: 4 + items: + - description: Cortex-M3 code (unsigned) + - description: Cortex-M3 sram + - description: Mailbox + - description: Video decode control + - description: DMA control + + reg-names: + items: + - const: code + - const: sram + - const: mbox + - const: ctrl + + iommus: + minItems: 1 + maxItems: 3 + description: | + The block contains 3 iommus, one for decode operations, one the DMA + controller can use and the last for decoding drm-protected content. + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + minItems: 2 + items: + - description: mailbox 0 + - description: mailbox 1 + - description: mailbox 2 + - description: mailbox 3 + - description: flag 0 + - description: flag 1 + - description: DMA status + description: | + Notably there are no decode related interrupts. All decode related + interrupts are sent to the CM3. + +required: + - compatible + - reg + - interrupts + - reg-names + - iommus + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + avd: avd@289080000 { + compatible = "apple,t8122-avd"; + reg = <0x2 0x89080000 0x0 0x12000>, + <0x2 0x89092000 0x0 0x12000>, + <0x2 0x890a4000 0x0 0x4000>, + <0x2 0x89100000 0x0 0x10000>; + reg-names = "code", "sram", "mbox", "ctrl"; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_avd_sys>; + resets = <&ps_avd_sys>; + iommus = <&avd_dart 0>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 4cc4a2dc6d30..3c7c5fe3f0bc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2643,6 +2643,7 @@ F: Documentation/devicetree/bindings/iommu/apple,dart.yaml F: Documentation/devicetree/bindings/iommu/apple,sart.yaml F: Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml F: Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml +F: Documentation/devicetree/bindings/media/apple,avd.yaml F: Documentation/devicetree/bindings/mfd/apple,smc.yaml F: Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml F: Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml -- 2.55.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip