i2c-gpio and boards conversions to GPIO descriptors
Subsystems (3)
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.
Please double check this :)
Simon
Quoted 1 line · Simon Guinot
Hi Linus,
Forwarding to some mailing lists I missed in a first place.
Quoted 5 lines
I think your patch
b2e63555592f"i2c: gpio: Convert to use descriptors" may have broken i2c-gpio support for some boards using old fashionplatform_devicedeclarations.
Quoted 7 lines
Indeed when an "i2c-gpio"
platform_deviceis 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.Please double check this :)
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180525/4bcae35d/attachment.sig>
Quoted 9 lines · Simon Guinot
Hi Linus,
I think your patch
b2e63555592f"i2c: gpio: Convert to use descriptors" may have broken i2c-gpio support for some boards using old fashionplatform_devicedeclarations.Indeed when an "i2c-gpio"
platform_deviceis 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