On Tue, Dec 8, 2015 at 11:19 AM, Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> wrote: > If the pca953x device is probed from OF using the proper OF probing then > the i2c-client will be NULL and the device probe will fail as id is NULL > and it isn't an ACPI device (previous drivers would simply OOPS out). > > Add support for the of_device_id table having the same data as the others > so that the correct paths will be taken when registering a device. > > An example of current valid of node which did not work: > > gpio@38 { > compatible = "onsemi,pca9654", "nxp,pca9534"; > reg = <0x38>; > interrupt-parent = <&gpio5>; > interrupts = <25 IRQ_TYPE_LEVEL_LOW>; > }; > > Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html