Re: [PATCH] i2c: stm32f7: Add atomic_xfer method to driver

From: Sean Nyekjaer
Date: Mon Jul 03 2023 - 06:21:36 EST




> On 3 Jul 2023, at 11.50, Wolfram Sang <wsa@xxxxxxxxxx> wrote:
>
>
>>> Will DMA actually run in atomic mode?
>
>> Atomic is mainly(only) used for writing a single register in the PMIC
>> for the stpmic.
>
> And this most probably during shutdown...
>
>> Guess that will not trigger any DMA use.
>
> ... so I'd be very surprised if DMA is operational that late. I think we
> can rule that out independent of I2C messages to be trasnferred.
>

Yes, I’ll submit a V2 without the DMA functionality.

/Sean