Re: [PATCH v3 8/8] of: unittest: Test fw_devlink with clock nexus maps
From: Herve Codina
Date: Tue Oct 20 2026 - 10:35:57 EST
Hi Ernest,
On Tue, 20 Oct 2026 15:00:19 +0200
Ernest Van Hoecke <ernestvanhoecke@xxxxxxxxx> wrote:
> From: Ernest Van Hoecke <ernest.vanhoecke@xxxxxxxxxxx>
>
> Extend the fw_devlink OF unit tests with clock references routed through
> a nexus map. Verify that the mapped consumer has exactly one link to the
> final clock provider rather than to the nexus.
>
> Also cover a direct clock reference to ensure that it continues to
> resolve to the original provider when no map is present.
>
> Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@xxxxxxxxxxx>
> ---
> v3: Route clock-map entries to two providers, use a middle entry (Herve)
> No clock-map-mask: only clock-map applies to clocks (aacc54c67869)
> v2: https://lore.kernel.org/r/20260910-fw-devlink-nexus-ready-v2-7-17ac82dbe226@xxxxxxxxxxx
> ---
> drivers/of/unittest-data/tests-phandle.dtsi | 20 ++++++++++++++++++++
> drivers/of/unittest.c | 2 ++
> 2 files changed, 22 insertions(+)
>
Reviewed-by: Herve Codina <herve.codina@xxxxxxxxxxx>
Best regards,
Hervé