Origin GPIO control in kernel code

hello fengzan.zhang,

may I know what’s the actual use-case.
please see-also developer guide to Identifying the GPIO Number, then you should be able to toggle the pin via sysfs.