From patchwork Tue May 28 16:04:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 799701 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C35BD171E54; Tue, 28 May 2024 16:04:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716912287; cv=none; b=YKBo6bWR8fwt0JpEF4QruzbMbdPP/E3cpIapeDkkXhbJrWJYUd9d0wWsHtUcVAPCUTCtYCK0dW/UmnTqwDyt/2CUcfGOWIjrYtitQtPPWfEt+BntvzAM0QEc+1HGI8pMz36eV3kBj87vJKKpWBiceQXjxhP3SXNi5CNHFqNEx4g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716912287; c=relaxed/simple; bh=dT1hNwAhsUBwuh7h4TJ/wihzfcTUekeem+CujivCF8o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i4/kpZSS6zuxjZl3mfMtGtn5RRnbCt1aB6J167TyTvkFso6EeKvNIX2qySqUV0aQ4fIza3JYcFO/ydCKo4GI16GxEFZDhawuANL+5B7sF9tMyFoHVRm6Avcy6hgss2gCQZAVfizpSDepY4D6r6oRzWyvgFYzMkWEGKaKdF84p7k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=ItPPks0I; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ItPPks0I" Received: from localhost.localdomain (unknown [IPv6:2001:b07:5d2e:52c9:cc1e:e404:491f:e6ea]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B58812D60; Tue, 28 May 2024 18:04:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1716912274; bh=dT1hNwAhsUBwuh7h4TJ/wihzfcTUekeem+CujivCF8o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ItPPks0IdQXo8zTW7Kof9CZp6EgJ3CNA9uQveXDSRQOHcbRtNl2bFCBS+NqvuN/bw YY60rKqqlk2SYYr8e0h6gPCU4jdWRILYcdfJETKK3s+N/i9tVx7weM0vkTiRZsWO9r ybO4A54MWhlnLHCNUmBgoNFSo8LMLpethtZ4rQEk= From: Jacopo Mondi To: Linux Media Mailing List , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jacopo Mondi , David Plowman , Naushir Patuck , Nick Hollinghurst , Dave Stevenson , Tomi Valkeinen , Laurent Pinchart , Kieran Bingham , Sakari Ailus , Hans Verkuil , Mauro Carvalho Chehab , devicetree@vger.kernel.org, Rob Herring Subject: [PATCH v8 6/8] media: dt-bindings: Add bindings for Raspberry Pi PiSP Back End Date: Tue, 28 May 2024 18:04:04 +0200 Message-ID: <20240528160407.304178-7-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240528160407.304178-1-jacopo.mondi@ideasonboard.com> References: <20240528160407.304178-1-jacopo.mondi@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: Jacopo Mondi Reviewed-by: Rob Herring Reviewed-by: Naushir Patuck --- .../bindings/media/raspberrypi,pispbe.yaml | 63 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml -- 2.45.1 diff --git a/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml b/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml new file mode 100644 index 000000000000..1fc62a1d8eda --- /dev/null +++ b/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml @@ -0,0 +1,63 @@ +# 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 + - Jacopo Mondi + +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 + + soc { + #address-cells = <2>; + #size-cells = <2>; + + isp@880000 { + compatible = "brcm,bcm2712-pispbe", "raspberrypi,pispbe"; + reg = <0x10 0x00880000 0x0 0x4000>; + interrupts = ; + clocks = <&firmware_clocks 7>; + iommus = <&iommu2>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 97f2bb162730..7291e8ef0585 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18777,6 +18777,7 @@ M: Jacopo Mondi L: Raspberry Pi Kernel Maintenance 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