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


Groups > linux.kernel > #1200641

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

From Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer
Date 2015-08-05 12:50 +0200
Message-ID <pU4qJ-7hH-9@gated-at.bofh.it> (permalink)
References <pOF9E-9M-7@gated-at.bofh.it> <pOF9F-9M-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web