Re: [PATCH v3 4/7] i2c: qcom-cci: Add burst write support

From: Konrad Dybcio

Date: Wed Oct 21 2026 - 06:49:33 EST


On 10/16/26 10:00 AM, Loic Poulain wrote:
> A single CCI_I2C_WRITE command can only carry up to 11 bytes,
> so every i2c write was capped at that size via i2c max_write
> quirk.
>
> CCI v1.2 introduces burst mode support, where consecutive
> write commands (marked as burst) run back-to-back as a single
> transfer.
>
> Use this in cci_i2c_write() to allow longer writes across the
> whole queue instead of a single command's payload, and raise
> max_write_len accordingly for every CCI revision that supports
> burst mode.
>
> unlock/lock commands are required to ensure the commands for
> a given transfer are executed atomically.
>
> Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad