Re: multiple i2c-ocores adapters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter,

On 10/01/2015 11:03 PM, Peter Korsgaard wrote:
>>>>>> "York" == York Sun <yorksun@xxxxxxxxxxxxx> 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 by adding a name string
>  > into ocores_i2c_platform_data and allocate struct i2c_adapter on
>  > demand. Am I on the right direction?
> 
> 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 filename '/bus/platform/devices/ocores-i2c'

I think it is caused by the i2c-ocores driver. Will dig deeper.

York
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux