summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mvebu
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-03-18 17:21:19 +0000
committerLinus Walleij <linus.walleij@linaro.org>2015-03-25 16:39:17 +0100
commita8381faca5ec90b7eea94ce575e90af86e2c9a9e (patch)
tree193a81ee1748b416e1cca6760114d17003029f02 /drivers/pinctrl/mvebu
parente2ed0e88ecba59775a25b3cc237eed1faf71a9aa (diff)
downloadlinux-a8381faca5ec90b7eea94ce575e90af86e2c9a9e.tar.gz
linux-a8381faca5ec90b7eea94ce575e90af86e2c9a9e.tar.bz2
linux-a8381faca5ec90b7eea94ce575e90af86e2c9a9e.zip
pinctrl: st: Display pin's function when printing pinctrl debug information
Great for easily determining which mode a pin is operating in. This patch was particularly helpful when debugging a recent GPIO/ Pinctrl disparity issue. Before: $ cat /sys/kernel/debug/pinctrl/<pin-controller>/pinconf-pins pin 33 (PIO4[1]):[OE:0,PU:0,OD:0] [retime:0,invclk:0,clknotdat:0,de:0,rt-clk:0,rt-delay:0] After [GPIO]: $ cat /sys/kernel/debug/pinctrl/<pin-controller>/pinconf-pins pin 33 (PIO4[1]):[OE:0,PU:0,OD:0] GPIO [retime:0,invclk:0,clknotdat:0,de:0,rt-clk:0,rt-delay:0] After [Alt]: $ cat /sys/kernel/debug/pinctrl/<pin-controller>/pinconf-pins pin 33 (PIO4[1]):[OE:0,PU:0,OD:0] Alt Fn 2 [retime:0,invclk:0,clknotdat:0,de:0,rt-clk:0,rt-delay:0] Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu')
0 files changed, 0 insertions, 0 deletions