[U-Boot] [PATCH v3 04/14] drivers: pinctrl: Add pinctrl driver for Microchip PIC32.
Simon Glass
sjg at chromium.org
Wed Jan 13 21:10:01 CET 2016
On 12 January 2016 at 03:18, Purna Chandra Mandal
<purna.mandal at 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.mandal at 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 <sjg at chromium.org>
More information about the U-Boot
mailing list