Hi,
we have a custom design with Jetson Orin NX SOM. I’d like to use GPIO06, pin #130 of SOM. According to the pinmux table it is configured as PCC.03, which is line15 of gpiochip1 . When I want to access it with “gpioget 1 15” I get:
“Device or resource busy”.
In /sys/kernel/debug/gpio I can see this:
“gpio-331 (PCC.03 |(null) ) out hi”
How can I find out what’s using GPIO06?
And I’d like to ask another question: how can I use CAM1_MCLK as GPIO? According to the Pin Description Spreadsheet function #2 for this pin is GPIO.
Thank you very much!
Actually it wasn’t display@13800000 which was using GPIO06 but you gave me a good hint what to search for in the device-tree: TEGRA234_AON_GPIO(CC, 3) macro. It turned out PCC.03 was used by cam_i2cmux, which was used by imx219 and imx477 cameras. So I just removed the include line from tegra234-p3509-a02.dtsi and GPIO06 became free to use.