Tool/software:
I got an error by controlling the GPIO by libgpiod
I can detect GPIO by gpiodetect
root@am62pxx-evm:~# gpiodetect gpiochip0 [1-0023] (24 lines) gpiochip1 [600000.gpio] (92 lines) gpiochip2 [601000.gpio] (52 lines) gpiochip3 [1-0022] (24 lines)

For example, if I want to set GPIO0_5 pin to high
I need to issue the command "gpioset gpiochip1 5=1"
but I got the following error
root@am62pxx-evm:~# gpioset gpiochip1 5=1 gpioset: invalid line value: 'gpiochip1' root@am62pxx-evm:~# gpioinfo gpiochip1 gpioinfo: cannot find line 'gpiochip1'
My DTS has configured the pin.
&main_pmx0 {
bootph-all;
gpio_pins_default: gpio-default-pins {
pinctrl-single,pins = <
AM62PX_IOPAD(0x0014, PIN_OUTPUT, 7) /* (N25) OSPI0_D2.GPIO0_5 LCD_RGB_VLED_EN */
};
};
&main_gpio0 {
bootph-all;
};
Does somebody know how to control the GPIO?