summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ns2.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-03-18 17:21:15 +0000
committerLinus Walleij <linus.walleij@linaro.org>2015-03-25 16:35:10 +0100
commitc2a4bf47089823bb76d2498eebda922ecf99546d (patch)
tree2156c819cb6af78e12b7cee8a13d780a2fc0bdbf /drivers/leds/leds-ns2.c
parente4c02dced975cbb3e7cb097a0895ce0143b3386a (diff)
downloadlwn-c2a4bf47089823bb76d2498eebda922ecf99546d.tar.gz
lwn-c2a4bf47089823bb76d2498eebda922ecf99546d.zip
pinctrl: st: Introduce a 'get pin function' call
This call fetches the numerical function value a specified pin is currently operating in. Function zero is more often than not the GPIO function. Greater than zero values represent an alternative function. You'd need to either look those up in the Device Tree sources or the Programmer's Manual. 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/leds/leds-ns2.c')
0 files changed, 0 insertions, 0 deletions