How to send Signal to CAM1_PWDN on Jetson Orin Nano Developer Kit

How can I send a signal to CAM1_PWDN/ GP161_SPI5_CLK? We have a camera plugged in using MIPI/ CSI and we want to be able to control its power with the Jetson Orin Nano Developer Kit. I can get GPIO input/ output working using the python library so I figured I could just set the mode to Tegra SoC and send output to GP161_SPI5_CLK but that isn’t working. Anybody know how I can do this? Thank you!

You can control it by GPIO API in the sensor driver.

Thanks