From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 05 Nov 2014 11:35:52 +0100 Subject: [U-Boot] [PATCH v1 1/2] ppc4xx: Fix i2c repeated start In-Reply-To: <1414594604-30219-2-git-send-email-dirk.eibach@gdsys.cc> References: <1414594604-30219-1-git-send-email-dirk.eibach@gdsys.cc> <1414594604-30219-2-git-send-email-dirk.eibach@gdsys.cc> Message-ID: <5459FD88.4050608@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 29.10.2014 15:56, dirk.eibach at gdsys.cc wrote: > From: Dirk Eibach > > Debugging some i2c trouble I saw on my scope that repeated > start is not working properply. The 4xx even held clock pulled down > after transfers. Having a look in the driver I realized > that IIC_CNTL_RPST is set on that part of the transfer that should > begin with a repeated start. But repeated start is about not sending a > stop condition, so IIC_CNTL_RPST has to be set on the last transfer > before the repeated start happens. > > Signed-off-by: Dirk Eibach Reviewed-by: Stefan Roese Thanks, Stefan