After looking at the patch set again I think the following is going to be simplest to proceed: 1. Look carefully at drivers like gpio-ftgpio010.c or gpio-pl061.c 2. Rewrite the driver to use GPIO_GENERIC instead of the "mm" stuff. 3. Use GPIOLIB_IRQCHIP and implement IRQ support. 4. Think about how to handle the dual GPIO. 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