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 0817ACAC5A8 for ; Wed, 17 Sep 2025 15:39: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=dMPwT7zVwPPdHvV9vRNubW65ThDdMMP/EBY++6qwz3Q=; b=wIYgQ3hUrWUqw2hYo+kKRwm8lQ oJrOSGK5RErDbm7fFXZTcTrUYs82JmDB8HbYgc/+0Aymv2w8FkRQY3muJa63moqWu0WrDa+uAPGOF Ie8NuPcvTPbYufuwYq1LqXYtLc0Qs0e541PGEvUEv8s97Ay6uggRAGutu6OI30YoF3MWfkdxRKGVh JfMEiO17I0pxgA6bwvSUzBMjQc+PSm4GBFQp978HoUareRbY5DbaAnE8v9bLXaLRGYxQmxniH/VG8 WJcFkjiEBJArBbUwENa8CgHH3hVKxJeTsgc+CIMGCCDkuPQN5e4rN0hjdrW0shXWuGFP8dq+95my4 RNbirfzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuFY-0000000Cmqf-20eV; Wed, 17 Sep 2025 15:39:16 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuFJ-0000000CmPT-0TO7; Wed, 17 Sep 2025 15:39:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3056744FD1; Wed, 17 Sep 2025 15:38:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 11DA8C4CEFA; Wed, 17 Sep 2025 15:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758123534; bh=rZujrf8cJQS+I89btYoSUMkKofWIINtOzhrn5MbArYQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Cmm/5qzFaAp49raJtnaPPXS1EhkTn0VJ65tXf6gWVWB0vjp4YLKFV7ZwbkkJ1whT2 Lfy+rL8qy2Y2XAas2crAsv01Kz0cIlZP/5XOCDXlBd9e7+JD8gm6kKlKhQaih0cJPe lg4mUiEdTubgRbQ4AyZDmcm30hVSQOQQcgV0TpKJ1tUedx3QL9mRYSLF4vx69pSaxw 91T/zFxWw+/08yXxXzO1BZbMP1VttgbxCV3KTgp+VHV4Nmnn7AjqmjZ0upxjoHUmvw tvFeUhM/cW2Pour26CKeL1CtkEREx/0xYeVUI0hKd6iqnwQcPVeyVMDn6NDhWLTN7w 86k3KXhnuPG0Q== 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 0A1C3CAC59A; Wed, 17 Sep 2025 15:38:54 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Wed, 17 Sep 2025 17:38:57 +0200 Subject: [PATCH v11 17/17] arm64: dts: rockchip: enable vicap dvp on wolfvision pf5 io expander MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240220-rk3568-vicap-v11-17-af0eada54e5d@collabora.com> References: <20240220-rk3568-vicap-v11-0-af0eada54e5d@collabora.com> In-Reply-To: <20240220-rk3568-vicap-v11-0-af0eada54e5d@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=1758123529; l=1661; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=tkvGHWW1RXCremqXv1+qTo26zNWU0UHQFUaztf+p/DI=; b=TMdNC5j/SVR7CAj/qWuxaE52WvzsrdCM4LEMOhzl/DeDBHvBAEKWLOH7lzmoQKdF4PjLGiSZK wakOtUAk3azAWu8a5NsJ76faVqTvIo5LdF6z3bnKXTL62O2uINdkUKg 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-20250917_083901_267429_EF3C39AB X-CRM114-Status: GOOD ( 11.05 ) 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 The Digital Video Port (DVP, the 16-bit variant) of the RK3568 VICAP is broken out to the PF5 mainboard expansion header. Enable it in the device tree overlay for the WolfVision PF5 IO Expander board. Signed-off-by: Michael Riesch Reviewed-by: Gerald Loacker Tested-by: Gerald Loacker Signed-off-by: Michael Riesch --- .../rockchip/rk3568-wolfvision-pf5-io-expander.dtso | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso index 048933de2943..8cfce71dd318 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso +++ b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso @@ -11,6 +11,7 @@ #include #include #include +#include #include &{/} { @@ -134,3 +135,22 @@ &usb2phy0_host { phy-supply = <&usb_host_vbus>; status = "okay"; }; + +&vicap { + pinctrl-names = "default"; + pinctrl-0 = <&cif_clk &cif_dvp_clk &cif_dvp_bus16>; + status = "okay"; +}; + +&vicap_dvp { + vicap_dvp_input: endpoint { + bus-type = ; + bus-width = <16>; + pclk-sample = ; + rockchip,dvp-clk-delay = <10>; + }; +}; + +&vicap_mmu { + status = "okay"; +}; -- 2.39.5