]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e34458f093e392056e2d82c837be8dc36bf0731
treee5844fb3b5f3913e0a1f1c17790eebcf987a5540
parent170c2695da06d897dc5b5ac5286a484b729ee1e6
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