PIN22 of 40 pins header is PP.04.
Please simply run the following command to control it.
# gpioset --mode=wait `gpiofind "PP.04"`=1
# gpioset --mode=wait `gpiofind "PP.04"`=0
Please configure Drive 0 or Drive 1 for Req. Initial State. (rather than N/A)
For Jetpack 6.2, you need to apply the following change for this use case.
40hdr - SPI1 gpio padctl register bit[10] effect by gpiod tools in JP6 - #20 by KevinFFF
Or you can simply update to Jetpack 6.2.2(R36.5) which should include the change.