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-mipi-adapter.yaml

c3-mipi-adapter is used to organize mipi data and
send raw data to ISP module.

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
a789e6fc b63ef604

+117
+111
Documentation/devicetree/bindings/media/amlogic,c3-mipi-adapter.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-mipi-adapter.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Amlogic C3 MIPI adapter receiver 8 + 9 + maintainers: 10 + - Keke Li <keke.li@amlogic.com> 11 + 12 + description: 13 + MIPI adapter is used to convert the MIPI CSI-2 data 14 + into an ISP supported data format. 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - amlogic,c3-mipi-adapter 20 + 21 + reg: 22 + maxItems: 3 23 + 24 + reg-names: 25 + items: 26 + - const: top 27 + - const: fd 28 + - const: rd 29 + 30 + power-domains: 31 + maxItems: 1 32 + 33 + clocks: 34 + maxItems: 2 35 + 36 + clock-names: 37 + items: 38 + - const: vapb 39 + - const: isp0 40 + 41 + ports: 42 + $ref: /schemas/graph.yaml#/properties/ports 43 + 44 + properties: 45 + port@0: 46 + $ref: /schemas/graph.yaml#/properties/port 47 + description: input port node. 48 + 49 + port@1: 50 + $ref: /schemas/graph.yaml#/properties/port 51 + description: output port node. 52 + 53 + required: 54 + - port@0 55 + - port@1 56 + 57 + required: 58 + - compatible 59 + - reg 60 + - reg-names 61 + - power-domains 62 + - clocks 63 + - clock-names 64 + - ports 65 + 66 + additionalProperties: false 67 + 68 + examples: 69 + - | 70 + #include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h> 71 + #include <dt-bindings/power/amlogic,c3-pwrc.h> 72 + 73 + soc { 74 + #address-cells = <2>; 75 + #size-cells = <2>; 76 + 77 + adap: adap@ff010000 { 78 + compatible = "amlogic,c3-mipi-adapter"; 79 + reg = <0x0 0xff010000 0x0 0x100>, 80 + <0x0 0xff01b000 0x0 0x100>, 81 + <0x0 0xff01d000 0x0 0x200>; 82 + reg-names = "top", "fd", "rd"; 83 + power-domains = <&pwrc PWRC_C3_ISP_TOP_ID>; 84 + clocks = <&clkc_periphs CLKID_VAPB>, 85 + <&clkc_periphs CLKID_ISP0>; 86 + clock-names = "vapb", "isp0"; 87 + assigned-clocks = <&clkc_periphs CLKID_VAPB>, 88 + <&clkc_periphs CLKID_ISP0>; 89 + assigned-clock-rates = <0>, <400000000>; 90 + 91 + ports { 92 + #address-cells = <1>; 93 + #size-cells = <0>; 94 + 95 + port@0 { 96 + reg = <0>; 97 + c3_adap_in: endpoint { 98 + remote-endpoint = <&c3_mipi_csi_out>; 99 + }; 100 + }; 101 + 102 + port@1 { 103 + reg = <1>; 104 + c3_adap_out: endpoint { 105 + remote-endpoint = <&c3_isp_in>; 106 + }; 107 + }; 108 + }; 109 + }; 110 + }; 111 + ...
+6
MAINTAINERS
··· 1254 1254 F: drivers/perf/amlogic/ 1255 1255 F: include/soc/amlogic/ 1256 1256 1257 + AMLOGIC MIPI ADAPTER 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-mipi-adapter.yaml 1262 + 1257 1263 AMLOGIC MIPI CSI2 DRIVER 1258 1264 M: Keke Li <keke.li@amlogic.com> 1259 1265 L: linux-media@vger.kernel.org