Hi,
I am using DM3730 now,the package is "CUS",the linux kernel version are 2.6.32 and 2.6.37,which are from ti linux SDK.
When I want to use external pin as a GPIO,I firstly do the pin mux setting by using "omap_mux_init_gpio" function,then request a GPIO, set the GPIO direction as
output,set the GPIO to output high by default.
But for some GPIOs ,such as GPIO_132 (ball number is "AB3"),all what I do is only effective in linux 2.6.32 kernel. What are different betweent 2.6.32 and 2.6.37
kernel ?
I use code as the following:
omap_mux_init_gpio(132, OMAP_PIN_OUTPUT);
gpio_request(132, "pwr_en");
gpio_direction_output(132, 0);
gpio_set_value(132, 1);
while(1); //infinite loop here to test whether the multiplexing is effective .
Best regards,