On 12 January 2016 at 03:18, Purna Chandra Mandal <purna.man...@microchip.com> wrote: > In PIC32 pin-controller is a combined gpio-controller, pin-mux and > pin-config module. Remappable peripherals are assigned pins through > per-pin based muxing logic. And pin configuration are performed on > specific port registers which are shared along with gpio controller. > Note, non-remappable peripherals have default pins assigned thus require > no muxing. > > Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> > > > --- > > Changes in v3: > - read register base from device-tree > - add/update comments to explain how pinctrl'r works. > - replace pic32_ioremap() with ioremap(). > > Changes in v2: > - add pinconf routine for configuring pin property > > drivers/pinctrl/Kconfig | 9 + > drivers/pinctrl/Makefile | 1 + > drivers/pinctrl/pinctrl_pic32.c | 363 > ++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 373 insertions(+) > create mode 100644 drivers/pinctrl/pinctrl_pic32.c
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot