Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: media: Add bindings for raspberrypi,rp1-cfe

Add DT bindings for raspberrypi,rp1-cfe.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Tomi Valkeinen and committed by
Mauro Carvalho Chehab
1358bb52 6390834c

+93
+93
Documentation/devicetree/bindings/media/raspberrypi,rp1-cfe.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/media/raspberrypi,rp1-cfe.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Raspberry Pi PiSP Camera Front End 8 + 9 + maintainers: 10 + - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> 11 + - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com> 12 + 13 + description: | 14 + The Raspberry Pi PiSP Camera Front End is a module in Raspberrypi 5's RP1 I/O 15 + controller, that contains: 16 + - MIPI D-PHY 17 + - MIPI CSI-2 receiver 18 + - Simple image processor (called PiSP Front End, or FE) 19 + 20 + The FE documentation is available at: 21 + https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf 22 + 23 + The PHY and CSI-2 receiver part have no public documentation. 24 + 25 + properties: 26 + compatible: 27 + items: 28 + - const: raspberrypi,rp1-cfe 29 + 30 + reg: 31 + items: 32 + - description: CSI-2 registers 33 + - description: D-PHY registers 34 + - description: MIPI CFG (a simple top-level mux) registers 35 + - description: FE registers 36 + 37 + interrupts: 38 + maxItems: 1 39 + 40 + clocks: 41 + maxItems: 1 42 + 43 + port: 44 + $ref: /schemas/graph.yaml#/$defs/port-base 45 + additionalProperties: false 46 + description: CSI-2 RX Port 47 + 48 + properties: 49 + endpoint: 50 + $ref: video-interfaces.yaml# 51 + unevaluatedProperties: false 52 + 53 + properties: 54 + data-lanes: 55 + minItems: 1 56 + maxItems: 4 57 + 58 + required: 59 + - data-lanes 60 + 61 + required: 62 + - compatible 63 + - reg 64 + - interrupts 65 + - clocks 66 + 67 + additionalProperties: false 68 + 69 + examples: 70 + - | 71 + rp1 { 72 + #address-cells = <2>; 73 + #size-cells = <2>; 74 + 75 + csi@110000 { 76 + compatible = "raspberrypi,rp1-cfe"; 77 + reg = <0xc0 0x40110000 0x0 0x100>, 78 + <0xc0 0x40114000 0x0 0x100>, 79 + <0xc0 0x40120000 0x0 0x100>, 80 + <0xc0 0x40124000 0x0 0x1000>; 81 + 82 + interrupts = <42>; 83 + 84 + clocks = <&rp1_clocks>; 85 + 86 + port { 87 + csi_ep: endpoint { 88 + remote-endpoint = <&cam_endpoint>; 89 + data-lanes = <1 2>; 90 + }; 91 + }; 92 + }; 93 + };