This patch improves MediaTek pinctrl v2 and makes backward compatible to current smartphone mass production usage by: 1.Check gpio pin number and use binary search in control address lookup 2.Supporting driving setting without mapping current to register value 3.Correct usage of PIN_CONFIG get/set implementation 4.Backward compatible to previous Mediatek's bias-pull usage 5.Add support for pin configuration dump via sysfs