From mboxrd@z Thu Jan 1 00:00:00 1970 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 B8B20295524; Tue, 17 Jun 2025 09:07:27 +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=1750151247; cv=none; b=rD8VbRBi4/0pTSH9NKJntjo+e6eUBK05zeA3k0ekiN+bRXJhbIy3xLkMAEFrYL0Dys7w+wr20YfFGt1ouNMIX1oF3UYB3r6wOgtPsruukQ1QSVYM67II5QmcB5Ckpl5y+nEwuef7WLjNj6XwKG0ej50sUCxCrgdK0B3P1ntjMHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750151247; c=relaxed/simple; bh=Si2W4F7cUbz3L54al/Qkxuum2j7kVFvTLzKFSkA8wyQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=lDmcX5cCbUV65nvrTPrwxTlFV0T5L7OcO1N1HeUcLCNbQRLewsaqe/nYKsw5+zLbbtN7z36AWGsUe7TokVk+1IE9L2Xwok9E33bWCOG49/nB6iqZzAQbed08c3nHkBlpry1015yX46SMVQCna4d1IZ9e62f2Bll/+aul7JeLGJI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c2APkMi3; 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="c2APkMi3" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4B1D5C4CEED; Tue, 17 Jun 2025 09:07:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750151247; bh=Si2W4F7cUbz3L54al/Qkxuum2j7kVFvTLzKFSkA8wyQ=; h=From:Subject:Date:To:Cc:Reply-To:From; b=c2APkMi3x0QA2ljjvUff2h++NBZ80rMXaSxc++gORSMjyM2ccuN/T//dorduTr7fi Hlqh3xi4b9AL+bs67OYkm50qdy8Nx423bRnu35y+ZuMbm6TS7DyJUAAlqXHHwa54+g LXavtweI7+g2gqKnnAhyHa628oz3NpUYuWQfm1w6H4W9V0AThUkDLNag3KlOtgVRbR Ugozn+q/OlyaOIQOQqnLwvT+hwCvNVXvr4L/qx8mcyWNe2ou93/vaDOZ07h5XQHEU5 B9XOd5umXc+kAp5BnHbtNEDwAbweHqHWys7w1pIzXhNzg78oBOVuSpKxN+7Wcj4HBr XXn4rHQqEdINQ== 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 33632C71157; Tue, 17 Jun 2025 09:07:27 +0000 (UTC) From: Michael Riesch via B4 Relay Subject: [PATCH 0/5] phy: rockchip: phy-rockchip-inno-csidphy: add support for rk3588 variant Date: Tue, 17 Jun 2025 10:54:41 +0200 Message-Id: <20250616-rk3588-csi-dphy-v1-0-84eb3b2a736c@collabora.com> 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: 7bit X-B4-Tracking: v=1; b=H4sIAFEtUWgC/x3MQQqAIBBA0avErBswS7GuEi3CmXIILBSiiO6et HyL/x/InIQzDNUDiU/JsseCpq7AhzmujELFoJU2yjYW09Ya59BnQTrCjb5n0jN1nvoFSnUkXuT 6j+P0vh9u/TV2YQAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , Jagan Teki , Sebastian Reichel , Collabora Kernel Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Michael Riesch X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1750150493; l=1495; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=Si2W4F7cUbz3L54al/Qkxuum2j7kVFvTLzKFSkA8wyQ=; b=+p79y9jGgbIVFS386LZQ8TkpJw4rRZgJWWo3ICGeMWt4e0bJeMPjAC6VRl6QTmGaCgn2g/1VP cV9D94y/SBoCd72D6wrP7Yf32Xp2wJV04pR88bAa2zcbbYTaNO7Iofm 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 Habidere, The Rockchip RK3588 features two MIPI CSI-2 DPHYs (not to be confused with the two combo MIPI DSI/CSI CPHY/DPHY blocks). The CSI-2 DPHYs can be supported using the existing phy-rockchip-inno-csidphy driver, the notable differences being - the control bits in the GRF - the additional reset line This patch series adds support for this variant. As you may have guessed, this is part of the efforts to bring the support for the RK3588 Video Capture (VICAP) unit mainline. Looking forward to your comments! Signed-off-by: Michael Riesch --- Michael Riesch (5): dt-bindings: soc: rockchip: add rk3588 csidphy grf syscon dt-bindings: phy: rockchip-inno-csi-dphy: add rk3588 variant phy: rockchip: phy-rockchip-inno-csidphy: allow writes to grf register 0 phy: rockchip: phy-rockchip-inno-csidphy: add support for rk3588 variant arm64: dts: rockchip: add mipi csi-2 dphy nodes to rk3588 .../bindings/phy/rockchip-inno-csi-dphy.yaml | 60 ++++++++++++++++++++-- .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 31 +++++++++++ drivers/phy/rockchip/phy-rockchip-inno-csidphy.c | 28 ++++++++-- 4 files changed, 112 insertions(+), 8 deletions(-) --- base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 change-id: 20250616-rk3588-csi-dphy-c9ed2ad4cd9f Best regards, -- Michael Riesch