From patchwork Fri Nov 8 18:50:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 13868844 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 1CADCD64072 for ; Fri, 8 Nov 2024 18:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To: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=SipWtZpPQ50IN+T+j+kUhA9dZaAu/AQaHzE67fLbLgw=; b=Kvemt1p4zF3BGc R1wpK8HpP/C1ZKcSbUEXHpAGoBiesf3pUc9L786dgvZ5GFKCwmSYxvHXfeqmX7quI/GZBXN1jBmVn NTSFW7Yr2H59NpJ2FsPDgPRyX0dP+gYqe9oNXHvY046vUAYwzMXE2J+cgKtIuf9A8sS16KilGpSZD IPqFvHDeVoFEAE/L+cvq5tJV2lMRidRl9VNr2QmDwU4u9bWMRjN5gPKceA1fMKhDwMiqLU0ehF7uT 1YXNKvj/ihjeagZykCognqVq2udI+nFj8GYzeeb1IWzaqzLaQH0wi+lGRhggwGvKUWPFP/QofBycY w8NeQzhDynYfxuOiuTfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9U7i-0000000BfJ5-3zoL; Fri, 08 Nov 2024 18:54:22 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t9U5u-0000000BeUH-1vIN; Fri, 08 Nov 2024 18:52:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1731091947; bh=L9PZiEX333+Du0NXmYmoMzUp2gsXJVu8bc+StkfIx1E=; h=From:To:Cc:Subject:Date:From; b=e9yPG+j+tbA5rv4eGyOBc65gC2rIW8aGsxtTc9tEA/EDmnlJSTPeqedHOMGE/qtvE VFV5mJ3KU5wl1hez1BGe7Z24yN3t9gAIp2IE5zR9Du9rC4eTHovO2caopGpD6s2nFS voNFKk8l0a0umITXRWRn23jlyl7M+GjNcWDXRmYujFQBAuwYqDg7qvHVXomWG0vksF C+WDDA6e6t2wbaib40Xv+vqgT67Xhezt684ituQIMFvxRnMKb/tJhwM2Lc761Ba3L2 YNugjQnn/5mlBwa58HLzbkYbQz47qwflIebsA1Vt5VlNvfQ4V+tueJEuJ47GHV7V17 U3wtA5O+Ms4uw== Received: from trenzalore.hitronhub.home (unknown [23.233.251.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by bali.collaboradmins.com (Postfix) with ESMTPSA id 8903117E376A; Fri, 8 Nov 2024 19:52:24 +0100 (CET) From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Sandy Huang , Heiko Stubner , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sebastian Reichel , Dragan Simic , Alexey Charkov , Jianfeng Liu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com, Detlev Casanova Subject: [PATCH v3 0/3] drm: rockchip: vop2: Add VP clock resets support Date: Fri, 8 Nov 2024 13:50:38 -0500 Message-ID: <20241108185212.198603-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241108_105230_694072_222D93DB X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The clock reset must be used when the VOP is configured. Skipping it can put the VOP in an unknown state where the HDMI signal is either lost or not matching the selected mode. This adds support for rk3588(s) based SoCs. Changes since v2: - Rebase on latest master - Add details on how to reproduce the issue Changes since v1: - Add AXI and AHB clock resets - Set maxItems for !rk3588 in vop2 bindings Detlev Casanova (3): vop2: Add clock resets support arm64: dts: rockchip: Add VOP clock resets for rk3588s dt-bindings: display: vop2: Add VP clock resets .../display/rockchip/rockchip-vop2.yaml | 40 +++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 12 ++++++ drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 30 ++++++++++++++ 3 files changed, 82 insertions(+)