Re: [PATCH v4 5/6] media: qcom: camss: sm8250: set the VFE AREG clock rate from the VFE

From: bod

Date: Thu Nov 19 2026 - 10:37:36 EST


On 2026-10-28 15:24 +0200, Atanas Filipov wrote:
> The SM8250 VFE AREG clock lists four rates, 100, 200, 300 and 400 MHz,
> in both the VFE and the CSID resources. The VFE only enables it, as
> vfe_match_clock_names() does not match the AREG clock name, so its rate
> is set by the CSID, which always selects the lowest one.
>
> Match the VFE AREG clock in vfe_match_clock_names(), list a single
> 400 MHz rate for it and drop its levels from the CSID resources. The
> AREG clocks of VFE0 and VFE1 are separate clocks on the fast AHB
> source, so a fixed rate keeps one VFE from lowering it under the other.
>
> Signed-off-by: Atanas Filipov <atanas.filipov@xxxxxxxxxxxxxxxx>

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
---
bod