Issue about GPIO API on MX6DL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue about GPIO API on MX6DL

544 Views
tony_l_cai
Contributor III

Hi,all

     I want to use the API " mxc_set_gpio_direction " in the file of  uboot-imx\include\asm-arm\arch-mx6\gpio.h, and I have included the header file <asm/arch/gpio.h> , but the  compiler cannot find the API, so the header file is wrong or anything else?

Labels (2)
0 Kudos
Reply
1 Reply

456 Views
igorpadykov
NXP Employee
NXP Employee

Hi tony

in latest u-boot (like u-boot-imx 2013.04) for gpio apis one can look at

/drivers/gpio/mxc_gpio.c, there are functions mxc_gpio_direction, gpio_request,

gpio_free and others.

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 Kudos
Reply