On Thu, Dec 8, 2016 at 7:23 PM, Peter Rosin <peda@xxxxxxxxxx> wrote: > On 2016-12-08 18:47, Linus Walleij wrote: >> Before this patch, the following device tree node does not probe, >> which might be considered a bug: >> >> eeprom@52 { >> compatible = "atmel,at24c128"; > > The way I read it, that should be "atmel,24c128", i.e. w/o the "at" prefix. (...) > and then lists the compatibles you have added to the match table (but you > have this extra "at" prefix for the atmel manufacturer). > > The way I read the above, you are free to use any manufacturer and still > have it work, and indeed, I have success with this node: > > eeprom@50 { > compatible = "nxp,24c02"; > reg = <0x50>; > pagesize = <16>; > }; > > I fear that your patch will regress this matching on the wildcard > manufacturer. I haven't tested that though, but there are enough > question marks anyway... Bah I probably just screwed up syntactically and now worked around a non-existing problem. I will try as you suggest, just "vendor,type" and see if it works. It probably does. Some days I feel just utterly stupid. Sorry for the fuzz. Wolfram: ignore the patch for now. Yours, Linus Walleij -- 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