]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
watchdog: orion: Introduce a SoC-specific RSTOUT mapping
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sat, 15 Mar 2014 18:17:57 +0000 (15:17 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 10 Jun 2014 19:44:06 +0000 (21:44 +0200)
commit92d4fc1a1f56a12fa09c92d8c89873509a8012c9
tree3759aeeae801787401f0c7d0db04533574cf4411
parentaaaac9ec79b7c4e21741df35d2247a1187836129
watchdog: orion: Introduce a SoC-specific RSTOUT mapping

Separate the RSTOUT register mapping for the different compatible strings
supported by the driver. This allows to use devm_ioremap on SoC variants that
share the RSTOUT register, and devm_ioremap_resource (which requests the MMIO
region) on SoCs that have a dedicated RSTOUT register.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/orion_wdt.c