Tool/software: Linux
Hi,
I would like to know if the gpio_request is PULLing UP the gpio, even if it is configured as PULLUDDIS (Pull Disabled)
For the background,
I am trying to make a GPIO as Input with PULL Disabled (Floating). As soon as I request GPIO as INPUT, the floating value changes to PULL UP. (Reset state of the pin is High Impedance with Active Pull Up)
I would like to know if I can disable that transition from PULL Disable to PULLUP as the gpio is requested as INPUT.
For the reference,
I am using UART1_Rx as GPIO INPUT, {OFFSET(uart1_rxd), (MODE(7) | PULLUDDIS)}
gpio_request(gpio, "some-input");
In the end, I would like to have the GPIO Input to be floating.