linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question about i2c-designware
@ 2015-07-09  8:59 Kefeng Wang
       [not found] ` <559E37D7.6040103-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Kefeng Wang @ 2015-07-09  8:59 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: Wolfram Sang, Alexey Brodkin, Ding Tianhong,
	Guohanjun (Hanjun Guo)

Hi all,

  We met a issue when use Synopsys DesignWare I2C. The SDA will keep low level and never go back to the high level
if both i2c controllers simultaneously access the same i2c device(rtc), then both two i2c controllers can't send any data.
we try to reset the rtc, but not working. After reset the i2c controller, the SDA goes back to the high state and we
can get time from rtc again.

The scenario is as follows, any advice will be appreciated.

                   OS 1            |     OS 2
                                  |
	+--------------+----------|--------------+
	|	       |	  |              |
	|    +---------|----+-----|---------+    |
	|    |	       |    |     |         |    |
   ----------------    ------	  |    -----------------
   |i2c controller1|   | rtc|	  |    |i2c controller2|
   ----------------    ------     |    -----------------
                                  |
note:
1) i2c controller1 and controller2 use same IP.
2) OS1 use v3.19 and OS2 use 2.6

Thanks
Kefeng

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: question about i2c-designware
       [not found] ` <559E37D7.6040103-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2015-07-10  4:11   ` Kefeng Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Kefeng Wang @ 2015-07-10  4:11 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: Wolfram Sang, Alexey Brodkin, Ding Tianhong,
	Guohanjun (Hanjun Guo),
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

+ linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

On 2015-07-09 16:59, Kefeng Wang wrote:
> Hi all,
> 
>   We met a issue when use Synopsys DesignWare I2C. The SDA will keep low level and never go back to the high level
> if both i2c controllers simultaneously access the same i2c device(rtc), then both two i2c controllers can't send any data.
> we try to reset the rtc, but not working. After reset the i2c controller, the SDA goes back to the high state and we
> can get time from rtc again.
> 
> The scenario is as follows, any advice will be appreciated.
> 
>                    OS 1         |     OS 2
>                                 |
> 	+--------------+----------|--------------+
> 	|	       |	  |              |
> 	|    +---------|----+-----|---------+    |
> 	|    |	       |    |     |         |    |
>    ----------------    ------	  |    -----------------
>    |i2c controller1|   | rtc|	  |    |i2c controller2|
>    ----------------    ------   |    -----------------
>                                 |
> note:
> 1) i2c controller1 and controller2 use same IP.
> 2) OS1 use v3.19 and OS2 use 2.6
> 
> Thanks
> Kefeng
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-10  4:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09  8:59 question about i2c-designware Kefeng Wang
     [not found] ` <559E37D7.6040103-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-07-10  4:11   ` Kefeng Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).