mbox series

[V2,0/3] Add atomic transfer support to i2c-cadence

Message ID 20240911103852.162234-1-manikanta.guntupalli@amd.com (mailing list archive)
Headers show
Series Add atomic transfer support to i2c-cadence | expand

Message

Manikanta Guntupalli Sept. 11, 2024, 10:38 a.m. UTC
This patch series adds atomic transfer support to the i2c-cadence
controller version 1.4.
---
Changes for V2:
Added review signature for PATCH 1/3 and PATCH 2/3.
Simplify the return statement of cdns_i2c_error_check().
Update description.
Remove unnecessary typecast.
Update if-else to reduce a level of indentation.
Expand *id->p_recv_buf++ to have clear operation precedence.
Move variables to inside while block in cdns_i2c_mrecv_atomic()
and cdns_i2c_msend_rem_atomic().

Manikanta Guntupalli (3):
  i2c: cadence: Relocate cdns_i2c_runtime_suspend and
    cdns_i2c_runtime_resume to facilitate atomic mode
  i2c: cadence: Split cdns_i2c_master_xfer for Atomic Mode
  i2c: cadence: Add atomic transfer support for controller version 1.4

 drivers/i2c/busses/i2c-cadence.c | 423 ++++++++++++++++++++++---------
 1 file changed, 303 insertions(+), 120 deletions(-)

Comments

Andi Shyti Sept. 11, 2024, 11:09 a.m. UTC | #1
Hi Manikanta,

> Manikanta Guntupalli (3):
>   i2c: cadence: Relocate cdns_i2c_runtime_suspend and
>     cdns_i2c_runtime_resume to facilitate atomic mode
>   i2c: cadence: Split cdns_i2c_master_xfer for Atomic Mode
>   i2c: cadence: Add atomic transfer support for controller version 1.4

if no rush, I will take this for 6.12. I merged it into
i2c/i2c-host-for-6.12 and after the merge window I will move it
to i2c/i2c-host.

Thanks,
Andi