[COMMON] pinctrl: samsung: support debug show
authoreunki_kim <eunki_kim@samsung.com>
Fri, 26 Jun 2015 08:46:27 +0000 (17:46 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Thu, 3 May 2018 11:11:53 +0000 (20:11 +0900)
commitae06aea27c5cf43f7153cec241e49797559c9107
treea30a91491b5e6db61bde2349b9c4c4774a17c112
parent1a478c8ca39a96f870abce5615331a45ab5875d0
[COMMON] pinctrl: samsung: support debug show

Each pin is possible to show its register value through DEBUG_FS.
This patch supports it like below:

  cat /sys/kernel/debug/pinctrl/10580000.pinctrl/pinconf-pins
  cat /sys/kernel/debug/pinctrl/10580000.pinctrl/pinconf-groups
  cat /sys/kernel/debug/pinctrl/10580000.pinctrl/pins

Change-Id: I99a05520946d7299ff692a1043b5b5390f33dd0f
Signed-off-by: eunki_kim <eunki_kim@samsung.com>
drivers/pinctrl/samsung/pinctrl-samsung.c