Re: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-12-14 Thread Heiko Schocher
, December 2, 2020 1:53 PM > To: h...@denx.de > Cc: Simon Glass ; U-Boot Mailing List > ; uboot-snps-...@synopsys.com; Tom Rini > ; Robert Beckett ; Wolgang > Denk ; Ian Ray > Subject: RE: [dwi2c PATCH v1] dwi2c add offsets to reads > > -Original Message- > Fro

RE: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-12-14 Thread Duffin, CooperX
Message- From: Duffin, CooperX Sent: Wednesday, December 2, 2020 1:53 PM To: h...@denx.de Cc: Simon Glass ; U-Boot Mailing List ; uboot-snps-...@synopsys.com; Tom Rini ; Robert Beckett ; Wolgang Denk ; Ian Ray Subject: RE: [dwi2c PATCH v1] dwi2c add offsets to reads -Original Message

RE: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-12-02 Thread Duffin, CooperX
-Original Message- From: Heiko Schocher Sent: Tuesday, November 17, 2020 11:42 PM To: Duffin, CooperX Cc: Simon Glass ; U-Boot Mailing List ; uboot-snps-...@synopsys.com; Tom Rini ; Robert Beckett ; Wolgang Denk ; Ian Ray Subject: Re: [dwi2c PATCH v1] dwi2c add offsets to reads

Re: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-17 Thread Heiko Schocher
: Saturday, November 7, 2020 1:33 PM >> To: Duffin, CooperX >> Cc: U-Boot Mailing List ; uboot-snps-...@synopsys.com; >> Tom Rini ; Robert Beckett ; >> Heiko Schocher ; Wolgang Denk ; Ian Ray >> >> Subject: Re: [dwi2c PATCH v1] dwi2c add offsets to reads &g

Re: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-16 Thread Simon Glass
nopsys.com; > Tom Rini ; Robert Beckett ; > Heiko Schocher ; Wolgang Denk ; Ian Ray > > Subject: Re: [dwi2c PATCH v1] dwi2c add offsets to reads > > Hi CooperX, > > On Fri, 6 Nov 2020 at 16:08, Duffin, CooperX wrote: > > > > Hello Simon, > > > > I w

RE: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-09 Thread Duffin, CooperX
-Original Message- From: Simon Glass Sent: Saturday, November 7, 2020 1:33 PM To: Duffin, CooperX Cc: U-Boot Mailing List ; uboot-snps-...@synopsys.com; Tom Rini ; Robert Beckett ; Heiko Schocher ; Wolgang Denk ; Ian Ray Subject: Re: [dwi2c PATCH v1] dwi2c add offsets to reads Hi

Re: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-07 Thread Simon Glass
. Also check the i2c_get_chip() function which you are using. See if chip->offset_len is set to 1 as it should be, for your device. If not, perhaps something is missing. In short I am not really sure what is going on, but I think it needs more investigation. BTW with thi

RE: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-06 Thread Duffin, CooperX
, -Cooper Duffin -Original Message- From: Simon Glass Sent: Friday, November 6, 2020 10:51 AM To: Duffin, CooperX Cc: U-Boot Mailing List ; uboot-snps-...@synopsys.com; Tom Rini ; Robert Beckett ; Heiko Schocher ; Wolgang Denk ; Ian Ray Subject: Re: [dwi2c PATCH v1] dwi2c add offsets

Re: [dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-06 Thread Simon Glass
Hi Cduffinx, On Thu, 5 Nov 2020 at 14:26, cduffinx wrote: > > modify the designware_i2c_xfer function to use 1 byte per > address, it was set to 0 before which makes it think its > reading a register type. Added offset of where it is > supposed to read from. Before it was always reading from >

[dwi2c PATCH v1] dwi2c add offsets to reads

2020-11-05 Thread cduffinx
modify the designware_i2c_xfer function to use 1 byte per address, it was set to 0 before which makes it think its reading a register type. Added offset of where it is supposed to read from. Before it was always reading from offset 0 despite specifying the offset in the higher level function.