Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200641 > unrolled thread

Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

Started byShubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
First post2015-08-05 12:50 +0200
Last post2015-08-05 14:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com> - 2015-08-05 12:50 +0200
    Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg  xfer Vaibhav Hiremath <vaibhav.hiremath@linaro.org> - 2015-08-05 14:50 +0200

#1200641 — Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

FromShubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
Date2015-08-05 12:50 +0200
SubjectRe: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer
Message-ID<pU4qJ-7hH-9@gated-at.bofh.it>
hi ,
On Tue, Jul 21, 2015 at 6:11 PM, Vaibhav Hiremath
<vaibhav.hiremath@linaro.org> wrote:
> From: Yi Zhang <yizhang@marvell.com>
>
> Enable i2c module/unit before transmission and disable when it
> finishes.
>
> why?
> It's because the i2c bus may be disturbed if the slave device,
> typically a touch, powers on.

Why should that be an issue?
Is it an errata.

In which mode it is an issue slave / master or both?

>
> As we do not want to break slave mode support, this patch introduces
> DT property to control disable of the I2C module after xfer in master
> mode of operation.
>
> i2c-disable-after-xfer : If set, driver will disable I2C module after
> msg xfer
>
> Signed-off-by: Yi Zhang <yizhang@marvell.com>
> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
> ---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1200701 — Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

FromVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Date2015-08-05 14:50 +0200
SubjectRe: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer
Message-ID<pU6iR-1zm-1@gated-at.bofh.it>
In reply to#1200641

On Wednesday 05 August 2015 04:16 PM, Shubhrajyoti Datta wrote:
> hi ,
> On Tue, Jul 21, 2015 at 6:11 PM, Vaibhav Hiremath
> <vaibhav.hiremath@linaro.org> wrote:
>> From: Yi Zhang <yizhang@marvell.com>
>>
>> Enable i2c module/unit before transmission and disable when it
>> finishes.
>>
>> why?
>> It's because the i2c bus may be disturbed if the slave device,
>> typically a touch, powers on.
>
> Why should that be an issue?
> Is it an errata.
>

Not I am aware of.

> In which mode it is an issue slave / master or both?
>

since it talks about touch, I expect it to be master mode.

Thanks,
Vaibhav
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web