Fix bugs in X1000/X1500 and add X1830 pinctrl driver v7

From: åçæ (Zhou Yanjie)
Date: Wed Dec 11 2019 - 07:51:12 EST


v6->v7:
1.Change my Signed-off-by from "Zhou Yanjie <zhouyanjie@xxxxxxxx>"
to "åçæ (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx>" because
the old mailbox is in an unstable state.
2.Add "ingenic_chip_info.reg_offset", use it instead of having
hardcoded, and add "PZ_BASE()" / "PZ_GID2LD()" macros, use it
with "ingenic_chip_info.reg_offset" to simplify code related
to shadow registers.
3.Simplify the code of the "ingenic_set_bias" function.