[PATCH v5 4/6] dt-bindings: media: Add the Raspberry Pi HEVC decoder
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: 2026-02-27 17:20:47
Also in:
linux-devicetree, linux-media, lkml
Subsystem:
media input infrastructure (v4l/dvb), open firmware and flattened device tree bindings, the rest · Maintainers:
Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds
Adds a binding for the HEVC decoder IP owned by Raspberry Pi. Instantiations of the decoder IP can currently be found in the Broadcom BCM2711 and BCM2712 SoCs. Reviewed-by: Krzysztof Kozlowski <redacted> Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> --- .../bindings/media/raspberrypi,hevc-dec.yaml | 72 ++++++++++++++++++++++ MAINTAINERS | 9 +++ 2 files changed, 81 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/raspberrypi,hevc-dec.yaml b/Documentation/devicetree/bindings/media/raspberrypi,hevc-dec.yaml
new file mode 100644
index 000000000000..fe3361bddd1f
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/raspberrypi,hevc-dec.yaml@@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/raspberrypi,hevc-dec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi HEVC Decoder + +maintainers: + - John Cox <john.cox@raspberrypi.com> + - Dom Cobley <dom@raspberrypi.com> + - Dave Stevenson <dave.stevenson@raspberrypi.com> + +description: + The Raspberry Pi HEVC decoder is a hardware video decode accelerator IP block + developed and owned by Raspberry Pi. + + Currently it can be found in the Broadcom BCM2711 and BCM2712 processors used + on Raspberry Pi 4 and 5 boards respectively. + +properties: + compatible: + oneOf: + - const: brcm,bcm2711-hevc-dec + - items: + - enum: + - brcm,bcm2712-hevc-dec + - const: brcm,bcm2711-hevc-dec + + reg: + items: + - description: The HEVC main register region + - description: The Interrupt control register region + + reg-names: + items: + - const: hevc + - const: intc + + interrupts: + maxItems: 1 + + clocks: + items: + - description: The HEVC block clock + +required: + - compatible + - reg + - reg-names + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + video-codec@7eb10000 { + compatible = "brcm,bcm2711-hevc-dec"; + reg = <0x7eb00000 0x10000>, /* HEVC */ + <0x7eb10000 0x1000>; /* INTC */ + reg-names = "hevc", + "intc"; + + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&clk 0>; + }; + +...
diff --git a/MAINTAINERS b/MAINTAINERS
index 55af015174a5..5d9a495a2b34 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS@@ -22044,6 +22044,15 @@ L: linux-edac@vger.kernel.org S: Maintained F: drivers/ras/amd/fmpm.c +RASPBERRY PI HEVC DECODER +M: John Cox <john.cox@raspberrypi.com> +M: Dom Cobley <dom@raspberrypi.com> +M: Dave Stevenson <dave.stevenson@raspberrypi.com> +M: Raspberry Pi Internal Kernel List <kernel-list@raspberrypi.com> +L: linux-media@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/media/raspberrypi,hevc-dec.yaml + RASPBERRY PI PISP BACK END M: Jacopo Mondi <jacopo.mondi@ideasonboard.com> R: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
--
2.34.1