summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-exar.c
Commit message (Collapse)AuthorAgeFilesLines
* gpio: exar: Set proper output level in exar_direction_outputAxel Lin2017-03-151-11/+12
| | | | | | | | | Current code does not set output level in exar_direction_output, fix it. Also move the direction_output/direction_input code block to avoid forward declaration for exar_set_value(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gpio: exar: add gpio for exar cardsSudip Mukherjee2017-01-261-0/+200
Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which can be controlled using gpio interface. Add the gpio specific code. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>