From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.217.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796198117; b=QEdHbTJ/D76JAZjQFiMWUh69+Ie6SRhRgPPafCKV+U8XgDyzYSsgr2Vczwlpv7JKMWea 3xTEOFfBGJrpdDaAAjThfhlNdBTmZ5Q59t3OAL+hrENvsL44kbKMZd9pUXCAK14xI9rJQ D1h5J8ezD5SiG/KlTq1Ky4YMiMGUwxo2lKIxr2s7HpgjK98JAz96+CklH1HlHLmCy60it +x00w7qkMHDQHFQ3MHGiCX2l9xSPBRze/8xaS/rse3z/aDgqgbM+r1C2z4YeomTDeV1H1 32BVEGG827LXvDMM/UWct+ktysDJ6BnlAz3NStDWjzxPHdTazNvch6oBzoj58fKpvNA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796198117; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Received: X-Forwarded-Encrypted:X-Received:MIME-Version:References:In-Reply-To: From:Date:X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID: Subject:To:Cc:Content-Type; bh=tL0LE8ERlqVjZM50f/FaNbWLqu9xPQ3srLyxZVVtYCU=; b=si3fm13iyVRGBUkjJabLggN8BtBpt3iU3xYCnPx+YG9hm0cDXX6in0XCyyrkOxE6gNxW 7jbBtI/b1JaOqAsSnfAMAM2GQRTxlL4DV7D3wULzJ6F6AmoUEG6o4PFN+ooiRJsDwRrPF +1hb609GHmmw0W0/XBPMsVGYFGcSglGYksRhRmKazzrttq9TuxFtaWXR8x8JLt+XoIUx/ 73CxGYO4AvVTCZNaaX2Yrd4phx5CLqgCR7uEELNrArqGixzvwYBrq60TD/bejNQBz0ejK zQZMqf3Oi6ojKK+hKGvvLt4tq2vPppZYC04KgGOFnSN3TajlnwJrfWFeD4poVM9Ahuw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.remote-ip=209.85.217.42 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4152E606A323 for ; Wed, 2 Dec 2026 07:55:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4152E606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-7d2ccd3c7a2so4382670137.0 for ; Tue, 01 Dec 2026 23:55:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796198116; x=1796802916; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=tL0LE8ERlqVjZM50f/FaNbWLqu9xPQ3srLyxZVVtYCU=; b=jpDsRXr7Up7qgPXzCJC/5nZLmdItK1r9SSvFDkx1UtYdP5I8s+W8z8mun+N1/Qj7un TAg4UM57Elhmjr2XYRLDwjZhR9AvA01DVI67auPZO4axo5xoBtFOUgnBobdlKXT7CHoO ++TPnVQFbc3Rdb6QgRGRi0W+cEjSixoL3yHqpDK0FACfNR1x1VwplJyXHh3EbkUt7e3E aKjAdlsry/yfbwrLBLCDACv9728ZfHuk3Jod+ndeUCTWHoV/Gx5wxo92S+85DJfJh8sj hEGCMSIYsvGmD47ZehUtLo3uLgo8cyR59dOEe+nvdj2ic4hhhGJz5MQwazOXUVFBWkF3 9JQQ== X-Forwarded-Encrypted: i=1; AL+hErHcp8PjRW28UcnGdYjwFQu5lV4Q7k1DUoWBmzPWehUNTJmqM/FMz5+BJ2RG0I+wkmqHVRo23Za1xliQyXU=@vger.kernel.org X-Gm-Message-State: APuU4Z8i/6PSdH89ySmijurJ9ZXPnWOM7nxesZ0BHCxMgYkSw2rSiauy eogUxYjnnrWfVjM7FOumUEtjCKUYQwmxVDyCMRUHmnX9qxJct5zWCJgQ04ta6g8V X-Gm-Gg: AZFdTZcpa+Xy8EjO24rq1MfkPIFzUnN+fARog0JudsiyHlEC4ZxG0FYMrYGDcVQsnBP 89k61e42i/K0wF/gp4Naud8QDJRjILCK0aX66moZtIcnu18NN08Vc3sef5LkZPDOrdAhHC1K1VP B4w+l3lLE++zkAuZlmLPMhvesJjGm8xsHa8GZh/65ZCXXC3rAjBGz8OSrjwl0GdyQPm8pDn/IB/ on+97Xze9+vIoYLp+B+h+ALKBFXdTxptJ7dSWXU04GLv2xG65wKWJU8brZkEOfQR57efrcVwe5C 7xprkf6YIRnDuQ21lniZewy78m12qdkQ26uYRRQy7a1Ln4s2Qc1tHBaGQrEPXC6xhogHBG+sIs9 DOTAEqkpxkuB/Fjgs8/FY1MdfXTarfG7Z2SpvKWU4MOWuRUR7rsFkXj4ng4a4qOoZkDjKnkIPU7 f71wkCL4Ehm+Dt1yCSBS/1VAoX1QZSIbhEJT7oUjx/epm/95TMrsbLuV16ZF37AyFaKskoEUDF9 UQ3hiVB98dSVfEDpqKqXRPdAK4AQKQlaKZvufnDJYeTol64qQQoz3EPMxZLbfGZ8EB5ln46R/tF nxElR0SQXoDBYlLR5NBy+73SyzXelgORTKJTjl+bIo90xBpxzrHlqzm/Hau8/OMkSQ== X-Received: by 2002:a05:6102:448b:b0:7cb:288a:b66d with SMTP id ada2fe7eead31-7d739424abemr26469474137.20.1796198116160; Tue, 01 Dec 2026 23:55:16 -0800 (PST) Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com. [209.85.217.49]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-99e6e033aafsm40481613241.7.2026.12.01.23.55.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2026 23:55:15 -0800 (PST) Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-7d2dc1ac787so4059541137.2 for ; Tue, 01 Dec 2026 23:55:15 -0800 (PST) X-Forwarded-Encrypted: i=1; AL+hErHvuw9+COSigMrlSlNonQzw0lpK0IowyR2K9BM2VJ3lIuGCSEugBeI0R9RD08t6dq/Zk0UZWRA1KWjI49Q=@vger.kernel.org X-Received: by 2002:a05:6102:374c:b0:7c1:75c5:c4c with SMTP id ada2fe7eead31-7d739570939mr23187905137.25.1796198115011; Tue, 01 Dec 2026 23:55:15 -0800 (PST) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 References: <20261109-epaul-v7-3-rc1-x5h-vsp-fcp-v4-0-1b2072e8c37e@ideasonboard.com> <20261202022652.GA372687@killaraus.ideasonboard.com> In-Reply-To: <20261202022652.GA372687@killaraus.ideasonboard.com> From: Geert Uytterhoeven Date: Wed, 2 Dec 2026 08:55:03 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: Aa3M54pL7IFZRuvhqLJsMOP67ofSpFMM75sedAKRQJa5CoFs3Cv0mlTLf6YJLjY Message-ID: Subject: Re: [PATCH v4 00/13] media: rcar-fcp, vsp1: Enable on R-Car X5H To: Laurent Pinchart Cc: Paul Elder , Stephen Boyd , Brian Masney , Jerome Brunet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Ulf Hansson , Mauro Carvalho Chehab , Philipp Zabel , Kieran Bingham , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-media@vger.kernel.org, Phong Hoang , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Hi Laurent, On Wed, 2 Dec 2026 at 03:27, Laurent Pinchart wrote: > On Thu, Nov 12, 2026 at 02:37:46PM +0100, Geert Uytterhoeven wrote: > > On Mon, 9 Nov 2026 at 14:34, Paul Elder wrote: > > > This series is based on Geert's > > > "topic/rcar-x5h-ironhide-scmi-cpg-mdlc-remapping-v4-rebased" branch [0]. > > > A branch including this series is available here [1]. > > > > > > This series enables the FCPV{B,I,D} and the VSP{B,I,D} blocks on the Renesas > > > R-Car X5H SoC. > > > > > > This has been tested on an Ironhide with the vsp-tests test suite [2]. > > > > > > Full summary: > > > /dev/media0 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media1 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media10 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped > > > /dev/media11 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped > > > /dev/media12 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped > > > /dev/media13 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped > > > /dev/media14 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped > > > /dev/media15 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped > > > /dev/media16 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped > > > /dev/media17 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped > > > /dev/media18 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped > > > /dev/media2 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media3 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media4 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media5 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media6 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media7 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media8 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped > > > /dev/media9 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped > > > > > > The last patch checks the device revision and prints it, which is useful > > > for debugging but is unnecessary processing for driver operation so it > > > is marked as DNI as well. > > > > > > In v3, most of the patches have become DNI because they depend on wip > > > cpg and mdlc driver work. The non-DNI patches are targets for immediate > > > upstreaming though. > > > > > > In v4, thanks to Geert's new rebased branch, all the clocks and power > > > domains that were in DNI limbo have now graduated from DNI status. > > > > > > [0] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/rcar-x5h-ironhide-scmi-cpg-mdlc-remapping-v4-rebased > > > [1] https://git.ideasonboard.com/epaul/linux/src/branch/epaul/v7.4-rc1/x5h/vsp/fcp > > > [2] https://git.ideasonboard.com/renesas/vsp-tests/src/branch/epaul/fix > > > > > > Signed-off-by: Paul Elder > > > > Thanks for the update! > > > > > Changes in v4: > > > - Change the clocks in the dt nodes to use SGD1 instead of SGD4. (see > > > patch 1 for details) > > > - Removed "clk: renesas: r8a78000: Add clock for FCPV and VSP for SCP FW SDKv4.36" > > > > And it still works without providing these clocks because the fcpv > > and vsp2 drivers do not manage clocks, right? > > That patch added the SGD4 clocks as fixed clocks. > > On X5H, the FCPV uses both the SGD1 and SGD4 clocks. The documentation > doesn't tell what each clock is used for, but the FCPC documentation > indicates that SGD1 is the AXI clock and SGD2 (FCPC uses SGD2 while FCPV > uses SGD4) the APB clock. I assume SGD1 is the AXI clock for FCPV as > well, and SGD4 the APB clock (for register acceess). > > On previous generations, we only listed the MSTP clock in DT, as > documentation didn't mention any other clock. It may be that the > functional clock was used for both AXI and APB, but it may also be that > the APB interface used a different clock that can't be gated separately > from the AXI clock. > > So for X5H, we decided to keep a single clock in DT, and list the SGD1 > (AXI) clock there. SGD1 and SGD4 can't be controlled separately, so > listing both SGD1 and SGD4 would create complexity for no gain (as far > as I can tell). It would also cause failures with current SCP firmware, > which reference-counts those clocks separately. The SGD4 clock is > therefore not used in DT any more. How can it cause failures if no driver actually manages the clock(s)? ;-) This is now purely (unused) hardware description in DTS. > The situation is similar for VSP. > > What's your opinion on this design ? OK. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds