Commit cbc775e0 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Hans Verkuil
Browse files

media: dt-bindings: Add bindings for Raspberry Pi PiSP Back End

Add bindings for the Raspberry Pi PiSP Back End memory-to-memory image
signal processor.

Datasheet:
https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf



Signed-off-by: default avatarJacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarNaushir Patuck <naush@raspberrypi.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent d260c122
Loading
Loading
Loading
Loading
+63 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/raspberrypi,pispbe.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Raspberry Pi PiSP Image Signal Processor (ISP) Back End

maintainers:
  - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
  - Jacopo Mondi <jacopo.mondi@ideasonboard.com>

description: |
  The Raspberry Pi PiSP Image Signal Processor (ISP) Back End is an image
  processor that fetches images in Bayer or Grayscale format from DRAM memory
  in tiles and produces images consumable by applications.

  The full ISP documentation is available at
  https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf

properties:
  compatible:
    items:
      - enum:
          - brcm,bcm2712-pispbe
      - const: raspberrypi,pispbe

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  iommus:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    soc {
        #address-cells = <2>;
        #size-cells = <2>;

        isp@880000  {
             compatible = "brcm,bcm2712-pispbe", "raspberrypi,pispbe";
             reg = <0x10 0x00880000 0x0 0x4000>;
             interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
             clocks = <&firmware_clocks 7>;
             iommus = <&iommu2>;
        };
    };
+1 −0
Original line number Diff line number Diff line
@@ -18810,6 +18810,7 @@ M: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
L:	Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
L:	linux-media@vger.kernel.org
S:	Maintained
F:	Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml
F:	include/uapi/linux/media/raspberrypi/
RC-CORE / LIRC FRAMEWORK