Skip to content

Add atmel pinctrl driver

Raphaël Poggi barebox 3 versions – Applied

Status from this message: Applied this one for now, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 7 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3arm: mach-at91: move gpio.h to include folderarch/arm/mach-at91/gpio.c arch/arm/mach-at91/gpio.h arch/arm/mach-at91/include/mach/gpio.h+150 -1491 reply
2/3pinctrl: at91: add pinctrl driverdrivers/pinctrl/Kconfig drivers/pinctrl/Makefile drivers/pinctrl/pinctrl-at91.c+534 -06 replies
3/3at91sam9g45: add device tree gpio clocksarch/arm/mach-at91/at91sam9g45.c+5 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Add atmel pinctrl driver

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(-)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox