From patchwork Tue Sep 3 06:57:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keke Li via B4 Relay X-Patchwork-Id: 825155 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EE5591D54CD; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; cv=none; b=sCw5A3ByNs/DSTfbNHrE3h1r+hDE+48BK5F6F0Aw6CDNEVmU2rVv7hqmT/K59HEXlyp+xRhpqE0FyDBFjFYiF5HqnsUFaUpPxrEre4ElqLHcy94czbNWtXAP2G7/mrnGvDbqnu1aBfBD0jJzE3Ii6jXZvkiMxqcxNbQoydtbVdk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; c=relaxed/simple; bh=QKKlUBADiIsbsgfJTLbGBzCQO11T0Vm94vx5XrVrxcM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=M1oM9f0vAZVJScXGpxkP+FOuIoqSD5J6hEq3mgOcTkpAwbQ4APa19dc2aSFv9cCA8rZdvnZkhYqwp+Cb1tB/VyOU4TQGXjQrHNG9lOQ9ujRubvAROfApbrUjRDx2J3mOLhjoUuEb4gUalz8oOl5R0jnRbldM3Iebj9ipPcvAXZo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZPUP5dF+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZPUP5dF+" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8ACD3C4CEC8; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725346637; bh=QKKlUBADiIsbsgfJTLbGBzCQO11T0Vm94vx5XrVrxcM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ZPUP5dF+eRcvUXUNRni8C69U0fdD8O4n7XhUZBrt9LyKce/nfdWPYlmSbbBahim6w hJG90ZeAqPF3/KthGqFGKhEcI0Qo0MlCwOiZt49kMsn4AZxhvPVfq2WgUY7XCtEJQf y9cuvLFJy9fyS73g1dO5NOOmLlmmMgJM0aLWs9KiDSCkTK0mksNFv1+66taLfFPoyd I4EgT6E5TbfOCxJZN2zqz06VHHAIdtDt83Bp8m/NrTyP0CZvEfNEVmHl9qCptuiOAa 34ohrxKv0bJJ72LsgAIhkX4svRpKIWaWYr/XwSdXMMJ7f9GHAXs8zSqQHX8VMYr6XZ iJtMspkAqHsvQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 733F5CD342D; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) From: Keke Li via B4 Relay Date: Tue, 03 Sep 2024 14:57:05 +0800 Subject: [PATCH 1/9] dt-bindings: media: Add amlogic,c3-mipi-csi2.yaml Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240903-c3isp-v1-1-8af0edcc13c8@amlogic.com> References: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> In-Reply-To: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, Keke Li X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725346629; l=3684; i=keke.li@amlogic.com; s=20240902; h=from:subject:message-id; bh=BdP+/5BjAsMXQCbNluBrVl9aVK7l3wSMYOlPPRhLBQk=; b=LjgV7sBuhNlmOQWox04jNfMdvWljjEiwl6vgkosyXOiv6TlqMD+kteoKWTd2DKdAI6GzcJMHU YFxfVz24HjLDkdXpHDdIOsZw9f3caXMKSua5uxAZWDPLh6r+pv3PySm X-Developer-Key: i=keke.li@amlogic.com; a=ed25519; pk=XxNPTsQ0YqMJLLekV456eoKV5gbSlxnViB1k1DhfRmU= X-Endpoint-Received: by B4 Relay for keke.li@amlogic.com/20240902 with auth_id=204 X-Original-From: Keke Li Reply-To: keke.li@amlogic.com From: Keke Li c3-mipi-csi2 is used to receive mipi data from image sensor. Signed-off-by: Keke Li --- .../bindings/media/amlogic,c3-mipi-csi2.yaml | 130 +++++++++++++++++++++ 1 file changed, 130 insertions(+) diff --git a/Documentation/devicetree/bindings/media/amlogic,c3-mipi-csi2.yaml b/Documentation/devicetree/bindings/media/amlogic,c3-mipi-csi2.yaml new file mode 100644 index 000000000000..85d3088d6f9f --- /dev/null +++ b/Documentation/devicetree/bindings/media/amlogic,c3-mipi-csi2.yaml @@ -0,0 +1,130 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/amlogic,c3-mipi-csi2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic C3 MIPI CSI-2 receiver + +maintainers: + - Keke Li + +description: |- + MIPI CSI-2 receiver contains CSI-2 RX PHY and host controller. + It receives the MIPI data from the image sensor and sends MIPI data + to MIPI adapter. + +properties: + compatible: + enum: + - amlogic,c3-mipi-csi2 + + reg: + minItems: 3 + maxItems: 3 + + reg-names: + items: + - const: csi_aphy + - const: csi_dphy + - const: csi_host + + power-domains: + maxItems: 1 + + clocks: + minItems: 2 + + clock-names: + items: + - const: vapb + - const: csi_phy0 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: input port node, connected to sensor. + + properties: + endpoint: + $ref: video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + minItems: 1 + maxItems: 4 + + required: + - data-lanes + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: output port node + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - reg-names + - power-domains + - clocks + - clock-names + - ports + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + csi: csi@ff018000 { + compatible = "amlogic,c3-mipi-csi2"; + + reg = <0x0 0xff018000 0x0 0x400>, + <0x0 0xff019000 0x0 0x300>, + <0x0 0xff01a000 0x0 0x100>; + + reg-names = "csi_aphy", "csi_dphy", "csi_host"; + + power-domains = <&pwrc PWRC_C3_MIPI_ISP_WRAP_ID>; + + clocks = <&clkc_periphs CLKID_VAPB>, + <&clkc_periphs CLKID_CSI_PHY0>; + + clock-names = "vapb", "csi_phy0"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + c3_mipi_csi_in: endpoint { + remote-endpoint = <&imx290_out>; + data-lanes = <1 2 3 4>; + }; + }; + + port@1 { + reg = <1>; + c3_mipi_csi_out: endpoint { + remote-endpoint = <&c3_adap_in>; + }; + }; + }; + }; + }; +... From patchwork Tue Sep 3 06:57:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keke Li via B4 Relay X-Patchwork-Id: 825153 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 36DFA1D61B5; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; cv=none; b=bcIj5TztiMmsPFZVE0eeznyHwIBeUF8fBJY3JNYrHmtMhgBZJFKhCRU2dg4CwSpfh1ImrTmEGgc5iYIOyBUTKTqPhMlM/AWhbiD+XJ/gKX6MAtJFY324LgJjxDlamxgo54eynoX/bhiFA0j5p4ukkYkXN/vk50bujY1CYhAS94E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; c=relaxed/simple; bh=DoV3cEjHCrj0em+ctd2tdl1ECJ6y+HIT5C7bI5MI8yg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ECLb0kT2fyq1503duSKRIqozeNwEUx8bEcReFy8rSmFesM0eZBNNhAyw/1zisZZEENnm5m8TvdPEXjMZ2kdnsNobjJa3hPAnxbdbwR2ki7i0aTLAC0jTnMKYMemKs6jEAyu/w4ZwtP6Wh3gK0+Myf1ac8J9Ks04orVJArVf85q4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aDR7sLR6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aDR7sLR6" Received: by smtp.kernel.org (Postfix) with ESMTPS id B6806C4CECE; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725346637; bh=DoV3cEjHCrj0em+ctd2tdl1ECJ6y+HIT5C7bI5MI8yg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=aDR7sLR61WBXzHUj+N4X4cmpt25+hkB2xg9KDhbWeN1lcEx8E1KduRxfAJCZmy4I7 0ocn0reg3XtoeLuGaKwCJhMRtDkWAb4r1EJ7+ShJ4cVneV0dvzTMAE5sKhzXzCLPqb vlp6D/Ewz2o7khafrpQ8EvO8cjcwRYr6XYqi4izPzykSMi0k+fG8UOAo8+LNYItEzk 33OtttlyQ6Miiv7bmgvGx7KC3OKl3O4Ej0eibYyXwYRSmYglAE9j8bG5TKQNA6+DQ3 cDVb5SMC0IQzG3RlKKtVVwr1Admxzo8DQhWd3PLOA2HDcGC6lm46ptXzxMiLsSBtME FpG5IuoN0ROXA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A17DECD342C; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) From: Keke Li via B4 Relay Date: Tue, 03 Sep 2024 14:57:07 +0800 Subject: [PATCH 3/9] dt-bindings: media: Add amlogic,c3-mipi-adapter.yaml Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240903-c3isp-v1-3-8af0edcc13c8@amlogic.com> References: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> In-Reply-To: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, Keke Li X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725346629; l=3216; i=keke.li@amlogic.com; s=20240902; h=from:subject:message-id; bh=mM/xUp1DyGw7cG0o1hSmUP9EbGmgw9MXz0V3Yhw5n8Y=; b=dWlU1ZByk7gk8ONpixARdJBipuUI8wOBQFtpPPa76wUzeVZZaJ3WHcx2SB0+SQ5zrvbWSv9AX HriBruWRYIOA+Rxk+6ze0oSnnmvrfXxQ6E9NA6g0q7ZjriuZgslWVLZ X-Developer-Key: i=keke.li@amlogic.com; a=ed25519; pk=XxNPTsQ0YqMJLLekV456eoKV5gbSlxnViB1k1DhfRmU= X-Endpoint-Received: by B4 Relay for keke.li@amlogic.com/20240902 with auth_id=204 X-Original-From: Keke Li Reply-To: keke.li@amlogic.com From: Keke Li c3-mipi-adapter is used to organize mipi data and send raw data to ISP module. Signed-off-by: Keke Li --- .../bindings/media/amlogic,c3-mipi-adapter.yaml | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/Documentation/devicetree/bindings/media/amlogic,c3-mipi-adapter.yaml b/Documentation/devicetree/bindings/media/amlogic,c3-mipi-adapter.yaml new file mode 100644 index 000000000000..e1873fe829c7 --- /dev/null +++ b/Documentation/devicetree/bindings/media/amlogic,c3-mipi-adapter.yaml @@ -0,0 +1,114 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/amlogic,c3-mipi-adapter.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic C3 MIPI adapter receiver + +maintainers: + - Keke Li + +description: |- + MIPI adapter is used to convert the MIPI CSI-2 data + into an ISP supported data format. + +properties: + compatible: + enum: + - amlogic,c3-mipi-adapter + + reg: + minItems: 3 + maxItems: 3 + + reg-names: + items: + - const: adap_top + - const: adap_fd + - const: adap_rd + + power-domains: + maxItems: 1 + + clocks: + minItems: 2 + + clock-names: + items: + - const: vapb + - const: adap + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: input port node. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: output port node. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - reg-names + - power-domains + - clocks + - clock-names + - ports + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + adap: adap@ff010000 { + compatible = "amlogic,c3-mipi-adapter"; + + reg = <0x0 0xff010000 0x0 0x100>, + <0x0 0xff01b000 0x0 0x100>, + <0x0 0xff01d000 0x0 0x200>; + + reg-names = "adap_top", "adap_fd", "adap_rd"; + + power-domains = <&pwrc PWRC_C3_ISP_TOP_ID>; + + clocks = <&clkc_periphs CLKID_VAPB>, + <&clkc_periphs CLKID_ISP0>; + + clock-names = "vapb", "adap"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + c3_adap_in: endpoint { + remote-endpoint = <&c3_mipi_csi_out>; + }; + }; + + port@1 { + reg = <1>; + c3_adap_out: endpoint { + remote-endpoint = <&c3_isp_in>; + }; + }; + }; + }; + }; +... From patchwork Tue Sep 3 06:57:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keke Li via B4 Relay X-Patchwork-Id: 825154 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 285EA1D61A3; Tue, 3 Sep 2024 06:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; cv=none; b=oUSjzWhfx966Ex7setmDzlDRtO1HSBIcphFo6r+LGsglUWaSdVPnbcM/8Gi1rC1byKlOs4BFiYsycWJ3h9lIs8Gq3FrTELDJ3wx4VbZHT8l94hWTmtbAQ5GQRpYMD08DKGLwbZmNU7wtEwqhE23/wQ8+9aNxcb8xriKKSycO0J4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; c=relaxed/simple; bh=yh5P62CYJAj1GIEyM3B0vVhBV4fXaKwMdQ1dGc1FR+4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RjSy/Q30ORyfpj4dYMNpy9jUkSzyHkYxyvFzLlUNGDGJ2djivrbi/PgKF7lLV5+1249uHgwWO87o1O9059nXswjQb+qglfRc3bzebKShOb9qq0Khq81U8amLIdBDU8NiAFzt9EYo7E5Zn+BFw6ucjwIOZanKkNI0GEVC36cDHc0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EK7OOz4I; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EK7OOz4I" Received: by smtp.kernel.org (Postfix) with ESMTPS id DDCE6C4CED2; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725346637; bh=yh5P62CYJAj1GIEyM3B0vVhBV4fXaKwMdQ1dGc1FR+4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=EK7OOz4I5z6ujCFMtOCrz7kvm5NwERNalcbOuvjVTRcF+bDlnXONFKVqSMTZJxrXf YA0ppMfO7Ci+WBc6okXcm+vQ89ehCzYPaflvUhRH9h2zSwiZPlPsE9lXa7/6xX/jna Y7JbObRGpjdvd+IhWDwXMYf+LTpjexYdeBFFraQzHlck4SdG5FqhMezYxRIWuEKNXQ HrPWK22898FVpTQVv6fVt4RSpyNPLdEbWb+S5ZJBufXJW1ZuctD5rpdGiNWqKsBh7g JoSm4/H4tkiTnXCOqwlqLAZxrHZnXML1RzY9qiMT/frodNN4XlJzwleRD0/FxElyor tQfLblWqupwow== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6236CD342D; Tue, 3 Sep 2024 06:57:17 +0000 (UTC) From: Keke Li via B4 Relay Date: Tue, 03 Sep 2024 14:57:10 +0800 Subject: [PATCH 6/9] media: Add C3ISP_PARAMS and C3ISP_STATS meta formats Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240903-c3isp-v1-6-8af0edcc13c8@amlogic.com> References: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> In-Reply-To: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, Keke Li X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725346629; l=2104; i=keke.li@amlogic.com; s=20240902; h=from:subject:message-id; bh=MR2ZQEDozd8VqlbpBFAt1H8jwM+SM+bGUFz4TEEZ9ug=; b=PudsUwKea83QGeut9vUDgIpVtxe9W2DneVya4vPuA3oVTMlSd+MuXExTIKMw3RYX+txg4Xnjs Rf9HBW5fFC7AN2PEbtjDRwFf7qwAC7/Ik8Q9OrSt15XaFaGc47ELdYK X-Developer-Key: i=keke.li@amlogic.com; a=ed25519; pk=XxNPTsQ0YqMJLLekV456eoKV5gbSlxnViB1k1DhfRmU= X-Endpoint-Received: by B4 Relay for keke.li@amlogic.com/20240902 with auth_id=204 X-Original-From: Keke Li Reply-To: keke.li@amlogic.com From: Keke Li C3ISP_PARAMS is the C3 ISP Parameters format. C3ISP_STATS is the C3 ISP Statistics format. Signed-off-by: Keke Li --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ include/uapi/linux/videodev2.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index e14db67be97c..d0e346f301c1 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c @@ -1459,6 +1459,8 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_META_FMT_RK_ISP1_PARAMS: descr = "Rockchip ISP1 3A Parameters"; break; case V4L2_META_FMT_RK_ISP1_STAT_3A: descr = "Rockchip ISP1 3A Statistics"; break; case V4L2_META_FMT_RK_ISP1_EXT_PARAMS: descr = "Rockchip ISP1 Ext 3A Params"; break; + case V4L2_META_FMT_C3ISP_PARAMS: descr = "Amlogic C3 ISP Parameters"; break; + case V4L2_META_FMT_C3ISP_STATS: descr = "Amlogic C3 ISP Statistics"; break; case V4L2_PIX_FMT_NV12_8L128: descr = "NV12 (8x128 Linear)"; break; case V4L2_PIX_FMT_NV12M_8L128: descr = "NV12M (8x128 Linear)"; break; case V4L2_PIX_FMT_NV12_10BE_8L128: descr = "10-bit NV12 (8x128 Linear, BE)"; break; diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 725e86c4bbbd..d76f53bef4fb 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -856,6 +856,10 @@ struct v4l2_pix_format { #define V4L2_META_FMT_RK_ISP1_STAT_3A v4l2_fourcc('R', 'K', '1', 'S') /* Rockchip ISP1 3A Statistics */ #define V4L2_META_FMT_RK_ISP1_EXT_PARAMS v4l2_fourcc('R', 'K', '1', 'E') /* Rockchip ISP1 3a Extensible Parameters */ +/* Vendor specific - used for C3_ISP */ +#define V4L2_META_FMT_C3ISP_PARAMS v4l2_fourcc('C', 'P', 'R', 'M') /* Amlogic C3 ISP Parameters */ +#define V4L2_META_FMT_C3ISP_STATS v4l2_fourcc('C', 'S', 'T', 'S') /* Amlogic C3 ISP Statistics */ + /* Vendor specific - used for RaspberryPi PiSP */ #define V4L2_META_FMT_RPI_BE_CFG v4l2_fourcc('R', 'P', 'B', 'C') /* PiSP BE configuration */ From patchwork Tue Sep 3 06:57:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keke Li via B4 Relay X-Patchwork-Id: 825152 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 848911D6C47; Tue, 3 Sep 2024 06:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; cv=none; b=sRUIqDXnCTfgUsP3dVgGBnztIg6u6ogiOoWYa0pCovGUOtj0xwMg5okM7PwHDBY+/6kc37lIuQnYK+XXxb2DBx3uw1SX1rOlHPn/bPN/mpqYRfI0+NFiiHLwIZDOTlZJpvkhrzapm5zo5XExM1B/zn86gb/bFA8tP6otJn0HsxQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346638; c=relaxed/simple; bh=s9gUVHwdnMQOF85JYOYDrA5BR8h2scy7XK7hATBXzh0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jCxR/1PF0xJIOAMmm0WvjGAUVmQ+ygSwbEgoq2FZ4KCdVM/PfAUGyvZXM9j7tsaL/7QYGUZzCb9FmQzWZAAnc6HXambqMEqHtFlW5xt/rom8gLt1rGV3d8yWUYBVhS+HI+zbQ/3JcIHkDZQEpa728XEO3BYidXypQSGQU/UsfYE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a5qkG8n1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a5qkG8n1" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2346EC4CEDC; Tue, 3 Sep 2024 06:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725346638; bh=s9gUVHwdnMQOF85JYOYDrA5BR8h2scy7XK7hATBXzh0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=a5qkG8n1dPhh+9ljBkC6thYDzFKxL0j1hbV8TJsAoq5UIy2A6vFwtgNVnjcHDw5zt KnKPzU4Y04NIq0XcYsW6DcMBLSYagPVM2bs1EoAsbyChdQmH8E0cFjGUFcxAXueBQd nFHbQklrSzRwKANTkuUaU5h7bSZEbcYbzsVLq0uDb525W3J0J1OqLUc0Yhlhn2AXo4 z2lG+ouUD8N176jRbwv5b9f+/jwm0OhX3pqlmetwRy1ndiOlCGD/d+ZQvtGONO9ia5 xiXfOTz5u+T3KtWuEZtfkEYJnatRgof4zyjUbm4w5lBnu0dynPe1tFfKM/kVtnl+mZ ubd6CKgQEtaxw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19B3BCD3430; Tue, 3 Sep 2024 06:57:18 +0000 (UTC) From: Keke Li via B4 Relay Date: Tue, 03 Sep 2024 14:57:12 +0800 Subject: [PATCH 8/9] Documentation: media: add documentation file metafmt-c3-isp.rst Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240903-c3isp-v1-8-8af0edcc13c8@amlogic.com> References: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> In-Reply-To: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, Keke Li X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725346629; l=2506; i=keke.li@amlogic.com; s=20240902; h=from:subject:message-id; bh=RHCTzcGX1z73glIL4+V4zFkW7ouwcZXrGMofjfIJSyw=; b=CcNOWMmHfPD3bzbUy8+J3qomBfjSI0HbVnpSdm2iZQfuxWoT9d4AFAPFzMP1uracVk0kbRNJD SeAVkDDtUPhBa/+/WHjs45V7I6wglbc2SxmAcgvmDKLtriWLQj8vjM2 X-Developer-Key: i=keke.li@amlogic.com; a=ed25519; pk=XxNPTsQ0YqMJLLekV456eoKV5gbSlxnViB1k1DhfRmU= X-Endpoint-Received: by B4 Relay for keke.li@amlogic.com/20240902 with auth_id=204 X-Original-From: Keke Li Reply-To: keke.li@amlogic.com From: Keke Li Add the file 'metafmt-c3-isp.rst' that documents the meta format of c3-isp. Signed-off-by: Keke Li --- .../userspace-api/media/v4l/meta-formats.rst | 1 + .../userspace-api/media/v4l/metafmt-c3-isp.rst | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/meta-formats.rst b/Documentation/userspace-api/media/v4l/meta-formats.rst index c6e56b5888bc..3a420747f6e7 100644 --- a/Documentation/userspace-api/media/v4l/meta-formats.rst +++ b/Documentation/userspace-api/media/v4l/meta-formats.rst @@ -12,6 +12,7 @@ These formats are used for the :ref:`metadata` interface only. .. toctree:: :maxdepth: 1 + metafmt-c3-isp metafmt-d4xx metafmt-generic metafmt-intel-ipu3 diff --git a/Documentation/userspace-api/media/v4l/metafmt-c3-isp.rst b/Documentation/userspace-api/media/v4l/metafmt-c3-isp.rst new file mode 100644 index 000000000000..bbaf3542c1ca --- /dev/null +++ b/Documentation/userspace-api/media/v4l/metafmt-c3-isp.rst @@ -0,0 +1,39 @@ +.. SPDX-License-Identifier: (GPL-2.0-only OR MIT) + +.. _v4l2-meta-fmt-c3isp-stats: +.. _v4l2-meta-fmt-c3isp-params: + +*********************************************************************** +V4L2_META_FMT_C3ISP_STATS ('CSTS'), V4L2_META_FMT_C3ISP_PARAMS ('CPRM') +*********************************************************************** + +.. c3_isp_stats_info + +3A statistics +============= + +The C3 ISP can collect different statistics over an input Bayer frame. +Those statistics are obtained from the "isp-stats" metadata capture video nodes, +using the :c:type:`v4l2_meta_format` interface. +They are formatted as described by the :c:type:`c3_isp_stats_info` structure. + +The statistics collected are Auto-white balance, +Auto-exposure and Auto-focus information. + +.. c3_isp_params_buffer + +Pipeline parameters +=================== + +The pipeline parameters are passed to the "isp-params" metadata +output video nodes, using the :c:type:`v4l2_meta_format` interface. They are +formatted as described by the :c:type:`c3_isp_params_buffer` structure. + +The structure c3_isp_params_buffer includes the necessary parameters +required by the ISP. +These parameters are written to the ISP hardware. + +Amlogic C3 ISP uAPI data types +=============================== + +.. kernel-doc:: drivers/media/platform/amlogic/c3-isp/include/uapi/c3-isp-config.h From patchwork Tue Sep 3 06:57:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keke Li via B4 Relay X-Patchwork-Id: 825151 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B48EB1DAC6B; Tue, 3 Sep 2024 06:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346640; cv=none; b=LE3zCFjqsDLWPT8ZEkeqfmX3YDsl0emu2MzEll6ZeodxZpDtXnnfqQWrHm7VMiJo4SHaGjVz3JXbGJyEofyJ41zRAA29xzeDrxRss3lPnkRHGaBRZ56tg53ei27gnicQgvZF6hRcKRmRvjRtqSxpcM6HdAOhMGH567jWx9rD3ew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725346640; c=relaxed/simple; bh=LUjMeTfQ9bZqzLTWIcK3xiA9fpPEh7p7Ch2XD8eiTYM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hVgWPc/v9GJllmOHTh1waCOjWjBHKSJ6rxgAmMPwqMP6+cn7V8A/xRL+gpMUvSeAas7B2p+14mIT5IM+ltQpsR3wI2ywSrwWy/cjfjp8Y/fy7tx+VxLvXPrDoq8ITdPEBIk6IDWUZNb8hm+V8T+86UUVy4CB4oAp5jLDapEwFto= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=owYXqf/w; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="owYXqf/w" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2FF36C4CEDB; Tue, 3 Sep 2024 06:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725346640; bh=LUjMeTfQ9bZqzLTWIcK3xiA9fpPEh7p7Ch2XD8eiTYM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=owYXqf/wrqF66DL4ZBxIB0TF0pvM9hhhBd9pEWAhO3IGDay50Bp40HsnhnvfSkkOQ LKp+yAks3p5MNpqeTRhxF6mGoHaEbgETB+0fZZb4E3XVmSf44DQXW9KhpLzpV/o9h6 NshzakigRxGsjSjRINMW1Kw9p5KFQZHijG3xNd9BJEhF6Zndgr8DGzc4NiLS9ok7wJ 4EO5ApoOnJShsdBfAi+FQGQPOpb7Aj9BNxFsUsiKEtcWP3Z6AQrQbE4j6j+IfKQ/jX e4fEETlqmDBGb5cBDaRjtJp4yeVqocrJDDjk9BU15FLcf3D5MDpE5BE95sXft5XxL9 82uVMBQDgmUig== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 285DCCD342C; Tue, 3 Sep 2024 06:57:18 +0000 (UTC) From: Keke Li via B4 Relay Date: Tue, 03 Sep 2024 14:57:13 +0800 Subject: [PATCH 9/9] Documentation: media: add documentation file c3-isp.rst Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240903-c3isp-v1-9-8af0edcc13c8@amlogic.com> References: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> In-Reply-To: <20240903-c3isp-v1-0-8af0edcc13c8@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, Keke Li X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725346629; l=7370; i=keke.li@amlogic.com; s=20240902; h=from:subject:message-id; bh=60NWyVRAbjYroOKP/Zc6hNew0FkkUGrTfDQP+/4qhj0=; b=HKiOJcszM7lX98DQBdKWyFiG97/Su0UsYlIEXf0DrXIrVmslh+/8eapaMuw/ef6dnggGgcKYB YiXfqo8qN/1AVubiuWID/2+Lqw5TNIGX33InAm12s4OIlAY2UHlRtnV X-Developer-Key: i=keke.li@amlogic.com; a=ed25519; pk=XxNPTsQ0YqMJLLekV456eoKV5gbSlxnViB1k1DhfRmU= X-Endpoint-Received: by B4 Relay for keke.li@amlogic.com/20240902 with auth_id=204 X-Original-From: Keke Li Reply-To: keke.li@amlogic.com From: Keke Li Add the file 'c3-isp.rst' that documents the c3-isp driver. Signed-off-by: Keke Li --- Documentation/admin-guide/media/c3-isp.dot | 26 +++++++ Documentation/admin-guide/media/c3-isp.rst | 96 +++++++++++++++++++++++++ Documentation/admin-guide/media/v4l-drivers.rst | 1 + MAINTAINERS | 10 +++ 4 files changed, 133 insertions(+) diff --git a/Documentation/admin-guide/media/c3-isp.dot b/Documentation/admin-guide/media/c3-isp.dot new file mode 100644 index 000000000000..0cc1b8b96404 --- /dev/null +++ b/Documentation/admin-guide/media/c3-isp.dot @@ -0,0 +1,26 @@ +digraph board { + rankdir=TB + n00000001 [label="{{ 0 | 1} | isp-core\n/dev/v4l-subdev0 | { 2 | 3}}", shape=Mrecord, style=filled, fillcolor=green] + n00000001:port3 -> n00000006:port0 [style=bold] + n00000001:port3 -> n00000009:port0 [style=bold] + n00000001:port3 -> n0000000c:port0 [style=bold] + n00000001:port2 -> n00000020 [style=bold] + n00000006 [label="{{ 0} | isp-resizer0\n/dev/v4l-subdev1 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000006:port1 -> n00000014 [style=bold] + n00000009 [label="{{ 0} | isp-resizer1\n/dev/v4l-subdev2 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000009:port1 -> n00000018 [style=bold] + n0000000c [label="{{ 0} | isp-resizer2\n/dev/v4l-subdev3 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n0000000c:port1 -> n0000001c [style=bold] + n0000000f [label="{{ 0} | mipi-adapter\n/dev/v4l-subdev4 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n0000000f:port1 -> n00000001:port0 [style=bold] + n00000014 [label="isp-video0\n/dev/video0", shape=box, style=filled, fillcolor=yellow] + n00000018 [label="isp-video1\n/dev/video1", shape=box, style=filled, fillcolor=yellow] + n0000001c [label="isp-video2\n/dev/video2", shape=box, style=filled, fillcolor=yellow] + n00000020 [label="isp-stats\n/dev/video3", shape=box, style=filled, fillcolor=yellow] + n00000024 [label="isp-params\n/dev/video4", shape=box, style=filled, fillcolor=yellow] + n00000024 -> n00000001:port1 [style=bold] + n00000038 [label="{{ 0} | mipi-csi2\n/dev/v4l-subdev5 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000038:port1 -> n0000000f:port0 [style=bold] + n0000003d [label="{{} | imx290 2-001a\n/dev/v4l-subdev6 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] + n0000003d:port0 -> n00000038:port0 [style=bold] +} diff --git a/Documentation/admin-guide/media/c3-isp.rst b/Documentation/admin-guide/media/c3-isp.rst new file mode 100644 index 000000000000..fab10c962465 --- /dev/null +++ b/Documentation/admin-guide/media/c3-isp.rst @@ -0,0 +1,96 @@ +.. SPDX-License-Identifier: (GPL-2.0-only OR MIT) + +.. include:: + +================================================= +Amlogic C3 Image Signal Processing (C3ISP) driver +================================================= + +Introduction +============ + +This file documents the Amlogic C3ISP driver located under +drivers/media/platform/amlogic/c3-isp. + +The current version of the driver supports the C3ISP found on +Amlogic C308L processor. + +The driver implements V4L2, Media controller and V4L2 subdev interfaces. +Camera sensor using V4L2 subdev interface in the kernel is supported. + +The driver has been tested on AW419-C308L-Socket platform. + +Anlogic Camera hardware +======================= + +The Camera hardware found on C308L processors and supported by +the driver consists of: + +- 1 MIPI-CSI2 module. It handle the Physical layer of the CSI2 receivers and + receive MIPI data. + A separate camera sensor can be connected to MIPI-CSi2 module. +- 1 MIPI-ADAPTER module. Organize MIPI data to meet ISP input requirements and + send MIPI data to ISP +- 1 ISP (Image Signal Processing) module. Contain a pipeline of image processing + hardware blocks. + The ISP pipeline contains three scalers at the end. + The ISP also contains the DMA interface which writes the output data to memory. + +Supported functionality +======================= + +The current version of the driver supports: + +- Input from camera sensor via MIPI-CSI2; + +- Pixel output interface of ISP + + - Scaling support. Configuration of the scaler module + for downscalling with ratio up to 8x. + +Driver Architecture and Design +============================== + +The driver implements the V4L2 subdev interface. With the goal to model the +hardware links between the modules and to expose a clean, logical and usable +interface, the driver is split into V4L2 sub-devices as follows: + +- 1 mipi-csi2 sub-device - mipi-csi2 is represented by a single sub-device. +- 1 mipi-adapter sub-device - mipi-adapter is represented by a single sub-devices. +- 1 isp-core sub-device - isp-core is represented by a single sub-devices. +- 3 isp-resizer sub-devices - isp-resizer is represented by a number of sub-devices + equal to the number of capture device. + +isp-core sub-device is linked to 2 separate video device nodes and +3 isp-resizer sub-devices nodes. + +- 1 capture statistics video device node. +- 1 output parameters video device node. +- 3 isp-resizer sub-device nodes. + +isp-resizer sub-device is linked to capture video device node. + +- isp-resizer0 is linked to isp-cap0 +- isp-resizer1 is linked to isp-cap1 +- isp-resizer2 is linked to isp-cap2 + +The media controller pipeline graph is as follows (with connected a +IMX290 camera sensor): + +.. _isp_topology_graph: + +.. kernel-figure:: c3-isp.dot + :alt: c3-isp.dot + :align: center + + Media pipeline topology + +Implementation +============== + +Runtime configuration of the hardware via 'isp-params' video device node. +Acquiring statistics of ISP hardware via 'isp-stats' video device node. +Acquiring output image of ISP hardware via 'isp-video[0, 2]' video device node. + +The output size of the scaler module in the ISP is configured with +the pixel format of 'isp-video[0, 2]' video device node. diff --git a/Documentation/admin-guide/media/v4l-drivers.rst b/Documentation/admin-guide/media/v4l-drivers.rst index b6af448b9fe9..be0a8a860f39 100644 --- a/Documentation/admin-guide/media/v4l-drivers.rst +++ b/Documentation/admin-guide/media/v4l-drivers.rst @@ -10,6 +10,7 @@ Video4Linux (V4L) driver-specific documentation :maxdepth: 2 bttv + c3-isp cafe_ccic cx88 fimc diff --git a/MAINTAINERS b/MAINTAINERS index f99d0ea45815..411bd4e6318b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4889,6 +4889,16 @@ S: Maintained F: Documentation/devicetree/bindings/net/can/st,stm32-bxcan.yaml F: drivers/net/can/bxcan.c +C3 ISP DRIVER FOR AMLOGIC +M: Keke Li +L: linux-media@vger.kernel.org +S: Maintained +F: Documentation/admin-guide/media/c3-isp.dot +F: Documentation/admin-guide/media/c3-isp.rst +F: Documentation/devicetree/bindings/media/amlogic,c3-isp.yaml +F: Documentation/userspace-api/media/v4l/metafmt-c3-isp.rst +F: drivers/media/platform/amlogic/c3-isp/ + C3 MIPI ADAPTER DRIVER FOR AMLOGIC M: Keke Li L: linux-media@vger.kernel.org