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.

AM335x switch pin's function



Hi All,

I am working on AM335x, and now I was confused by the pin's function switch, describe as below:

As you know the functions of pin were defined at arch/arm/mach-omap2/. but now I want to define a pin as GPIO when system bootup, and than change the pin as uart function.

For example, driver A will be "insmod" after system bootup, this driver use the uart0_rtsn as GPIO output, and then, driver A will be "remod", Driver B will be "insmod", this driver use the uart0_rtsn as uart4_txd.

In other words, the functions(GPIO and uart_txd) of uart0_rtsn was defined in different driver at different time, is it possible?

Thanks in advance,

Jakebo