Thread (1 message) 1 message, 1 author, 2018-05-26

i2c-gpio and boards conversions to GPIO descriptors

From: Linus Walleij <hidden>
Date: 2018-05-26 16:38:43
Also in: linux-gpio, linux-i2c, linux-mips

On Fri, May 25, 2018 at 5:41 PM, Simon Guinot [off-list ref] wrote:
Hi Linus,

I think your patch b2e63555592f "i2c: gpio: Convert to use descriptors"
may have broken i2c-gpio support for some boards using old fashion
platform_device declarations.

Indeed when an "i2c-gpio" platform_device is registered with a fixed id
e.g. 0, then I think the device name becomes "i2c-gpio.0". And then this
won't match a lookup table registered with an "i2c-gpio" dev_id.
Yeah what a mess, I'm sending patches to fix it up, the ARM
patch already sent, I will send a separate one for the MIPS
machines.

Sorry for the mess! :(

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help