Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp550200lqp; Wed, 22 May 2024 12:00:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXb4TYKE4RSo2HdBeqoylquJz1mhjBewAmzzdQaSlZ9JVPDxrkQXCQCK1rY5SBwhU98z94PNVtSbyk/0UGRT5u4r9/V6Z+YQPhghIsDXQ== X-Google-Smtp-Source: AGHT+IG7qwumcafiVHusdgupqEN4UW8JnvGRmqXpRtfbHAcgZzJRU+d4talVh7h3BbzhEigHPR0T X-Received: by 2002:a17:90a:394e:b0:2b1:dd0e:e20 with SMTP id 98e67ed59e1d1-2bd9f5b8a40mr2890327a91.38.1716404412765; Wed, 22 May 2024 12:00:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716404412; cv=pass; d=google.com; s=arc-20160816; b=f3qAO69IA9A0fCKwKiYMma0MIjoDJI34507eickNwNdYN/Xdki4j4LOzgs3TINS3Ad EolijGFbWkhEnwbkOJNyr+nlQ9qzCZ/NBkXEd8ab31qa2LFQrAbtlpETG0uqUJqA9J9q Kf8AFL4CaMI0DGKREKM//7NOsCaPWKdX4pqFaeqy7/S02I15xMFczOtImVp1FNkzHbzH 1zTwbBCs3xYe0ZN4gz21KMJr1FNFrPCv+Hsh3Ls7a8o7PNzT5GGGb6eKxwwgTSzyi+Dv a1H3kOgoRLXpBlsgVuJpeimvH4101911K4v1mF1hO0c65p1t0aitA2gkmCxnb7VjEDxf 3I8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=X8eXXxBIKOv81sYjWOMz3WVUpwjmzaVfp6TEPDH9yZs=; fh=/tZG21HuMcLywh7O3XGuiVOox9dhfdDvu1Fi57z6UFg=; b=TY3D78k7gSJpwP5Yg8610pSHFg8sepdSfPMDp4jRIxSocMjbGIaVif2DDcdjHmi2yM pUOCBAV5vzfxIY6gJCiMy04RVbL1tYjxNX0KrIJl2xap222k1gJzqKBpLNrNKa8t6icM q47VOQFwM21gfk9q+Foam8tPFUCFOadCGQoX9sZZxF4AApuXqnSCurH8Rqp4lgkLxboE ooSRUe6/q7U+Z9/DwiAsIRJsXy4L4pnXiC7vRwYfZvsb4Dv703CbhUJ0BW1QbeHK5Dif aaVNQaQCqt5OHAbsQ+BiPwrwibrQABAhTQ3BcMHXv/tamOMktFTrcRa8n9UCWp1z1/1g 8adA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ra4bYDEH; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-186634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bdd9f3edbbsi139442a91.152.2024.05.22.12.00.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 12:00:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ra4bYDEH; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-186634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A46BAB21A3F for ; Wed, 22 May 2024 19:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 006A314658D; Wed, 22 May 2024 18:59:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="ra4bYDEH" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 B8A931BF2A; Wed, 22 May 2024 18:59:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716404397; cv=none; b=WDLldLMAEcaBatUJ0WrjbTEnddVsUjs1E/L+vjt7/ty9Vc01j1Me1QZ5SUaaDpWrcc9267eTQNjHRa+SSHDWe+r5pD8u4Y3/0VYIhUYCR9zKhXe3G1P9fTWEI/hO235u5Uknr1EKWH/zIYoH0OQ+bXYpM7uneoReGDrzdN5m/gA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716404397; c=relaxed/simple; bh=lm8k6cSxbN2GrVxuYEbg4VxWMDNFrajpEdmYY4k5qro=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FQmsFbR+EQPMeaHGbfN9XgzFMwmONiTxGj3tiknE05dWM7NVQTybCgy65t6KiIk970hOkVFvfBb//n7b+Rh12VkZgAmwhIIEQaRq8L78QK6hva9Uw2JVUv3C2tc0fdESqDF7196agBUP5FiA9loCkk9ZRl47xPbv9ksBsG0j+qM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=ra4bYDEH; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com 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=20St=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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(+) -- 2.44.1