pinctrl: sophgo: generalize shareable code of cv18xx pinctrl driver

With generic data structure, it is possible to generalize vddio
operators and DT parsing code of cv18xx pinctrl driver. Introduce
sophgo_cfg_ops callback to allow the driver to adjust the soc
logic and share common code.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Link: https://lore.kernel.org/20250211051801.470800-4-inochiama@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Inochi Amaoto 2025-02-11 13:17:51 +08:00 • committed by Linus Walleij
commit 96406fa941
10 changed files with 545 additions and 375 deletions