Message ID | 20241207-rk3588-hdmi1-v1-0-ca3a99b46a40@collabora.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 31C9EE77180 for <linux-arm-kernel@archiver.kernel.org>; Sat, 7 Dec 2024 21:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qHSVTmSemZAH0vKdybIhMO/OmZ/jyzSnlYKbOcZC1/o=; b=29m/cOxgUr54jT w32Aog4bptLeTw6g2346giHEE5ZX6TucYKIk4z6pmBv+Rt5ZLAGws5TZbKrSsju4tuG3l4lxoJuJV geIuh22i3G8/NVW4LRAnfzEPtOB4ut6FzzR/3Ao/elFel/cdm8K0LjKRJjESLc3SHKdmwvuV+4peR oHDfeEfsXBMuBkfYNDzDornpC9TmYFpdtTqpgnpk7NoYl0PhOJy5CMDDzWpnoU16T9lqfvEZ6Kew4 QplV+kzzX9X7hH/pVQQwfLe4ZPgMSYzPShMCP7L62jtQonhwuSOgkswm7evMruMDm+EnvGI8N0ocU ZC62Be1+XCter9OOBDpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tK2R5-00000004Rih-2Ek5; Sat, 07 Dec 2024 21:33:59 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tK2Q2-00000004ROX-2eDN; Sat, 07 Dec 2024 21:32:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1733607171; bh=e/F5YyK5MttfQZR5pjBEF/euITS0jR40bnuYvHJXw08=; h=From:Subject:Date:To:Cc:From; b=FuHnvg7p9ZFYZBs0s2l+Qp4zdmkfmcQyewSCFvqLzzSfDjhJfQ8h8L7HRYNtUFCVe QYMVe+Y97Fxscl1XjOasF8D8CmJCsXrD0gBU3TroAiMQILui7u4jSbq85oGY8ADPIj lQnKPq9737QDNcudJqNCNXtRhbSM0/YVmMczW6RRtxOKLO6ZLgT22xOQRiRIiC1AcH mWGJoSAWZvKoRU89qFyu6Xb+UPV4FqId5iG4s72Xm+PB31xZBcoFdemw1VfDsROBz9 vh5cFeJ18IXv51kmgIH4fqEbzRzGrnbPmXkUkeYVnFlz6DPjbCla7feF93twdg7KTf j/58AyQV+Vchg== Received: from localhost (unknown [188.27.48.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by bali.collaboradmins.com (Postfix) with ESMTPSA id 869D417E37FF; Sat, 7 Dec 2024 22:32:51 +0100 (CET) From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Subject: [PATCH 0/4] Add support for HDMI1 output on RK3588 SoC Date: Sat, 07 Dec 2024 23:32:23 +0200 Message-Id: <20241207-rk3588-hdmi1-v1-0-ca3a99b46a40@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOe+VGcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDIwNz3aJsY1MLC92MlNxMQ11zA5PkpCTz5BRz0zQloJaCotS0zAqwcdG xtbUA1V/m1F4AAAA= X-Change-ID: 20241207-rk3588-hdmi1-704cbb7cd75f To: Sandy Huang <hjc@rock-chips.com>, =?utf-8?q?Heiko_St=C3=BCbner?= <heiko@sntech.de>, Andy Yan <andy.yan@rock-chips.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org> Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241207_133254_841710_19935B2A X-CRM114-Status: GOOD ( 10.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series | Add support for HDMI1 output on RK3588 SoC | expand |
On 12/7/24 11:32 PM, Cristian Ciocaltea wrote: > The patches provide the basic support to handle the second HDMI output > port found on Rockchip RK3588 SoC. > > For now I enabled it on Radxa ROCK 5B only, the board I've been using to > validate this. Please ignore this revision and use v2 [1] instead, as it fixes a pin conflict issue occurring when having CONFIG_SPI_ROCKCHIP_SFC enabled. Thanks, Cristian [1] https://lore.kernel.org/all/20241211-rk3588-hdmi1-v2-0-02cdca22ff68@collabora.com/
The patches provide the basic support to handle the second HDMI output port found on Rockchip RK3588 SoC. For now I enabled it on Radxa ROCK 5B only, the board I've been using to validate this. ** IMPORTANT ** The series has a runtime dependency on "phy: phy-rockchip-samsung-hdptx: Don't use dt aliases to determine phy-id", a patch submitted recently by Heiko [1]. Without applying it, the functionality on both HDMI TX ports will break. Furthermore, please note this is subject to the same limitations as HDMI0 when it comes to the supported display modes. The fixes provided via [2] are not applicable to HDMI1, hence I will handle it separately as soon as all dependencies are merged. Thanks, Cristian [1] https://lore.kernel.org/lkml/20241206103401.1780416-3-heiko@sntech.de/ [2] https://lore.kernel.org/all/20241116-vop2-hdmi0-disp-modes-v1-0-2bca51db4898@collabora.com/ Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> --- Cristian Ciocaltea (4): drm/rockchip: dw_hdmi_qp: Add support for RK3588 HDMI1 output arm64: dts: rockchip: Add PHY node for HDMI1 TX port on RK3588 arm64: dts: rockchip: Add HDMI1 node on RK3588 arm64: dts: rockchip: Enable HDMI1 on rock-5b arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi | 62 ++++++++++++ arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 42 ++++++++- drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 119 +++++++++++++++++++----- 3 files changed, 198 insertions(+), 25 deletions(-) --- base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37 change-id: 20241207-rk3588-hdmi1-704cbb7cd75f