Hi,
What is the exact usecase you want to use one this gpio?
Generally, there few ways to control the GPIO.
-
If this gpio is not in use by any driver, you can directly use the gpio sysfs to control the value.
https://www.kernel.org/doc/Documentation/gpio/sysfs.txt -
If the gpio is written as “gps-enable-gpio = <0xc2, 0x8, 0x0>;” then it means this gpio is controlled by the driver so the behavior depends on the driver.
-
Or you can write something similar as below under the gpio controller under the gpio contoller in the dts.
gpio-hog;
output-high;
gpios = <TEGRA_GPIO(V, 0) 0 >; #V0 is just an example
Please note that pinmux configuration from the spreadsheet does not do anything equal to above 3 configurations. I would suggest you can use method 1 here to check if the gpio is really working.