Hello nvidia support,
I use module Orin NX 16Gb with Jetson Linux r36.2
I want to use pin 118 (GPIO3_PQ.05) as CAM0_PWDN and pin 124 (GPIO3_PP.06) as CAM1_PWDN
In my device tree I have added:
#define CAM0_PWDN TEGRA234_MAIN_GPIO(Q, 5)
#define CAM1_PWDN TEGRA234_MAIN_GPIO(P, 6)
Unfortunately PQ.05 stuxed in high level and PP.06 stuxed in low level.
These pins don’t change output values even when I try to access them directly via gpioset.
sudo gpioset gpiochip0 98=1
sudo gpioget gpiochip0 98
0
sudo gpioset gpiochip0 105=1
sudo gpioget gpiochip0 105
1
I tried change pins assignment with pinmux, I added:
pinmux@2430000 {
soc_gpio25_pp6 {
nvidia,pins = "soc_gpio25_pp6";
nvidia,function = "vi0";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
nvidia,io-high-voltage = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
soc_gpio32_pq5 {
nvidia,pins = "soc_gpio32_pq5";
nvidia,function = "vi0";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
nvidia,io-high-voltage = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
};
Unfortunately, this did not fix the issue.
Can you help me?