[PATCH v3 4/7] media: qcom: camss: Match VFE lite clocks by name prefix
Bryan O'Donoghue
bod at kernel.org
Fri Nov 6 14:34:36 PST 2026
On 06/11/2026 18:35, Andrew Gigena via B4 Relay wrote:
> @@ -346,6 +347,7 @@ static u32 vfe_src_pad_code(struct vfe_line *line, u32 sink_code,
> case CAMSS_6350:
> case CAMSS_7280:
> case CAMSS_8x96:
> + case CAMSS_8150:
> case CAMSS_8250:
> case CAMSS_8280XP:
> case CAMSS_8300:
> @@ -914,6 +916,9 @@ static int vfe_match_clock_names(struct vfe_device *vfe,
> return (!strcmp(clock->name, vfe_name) ||
> !strcmp(clock->name, vfe_lite_name) ||
> !strcmp(clock->name, "vfe_lite") ||
> + (vfe->res->is_lite &&
> + !strncmp(clock->name, "vfe_lite", 8) &&
> + isdigit((unsigned char)clock->name[8])) ||
> !strcmp(clock->name, "camnoc_axi") ||
> !strcmp(clock->name, "camnoc_rt_axi"));
> }
> @@ -2006,6 +2011,7 @@ static int vfe_bpl_align_rdi(struct vfe_device *vfe)
> case CAMSS_6150:
> case CAMSS_6350:
> case CAMSS_7280:
> + case CAMSS_8150:
> case CAMSS_8250:
> case CAMSS_8280XP:
> case CAMSS_8300:
This patch mangles the thing the patch title does with switch additions
for src_pad_code and bpl_align_rdi.
Please separate.
---
bod
More information about the linux-phy
mailing list