diff options
author | Dong Aisheng <dong.aisheng@linaro.org> | 2012-04-17 09:00:46 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-04-18 13:53:13 +0200 |
commit | dcb5dbc305b975cccf40942feba40964069541d3 (patch) | |
tree | f5dc39743766d69ef05b8df844d71758a5ee1dfc /drivers/pinctrl/pinmux.c | |
parent | pinctrl: show pin name when request pins (diff) | |
download | linux-dcb5dbc305b975cccf40942feba40964069541d3.tar.xz linux-dcb5dbc305b975cccf40942feba40964069541d3.zip |
pinctrl: show pin name for pingroups in sysfs
Pin name is more useful to users.
After change, when cat pingroups in sysfs, it becomes:
root@freescale /sys/kernel/debug/pinctrl/20e0000.iomuxc$ cat pingroups
registered pin groups:
group: uart4grp-1
pin 219 (MX6Q_PAD_KEY_ROW0)
pin 218 (MX6Q_PAD_KEY_COL0)
group: usdhc4grp-1
pin 305 (MX6Q_PAD_SD4_CMD)
pin 306 (MX6Q_PAD_SD4_CLK)
pin 315 (MX6Q_PAD_SD4_DAT0)
pin 316 (MX6Q_PAD_SD4_DAT1)
pin 317 (MX6Q_PAD_SD4_DAT2)
pin 318 (MX6Q_PAD_SD4_DAT3)
pin 319 (MX6Q_PAD_SD4_DAT4)
pin 320 (MX6Q_PAD_SD4_DAT5)
pin 321 (MX6Q_PAD_SD4_DAT6)
pin 322 (MX6Q_PAD_SD4_DAT7)
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
0 files changed, 0 insertions, 0 deletions