From patchwork Wed May 22 18:57:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 13671021 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 5E2F0C25B78 for ; Wed, 22 May 2024 18:59:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F36710E339; Wed, 22 May 2024 18:59:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="ra4bYDEH"; dkim-atps=neutral Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A2DF10E339 for ; Wed, 22 May 2024 18:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1716404393; bh=lm8k6cSxbN2GrVxuYEbg4VxWMDNFrajpEdmYY4k5qro=; h=From:To:Cc:Subject:Date:From; b=ra4bYDEHRutYlU5PzUg3VvmAEBtFGOnvMe/9zxuILkGD0Y5YUT+QV33nXgCq8wou0 qJnJtouYSY14vbxON0F0KuN5O0pQ5pZ3uo/SVpzKy4JVQ7OUbWmcpcl2scL59bfAfA YacR+6fQBFLMZ7bvovO8M3T40PI15R51sFI1zCsAV34EI7I5/+BjohdHQGzf1WEwM/ hSnkp3iOMLWBYifFHE7XkpwW5VAWrraoE6QsqhBbwgy/MifoKnMvB8cxkIYNtJAnlD lagTyE9BGW4QpyYerxqSosKKifXFuT8utl3Jp80PS63b4ZtW8ifjEF45X+/ODOYt1i 37AQdquoNdkNQ== Received: from arisu.mtl.collabora.ca (cola.collaboradmins.com [195.201.22.229]) (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 madrid.collaboradmins.com (Postfix) with ESMTPSA id BA6AA3782169; Wed, 22 May 2024 18:59:50 +0000 (UTC) From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sebastian Reichel , Dragan Simic , Chris Morgan , Diederik de Haas , Boris Brezillon , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Detlev Casanova Subject: [PATCH v2 0/3] drm: rockchip: vop2: Add VP clock resets support Date: Wed, 22 May 2024 14:57:47 -0400 Message-ID: <20240522185924.461742-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.44.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 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/rk3588s.dtsi | 12 ++++++ drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 30 ++++++++++++++ 3 files changed, 82 insertions(+)