Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp550685lqp; Wed, 22 May 2024 12:00:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaPncIEjNPfgdN1nXcAQ0E2pHKiE6pA9vLKrLAfKDVz65b+vjig3HmexaZX6HxOCgOXfZMFbvtk5qq8c/wH4q3/BtugF8e4Pplix61nw== X-Google-Smtp-Source: AGHT+IH21IiNu6kpvuNPgFwVe7A/0rTAiRz8c+rg3ogWf7DMRJtIjsu6Qp1tJ1OhQdbqlISMCPwf X-Received: by 2002:a05:6a20:9184:b0:1b1:f732:779b with SMTP id adf61e73a8af0-1b205c82dbamr199366637.3.1716404453854; Wed, 22 May 2024 12:00:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716404453; cv=pass; d=google.com; s=arc-20160816; b=UHC3RkTXLf0ucFuw2nqdF1+swJveWo6ER3PSy15ahYPhpu8te5sOuJpxapppxkWcD/ sAq8egXiKwvrqhfrvZqbyF5vbBnamymvzgTSCi7b2lvLVdsKfPV0jmcF25gogW2tctjC WyVBfVeynINNeatu31oSs2/xxWAzuXBGnadjYQWVnP0FyXR6qWwTvf8qkBgk5G3rWwL5 NZk4eUVaPci5avQeguNhOtI8Pwn7FML6NJIpvwUlGYULNityQ8KYcHaVNhEIYlhm8UiU i4N392uovvCXbP+svPYgBOmwbfg5UWuxmyeaneG123U/sRozQzNzsd3jc7YWFpZdDSNE 3W1A== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0kfFTHZN+oKcmAYiAKpePpAN7gI5ChsO0SWzJJugDyI=; fh=/tZG21HuMcLywh7O3XGuiVOox9dhfdDvu1Fi57z6UFg=; b=Qz3+dhMTp0cZIa2bSueLDhiG0NOhFi1xUmYPSNF7zto32zzAccIcemHb1coratyrbg N74Ct+YzT6BYcD3sx9XZEtoucgrSYxB5PmkZc9Psm2ffdFh67l+kBidjbU6ku85QpPPe ctNIz9kDQiRD0kgmePIf93H3uhuFjwSyUY9+s2M6uVPmklACGBFbWzSqVhvt5t/tJRC/ 7OpPGwZaTzWZhZx6G+xxFrkHkbwVaiTU27Bs4L9x1yW+9l7gr8uPzmpIxIOrmxFO8u0B XcDgnPaFyRolfO+c3vmGgX6jpdI4EbqvanqefL1tFPU4vAWv3Hx7mOwvAxaKH7WnQpMk WGEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CMPxjpOO; 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-186637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-658402b2270si3287879a12.41.2024.05.22.12.00.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 12:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CMPxjpOO; 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-186637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186637-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D2BFD28304A for ; Wed, 22 May 2024 19:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB79014658D; Wed, 22 May 2024 19:00:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="CMPxjpOO" 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 BA57D146D47; Wed, 22 May 2024 19:00:15 +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=1716404417; cv=none; b=aChgEiKlaCkTu6AfceFDzfF/LonUNyy6XE7ErGfNdXZ4QiBJvZtgSgu3BHAtFR8vn7FeCgUOIOzA6MdT9Jo31dx47LOC4pI+E4kNdMbG6XiyyIbXperH/dguZf/wcZcwFA6L8K+bt9JC6F4qw4WArbTT+hdK7SLKAd/nKAs3ai0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716404417; c=relaxed/simple; bh=K3uqibnV7b1duUbZhowQg1V7PD62JhL0za691muIla8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UeyaunUgi//qWOTpvymipXTyb7UAP38nEgkvcSCZtuQSYx9RHJHtKiicB72SL9CcD3UH+98mjwUgcQrwaW1hAL6PzII+vrmfnjokVTQq8cHnCnRaR0kJBWhaHz3x8/ZARrNW+du6ymL/9OBW+8mIR03nHyKBg7YKOmWMBcmvPSo= 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=CMPxjpOO; 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=1716404414; bh=K3uqibnV7b1duUbZhowQg1V7PD62JhL0za691muIla8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CMPxjpOO1qi4VJjsALN6Lc1a2LCGtl9hJ0RLXqhFk5Huqb74x9MgzegSZPWhzDDFP 2KddNFQvPVu8s62ZuD3p2qSoydHVb3J2qSOsi/hIxGdQpDSdvzpcDAjFw4NrVQlMM0 Jwp5Z1KHoKS6gax+AycckJRz5FIb/vUc+y3hxYyCadUVkXbgKEGqtpAHBWokjYhq4j 8sCSDM1BNJst1hW3GuPduRmnsZLaldi8rEVlV/2hVC14fPn2Wk61Sho8tRK/Ryn2H1 AG4+j7kBNfF4VXcIbMzWpQrS0Yban+6AEuWE2slvRzk4TsBheZyw1jcgEHT0/gJ27Q WXjLCrX3xSWVw== 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 33966378218D; Wed, 22 May 2024 19:00:11 +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 3/3] dt-bindings: display: vop2: Add VP clock resets Date: Wed, 22 May 2024 14:57:50 -0400 Message-ID: <20240522185924.461742-4-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.44.1 In-Reply-To: <20240522185924.461742-1-detlev.casanova@collabora.com> References: <20240522185924.461742-1-detlev.casanova@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the documentation for VOP2 video ports reset clocks. One reset can be set per video port. Signed-off-by: Detlev Casanova --- .../display/rockchip/rockchip-vop2.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml index 2531726af306b..5b59d91de47bd 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml @@ -65,6 +65,26 @@ properties: - const: dclk_vp3 - const: pclk_vop + resets: + minItems: 5 + items: + - description: AXI clock reset. + - description: AHB clock reset. + - description: Pixel clock reset for video port 0. + - description: Pixel clock reset for video port 1. + - description: Pixel clock reset for video port 2. + - description: Pixel clock reset for video port 3. + + reset-names: + minItems: 5 + items: + - const: aclk + - const: hclk + - const: dclk_vp0 + - const: dclk_vp1 + - const: dclk_vp2 + - const: dclk_vp3 + rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -128,6 +148,11 @@ allOf: clock-names: minItems: 7 + resets: + minItems: 6 + reset-names: + minItems: 6 + ports: required: - port@0 @@ -152,6 +177,11 @@ allOf: clock-names: maxItems: 5 + resets: + maxItems: 5 + reset-names: + maxItems: 5 + ports: required: - port@0 @@ -183,6 +213,16 @@ examples: "dclk_vp0", "dclk_vp1", "dclk_vp2"; + resets = <&cru SRST_A_VOP>, + <&cru SRST_H_VOP>, + <&cru SRST_VOP0>, + <&cru SRST_VOP1>, + <&cru SRST_VOP2>; + reset-names = "aclk", + "hclk", + "dclk_vp0", + "dclk_vp1", + "dclk_vp2"; power-domains = <&power RK3568_PD_VO>; iommus = <&vop_mmu>; vop_out: ports { -- 2.44.1