Part Number: AM3352
Hello,
We have our own design based on the am3352. So far we have been using kernel from SDK 05.03.00.07, and now we are trying to upgrade to FW from SDK 09.01.00.00.
New kernel 6.1.46 is starting fine, drivers are loaded ...... everything seems to be fine, but I am having problems with a basic function, just trying to request and set a value for a GPIO. I am calling:
if (!gpio_is_valid(77)){
printk(KERN_INFO "gpioChar: invalid 77\n");
return:
}
gpio_request(77, "gpio2_13");
gpio_direction_output(77, 1);
gpio_export(77, false);
All functions return 0, but gpio2_13 is not set to 1. I try to change IO value after this initial configuration but I can not modify the output value.
I also tryed to modify output value from /sys/class/gpio/gpio77
echo 1 > value
cat value
1
but it does not work, output value is not changed
All this functions and commans do work fine with kernel 4.19.94. It seems as if I am missing any configuration.
This issue is not only with gpio2_13, it is the same problem with other gpio.
Could you please help me to solve this issue?
Best regards
Angel