[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a1aa386-21dc-12a2-b2b5-6e25586ffc79@st.com>
Date: Tue, 20 Mar 2018 10:45:09 +0100
From: Pierre Yves MORDRET <pierre-yves.mordret@...com>
To: Wolfram Sang <wsa@...-dreams.de>
CC: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
<linux-i2c@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [RESEND PATCH v1 6/6] i2c: i2c-stm32f7: Implement I2C recovery
mechanism
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
>
Powered by blists - more mailing lists