public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] dm: gpio: Add driver for MPC85xx GPIO controller
@ 2016-04-26 14:08 Mario Six
  2016-04-26 14:08 ` [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX " Mario Six
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Mario Six @ 2016-04-26 14:08 UTC (permalink / raw)
  To: u-boot

The functions for accessing GPIOs on MPC85xx are hardcoded in
arch/powerpc/include/asm/mpc85xx_gpio.h This leads to problems if another GPIO
controller supporting the driver model is to be used simultaneously.

Therefore, this patch moves the "static" functions into a DM-compatible driver,
and also introduces a set of functions into the GPIO uclass that expose the
controller's capability to switch individual GPIOs into open-drain-mode.

Mario Six (3):
  dm: gpio: Add driver for MPC85XX GPIO controller
  dm: gpio: Add methods for open drain setting
  dm: gpio: Implement open drain for MPC85XX GPIO

 arch/powerpc/include/asm/arch-mpc85xx/gpio.h |   2 +
 arch/powerpc/include/asm/immap_85xx.h        |   2 +
 drivers/gpio/Kconfig                         |   6 +
 drivers/gpio/Makefile                        |   1 +
 drivers/gpio/gpio-uclass.c                   |  30 ++++
 drivers/gpio/mpc85xx_gpio.c                  | 223 +++++++++++++++++++++++++++
 include/asm-generic/gpio.h                   |  29 ++++
 7 files changed, 293 insertions(+)
 create mode 100644 drivers/gpio/mpc85xx_gpio.c

--
2.7.0.GIT

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-05-19  6:16 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 14:08 [U-Boot] [PATCH 0/3] dm: gpio: Add driver for MPC85xx GPIO controller Mario Six
2016-04-26 14:08 ` [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX " Mario Six
2016-05-01 17:46   ` Simon Glass
2016-05-02 11:43     ` Mario Six
2016-05-08 13:28       ` Timur Tabi
2016-05-10  7:15         ` Mario Six
2016-05-10 12:29           ` Timur Tabi
2016-05-10  7:50     ` [U-Boot] [PATCH v2 0/3] dm: gpio: Add driver for MPC85xx " Mario Six
2016-05-10  7:51       ` [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX " Mario Six
2016-05-10 12:30         ` Timur Tabi
2016-05-10 13:07           ` Mario Six
2016-05-10 13:26             ` Timur Tabi
2016-05-10 13:43               ` Mario Six
2016-05-10  7:51       ` [U-Boot] [PATCH v2 2/3] dm: gpio: Add methods for open drain setting Mario Six
2016-05-19  3:59         ` Simon Glass
2016-05-10  7:51       ` [U-Boot] [PATCH v2 3/3] dm: gpio: Implement open drain for MPC85XX GPIO Mario Six
2016-05-19  3:59         ` Simon Glass
2016-05-19  6:16           ` Mario Six
2016-04-26 14:08 ` [U-Boot] [PATCH 2/3] dm: gpio: Add methods for open drain setting Mario Six
2016-05-01 18:54   ` Simon Glass
2016-04-26 14:08 ` [U-Boot] [PATCH 3/3] dm: gpio: Implement open drain for MPC85XX GPIO Mario Six
2016-05-01 18:54   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox