mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
8299d1f057
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted patches, wireless patches and defconfig patches. bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 4B v1.1 4G bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
107 lines
2.7 KiB
Diff
107 lines
2.7 KiB
Diff
From 9b6a40e7b71b4f133e1151313b38ba187764a9e9 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Tue, 17 Mar 2020 10:53:16 +0000
|
|
Subject: [PATCH] media: dt-bindings: media: Add binding for the
|
|
Raspberry PI HEVC decoder
|
|
|
|
Adds a binding for the HEVC decoder found on the BCM2711 / Raspberry Pi 4.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
.../bindings/media/rpivid_hevc.yaml | 72 +++++++++++++++++++
|
|
MAINTAINERS | 7 ++
|
|
2 files changed, 79 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/media/rpivid_hevc.yaml
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/media/rpivid_hevc.yaml
|
|
@@ -0,0 +1,72 @@
|
|
+# SPDX-License-Identifier: GPL-2.0-only
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/media/rpivid_hevc.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: Raspberry Pi HEVC Decoder
|
|
+
|
|
+maintainers:
|
|
+ - Raspberry Pi <kernel-list@raspberrypi.com>
|
|
+
|
|
+description: |-
|
|
+ The Camera Adaptation Layer (CAL) is a key component for image capture
|
|
+ applications. The capture module provides the system interface and the
|
|
+ processing capability to connect CSI2 image-sensor modules to the
|
|
+ DRA72x device.
|
|
+
|
|
+properties:
|
|
+ compatible:
|
|
+ enum:
|
|
+ - raspberrypi,rpivid-vid-decoder
|
|
+
|
|
+ reg:
|
|
+ minItems: 2
|
|
+ items:
|
|
+ - description: The HEVC main register region
|
|
+ - description: The Interrupt controller register region
|
|
+
|
|
+ reg-names:
|
|
+ minItems: 2
|
|
+ items:
|
|
+ - const: hevc
|
|
+ - const: intc
|
|
+
|
|
+ interrupts:
|
|
+ maxItems: 1
|
|
+
|
|
+ clocks:
|
|
+ items:
|
|
+ - description: The HEVC block clock
|
|
+
|
|
+ clock-names:
|
|
+ items:
|
|
+ - const: hevc
|
|
+
|
|
+required:
|
|
+ - compatible
|
|
+ - reg
|
|
+ - reg-names
|
|
+ - interrupts
|
|
+ - clocks
|
|
+
|
|
+additionalProperties: false
|
|
+
|
|
+examples:
|
|
+ - |
|
|
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
+
|
|
+ video-codec@7eb10000 {
|
|
+ compatible = "raspberrypi,rpivid-vid-decoder";
|
|
+ reg = <0x0 0x7eb10000 0x1000>, /* INTC */
|
|
+ <0x0 0x7eb00000 0x10000>; /* HEVC */
|
|
+ reg-names = "intc",
|
|
+ "hevc";
|
|
+
|
|
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
|
|
+
|
|
+ clocks = <&clk 0>;
|
|
+ clock-names = "hevc";
|
|
+ };
|
|
+
|
|
+...
|
|
--- a/MAINTAINERS
|
|
+++ b/MAINTAINERS
|
|
@@ -3417,6 +3417,13 @@ N: bcm113*
|
|
N: bcm216*
|
|
N: kona
|
|
|
|
+BROADCOM BCM2711 HEVC DECODER
|
|
+M: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
|
|
+L: linux-media@vger.kernel.org
|
|
+S: Maintained
|
|
+F: Documentation/devicetree/bindings/media/rpivid_hevc.jaml
|
|
+F: drivers/staging/media/rpivid
|
|
+
|
|
BROADCOM BCM2835 CAMERA DRIVER
|
|
M: Dave Stevenson <dave.stevenson@raspberrypi.org>
|
|
L: linux-media@vger.kernel.org
|