Thank for replying me! maybe my question is unclear or you misunderstand my idea. I would like to explain it more clearly now:
The power supply (+5V) of GPS module is controled by a GPIO of i.MX6. If i.MX6 pin has logic 0, this means GPS module has +5V (Module is turned on). If i.MX6 pis has logic 1, this means module is turned off. I would like to power on GPS module on boot up in kernel space (default GPS module is off), so I think there should be a regulator driver.
I have read/studied regulator-fixed driver, is it the exact driver that i need in this situations?