powerpc/85xx: Add 'fsl,pq3-gpio' compatiable for GPIO driver
authorKumar Gala <galak@kernel.crashing.org>
Sat, 22 Oct 2011 21:20:42 +0000 (16:20 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 3 Nov 2011 17:57:31 +0000 (12:57 -0500)
Support MPC85xx platforms outside of MPC8572/MPC8536.  The
MPC8572/MPC8536 have an erratum that is worked around based on having
"fsl,mpc8572-gpio" in the compatiable list.  All other MPC85xx SoCs
don't require this workaround and thus utilize the 'fsl,pq3-gpio'
compatiable.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/gpio/gpio-mpc8xxx.c

index fb4963abdf55101dea90147cee8845597c0eaaef..d74d19bf3af56b30cecc986d860674c92f076a7b 100644 (file)
@@ -310,6 +310,7 @@ static struct of_device_id mpc8xxx_gpio_ids[] __initdata = {
        { .compatible = "fsl,mpc8572-gpio", },
        { .compatible = "fsl,mpc8610-gpio", },
        { .compatible = "fsl,mpc5121-gpio", .data = mpc512x_irq_set_type, },
+       { .compatible = "fsl,pq3-gpio",     },
        { .compatible = "fsl,qoriq-gpio",   },
        {}
 };