Re: [PATCH v3 6/8] of: unittest: Test fw_devlink with PWM nexus maps
From: Herve Codina
Date: Tue Oct 20 2026 - 10:25:23 EST
Hi Ernest,
On Tue, 20 Oct 2026 15:00:17 +0200
Ernest Van Hoecke <ernestvanhoecke@xxxxxxxxx> wrote:
> From: Ernest Van Hoecke <ernest.vanhoecke@xxxxxxxxxxx>
>
> Extend the fw_devlink OF unit tests with PWM references routed through a
> nexus map. Verify that the mapped consumer has exactly one link to the
> final PWM provider rather than to the nexus.
>
> Also cover a direct PWM 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 pwm-map entries to two providers, use a middle entry (Herve)
> v2: https://lore.kernel.org/r/20260910-fw-devlink-nexus-ready-v2-5-17ac82dbe226@xxxxxxxxxxx
> ---
> drivers/of/unittest-data/tests-phandle.dtsi | 22 ++++++++++++++++++++++
> drivers/of/unittest.c | 2 ++
> 2 files changed, 24 insertions(+)
>
Reviewed-by: Herve Codina <herve.codina@xxxxxxxxxxx>
Best regards,
Hervé