add spec and comment to gpio_port
update doc