This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to setup GPIO Interrupts with OMAP3530?

Other Parts Discussed in Thread: TSC2007

Our target board referenced by OMAP3 EVM.

If we changed GPIO_181 from GPIO_175 for TSC2007 device,

how to setup GPIO Mode for GPIO_181?

tested our target board follwing below:

----------------------------------------------------------------------------------------------------------------

    ptr = (u32 *)(&CONTROL_PADCONF_MCSPI2_CS0); /* for TSC2007 PENIRQ */

    *ptr |= (u32)(IO_PAD_WAKEUPENABLE |
            IO_PAD_OFFPULLUDENABLE |    /* Pull up enable */
            IO_PAD_OFFOUTENABLE |       /* Input enable   */
            IO_PAD_OFFENABLE |
            IO_PAD_INPUTENABLE |
            IO_PAD_PULLUDENABLE |
            IO_PAD_MUXMODE4);

----------------------------------------------------------------------------------------------------------------