pinctrl: sirf: add USB1/UART1 pinmux usb/uart share
authorRong Wang <Rong.Wang@csr.com>
Sun, 29 Sep 2013 14:27:59 +0000 (22:27 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Oct 2013 08:19:26 +0000 (10:19 +0200)
commit6a08a92ec45782e5543addf5f8785e2560a078f6
treee5844fb3b5f3913e0a1f1c17790eebcf987a5540
parentaf614b2301f0e30423240a754ec2812a4c793201
pinctrl: sirf: add USB1/UART1 pinmux usb/uart share

dn and dp of USB1 can share with UART1(UART1 can route rx,tx to dn and dp pins of USB1).
here we add this pinmux capability.
USB1/UART1 mode selection has dedicated control register in RSC module, here we attach
the register offset of private data of related pin groups.

Signed-off-by: Rong Wang <Rong.Wang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/atlas6.dtsi
arch/arm/boot/dts/prima2.dtsi
drivers/pinctrl/sirf/pinctrl-atlas6.c
drivers/pinctrl/sirf/pinctrl-prima2.c
drivers/pinctrl/sirf/pinctrl-sirf.c
drivers/pinctrl/sirf/pinctrl-sirf.h