From patchwork Wed Apr 30 09:16:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch via B4 Relay X-Patchwork-Id: 886222 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 03DFD23C4F0; Wed, 30 Apr 2025 09:27:46 +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=1746005267; cv=none; b=hcoUo5WSkbBBhYgE/igY13HzdLXhc/taGrGMctf1jh26LIDvvuoTio8R/QfmAm47nl2UeTYimPWsN+KZ32zWMbDnFswRpQhyeHLVWY767+xm5VfPN7aQUzdqsYkiEtRK7k9+sIrs5bCyOjCFepCeHjmvuE07Z8eXoRy3OxBg3Ns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746005267; c=relaxed/simple; bh=N6fkCiwtMq7cQFfPuTVHOCQOjaRR0eDS9lPzo9y3LvA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rcBoOLTLghRMBnWty+082MiJmvsjCGfYPpW4Um9JcRsbC26lNY9JjAjoREMQLd7Jidp9YnrFWe9gNB9aKxuK0xdeVr4PmqNFImjxVM2Oy0KxIMJ8D9ShRk1JXP28V4NPrM88oWMYdlBBXGpYJxti5sbCiFoo7uEUsGEQspUe+jk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XHD1g7mE; 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="XHD1g7mE" Received: by smtp.kernel.org (Postfix) with ESMTPS id 6E043C4AF0B; Wed, 30 Apr 2025 09:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746005266; bh=N6fkCiwtMq7cQFfPuTVHOCQOjaRR0eDS9lPzo9y3LvA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=XHD1g7mEXepkcqFEDjh0IvzjiGvi7eFktGPyg/MFqLn8bHqEDcA3Yb544xJ5wQKXb JP+sCrSdpDB9i33x5dor2boASRpkQjd7QB3kyRKznEgFDmwjMhYSyr4/xkJ4OYXAa4 exbkgba4Pf9x1L2BI0vIV3/Ycl50dyY0UL96tpKj3jGdVNvNmDxvfZqGqvjUQSoUn0 SFm3Dq4xRRIjP3bOiQAgh9U/nAx/80Ki67wN45M1f8aDWoVSg7EgVXrNRhgk/DtTH9 a67/KMOqOEV7EQ53vtRPgR7nRwGs1B97gEIMFjmr7Sxj57xLy572Dq6yrVzxowB0P6 8Qr9jhsqrmNLQ== 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 65511C3ABAD; Wed, 30 Apr 2025 09:27:45 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Wed, 30 Apr 2025 11:16:02 +0200 Subject: [PATCH v6 13/13] arm64: dts: rockchip: enable vicap dvp on wolfvision pf5 io expander Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240220-rk3568-vicap-v6-13-d2f5fbee1551@collabora.com> References: <20240220-rk3568-vicap-v6-0-d2f5fbee1551@collabora.com> In-Reply-To: <20240220-rk3568-vicap-v6-0-d2f5fbee1551@collabora.com> To: Mehdi Djait , Maxime Chevallier , =?utf-8?q?Th=C3=A9o_Leb?= =?utf-8?q?run?= , Gerald Loacker , Thomas Petazzoni , 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=1746004564; l=1541; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=A46w67oMbroxqAcXCMQ9mjlreHO/teIN06ITNLENh64=; b=DNjWNIQuisPD8Z6OqpGmpAqpPC0hDoXzJO04Ec7Kajm4EErb2OOIEfBS83cMC0SVrDN6bR/cX OeR7cHJDynmB0Jnmki/i35gIkGyEoVsfqQl26P3BNbj7r8uEp4cHMhU 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 Reply-To: michael.riesch@collabora.com 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 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"; +};