OSDN Git Service

watchdog: mtx-1: Convert to use GPIO descriptor
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 22 Dec 2018 10:12:31 +0000 (11:12 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 24 Dec 2018 07:27:56 +0000 (08:27 +0100)
commitd2b911db8b73bc6bfa163515b4ff142fb0dda66d
treedead72124a5d5310ca43417ea07af78fb7a981c5
parent22ec9bb1cbcd613c73476ccd8f6a5e8c77793f66
watchdog: mtx-1: Convert to use GPIO descriptor

This converts the MTX-1 driver to grab a GPIO descriptor
associated with the device instead of using a resource with
a global GPIO number. Augment the driver and the boardfile.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
arch/mips/alchemy/board-mtx1.c
drivers/watchdog/mtx-1_wdt.c