Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2016-01-06 Thread Moritz Fischer
On Tue, Jan 5, 2016 at 11:53 PM, Michal Simek wrote: > On 5.1.2016 18:30, Moritz Fischer wrote: >> Hi Michal, >> >> On Tue, Jan 5, 2016 at 7:44 AM, Michal Simek wrote: >> >>> I have looked at these patches and I don't know why there is 100k >>>

Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2016-01-05 Thread Moritz Fischer
Hi Michal, On Tue, Jan 5, 2016 at 7:44 AM, Michal Simek wrote: > I have looked at these patches and I don't know why there is 100k > limitation in cdns_i2c_set_bus_speed. DTS is using 400k in Linux without > any problem. Well I could statically calculate the values for

Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2016-01-05 Thread Michal Simek
On 28.12.2015 18:47, Moritz Fischer wrote: > Hi all, > > I spent some time moving over the zynq-i2c.c to support dm. > While doing that I realized that renaming it to cdns-i2c might > make sense since it now could be used with other SoCs that also use the > the Cadence IP. > > This is a first

Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2016-01-05 Thread Michal Simek
On 5.1.2016 18:30, Moritz Fischer wrote: > Hi Michal, > > On Tue, Jan 5, 2016 at 7:44 AM, Michal Simek wrote: > >> I have looked at these patches and I don't know why there is 100k >> limitation in cdns_i2c_set_bus_speed. DTS is using 400k in Linux without >> any

[U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2015-12-28 Thread Moritz Fischer
Hi all, I spent some time moving over the zynq-i2c.c to support dm. While doing that I realized that renaming it to cdns-i2c might make sense since it now could be used with other SoCs that also use the the Cadence IP. This is a first shot, but I'd like to get some early feedback ;-) Cheers,

Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2015-12-28 Thread Michal Simek
Hi, 2015-12-28 18:47 GMT+01:00 Moritz Fischer : > Hi all, > > I spent some time moving over the zynq-i2c.c to support dm. > ok then where is the series for converting orgin driver to this DM one? > While doing that I realized that renaming it to cdns-i2c might > make

Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2015-12-28 Thread Moritz Fischer
Hi Michal, On Mon, Dec 28, 2015 at 10:35 AM, Michal Simek wrote: > ok then where is the series for converting orgin driver to this DM one? Umhh, well it would look like: $ git rm drivers/i2c/zynq-i2c.c $ git add drivers/i2c/i2c-cdns.c Do you want me to add that to the v1?