Re: multiple i2c-ocores adapters

2015-10-02 Thread Peter Korsgaard
> "York" == York Sun writes: Hi, >> I guess your problem is that the driver core is complaining about >> duplicate names for your platform devices (generated from the >> mfd_cell). Make sure you set the .id member to something unique. > What I got was > sysfs: cannot create duplicate f

Re: multiple i2c-ocores adapters

2015-10-02 Thread York Sun
Peter, On 10/01/2015 11:03 PM, Peter Korsgaard wrote: >> "York" == York Sun writes: > > > Peter, > > > I have a platform (FPGA) with multiple ocores i2c adapter. When I > > register them using MFD framework, I got a message regarding > > duplicating name for sysfs. I wonder if this driv

Re: multiple i2c-ocores adapters

2015-10-01 Thread Peter Korsgaard
> "York" == York Sun writes: > Peter, > I have a platform (FPGA) with multiple ocores i2c adapter. When I > register them using MFD framework, I got a message regarding > duplicating name for sysfs. I wonder if this driver (i2c-ocores.c) > only supports one adapter. I can try to fix it

multiple i2c-ocores adapters

2015-10-01 Thread York Sun
Peter, I have a platform (FPGA) with multiple ocores i2c adapter. When I register them using MFD framework, I got a message regarding duplicating name for sysfs. I wonder if this driver (i2c-ocores.c) only supports one adapter. I can try to fix it by adding a name string into ocores_i2c_platfo