Re: [PATCH 3/6] media: qcom: camss: vfe: Add support for VFE gen4

From: Shawn Guo

Date: Sun Sep 20 2026 - 03:22:45 EST


On Tue, Sep 15, 2026 at 05:34:13PM +0800, Wenmeng Liu wrote:
> From: Hangxiang Ma <hangxiang.ma@xxxxxxxxxxxxxxxx>
>
> Add support for the VFE (Video Front End) Gen4 found on Kaanapali SoC.
>
> In the Kaanapali camera subsystem, the front-end blocks are referred to
> as TFEs (Thin Front Ends). This driver continues to use the VFE naming
> in some places to preserve consistency with the existing code and avoid
> unnecessary renaming. Support is currently limited to three output lines,
> matching the constraints of the CAMSS framework.
>
> Kaanapali requires REG_UPDATE and AUP_UPDATE to be issued only after all
> CSID configuration has completed. In addition, the number of AUP_UPDATE
> requests must match the number of buffers queued to the write master
> while it is being enabled.
>
> Although real-time TFE traffic is routed through RT_CAMNOC, both
> camnoc_rt_axi and camnoc_nrt_axi clocks must be enabled. This ensures

Neither the binding's clock-names nor vfe_res_nord seems to have
camnoc_nrt_axi.

Shawn

> that the PDX_NOC, which sits downstream of both RT and NRT NOCs, exits
> reset in a fully idle state.
>
> Co-developed-by: Atiya Kailany <atiya.kailany@xxxxxxxxxxxxxxxx>
> Signed-off-by: Atiya Kailany <atiya.kailany@xxxxxxxxxxxxxxxx>
> Signed-off-by: Hangxiang Ma <hangxiang.ma@xxxxxxxxxxxxxxxx>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>