BTW, if it is kernel driver, you can go to here to see (priority_test.rar) on how to control GPIO in kernel driver
According to gpiolib-sysfs.c in WP76 FW R13.3 yocto source, GPIO7 of WP76 module is connecting to GPIO_16 of qualcomm chipset internally.
So in case you use this in kernel driver layer, you need to use this number instead of GPIO7.