From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5124DCCF9E9 for ; Fri, 24 Oct 2025 12:52:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QOI1LUFBfNYw8toj5kYYcCV1EfMtnpXSvd4xIRyTRXc=; b=1c5IybloxlaKSq4ppEbIfVtVTv qMVVMeOcswML72lllg3oHOguReDJAqbtjEf413t8Xhr5zjrc++rd6dJcQ+tSfO4LczQW4G86tEBjJ Tu9peVuYte4uflgGLtOnEJBYKhQv4wAA2oPih/vjlMYFudDUOn2avHy3Fm5O4ORt5UF+WEtBCRUjP 8jDRoBSWbM49MF/IQw4AGwFpyKoCJoVFKVBVvs9PUSQ+5vp9craQKz37d4aCsCLOAsZ75mA0r3gFR fpQ3tHDtTzjT4cjbtUoEik6rgpZnV7dywzK7du/TDXb2lbQclxTEWkHxmtnr29bCguhbVkk9/5Yf8 7jkocOlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vCHHE-00000009R7V-3Im1; Fri, 24 Oct 2025 12:52:16 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vCHGe-00000009QL6-3QOQ; Fri, 24 Oct 2025 12:51:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 4771249241; Fri, 24 Oct 2025 12:51:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 1C68BC19423; Fri, 24 Oct 2025 12:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761310297; bh=cbLEkvJeCgSCfAv9tPFINBb5ggoFvww0kpeGffJo/0Y=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=gIk/nQyE5ymaLYW3jPvuWCSrH3c58w/YzA7yElIQbllU343HYHjNUxbV9Wm1K6PZN yS7Lqw/1gb+Dv2BHC1PowKXUmPEGiaHMA69yaPsYZeC94wf8Hnkq1kxi0GVWwxHEA9 YClJYpiBFBPSYID+VNhTnq3QcBNHR3ZuDuR2+Ay4zXXCSQzbsdgRXmoh0h2as1UlqW tXxsOjb+7areP7t9Xpzgi8QnhgTSGJg3Ayp5GI35h8Z0xBinI16sZ0IqRVz5vn8MV/ PMcys6uu0FZV57kJT2mzvn3+OlgoRDRyY5L4x9/YyUHZxoyMRw5y1sDGVAGVrIxTgw C/7UDFOvsxtmg== 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 0BF82CCF9EC; Fri, 24 Oct 2025 12:51:37 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Fri, 24 Oct 2025 14:51:45 +0200 Subject: [PATCH v14 16/18] arm64: dts: rockchip: add mipi csi-2 receiver node to rk356x MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240220-rk3568-vicap-v14-16-b38b6da0fc80@collabora.com> References: <20240220-rk3568-vicap-v14-0-b38b6da0fc80@collabora.com> In-Reply-To: <20240220-rk3568-vicap-v14-0-b38b6da0fc80@collabora.com> To: Mehdi Djait , Maxime Chevallier , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Petazzoni , Gerald Loacker , Bryan O'Donoghue , Markus Elfring , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Nicolas Dufresne , Sebastian Reichel , Collabora Kernel Team , Paul Kocialkowski , Alexander Shiyan , Val Packett , Rob Herring , Philipp Zabel , Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Michael Riesch , Michael Riesch X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761310293; l=1704; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=jgd8PGtinPHV73owMQCyysIiMO5uNpYF0qMpM09delI=; b=qgIQF5qL6Tm1pqpH4xptJfaT3ahLifapsdmrPC+/rk9QY3kPq0z3Tmo1rq9YyIk3GuoPcJ5CK FTWl0SFkBUeA0IJkS63vvRTU+HwNurflWG9eSa3Jid+RSzWqZlk+8VQ X-Developer-Key: i=michael.riesch@collabora.com; a=ed25519; pk=+MWX1fffLFZtTPG/I6XdYm/+OSvpRE8D9evQaWbiN04= X-Endpoint-Received: by B4 Relay for michael.riesch@collabora.com/20250410 with auth_id=371 X-Original-From: Michael Riesch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251024_055141_119471_4FD3900C X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: michael.riesch@collabora.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Michael Riesch Add the device tree node for the RK356x MIPI CSI-2 Receiver. Signed-off-by: Michael Riesch Reviewed-by: Bryan O'Donoghue Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi index e0e4dc85a3a9..36365e6998dc 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi @@ -564,6 +564,36 @@ gpu: gpu@fde60000 { status = "disabled"; }; + csi: csi@fdfb0000 { + compatible = "rockchip,rk3568-mipi-csi"; + reg = <0x0 0xfdfb0000 0x0 0x10000>; + interrupts = , + ; + interrupt-names = "err1", "err2"; + clocks = <&cru PCLK_CSI2HOST1>; + phys = <&csi_dphy>; + power-domains = <&power RK3568_PD_VI>; + resets = <&cru SRST_P_CSI2HOST1>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + csi_in: port@0 { + reg = <0>; + }; + + csi_out: port@1 { + reg = <1>; + + csi_output: endpoint { + remote-endpoint = <&vicap_mipi_input>; + }; + }; + }; + }; + vicap: video-capture@fdfe0000 { compatible = "rockchip,rk3568-vicap"; reg = <0x0 0xfdfe0000 0x0 0x200>; @@ -592,6 +622,10 @@ vicap_dvp: port@0 { vicap_mipi: port@1 { reg = <1>; + + vicap_mipi_input: endpoint { + remote-endpoint = <&csi_output>; + }; }; }; }; -- 2.39.5