1 From bdca460ca8b307202f3942df5c8c45e37a6e20df Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 17 Mar 2020 10:53:16 +0000
4 Subject: [PATCH] media: dt-bindings: media: Add binding for the
5 Raspberry PI HEVC decoder
7 Adds a binding for the HEVC decoder found on the BCM2711 / Raspberry Pi 4.
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 .../bindings/media/rpivid_hevc.yaml | 72 +++++++++++++++++++
13 2 files changed, 79 insertions(+)
14 create mode 100644 Documentation/devicetree/bindings/media/rpivid_hevc.yaml
17 +++ b/Documentation/devicetree/bindings/media/rpivid_hevc.yaml
19 +# SPDX-License-Identifier: GPL-2.0-only
22 +$id: http://devicetree.org/schemas/media/rpivid_hevc.yaml#
23 +$schema: http://devicetree.org/meta-schemas/core.yaml#
25 +title: Raspberry Pi HEVC Decoder
28 + - Raspberry Pi <kernel-list@raspberrypi.com>
31 + The Camera Adaptation Layer (CAL) is a key component for image capture
32 + applications. The capture module provides the system interface and the
33 + processing capability to connect CSI2 image-sensor modules to the
39 + - raspberrypi,rpivid-vid-decoder
44 + - description: The HEVC main register region
45 + - description: The Interrupt controller register region
58 + - description: The HEVC block clock
71 +additionalProperties: false
75 + #include <dt-bindings/interrupt-controller/arm-gic.h>
77 + video-codec@7eb10000 {
78 + compatible = "raspberrypi,rpivid-vid-decoder";
79 + reg = <0x0 0x7eb10000 0x1000>, /* INTC */
80 + <0x0 0x7eb00000 0x10000>; /* HEVC */
84 + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
87 + clock-names = "hevc";
93 @@ -4030,6 +4030,13 @@ N: bcm113*
97 +BROADCOM BCM2711 HEVC DECODER
98 +M: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
99 +L: linux-media@vger.kernel.org
101 +F: Documentation/devicetree/bindings/media/rpivid_hevc.jaml
102 +F: drivers/staging/media/rpivid
104 BROADCOM BCM2835 CAMERA DRIVER
105 M: Dave Stevenson <dave.stevenson@raspberrypi.org>
106 L: linux-media@vger.kernel.org