]> git.ipfire.org Git - thirdparty/openwrt.git/blob
e6f15fa47151e8c8d5483dde4c556e16267af28a
[thirdparty/openwrt.git] /
1 From c38a898c6877c6722ebfecea99f42e5a84c3e453 Mon Sep 17 00:00:00 2001
2 From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
3 Date: Thu, 25 Jan 2024 16:42:33 +0100
4 Subject: [PATCH 1152/1215] media: dt-bindings: Add bindings for Raspberry Pi
5 PiSP Back End
6
7 Add bindings for the Raspberry Pi PiSP Back End memory-to-memory image
8 signal processor.
9
10 Datasheet:
11 https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf
12
13 Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
14 Reviewed-by: Rob Herring <robh@kernel.org>
15 Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
16 ---
17 .../bindings/media/raspberrypi,pispbe.yaml | 63 +++++++++++++++++++
18 MAINTAINERS | 1 +
19 2 files changed, 64 insertions(+)
20 create mode 100644 Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml
21
22 --- /dev/null
23 +++ b/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml
24 @@ -0,0 +1,63 @@
25 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26 +%YAML 1.2
27 +---
28 +$id: http://devicetree.org/schemas/media/raspberrypi,pispbe.yaml#
29 +$schema: http://devicetree.org/meta-schemas/core.yaml#
30 +
31 +title: Raspberry Pi PiSP Image Signal Processor (ISP) Back End
32 +
33 +maintainers:
34 + - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
35 + - Jacopo Mondi <jacopo.mondi@ideasonboard.com>
36 +
37 +description: |
38 + The Raspberry Pi PiSP Image Signal Processor (ISP) Back End is an image
39 + processor that fetches images in Bayer or Grayscale format from DRAM memory
40 + in tiles and produces images consumable by applications.
41 +
42 + The full ISP documentation is available at
43 + https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf
44 +
45 +properties:
46 + compatible:
47 + items:
48 + - enum:
49 + - brcm,bcm2712-pispbe
50 + - const: raspberrypi,pispbe
51 +
52 + reg:
53 + maxItems: 1
54 +
55 + interrupts:
56 + maxItems: 1
57 +
58 + clocks:
59 + maxItems: 1
60 +
61 + iommus:
62 + maxItems: 1
63 +
64 +required:
65 + - compatible
66 + - reg
67 + - interrupts
68 + - clocks
69 +
70 +additionalProperties: false
71 +
72 +examples:
73 + - |
74 + #include <dt-bindings/interrupt-controller/arm-gic.h>
75 +
76 + soc {
77 + #address-cells = <2>;
78 + #size-cells = <2>;
79 +
80 + isp@880000 {
81 + compatible = "brcm,bcm2712-pispbe", "raspberrypi,pispbe";
82 + reg = <0x10 0x00880000 0x0 0x4000>;
83 + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
84 + clocks = <&firmware_clocks 7>;
85 + iommus = <&iommu2>;
86 + };
87 + };
88 --- a/MAINTAINERS
89 +++ b/MAINTAINERS
90 @@ -18038,6 +18038,7 @@ M: Jacopo Mondi <jacopo.mondi@ideasonboa
91 L: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
92 L: linux-media@vger.kernel.org
93 S: Maintained
94 +F: Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml
95 F: include/uapi/linux/media/raspberrypi/
96
97 RC-CORE / LIRC FRAMEWORK