pinctrl: mediatek: Add support for pin configuration dump via debugfs.
authorLight Hsieh <light.hsieh@mediatek.com>
Wed, 22 Jan 2020 06:53:14 +0000 (14:53 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Feb 2020 10:38:26 +0000 (11:38 +0100)
commit184d8e13f9b13313f711f028ca2465f973459046
tree4b478451de368ae40bc7818652ef0ca37a07235c
parentcafe19db7751269bf6b4dd2148cbfa9fbe91d651
pinctrl: mediatek: Add support for pin configuration dump via debugfs.

Add support for pin configuration dump via catting
/sys/kernel/debug/pinctrl/$platform_dependent_path/pinconf-pins.
pinctrl framework had already support such dump. This patch implement the
operation function pointer to fullfill this dump.

Signed-off-by: Light Hsieh <light.hsieh@mediatek.com>
Link: https://lore.kernel.org/r/1579675994-7001-6-git-send-email-light.hsieh@mediatek.com
Acked-by: Sean Wang <sean.wang@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-paris.c
drivers/pinctrl/mediatek/pinctrl-paris.h