Re: [PATCH 2/2] i2c/designware: Provide optional i2c bus recovery function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 2, 2012 at 11:28 AM, Rajeev kumar <rajeev-dlh.kumar@xxxxxx> wrote:
> Hi Shubhrajyoti,
>
>
> On 2/27/2012 3:40 PM, Rajeev kumar wrote:
>>
>> On 2/27/2012 2:42 PM, Shubhrajyoti Datta wrote:
>>>
>>> On Mon, Feb 27, 2012 at 12:57 PM, Laxman
>>> Dewangan<ldewangan@xxxxxxxxxx>  wrote:
>>>>
>>>> On Monday 27 February 2012 12:51 PM, Shubhrajyoti Datta wrote:
>>>>>
>>>>>
>>>>> On Fri, Feb 24, 2012 at 5:01 PM, Viresh
>>>>> Kumar<viresh.kumar@xxxxxx>    wrote:
>>>>>>
>>>>>>
>>>>>> From: Vincenzo Frascino<vincenzo.frascino@xxxxxx>
>>>>>>
>>>>>> Add optional i2c_recover_bus() function to the Synopsys DesignWare I2C
>>>>>> adapter
>>>>>> driver that performs i2c bus recovery after timeout. The scope of this
>>>>>> routine
>>>>>> is to define i2c bus recovery procedure as specified in the i2c
>>>>>> protocol
>>>>>> Rev. 03
>>>>>> section 3.16 titled "Bus clear".
>>>>>
>>>>>
>>>>> What do you do in the function ?
>>>>>
>>>>> Could we have it in the driver file itself?
>>>>>
>>>> I think bus recovery mechanism is to send  extra clock on SCL line by
>>>> toggling the pin (using gpio apis)
>>>
>>> You mean the SCL I didnt understand the gpio part?
>
>
> Sorry, if I am out of sync.
> Is any necessary action taken on this patch ?
>

IIUC ,

On timeout we need to send some clock cycles.
For this you say you are using gpio apis.
I didnt understand this.

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


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux