[PATCH v2] i2c: add Marvell 64xxx driver

Antony Pavlov antonynpavlov at gmail.com
Tue Jul 22 04:58:22 PDT 2014


On Tue, 22 Jul 2014 13:05:56 +0200
Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com> wrote:

> On 07/22/2014 11:57 AM, Antony Pavlov wrote:
> > On Tue, 22 Jul 2014 10:51:10 +0200
> > Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com> wrote:
> >> On 07/16/2014 11:25 PM, Antony Pavlov wrote:
> >>> This driver is also used for Allwinner SoCs I2C controllers.
> >>>
> >>> Ported from linux-3.15.
> >>>
> >>> The most notable barebox driver version changes:
> >>>
> >>>     * drop message offloading support;
> >>>     * add reg-io-width parameter to use driver with byte-oriented
> >>>       controller versions.
> >>>
> >>> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> >>
> >> Antony,
> >>
> >> I finally finished work on xHCI and PCI on Armada 370. Now I come
> >> back with the promised review of the i2c driver.
> >>
> >> I gave this driver a quick test on Mirabox, i2c_probe just gives I2C bus
> >> errors. What SoC did you test the driver on?
> >
> > I test it on custom FPGA-based byte-oriented mv64xxx-style i2c controller.
> >
> > Linux 3.15 driver succesfully works with my controller. The only change is adding
> > mv64xxx_write/mv64xxx_read functions for enabling byte registers access.
> >
> > Have you probed your Mirabox i2c bus under linux?
> 
> Actually, I switched to Dove CuBox after I realized that Mirabox has
> nothing on i2c on-board but only externally connected ;)
>
> Now you can add my
> 
> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>

Very good!

I'll send PATCH v3 in several days.

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list