This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: Disable Internal PULLUP when GPIO is requested as INPUT

Part Number: AM3352

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.