From nobody Wed Feb 11 01:16:46 2026 Received: from smtp-bc08.mail.infomaniak.ch (smtp-bc08.mail.infomaniak.ch [45.157.188.8]) (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 00720241122 for ; Tue, 10 Jun 2025 16:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.8 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749572562; cv=none; b=MCG5sp2yd0QC12aUMgrtxdtV8yltfU1LmMwz/adOJKY4JDeQYEEPDVK1JSWUNmgq+NnHN4HcYM+Nv1t9LzNIXRqQosHO8VowQo3DerIK5uEFOxZEJeNMxdNTrwE2/Z9xJTwKuOxxEAQPycrNWR99F3tqqWJqVg2C/y/grZxFo0s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749572562; c=relaxed/simple; bh=Z6D+GL9GtsJgbHK3WL3YW7UtvGDqmKqTgGYeL9dKFuw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ChEnxwYGrrFRVq0YhC60eDCbLWENppIFbkzwFQd61nO/aiMwKZKa3yZm/vGnDM6UBySwH3u1uAk6vUjIB3X3bQNsQ6diyb+xBLuldsQOCYxXO0aM7XPwMvXXYzbeW6KmdN2ndMOYkN01WL1edTVlS2SJQg3O84gxoOmHa209XDY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net; spf=pass smtp.mailfrom=0leil.net; arc=none smtp.client-ip=45.157.188.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=0leil.net Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bGvG03JXvznlH; Tue, 10 Jun 2025 18:22:32 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bGvFz4fyJzyLt; Tue, 10 Jun 2025 18:22:31 +0200 (CEST) From: Quentin Schulz Date: Tue, 10 Jun 2025 18:22:18 +0200 Subject: [PATCH v2 3/3] arm64: dts: rockchip: support camera module on Haikou Video Demo on PX30 Ringneck Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250610-ringneck-haikou-video-demo-cam-v2-3-de1bf87e0732@cherry.de> References: <20250610-ringneck-haikou-video-demo-cam-v2-0-de1bf87e0732@cherry.de> In-Reply-To: <20250610-ringneck-haikou-video-demo-cam-v2-0-de1bf87e0732@cherry.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha From: Quentin Schulz The Haikou Video Demo adapter has a proprietary connector for a camera module which has an OV5675 camera sensor and a companion DW9714 focus lens driver. This adds support for the camera module on PX30 Ringneck module fitted on a Haikou devkit with the Haikou Video Demo adapter. Signed-off-by: Quentin Schulz --- .../rockchip/px30-ringneck-haikou-video-demo.dtso | 53 ++++++++++++++++++= ++++ 1 file changed, 53 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.d= tso b/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso index 7d9ea5aa598486680191d52e4c87af59f7b0e579..ea5ce919984f0704d88dc1f5eb0= 2a42d5633656e 100644 --- a/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso +++ b/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso @@ -94,6 +94,15 @@ video-adapter-led { }; }; =20 +&cif_clkout_m0 { + rockchip,pins =3D + <2 RK_PB3 1 &pcfg_pull_none_12ma>; +}; + +&csi_dphy { + status =3D "okay"; +}; + &display_subsystem { status =3D "okay"; }; @@ -135,6 +144,12 @@ &i2c1 { /* OV5675, GT911, DW9714 are limited to 400KHz */ clock-frequency =3D <400000>; =20 + focus: focus@c { + compatible =3D "dongwoon,dw9714"; + reg =3D <0xc>; + vcc-supply =3D <&cam_afvdd_2v8>; + }; + touchscreen@14 { compatible =3D "goodix,gt911"; reg =3D <0x14>; @@ -157,6 +172,44 @@ pca9670: gpio@27 { pinctrl-names =3D "default"; reset-gpios =3D <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; }; + + camera@36 { + compatible =3D "ovti,ov5675"; + reg =3D <0x36>; + clocks =3D <&cru SCLK_CIF_OUT>; + assigned-clocks =3D <&cru SCLK_CIF_OUT>; + /* Only parent to get exactly 19.2MHz */ + assigned-clock-parents =3D <&cru USB480M>; + assigned-clock-rates =3D <19200000>; + avdd-supply =3D <&cam_avdd_2v8>; + dvdd-supply =3D <&cam_dvdd_1v2>; + dovdd-supply =3D <&cam_dovdd_1v8>; + lens-focus =3D <&focus>; + orientation =3D <0>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&cif_clkout_m0>; + reset-gpios =3D <&pca9670 6 GPIO_ACTIVE_LOW>; + rotation =3D <180>; + + port { + cam_out: endpoint { + data-lanes =3D <1 2>; + link-frequencies =3D /bits/ 64 <450000000>; + remote-endpoint =3D <&mipi_in_cam>; + }; + }; + }; +}; + +&isp { + status =3D "okay"; +}; + +&isp_in { + mipi_in_cam: endpoint { + data-lanes =3D <1 2>; + remote-endpoint =3D <&cam_out>; + }; }; =20 &pinctrl { --=20 2.49.0