On Tue, May 15, 2012 at 7:58 AM, Viresh Kumar <viresh.ku...@st.com> wrote:
> On 5/4/2012 3:10 PM, Viresh KUMAR wrote:
>> Add i2c bus recovery infrastructure to i2c adapters as specified in the i2c
>> protocol Rev. 03 section 3.16 titled "Bus clear".
>>
>> http://www.nxp.com/documents/user_manual/UM10204.pdf
>>
>> Sometimes during operation i2c bus hangs and we need to give dummy clocks to
>> slave device to start the transfer again. Now we may have capability in the 
>> bus
>> controller to generate these clocks or platform may have gpio pins which can 
>> be
>> toggled to generate dummy clocks. This patch supports both.
>>
>> This patch also adds in generic bus recovery routines gpio or scl line based
>> which can be used by bus controller. In addition controller driver may 
>> provide
>> its own version of the bus recovery routine.
>>
>> Signed-off-by: Viresh Kumar <viresh.ku...@st.com>
>> ---
>>  Documentation/i2c/bus-recovery |   87 ++++++++++++++++++++++
>>  drivers/i2c/i2c-core.c         |  160 
>> ++++++++++++++++++++++++++++++++++++++++
>>  drivers/i2c/i2c-mux.c          |    9 ++-
>>  include/linux/i2c.h            |   58 ++++++++++++++
>>  4 files changed, 313 insertions(+), 1 deletions(-)
>>  create mode 100644 Documentation/i2c/bus-recovery
>
> Hi Wolfram,
>
> Any inputs on this patch.

Ping.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to