From mboxrd@z Thu Jan 1 00:00:00 1970 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 B10FCC88E7F for ; Tue, 15 Sep 2026 12:28:16 +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:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2Hwo4di6s/GiSU94MPQNBdddN+KWlZv54gVo+DuGg1w=; b=WHoPHq4qOOqk4MK7dX2iLGKSO6 NC9mPVEmNs/9GHiGb7m5/3t+hzOmbV1ooWLyATYQnYXbuKS11wrpjr45TDkZ3kZSBMjuyHwYTrE3/ 9qbCqF1QqGGHIwz/oNLVWPn0Weu08NbIAmCW8rPK3D5oKtqkNlCss+3JNz2/O2mT+pIRGErGJjviR a5lvFoysTbOCGMtPVSxsc6IRQ6Le2Zm3Nqle35CGDGDRCsHdZZQNGeUPebVStxaE6h2szjNKjR+1b Cd+RLosiinQetPFcaMLaLvEgE9jhjgVdowEQXZVWe8ui8s1mYHgfA15I8YXwCpfCus8ZtnGT12JOe WawDWu8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6SGg-00000006Ulb-238X; Tue, 15 Sep 2026 12:28:10 +0000 Received: from mail-wm2-x10.google.com ([2a00:1450:4864:31::10]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6SGa-00000006Ui2-0vfF for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2026 12:28:06 +0000 Received: by mail-wm2-x10.google.com with SMTP id 5b1f17b1804b1-49cc9f581c4so10885725e9.0 for ; Tue, 15 Sep 2026 05:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789475283; x=1790080083; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=2Hwo4di6s/GiSU94MPQNBdddN+KWlZv54gVo+DuGg1w=; b=WmDQfR+NNll/qkddD3l9gm9yYF79OGYuHPoAgOg/jHZWP/RAknDl+x4PWmHiNaHkPL iLrTlV+uj9uhu86FAaAQD+ZSKYYAAZBVo7+l6R9gIOTw1PizuzHLrTCdYIa+dAa2cmse NZpX313lUJw1ga6H2ECSnCW5+zQUu7lXjvy6WFDv/i/WvyLy/rE6xOaS6UjoBNKeS/yY YStw9Om8FOenzooNRQzN8dan7ObGsPFJdSNBIz7nAb8cyl41FdEdXqMlttQyR5zkVpT9 VJV/gYaadCblwr0BU1dwUMa9ZD1ZUPYRTbDSrdeCuMUR5t7H+WnbOTc78PFG5xr2QAjS 4xdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789475283; x=1790080083; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=2Hwo4di6s/GiSU94MPQNBdddN+KWlZv54gVo+DuGg1w=; b=1eMgozR3OtK0KnvlWKdB928xGp2VtA/RwF3Z5eIVCIJFmhHxp11laJAgJPQyDIiFO3 WICOd7CMs0k3/S92HM8reSAJQ2Jn/foIKsmAIPMJYasWW66q7UeiU+dKYf5D3T84B1pF TvzMZ8KzLN6q5w8m1qqBkP8+mKzCJkN479abj/FN1o+xV2taD/aScltwDzDvT108aZpt +oSCmuTHbAvAAyF1Pq+vPqYzBubZJjuHtyivcazCueERuClW8okVIgO+IXSvqwpmGGES fMdpQpr6TlSeGxl7keNujjRuIQEmq0wvuxQGNHeX+hMIJjSFB9PenbJ2GDBw2GBgDNpN bwwg== X-Forwarded-Encrypted: i=1; AKwUvBwMs41RD4Cu/9eERC6x//lCX/RcUaUUzhT/XvwqYoSZ8t7qCBhoFcdx9n7FG/D/Yt0FcenoYIJcrKFykfgdjp67@lists.infradead.org X-Gm-Message-State: AFuF++lEZJ8CsdJBUZwEtFQxQWNa843TngjGIazEOZa1VmAallC6RqdU VXl+vs3h1TLyMbHSw4czSwB4oCzrtSUiY4VBeGTimpRqhhRZLCV/P0VjR57bPw== X-Gm-Gg: AYBFou2zlC68/AXeejNF3sjy+MIKoz9limc6fuI+v2Tqp1r0/bEKDnRS3Zjm0OpU1Cl xPc1ElrbM51+WTLFGHiVAAWSO+4NUIEjTTz85v4vD3W/nU7ZDluFKFFxz2zjF/tFh0ySVss92Mu o/yX2wXyOyAbUVw/bKulznFmXw+4f0xlXksab75lY0qhbSGf9tmEof3/JEFmNYQXyHiujzJt5oz LYGFeGql9op6OLwoqnqCoTwWtphXLbxWm7/fpdtIfH5tlZDFI/a0I/S6NjUEv1A+8Mb2w6rzgyh KX5AidY6bXgV0dElGElhiwoiOufCiTs9/ste9Wh6w5nLyn6f9PwCGMms+pA1YZNWSJXYJFA/3u4 CS8Pjwrzbrki14SN3+mRuE3MpGijWcH6XOLA8mIKYFL1jG/a31yRfNfiGxzzd9FwcUZJjGAF0Ts FFxAdBA5FrpTNTX+ExgZtckzRHNbKLsGS1aS5hgZuGxM4RtKwWe6lY1+2WiNQTZSGXyh36YhMyn fxCjJ7/M5C6y5jAeSObcMeOKbf46z1/z+du15VlqN86mjf6QjP7n9Z9xvObzCH57rcr X-Received: by 2002:a7b:c044:0:b0:49d:257c:a735 with SMTP id 5b1f17b1804b1-49e7d749462mr31690275e9.11.1789475282404; Tue, 15 Sep 2026 05:28:02 -0700 (PDT) Received: from [127.0.1.1] (2a01cb0007c59900d73f8285c1e647ab.ipv6.abo.wanadoo.fr. [2a01:cb00:7c5:9900:d73f:8285:c1e6:47ab]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49e7d6bf4desm83105075e9.15.2026.09.15.05.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2026 05:28:02 -0700 (PDT) From: Amin Gattout Date: Tue, 15 Sep 2026 14:27:56 +0200 Subject: [PATCH 1/3] media: dt-bindings: add rockchip rk3576 vicap MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260915-vicap-rk3576-v1-1-d3f5eb58a0b5@gmail.com> References: <20260915-vicap-rk3576-v1-0-d3f5eb58a0b5@gmail.com> In-Reply-To: <20260915-vicap-rk3576-v1-0-d3f5eb58a0b5@gmail.com> To: Mehdi Djait , Michael Riesch , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Amin Gattout X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789475280; l=3072; i=amin.gattout@gmail.com; s=20260818; h=from:subject:message-id; bh=z7S+WapOAADt+toUCtbJgKgHGdB3VijwYG1m9opy0vY=; b=IC84XA3mCQXaWFg/4AsAwioBWvYzZmyHQmZ2hIwH3YricEhEp8sgB2ssCuVdWRiOgs4wN+2/4 btCDa2mED+HCDnyf4iis3VYb97FCMIHQsX7Y4yo3U7fbH3x3owlCjf9 X-Developer-Key: i=amin.gattout@gmail.com; a=ed25519; pk=MSIqDPkCOkwtyP8Fns1m+KFU9SgqoDl2mpLe18vL+hQ= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260915_052804_287005_7114CA7E X-CRM114-Status: GOOD ( 12.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the compatible for the Video Capture (VICAP) unit of the Rockchip RK3576. This variant features five MIPI CSI-2 ports and a connection to the image signal processor (ISP). The pixel clock of each MIPI port enters the VICAP through a dedicated gate in the clock and reset unit, so the variant takes five interface clocks and five interface resets in addition to the aclk, hclk and dclk of the other variants. Signed-off-by: Amin Gattout --- .../bindings/media/rockchip,rk3568-vicap.yaml | 46 +++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/rockchip,rk3568-vicap.yaml b/Documentation/devicetree/bindings/media/rockchip,rk3568-vicap.yaml index 080b64503b1b..b7dfaf3b378d 100644 --- a/Documentation/devicetree/bindings/media/rockchip,rk3568-vicap.yaml +++ b/Documentation/devicetree/bindings/media/rockchip,rk3568-vicap.yaml @@ -15,6 +15,10 @@ description: the data from camera sensors, video decoders, or other companion ICs and transfers it into system main memory by AXI bus. + The Rockchip RK3576 Video Capture (VICAP) is similar to its RK3568 + counterpart, but features five MIPI CSI-2 ports and an additional + connection to the image signal processor (ISP) block. + The Rockchip RK3588 Video Capture (VICAP) is similar to its RK3568 counterpart, but features six MIPI CSI-2 ports and additional connections to the image signal processor (ISP) blocks. @@ -23,6 +27,7 @@ properties: compatible: enum: - rockchip,rk3568-vicap + - rockchip,rk3576-vicap - rockchip,rk3588-vicap reg: @@ -33,7 +38,7 @@ properties: clocks: minItems: 4 - maxItems: 5 + maxItems: 8 clock-names: items: @@ -42,6 +47,9 @@ properties: - const: dclk - const: iclk - const: iclk1 + - const: iclk2 + - const: iclk3 + - const: iclk4 minItems: 4 iommus: @@ -221,6 +229,40 @@ allOf: port@11: false + - if: + properties: + compatible: + contains: + const: rockchip,rk3576-vicap + then: + properties: + clocks: + minItems: 8 + + clock-names: + minItems: 8 + + resets: + minItems: 8 + maxItems: 8 + + reset-names: + items: + - const: arst + - const: hrst + - const: drst + - const: irst0 + - const: irst1 + - const: irst2 + - const: irst3 + - const: irst4 + + ports: + properties: + port@6: false + + port@11: false + - if: properties: compatible: @@ -230,9 +272,11 @@ allOf: properties: clocks: minItems: 5 + maxItems: 5 clock-names: minItems: 5 + maxItems: 5 resets: minItems: 9 -- 2.43.0