Hello Wolfram, On Mon, Aug 28, 2017 at 6:01 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: > >> > But there is a dependency, no? If I apply the driver patch, >> > non-converted device trees will not find their eeproms anymore. So, I >> >> I don't think that's correct. If you apply this patch before the DTS >> changes, the driver will still match using the I2C device ID table >> like it has been doing it until today. > > My tests do not confirm this. If I add a node with a "renesas,24c01" > compatible to my board, it works before your patch, but not after. If I > change it to "atmel,24c01" it works even after your patch. I haven't > looked into it, though, maybe i2c_of_match_device_sysfs() is stepping on > our foots here? > > Did you test and did it work for you? > I would swear that I tested both combinations (driver patch without DT changes and DTS changes without driver patch), but it was months ago when I first posted the patches so I may misremembering. I don't have a DT based system at hand now, but I'll test it again and let you know probably tomorrow. Best regards, Javier -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html