Tool/software:
Hi,
I am trying to access the pwdn gpio pins through terminal using gpio tools like gpiodetect and gpioinfo to access the pins but line 0,1,2 all that showing unnamed, and not able to access the pwdn gpio pins. I request you to help me with the same.
Below is the terminal output for gpioinfo :
gpiochip1 - 66 lines:
line 0: unnamed unused input active-high
line 1: unnamed unused input active-high
line 2: unnamed unused input active-high
gpioset /dev/gpiochip1 1=1 // when we try to make it high
gpioget /dev/gpiochip1 1 //when we reading this using gpioget output will be 0.
&main_i2c1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c1_pins_default>;
clock-frequency = <100000>;
max96714: max96714@50 {
compatible = "ovti,ox05b";
reg = <0x50>;
clock-names = "inck";
pwdn-gpios=<&main_gpio0 1 GPIO_ACTIVE_LOW>;
};
};
In the above code snippet added gpio configuration code, here we are using gpio0_1.
main_gpio0_pins_default: main_gpio0_pins_default {
pinctrl-single,pins = <
J721S2_IOPAD(0x004, PIN_OUTPUT, 7) /* (w25) ECAP0_IN_APWM_OUT.I2C1_SCL */
>;
};
&main_gpio0 {
status = "okay";
pinctrl-0 = <&main_gpio0_pins_default>;
};
Please provide the solution for this