Re: [PATCH RESEND v2 03/12] media: qcom: camss: Add streams enable field to camss resources
From: Gjorgji Rosikopulos (Consultant)
Date: Thu Dec 03 2026 - 11:02:08 EST
On 11/25/2026 8:23 PM, Gjorgji Rosikopulos wrote:
> Add a per-SoC streams_enable field to struct camss_resources, used by
> subsequent subdevices to select between the legacy s_stream()-based
> pipeline and the V4L2 subdev streams API.
>
> Suggested-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
> Signed-off-by: Gjorgji Rosikopulos <gjorgji.rosikopulos@xxxxxxxxxxxxxxxx>
> ---
> drivers/media/platform/qcom/camss/camss.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform/qcom/camss/camss.h
> index 7564a7c46fa2..621ea2e3eba1 100644
> --- a/drivers/media/platform/qcom/camss/camss.h
> +++ b/drivers/media/platform/qcom/camss/camss.h
> @@ -121,6 +121,7 @@ struct camss_resources {
> const unsigned int tpg_num;
> const unsigned int csid_num;
> const unsigned int vfe_num;
> + const bool streams_enable;
During the internal discussion we have decided to use stream_api by default.
This means that no need of additional flag.
The v4l2 is backward compatible so everything should work as expected.
We will need to test on all platforms we can test and most probably
ask for the community members with old available boards to verify this patchet.
~Gjorgji
> };
>
> struct camss {