Re: [RESEND PATCH v1 6/6] i2c: i2c-stm32f7: Implement I2C recovery mechanism

From: Pierre Yves MORDRET
Date: Tue Mar 20 2018 - 05:45:39 EST


Thanks for your quick answer

On 03/20/2018 10:42 AM, Wolfram Sang wrote:
> Hi,
>
>> Looking at the recovery API, this recovery is for slave and nothing else with my
>> case. Therefore I think I have to get move this reset out of recovery API.
>
> Yes, you are correct. You need a custom function, this is totally driver
> specific.

OK !
>
>> Slave Recovery mechanism is another story to implement in our platform since we
>> have to deal with GPIOs.
>
> For that, the recovery infrastructure in the core has lots of helpers
> for you.
>
Yeah. This is what I saw nonetheless the main trouble is to setup SCL/SDA into
GPIO. Not that easy. but feasible of course.

BTW I will rework my driver.

Thanks.

> Regards,
>
> Wolfram
>