From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f12.google.com (mail-wm2-f12.google.com [74.125.225.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73E734A6888 for ; Tue, 15 Sep 2026 12:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789475286; cv=none; b=TWeG+giOyH8whaPDx7RmhsBc6yw157Rsny92K3vjjqv89Yz17gaZy6BDWEtPhI177c9M5zlk3pEUei5BCv6KZl4Jz4HjSh2nD+PtP1qI2WU0zH6gkgZNwB1yIIuAi3hE9E/48iHITyOyECksuUA7wE/28iwLlzoU5NHdNHBKhU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789475286; c=relaxed/simple; bh=z7S+WapOAADt+toUCtbJgKgHGdB3VijwYG1m9opy0vY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jfrqQC7oYj72lHQeosySj6oNyIJjuKtzZtiYBHUaTYyFXC5U2f7wLBEfCS5P+kDzPwLYDCk+d1HkW8PtZggthYKRyqeURI6GaDfN1F1sqYclo1Mx358Z/M7TZSBhbRXUc1A0GZJ8/hGel56ZmIRBG7Nzqz6krR+DPevcscKLM3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VyTRCyy1; arc=none smtp.client-ip=74.125.225.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VyTRCyy1" Received: by mail-wm2-f12.google.com with SMTP id 5b1f17b1804b1-49cc9f581c4so10885735e9.0 for ; Tue, 15 Sep 2026 05:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789475283; x=1790080083; darn=vger.kernel.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=VyTRCyy1Qd2b42NXd/vpNKAgVLXeDcK2RmeBuj4AnHcUtdDFME9K9Y1ws0qHTLykEn UuYG9GHIlwkIfPAR02EAB4XNqPs8bNSj2VKh+0HBnDZrq0AWicS4pg7+I4JGRCzQSj/m sKclQcLN26f7/CbzL2YoncmeiCUy795cjnzFKaT5vqC8owJ8fYeOSuHndAlFUbZEqqKe 3uwAvBkTjs5XoeTOCKmYkv6SUfAhv0EitZ6yveCb5fG1ZcgyKcEaLRHvYBgOtNC15JQZ RmqA4N6KMal1pgYCFNPnMzy6+m5jWNWI21AbHDbGjM+T+i+JvsSbzGQmIDvfqy5xAQqZ T1rw== 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=hyRdqjcav3nw0RMlPXjbwPcGbv7NlYVpi//sXGkeV8Z+SNhgF7DYVPBa/dceNhg6VH fuJ15s2pQWbDtMIGaFJR+8iIOcxvoc66SqNKyLQuBzvFcFtEHNoTWyDFiX8313m60Ck8 KtxI/x0redpfmSxVkwBvgonWXJhlfpLboz7Hqqb69RG60SJHk8+Mi1t19hCVG6rf1sbM xTH2kPH3wxrAS+pY/CNNyyYxGp3MxYUeEl97HIjddEFaptnBrYiPQJgcK8BFSsjX6Lh8 xrWezU+ZD7t3s4IygCejdmzvGkhIHYsZaCsryvB8cW0JlXkMtrnkFH1lbh3ot5Dm3Hxe Oi/w== X-Forwarded-Encrypted: i=1; AKwUvBzc5EOpubKhNIw32MahQ9/iOoYfrRVn6LXHEQU51iZGapW7hccZW596+TtH9ObvCOopXNiDnNp4PX8R@vger.kernel.org X-Gm-Message-State: AFuF++kIsd4daDPnidLDILtUFEshf0+qal+kWIEgeDbSCJxDvGnEW7YY Swo4azkecz3Tgj25Hv72ruNkiyhE+5kcK4OkT4A6D3r0pIQ2ro7DtMqU X-Gm-Gg: AYBFou0FJayE7Hftz11MF0Doifmzq8FPxRIpYVZYMchTvw6KovLNCLzf5jJRHeU9oxt 7MA+NrjD1FYYiW9uu3NnVe+F/1fnRo/bZUVRsGTwjVQcOW8eAfb4JKUfbgJG5YRho6eGRfQTIw5 /wnrk13w/KV2/qvID5oDtl7QKxc9pUPWSLG3b6+igK0qqS5jU8JooW7uxq6J7KYWiI//ZVi4E6l 3cg4cSRAgLPGgqwuheBjfz8AJhxJX/kmz+xLz824i3TaLkdT1fw9bRaquIexBeo38LH0yUzffbB QaeuRs7RaJ8k9ku+xKxQKEfNKlIJ54lY7qxZFe3edDj8FXQzFRwmxQN02mVdBP1WPZpmzNjeHoS 8mnVa5WFajp4cOK5n20bMEDiY/g17uCJt6fOdv3EXywYL1M2yTgP9hPZ6RfwP4euUohQxHL4pzk p70ZMnckiHonV1riDiNaO16kNsVgplNxO47H7wNRpdr9iUy/wa8v1PwJ58Er2IBeFpW8DpaGCzL jfRslmUHAUkxuguTiKbnKqFtBZYFl8vMI3a79ZuIvuxjYmBaLvpYOcRzOt8Q/u1H5f/ 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 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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= 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