I have several inputs defined in a module as:
gpio_request(GPIO_PIN_PD(04), PWR_CTL); gpio_direction_input(GPIO_PIN_PD(04)); gpio_export(GPIO_PIN_PD(04),false);
When mounting the debuggfs i find that:
gpio-100 PD4 (PWR_CTL ) in hi up
Is the anyway I can disable the pullup without recompiling, and if not how would be the correct way to do it in my module.
Since it says that:
void at32_select_gpio(unsigned int pin, unsigned long flags);
Should only be ised in board init.