]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: sirf: enable the driver support new SiRFmarco SoC
authorBarry Song <Baohua.Song@csr.com>
Thu, 27 Sep 2012 09:56:30 +0000 (17:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2012 11:41:47 +0000 (12:41 +0100)
commit437390fbba25caf248473c26b7d9742596fd390c
tree076f2c379059fb4ed13c0c70a89752286b7e0426
parentff1ead3f0bcc00cae9f9ce14731bc36c012d913a
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