pinctrl: mvebu: dove: request syscon regmap for global registers
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Fri, 24 Jan 2014 23:09:05 +0000 (00:09 +0100)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 25 Feb 2014 20:16:09 +0000 (21:16 +0100)
commite91f7916eaa6751ce61ae151875280784c587267
treef0630a492f8372fbe44bd71a78bcd9801ea5cfd0
parent4d73fc7728515d11fedff5b3ea7f2e03a84dfd60
pinctrl: mvebu: dove: request syscon regmap for global registers

Dove pinctrl uses some global config registers to control pins.
This patch requests a syscon regmap for those registers. As this
changes DT to driver requirements, fallback to a self-registered
regmap with hardcoded resources, if the corresponding syscon DT
node is missing. Also, WARN about old DT binding usage to encourage
users to update their DTBs.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/Kconfig
drivers/pinctrl/mvebu/pinctrl-dove.c