GPIO driver for Freescale QorIQ T2080
Hi,
I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. This has 4 blocks of GPIOs similar to the single block defined in arch/powerpc/include/asm/mpc85xx_gpio.h.
If someone is working on a driver for that CPU or similar, let me know. Ideally this would fit the new driver model. I'd be happy to help test it out and debug it.
Alternatively, if you know another way to drive those GPIO blocks with existing code, feel free to suggest a way.
Cheers,
Hamish Martin.
Quoted 10 lines · Hamish Martin
Hi,
I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. This has 4 blocks of GPIOs similar to the single block defined in
arch/powerpc/include/asm/mpc85xx_gpio.h.If someone is working on a driver for that CPU or similar, let me know. Ideally this would fit the new driver model. I'd be happy to help test it out and debug it.
Quoted 6 lines
Alternatively, if you know another way to drive those GPIO blocks with existing code, feel free to suggest a way.
Cheers,
Hamish Martin.
Hi Hamish,
I posted v2 of a patch series for a MPC85xx GPIO DM driver just yesterday; it was
tested on a P1022, but it's quite likely that it will work with other QorIQs,
too (it's basically arpc/powerpc/include/asm/mpc85xx_gpio.h turned into a proper DM driver).
Tests would be very welcome :-)
Best regards,
Mario
Quoted 20 lines · Mario Six
Quoted 11 lines · Hamish Martin
Hi,
I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. This has 4 blocks of GPIOs similar to the single block defined in
arch/powerpc/include/asm/mpc85xx_gpio.h.If someone is working on a driver for that CPU or similar, let me know. Ideally this would fit the new driver model. I'd be happy to help test it out and debug it.
Quoted 6 lines
Alternatively, if you know another way to drive those GPIO blocks with existing code, feel free to suggest a way.
Cheers,
Hamish Martin.
Quoted 8 lines
Hi Hamish,
I posted v2 of a patch series for a MPC85xx GPIO DM driver just yesterday; it was
tested on a P1022, but it's quite likely that it will work with other QorIQs,
too (it's basicallyarpc/powerpc/include/asm/mpc85xx_gpio.hturned into a proper DM driver).
I have not read you patch but I wanted to mention a defect in QorIO:
It cannot read back the DAT register, it always read the pin values. This means one needs to hold the DAT register in a RAM copy or risk malfunction when using open drain etc.
See GPIO for QorIO in the kernel for details.
?Jocke
Quoted 31 lines · Joakim Tjernlund
Quoted 17 lines · Mario Six
Quoted 14 lines · Hamish Martin
Hi,
I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. This has 4 blocks of GPIOs similar to the single block defined in
arch/powerpc/include/asm/mpc85xx_gpio.h.If someone is working on a driver for that CPU or similar, let me know. Ideally this would fit the new driver model. I'd be happy to help test it out and debug it.
Alternatively, if you know another way to drive those GPIO blocks with existing code, feel free to suggest a way.
Quoted 6 lines
Quoted 3 lines
Cheers,
Hamish Martin.Hi Hamish,
I posted v2 of a patch series for a MPC85xx GPIO DM driver just
yesterday;
Quoted 5 lines
it was
tested on a P1022, but it's quite likely that it will work with other QorIQs,
too (it's basicallyarpc/powerpc/include/asm/mpc85xx_gpio.hturned into a proper DM driver).
Quoted 8 lines
I have not read you patch but I wanted to mention a defect in QorIO:
It cannot read back the DAT register, it always read the pin values. This means one needs to hold the DAT register in a RAM copy or risk malfunction when using open drain etc.See GPIO for QorIO in the kernel for details.
Jocke
I didn't know of that issue; thanks for the heads-up! I'll implement shadowing
for the DAT register in v3 (especially since I'm also enabling open drain functionality in the series).
Best regards,
Mario