aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-moxart.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-11gpio: moxart: get value of output gpio from generic driverVladimir Zapolskiy1-14/+3
Adding a BGPIOF_READ_OUTPUT_REG_SET initialization flag to GPIO generic MMIO driver makes possible to remove a private get() value function from the driver. Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2015-01-09gpio: moxart: convert to use basic mmio gpio libraryKamlakant Patel1-70/+31
This patch converts MOXART GPIO driver to use basic_mmio_gpio generic library. Signed-off-by: Kamlakant Patel <[email protected]> Acked-by: Alexandre Courbot <[email protected]> Tested-by: Jonas Jensen <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-10-20gpio: drop owner assignment from platform_driversWolfram Sang1-1/+0
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <[email protected]>
2014-05-09gpio: moxart: remove unnecessary OOM messagesJingoo Han1-3/+1
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-03-27gpio: moxart: Actually set output state in moxart_gpio_direction_output()Axel Lin1-0/+1
moxart_gpio_direction_output() ignored the state passed into it. Fix it. Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-03-27gpio: moxart: Avoid forward declarationAxel Lin1-20/+19
Slightly adjust the code to avoid forward declaration as we need to call moxart_gpio_set() in moxart_gpio_direction_output() to properly set the output state. Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-12-20gpio: moxart: remove redundant dev_err call in moxart_gpio_probe()Wei Yongjun1-4/+1
There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-12-20gpio: moxart: add missing .owner to struct gpio_chipWei Yongjun1-0/+1
Add missing .owner of struct gpio_chip. This prevents the module from being removed from underneath its users. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-12-04gpio: MOXA ART: rename moxart_gpio_base to baseJonas Jensen1-14/+10
Renaming "moxart_gpio_base" to "base" allows better fit, remove line breaks in moxart_gpio_get(). While doing trivial cleanup, also remove fields initialized with zero in moxart_template_chip. Signed-off-by: Jonas Jensen <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-12-03gpio: Add MOXA ART GPIO driverJonas Jensen1-0/+162
Add GPIO driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Linus Walleij <[email protected]>