Re: [PATCH] misc: eeprom: implement compatible DT probing
From: Linus Walleij <hidden>
Date: 2016-12-20 15:00:12
Also in:
linux-i2c
From: Linus Walleij <hidden>
Date: 2016-12-20 15:00:12
Also in:
linux-i2c
On Fri, Dec 9, 2016 at 6:48 AM, Peter Rosin [off-list ref] wrote:
On 2016-12-09 00:32, Linus Walleij wrote:
quoted
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.
(It does)
But it is a bit strange. Grepping for compatible.*24c finds quite a few instances of "bad" compatible strings. Many on the patterns at,24c256 and at24,24c256 (should be probably be atmel,24c256) but also a few atmel,at24c16 and atmel,at24c128b. I don't understand how those last ones ever worked, if it is not working for you? Especially those with the trailing "b". WTF?
Those are the erroneous device trees that I copied as inspiration instead of looking directly at the bindings. Yours, Linus Walleij