[PATCH v3 0/3] Add atmel pinctrl driver

Raphaël Poggi poggi.raph at gmail.com
Tue Sep 2 04:07:57 PDT 2014


Change since v2:
        * Move all functions from mach-at91/gpio.h to match-at91/include/gpio.h
        * Remove pinctrl-at91.h file in patch

Change since v1:
        * Fix coding style issue
        * Register gpio clocks with CLKDEV_DEV_ID instead of CLKDEV_CON_DEV_ID

This patchset add atmel pinctrl/gpio driver and the corresponding clocks for
the at91sam9g45 device.

The pinctrl driver also include the gpio driver (like in linux) because the gpio and pinctrl parts share same structures.

Raphaël Poggi (3):
        (1) arm: mach-at91: move gpio.h to include folder
        (2) pinctrl: at91: add pinctrl driver
        (3) at91sam9g45: add device tree gpio clocks

 arch/arm/mach-at91/at91sam9g45.c       |    5 +
 arch/arm/mach-at91/gpio.c              |    2 +-
 arch/arm/mach-at91/gpio.h              |  148 ---------
 arch/arm/mach-at91/include/mach/gpio.h |  149 +++++++++
 drivers/pinctrl/Kconfig                |    6 +
 drivers/pinctrl/Makefile               |    1 +
 drivers/pinctrl/pinctrl-at91.c         |  527 ++++++++++++++++++++++++++++++++
 7 files changed, 689 insertions(+), 149 deletions(-)




More information about the barebox mailing list