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

media: dt-bindings: Add amlogic,c3-isp.yaml

c3-isp is used to process raw image.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Keke Li <keke.li@amlogic.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>

authored by

Keke Li and committed by
Hans Verkuil
d0a02f67 f0d2d806

+94
+88
Documentation/devicetree/bindings/media/amlogic,c3-isp.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/amlogic,c3-isp.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Amlogic C3 Image Signal Processing Unit 8 + 9 + maintainers: 10 + - Keke Li <keke.li@amlogic.com> 11 + 12 + description: 13 + Amlogic ISP is the RAW image processing module 14 + and supports three channels image output. 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - amlogic,c3-isp 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + reg-names: 25 + items: 26 + - const: isp 27 + 28 + power-domains: 29 + maxItems: 1 30 + 31 + clocks: 32 + maxItems: 2 33 + 34 + clock-names: 35 + items: 36 + - const: vapb 37 + - const: isp0 38 + 39 + interrupts: 40 + maxItems: 1 41 + 42 + port: 43 + $ref: /schemas/graph.yaml#/properties/port 44 + description: input port node. 45 + 46 + required: 47 + - compatible 48 + - reg 49 + - reg-names 50 + - power-domains 51 + - clocks 52 + - clock-names 53 + - interrupts 54 + - port 55 + 56 + additionalProperties: false 57 + 58 + examples: 59 + - | 60 + #include <dt-bindings/interrupt-controller/arm-gic.h> 61 + #include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h> 62 + #include <dt-bindings/power/amlogic,c3-pwrc.h> 63 + 64 + soc { 65 + #address-cells = <2>; 66 + #size-cells = <2>; 67 + 68 + isp: isp@ff000000 { 69 + compatible = "amlogic,c3-isp"; 70 + reg = <0x0 0xff000000 0x0 0xf000>; 71 + reg-names = "isp"; 72 + power-domains = <&pwrc PWRC_C3_ISP_TOP_ID>; 73 + clocks = <&clkc_periphs CLKID_VAPB>, 74 + <&clkc_periphs CLKID_ISP0>; 75 + clock-names = "vapb", "isp0"; 76 + assigned-clocks = <&clkc_periphs CLKID_VAPB>, 77 + <&clkc_periphs CLKID_ISP0>; 78 + assigned-clock-rates = <0>, <400000000>; 79 + interrupts = <GIC_SPI 145 IRQ_TYPE_EDGE_RISING>; 80 + 81 + port { 82 + c3_isp_in: endpoint { 83 + remote-endpoint = <&c3_adap_out>; 84 + }; 85 + }; 86 + }; 87 + }; 88 + ...
+6
MAINTAINERS
··· 1254 1254 F: drivers/perf/amlogic/ 1255 1255 F: include/soc/amlogic/ 1256 1256 1257 + AMLOGIC ISP DRIVER 1258 + M: Keke Li <keke.li@amlogic.com> 1259 + L: linux-media@vger.kernel.org 1260 + S: Maintained 1261 + F: Documentation/devicetree/bindings/media/amlogic,c3-isp.yaml 1262 + 1257 1263 AMLOGIC MIPI ADAPTER DRIVER 1258 1264 M: Keke Li <keke.li@amlogic.com> 1259 1265 L: linux-media@vger.kernel.org