pinctrl: sirf: enable the driver support new SiRFmarco SoC
commitd3e26f2fe993b5dbc8b4b2275d77f9ad3e08c81a
authorBarry Song <Baohua.Song@csr.com>
Thu, 27 Sep 2012 09:56:30 +0000 (27 17:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Nov 2012 18:05:58 +0000 (11 19:05 +0100)
treeb61bd706e6fe4e43878e445ef0535e279bf45c18
parent06763c741b0a19160482c9b34e5bbc3e50dba79a
pinctrl: sirf: enable the driver support new SiRFmarco SoC

The driver supports old up SiRFprimaII SoCs, this patch makes it support
the new SiRFmarco as well.
SiRFmarco, as a SMP SoC, adds new SIRFSOC_GPIO_PAD_EN_CLR registers, to
disable GPIO pad, we should write 1 to the corresponding bit in the new
CLEAR register instead of writing 0 to SIRFSOC_GPIO_PAD_EN.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig
drivers/pinctrl/pinctrl-sirf.c