Hello maeda,
I'm sorry maeda to my knowledge there is no documentation available about poweroff-gpio.c. But I will do a little research to see if I can find some information about it, and if I do, I will post it here, to see if it helps you.
Regards,
Pedro.