From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBF07C61D97 for ; Wed, 22 Nov 2023 14:15:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344299AbjKVOPC (ORCPT ); Wed, 22 Nov 2023 09:15:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231638AbjKVOOx (ORCPT ); Wed, 22 Nov 2023 09:14:53 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D56112; Wed, 22 Nov 2023 06:14:48 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 263EEE0011; Wed, 22 Nov 2023 14:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3KqnBhwi67VqJqEoEy9XgHZcNT6TUUQXGFk1xEUCrIQ=; b=mFKodwPq4XOUO1X1XcibL+8nMe9XB2JJRjnKkfHqLckGDyaeWKiuYJTspH43lAh2MMUqgb Qgl0bLjHxCAsJKkAftPb0N/8HLSsGtaumW1znjqEM5Xv/5TGfmJYYvuodfgVXK1erKLEWX v9Tug1WHllDB4hKux38EXU4BbxCZ//nxfU998j1nMRi/dYJyoDVsszmP/2m7SpFLGw6IRC 3sdWylHC7tFAZYMXHptccD0bs98KrK9GxpDhyMkRDiuKAcEVRQK5JVprR+cq1aNHnZmJdE BTNtXSRttySKoQ++jV8cTMna7Hfbdd//PVhenW/5zvsHHWniq25kkbJ6F/8qmw== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski , Rob Herring Subject: [PATCH v7 1/7] clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header Date: Wed, 22 Nov 2023 15:14:19 +0100 Message-ID: <20231122141426.329694-2-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" In order to declare a mbus node for the v3s, expose its associated clocks to the public header. Signed-off-by: Paul Kocialkowski Reviewed-by: Samuel Holland Acked-by: Rob Herring --- drivers/clk/sunxi-ng/ccu-sun8i-v3s.h | 4 ---- include/dt-bindings/clock/sun8i-v3s-ccu.h | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h b/drivers/clk/sunxi-ng/cc= u-sun8i-v3s.h index 345cdbbab362..c933ef016570 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h +++ b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h @@ -39,14 +39,10 @@ =20 /* The first bunch of module clocks are exported */ =20 -#define CLK_DRAM 58 - /* All the DRAM gates are exported */ =20 /* Some more module clocks are exported */ =20 -#define CLK_MBUS 72 - /* And the GPU module clock is exported */ =20 #define CLK_PLL_DDR1 74 diff --git a/include/dt-bindings/clock/sun8i-v3s-ccu.h b/include/dt-binding= s/clock/sun8i-v3s-ccu.h index 014ac6123d17..4231f23bc53b 100644 --- a/include/dt-bindings/clock/sun8i-v3s-ccu.h +++ b/include/dt-bindings/clock/sun8i-v3s-ccu.h @@ -87,7 +87,7 @@ #define CLK_SPI0 55 #define CLK_USB_PHY0 56 #define CLK_USB_OHCI0 57 - +#define CLK_DRAM 58 #define CLK_DRAM_VE 59 #define CLK_DRAM_CSI 60 #define CLK_DRAM_EHCI 61 @@ -101,7 +101,7 @@ #define CLK_VE 69 #define CLK_AC_DIG 70 #define CLK_AVS 71 - +#define CLK_MBUS 72 #define CLK_MIPI_CSI 73 =20 /* Clocks not available on V3s */ --=20 2.42.1 From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31263C61D97 for ; Wed, 22 Nov 2023 14:14:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344271AbjKVOO6 (ORCPT ); Wed, 22 Nov 2023 09:14:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232190AbjKVOOx (ORCPT ); Wed, 22 Nov 2023 09:14:53 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 122C018E; Wed, 22 Nov 2023 06:14:48 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 166E2E000A; Wed, 22 Nov 2023 14:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ABQkvnbU9jREL+xGEduT9Jz440AQVxL+9NX8sRWpyl0=; b=UOYPKGnr7sOyxEsQY3xpDVSRRGBZINCji7asEbWpRM803LzqHZWc45iqwkf6AbjKlWKvjI FxfR1WGV6IKEaFYUpUBU6T8z0wnOLgvJVXLXF7fJiAmxbrbMf3HAHiHnz9woxoT6o6IjoV fANbhFgt7lRAJUBPV/vlsDbH/bYeialQuZPUp/ACdQ/6k+Ka59dMxDiiycLCWiEpKVuu4t JyvCqDr5ZePlFwWBKyBOK5PPmN3IoneyuHOTyPx2iRQely6KIozj+MQTnc/IKbRimK1W18 cml8a1t27JJp4x3hW5XyimZLnmBevRq6GZIFwCJnCI/u+d9qhKPJj2dJATzdZA== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 2/7] ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect Date: Wed, 22 Nov 2023 15:14:20 +0100 Message-ID: <20231122141426.329694-3-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The V3s uses the mbus interconnect to provide DRAM access for a number of blocks. The SoC can only map 2 GiB of DRAM, which is reflected in the dma-ranges property. Signed-off-by: Paul Kocialkowski Reviewed-by: Samuel Holland --- arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts= /allwinner/sun8i-v3s.dtsi index 3b9a282c2746..506e98f4f69d 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -579,6 +579,21 @@ int_mii_phy: ethernet-phy@1 { }; }; =20 + mbus: dram-controller@1c62000 { + compatible =3D "allwinner,sun8i-v3s-mbus"; + reg =3D <0x01c62000 0x1000>, + <0x01c63000 0x1000>; + reg-names =3D "mbus", "dram"; + clocks =3D <&ccu CLK_MBUS>, + <&ccu CLK_DRAM>, + <&ccu CLK_BUS_DRAM>; + clock-names =3D "mbus", "dram", "bus"; + #address-cells =3D <1>; + #size-cells =3D <1>; + dma-ranges =3D <0x00000000 0x40000000 0x80000000>; + #interconnect-cells =3D <1>; + }; + spi0: spi@1c68000 { compatible =3D "allwinner,sun8i-h3-spi"; reg =3D <0x01c68000 0x1000>; --=20 2.42.1 From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32F75C61D97 for ; Wed, 22 Nov 2023 14:15:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344305AbjKVOPF (ORCPT ); Wed, 22 Nov 2023 09:15:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbjKVOOx (ORCPT ); Wed, 22 Nov 2023 09:14:53 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E52E819D; Wed, 22 Nov 2023 06:14:49 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id E09E7E0012; Wed, 22 Nov 2023 14:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4r8AmM7mXWeipOMUfi50m9Hi0q6kLe/5x9Q/douM3aY=; b=RTfTRVsisHRP5wcG9YOUbabpkm1gdgR9IUrxZ2EuBPNx1Y6drFoUm0Axd70PVxqBBTvE/c bcYl0hPsvjHoMMhJbRuIZMb7jn3OolmyCk+6ZFH3N3K547Ib+BFLG7vwc8wmHXRPToW6fi R1oR+So8dr6Ie2ALrCBshOGRR6wOm9JsQoVV5DNXL9TPBuCgVQ301ivNTsh/goID1r3QQA /pWJXv/XTs3U3BCEB/QRlDFu1dIMZq+PdAsXjlmNN5d1SYbzXp5wvyX1SIus2FIlMbsGY0 GALU9Cljj/HOQuklGq5goKsA2R1qvRXJoBOH4lkHWdQgcBFhox+I5VQ5G2Pzzw== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 3/7] ARM: dts: sun8i: v3s: Add nodes for MIPI CSI-2 support Date: Wed, 22 Nov 2023 15:14:21 +0100 Message-ID: <20231122141426.329694-4-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" MIPI CSI-2 is supported on the V3s with an A31-based MIPI CSI-2 bridge controller. The controller uses a separate D-PHY, which is the same that is otherwise used for MIPI DSI, but used in Rx mode. On the V3s, the CSI0 controller is dedicated to MIPI CSI-2 as it does not have access to any parallel interface pins. Add all the necessary nodes (CSI0, MIPI CSI-2 bridge and D-PHY) to support the MIPI CSI-2 interface. Note that a fwnode graph link is created between CSI0 and MIPI CSI-2 even when no sensor is connected. This will result in a probe failure for the controller as long as no sensor is connected but this is fine since no other interface is available. The interconnects property is used to inherit the proper DMA offset. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts= /allwinner/sun8i-v3s.dtsi index 506e98f4f69d..d57612023aa4 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -621,6 +621,77 @@ gic: interrupt-controller@1c81000 { interrupts =3D ; }; =20 + csi0: camera@1cb0000 { + compatible =3D "allwinner,sun8i-v3s-csi"; + reg =3D <0x01cb0000 0x1000>; + interrupts =3D ; + clocks =3D <&ccu CLK_BUS_CSI>, + <&ccu CLK_CSI1_SCLK>, + <&ccu CLK_DRAM_CSI>; + clock-names =3D "bus", "mod", "ram"; + resets =3D <&ccu RST_BUS_CSI>; + interconnects =3D <&mbus 5>; + interconnect-names =3D "dma-mem"; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@1 { + reg =3D <1>; + + csi0_in_mipi_csi2: endpoint { + remote-endpoint =3D <&mipi_csi2_out_csi0>; + }; + }; + }; + }; + + mipi_csi2: csi@1cb1000 { + compatible =3D "allwinner,sun8i-v3s-mipi-csi2", + "allwinner,sun6i-a31-mipi-csi2"; + reg =3D <0x01cb1000 0x1000>; + interrupts =3D ; + clocks =3D <&ccu CLK_BUS_CSI>, + <&ccu CLK_CSI1_SCLK>; + clock-names =3D "bus", "mod"; + resets =3D <&ccu RST_BUS_CSI>; + status =3D "disabled"; + + phys =3D <&dphy>; + phy-names =3D "dphy"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + mipi_csi2_in: port@0 { + reg =3D <0>; + }; + + mipi_csi2_out: port@1 { + reg =3D <1>; + + mipi_csi2_out_csi0: endpoint { + remote-endpoint =3D <&csi0_in_mipi_csi2>; + }; + }; + }; + }; + + dphy: d-phy@1cb2000 { + compatible =3D "allwinner,sun6i-a31-mipi-dphy"; + reg =3D <0x01cb2000 0x1000>; + clocks =3D <&ccu CLK_BUS_CSI>, + <&ccu CLK_MIPI_CSI>; + clock-names =3D "bus", "mod"; + resets =3D <&ccu RST_BUS_CSI>; + allwinner,direction =3D "rx"; + status =3D "disabled"; + #phy-cells =3D <0>; + }; + csi1: camera@1cb4000 { compatible =3D "allwinner,sun8i-v3s-csi"; reg =3D <0x01cb4000 0x3000>; --=20 2.42.1 From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4598AC61D9C for ; Wed, 22 Nov 2023 14:15:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344215AbjKVOPH (ORCPT ); Wed, 22 Nov 2023 09:15:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235170AbjKVOOy (ORCPT ); Wed, 22 Nov 2023 09:14:54 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C92E497; Wed, 22 Nov 2023 06:14:50 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id BC234E0007; Wed, 22 Nov 2023 14:14:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zkdHkQjq3zn+cr3h8O6hniqwb4wqvOUf1cWWpN7DY+s=; b=eMuKTIP+3smNdNoRBrZEeMbsJjG0CWGQ6wjhR+xyz4LO5SxAm7+b5yxQUdS4igDJG7Obr+ 2NAwGIeKs3kv/ZY0/2Pdt1q4pt1CLSd9LC7vT79bPx+cKN3wYO/r2k9UT+TyHxbl/FR+a+ 3mRk4Jq20XyzteKkuKtwW01wqj2PBbx/7R7z1Kl6dpEqto5LNLlePHRT4X72pQgSYPmfF+ hmGgnMMXWWDURMHrx+N6d4At2kFO4iZ8xZil4o0hVCvPYKMvrUQIl9Um8ks+yMMfoNhc7+ 2F+GtkLXKV2t7s+nQLScgQq5VFksionhGslwoB6qzTE+mTxipnS3pXxw8cAePA== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 4/7] ARM: dts: sun8i: v3s: Add support for the ISP Date: Wed, 22 Nov 2023 15:14:22 +0100 Message-ID: <20231122141426.329694-5-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The V3s (and related platforms) come with an instance of the A31 ISP. Even though it is very close to the A31 ISP, it is not exactly register-compatible and a dedicated compatible only is used as a result. Just like most other blocks of the camera pipeline, the ISP uses the common CSI bus, module and ram clock as well as reset. A port connection to the ISP is added to CSI0 for convenience since CSI0 serves for MIPI CSI-2 interface support, which is likely to receive raw data that will need to be processed by the ISP to produce a final image. The interconnects property is used to inherit the proper DMA offset. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts= /allwinner/sun8i-v3s.dtsi index d57612023aa4..1a1dcd36cba4 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -645,6 +645,14 @@ csi0_in_mipi_csi2: endpoint { remote-endpoint =3D <&mipi_csi2_out_csi0>; }; }; + + port@2 { + reg =3D <2>; + + csi0_out_isp: endpoint { + remote-endpoint =3D <&isp_in_csi0>; + }; + }; }; }; =20 @@ -703,5 +711,32 @@ csi1: camera@1cb4000 { resets =3D <&ccu RST_BUS_CSI>; status =3D "disabled"; }; + + isp: isp@1cb8000 { + compatible =3D "allwinner,sun8i-v3s-isp"; + reg =3D <0x01cb8000 0x1000>; + interrupts =3D ; + clocks =3D <&ccu CLK_BUS_CSI>, + <&ccu CLK_CSI1_SCLK>, + <&ccu CLK_DRAM_CSI>; + clock-names =3D "bus", "mod", "ram"; + resets =3D <&ccu RST_BUS_CSI>; + interconnects =3D <&mbus 5>; + interconnect-names =3D "dma-mem"; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + isp_in_csi0: endpoint { + remote-endpoint =3D <&csi0_out_isp>; + }; + }; + }; + }; }; }; --=20 2.42.1 From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0135DC61D9B for ; Wed, 22 Nov 2023 14:15:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344309AbjKVOPJ (ORCPT ); Wed, 22 Nov 2023 09:15:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344159AbjKVOO5 (ORCPT ); Wed, 22 Nov 2023 09:14:57 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4379D101; Wed, 22 Nov 2023 06:14:53 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 97F2DE000F; Wed, 22 Nov 2023 14:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OJh0UJcLRZDsO0H3GP2TmEuizz0gtILPNblbJuaZueI=; b=aGAVlR1dvSb8R60JtZC4/1ZmFZCQmBdZtEBRDcN9p7PwJw47vH70p/M1SXIfQelMrh9qLs UJoLFtz0IUziaBa40lXw4X9wGepSb9oLxRmORW7AE1aNWNbLkEovE4TqeBMLtxzoXjwM+R wVL1y4oE8N+nqw32IqZVqOnJPDKhomCC8KJ1qTV+kFxPrw7Bo9wtbbpHgHH1SU+3ExfQsP u9Q9Db3A5SiJRAS3kL9A+8C4SzEhURpq4udRGSXfI0OvEzf/i0Dfdh8IBgjaomT4ClPzw6 /uTv+d0f7NT9Eda1skSB+7d3jfKMKPeAETuHoBBIeGn0JEnm2ZjVXD2yfVpctA== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 5/7] ARM: dts: sun8i: a83t: Add MIPI CSI-2 controller node Date: Wed, 22 Nov 2023 15:14:23 +0100 Message-ID: <20231122141426.329694-6-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" MIPI CSI-2 is supported on the A83T with a dedicated controller that covers both the protocol and D-PHY. It is connected to the only CSI receiver with a fwnode graph link. Note that the CSI receiver supports both this MIPI CSI-2 source and a parallel source. An empty port with a label for the MIPI CSI-2 sensor input is also defined for convenience. Signed-off-by: Paul Kocialkowski Reviewed-by: Jernej Skrabec --- arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi | 43 +++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi b/arch/arm/boot/dt= s/allwinner/sun8i-a83t.dtsi index 94eb3bfc989e..b74c3f9e6598 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi @@ -1062,6 +1062,49 @@ csi: camera@1cb0000 { clock-names =3D "bus", "mod", "ram"; resets =3D <&ccu RST_BUS_CSI>; status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@1 { + reg =3D <1>; + + csi_in_mipi_csi2: endpoint { + remote-endpoint =3D <&mipi_csi2_out_csi>; + }; + }; + }; + }; + + mipi_csi2: csi@1cb1000 { + compatible =3D "allwinner,sun8i-a83t-mipi-csi2"; + reg =3D <0x01cb1000 0x1000>; + interrupts =3D ; + clocks =3D <&ccu CLK_BUS_CSI>, + <&ccu CLK_CSI_SCLK>, + <&ccu CLK_MIPI_CSI>, + <&ccu CLK_CSI_MISC>; + clock-names =3D "bus", "mod", "mipi", "misc"; + resets =3D <&ccu RST_BUS_CSI>; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + mipi_csi2_in: port@0 { + reg =3D <0>; + }; + + mipi_csi2_out: port@1 { + reg =3D <1>; + + mipi_csi2_out_csi: endpoint { + remote-endpoint =3D <&csi_in_mipi_csi2>; + }; + }; + }; }; =20 hdmi: hdmi@1ee0000 { --=20 2.42.1 From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A479BC61D97 for ; Wed, 22 Nov 2023 14:15:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344325AbjKVOPN (ORCPT ); Wed, 22 Nov 2023 09:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232190AbjKVOO7 (ORCPT ); Wed, 22 Nov 2023 09:14:59 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42692112; Wed, 22 Nov 2023 06:14:54 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1B494E0009; Wed, 22 Nov 2023 14:14:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MbVQzX9cYR/++E90CQRNI6quSUpAd4A/5VEQuPiEtWI=; b=lZr+F0YTNHF6CaCw6lHJBLFdVfhZhxauFXKIIof73388r5Z25FoeU03jC2xC38zSwS9znR v+jAMrKJDWwKy5a9e52nblfc0bo/AOyhmg/vmMexkxcw/j79DqP70k8riNP4ABYhuwk3No dzFRWGz1DFAxH1QMVwJ/OTKRQkzEF+NMZo/AsQOQ/Eb3N3yBdhVxBs/gsBvsaO3HdLKY+Y 2Ne/JpL/nZ5nVrseDzrXJhxFFVVrNRSnQ+eqooWs0XltLhJC/6vGJSPBjiwmZBtw4s8La3 bx/LwkxJQSZfQwwr9Jao53POWapJbl6++j5/CC4MXtnpwOvP4XADMtGe4n0C+A== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 6/7] ARM: dts: sun8i-a83t: Add BananaPi M3 OV5640 camera overlay Date: Wed, 22 Nov 2023 15:14:24 +0100 Message-ID: <20231122141426.329694-7-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add an overlay supporting the OV5640 from the BananaPi Camera v3 peripheral board. The board has two sensors (OV5640 and OV8865) which cannot be supported in parallel as they share the same reset pin and the kernel currently has no support for this case. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/allwinner/Makefile | 1 + .../sun8i-a83t-bananapi-m3-camera-ov5640.dtso | 117 ++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-came= ra-ov5640.dtso diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwi= nner/Makefile index eebb5a0c873a..a0a9aa6595e4 100644 --- a/arch/arm/boot/dts/allwinner/Makefile +++ b/arch/arm/boot/dts/allwinner/Makefile @@ -277,6 +277,7 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \ sun8i-a33-sinlinx-sina33.dtb \ sun8i-a83t-allwinner-h8homlet-v2.dtb \ sun8i-a83t-bananapi-m3.dtb \ + sun8i-a83t-bananapi-m3-camera-ov5640.dtbo \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dtb \ sun8i-h2-plus-bananapi-m2-zero.dtb \ diff --git a/arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-camera-ov56= 40.dtso b/arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-camera-ov5640.= dtso new file mode 100644 index 000000000000..5868ef11bdee --- /dev/null +++ b/arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-camera-ov5640.dtso @@ -0,0 +1,117 @@ +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2022 Bootlin + * Author: Paul Kocialkowski + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&{/} { + /* + * These regulators actually have DLDO4 tied to their EN pin, which is + * described as input supply here for lack of a better representation. + * Their actual supply is PS, which is always-on. + */ + + ov5640_avdd: ov5640-avdd { + compatible =3D "regulator-fixed"; + regulator-name =3D "ov5640-avdd"; + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + vin-supply =3D <®_dldo4>; + }; + + ov5640_dovdd: ov5640-dovdd { + compatible =3D "regulator-fixed"; + regulator-name =3D "ov5640-dovdd"; + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + vin-supply =3D <®_dldo4>; + }; + + ov5640_dvdd: ov5640-dvdd { + compatible =3D "regulator-fixed"; + regulator-name =3D "ov5640-dvdd"; + regulator-min-microvolt =3D <1500000>; + regulator-max-microvolt =3D <1500000>; + vin-supply =3D <®_dldo4>; + }; +}; + +&csi { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&csi_8bit_parallel_pins>; + status =3D "okay"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + csi_in_ov5640: endpoint { + remote-endpoint =3D <&ov5640_out_csi>; + bus-width =3D <8>; + data-shift =3D <2>; + hsync-active =3D <1>; + vsync-active =3D <1>; + pclk-sample =3D <1>; + }; + }; + }; +}; + +&i2c2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&i2c2_pe_pins>; + status =3D "okay"; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + ov5640: camera@3c { + compatible =3D "ovti,ov5640"; + reg =3D <0x3c>; + + clocks =3D <&ccu CLK_CSI_MCLK>; + clock-names =3D "xclk"; + assigned-clocks =3D <&ccu CLK_CSI_MCLK>; + assigned-clock-parents =3D <&osc24M>; + assigned-clock-rates =3D <24000000>; + + AVDD-supply =3D <&ov5640_avdd>; + DOVDD-supply =3D <&ov5640_dovdd>; + DVDD-supply =3D <&ov5640_dvdd>; + + powerdown-gpios =3D <&pio 3 15 GPIO_ACTIVE_HIGH>; /* PD15 */ + reset-gpios =3D <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */ + + rotation =3D <180>; + + port { + ov5640_out_csi: endpoint { + remote-endpoint =3D <&csi_in_ov5640>; + bus-width =3D <8>; + data-shift =3D <2>; + hsync-active =3D <1>;=20 + vsync-active =3D <1>; + pclk-sample =3D <1>; + }; + }; + }; +}; + +&pio { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&csi_mclk_pin>; +}; + +®_dldo4 { + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; +}; --=20 2.42.1 From nobody Wed Dec 17 19:02:32 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E3DFC61D9C for ; Wed, 22 Nov 2023 14:15:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344344AbjKVOPP (ORCPT ); Wed, 22 Nov 2023 09:15:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235176AbjKVOO7 (ORCPT ); Wed, 22 Nov 2023 09:14:59 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D28F18E; Wed, 22 Nov 2023 06:14:54 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 0924DE0005; Wed, 22 Nov 2023 14:14:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662493; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RMUiNYYrSJTJpIrbqVmKd1nt/unZDdKv9MD9/KuRjYU=; b=ZwSqH+8lCJrY2dcdvuLfcyUKWscKeAFuIdhGlMmMEJhRsMlUdaxjRRhbQ34NPkIQ/qOE19 iXLRl9FZIKxlPwHGd/Ru7l9BfhiKQT0hwj5QrjHPBjOoUeENgW9/PpftveMyDsl7zVDOV6 B/raDGP1i8+aaBcNSYagiXiDRpvHkNvuaoWf+x5DZ4uIS+bNYORAh4nyO3sHuxLCDI6B11 QebxJvcY69UBGKLF1zARAUH9PT7S+hzFI7WVTWD8s3sLq84eZ228OyFTe9I+LBt7OYNknO s65gs4Lrh1xWQpS7OJgWXbEdKUJZ+RbM7aSbj/begvkf6/XOPg+sGv5TMmK2Ng== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 7/7] ARM: dts: sun8i-a83t: Add BananaPi M3 OV8865 camera overlay Date: Wed, 22 Nov 2023 15:14:25 +0100 Message-ID: <20231122141426.329694-8-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add an overlay supporting the OV8865 from the BananaPi Camera v3 peripheral board. The board has two sensors (OV5640 and OV8865) which cannot be supported in parallel as they share the same reset pin and the kernel currently has no support for this case. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/allwinner/Makefile | 1 + .../sun8i-a83t-bananapi-m3-camera-ov8865.dtso | 109 ++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-came= ra-ov8865.dtso diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwi= nner/Makefile index a0a9aa6595e4..980ac88634e3 100644 --- a/arch/arm/boot/dts/allwinner/Makefile +++ b/arch/arm/boot/dts/allwinner/Makefile @@ -278,6 +278,7 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \ sun8i-a83t-allwinner-h8homlet-v2.dtb \ sun8i-a83t-bananapi-m3.dtb \ sun8i-a83t-bananapi-m3-camera-ov5640.dtbo \ + sun8i-a83t-bananapi-m3-camera-ov8865.dtbo \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dtb \ sun8i-h2-plus-bananapi-m2-zero.dtb \ diff --git a/arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-camera-ov88= 65.dtso b/arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-camera-ov8865.= dtso new file mode 100644 index 000000000000..0656ee8d4bfe --- /dev/null +++ b/arch/arm/boot/dts/allwinner/sun8i-a83t-bananapi-m3-camera-ov8865.dtso @@ -0,0 +1,109 @@ +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2022 Bootlin + * Author: K=C3=A9vin L'h=C3=B4pital + * Author: Paul Kocialkowski + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&{/} { + /* + * These regulators actually have DLDO4 tied to their EN pin, which is + * described as input supply here for lack of a better representation. + * Their actual supply is PS, which is always-on. + */ + + ov8865_avdd: ov8865-avdd { + compatible =3D "regulator-fixed"; + regulator-name =3D "ov8865-avdd"; + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + vin-supply =3D <®_dldo4>; + }; + + ov8865_dovdd: ov8865-dovdd { + compatible =3D "regulator-fixed"; + regulator-name =3D "ov8865-dovdd"; + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + vin-supply =3D <®_dldo4>; + }; + + ov8865_dvdd: ov8865-dvdd { + compatible =3D "regulator-fixed"; + regulator-name =3D "ov8865-dvdd"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + vin-supply =3D <®_dldo4>; + }; +}; + +&ccu { + assigned-clocks =3D <&ccu CLK_CSI_MCLK>; + assigned-clock-parents =3D <&osc24M>; + assigned-clock-rates =3D <24000000>; +}; + +&csi { + status =3D "okay"; +}; + +&i2c2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&i2c2_pe_pins>; + status =3D "okay"; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + ov8865: camera@36 { + compatible =3D "ovti,ov8865"; + reg =3D <0x36>; + + clocks =3D <&ccu CLK_CSI_MCLK>; + assigned-clocks =3D <&ccu CLK_CSI_MCLK>; + assigned-clock-parents =3D <&osc24M>; + assigned-clock-rates =3D <24000000>; + + avdd-supply =3D <&ov8865_avdd>; + dovdd-supply =3D <&ov8865_dovdd>; + dvdd-supply =3D <&ov8865_dvdd>; + + powerdown-gpios =3D <&pio 4 17 GPIO_ACTIVE_LOW>; /* PE17 */ + reset-gpios =3D <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */ + + port { + ov8865_out_mipi_csi2: endpoint { + remote-endpoint =3D <&mipi_csi2_in_ov8865>; + link-frequencies =3D /bits/ 64 <360000000>; + data-lanes =3D <1 2 3 4>; + }; + }; + }; +}; + +&mipi_csi2 { + status =3D "okay"; +}; + +&mipi_csi2_in { + mipi_csi2_in_ov8865: endpoint { + remote-endpoint =3D <&ov8865_out_mipi_csi2>; + data-lanes =3D <1 2 3 4>; + }; +}; + +&pio { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&csi_mclk_pin>; +}; + +®_dldo4 { + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; +}; --=20 2.42.1