Files
u-boot-tk1-som/include
mario.six@gdsys.cc 53ecdfb920 dm: gpio: Add methods for open drain setting
Certain GPIO devices have the capability to switch their GPIOs into
open-drain mode, that is, instead of actively driving the output
(Push-pull output), the pin is connected to the collector (for a NPN
transistor) or the drain (for a MOSFET) of a transistor, respectively.
The pin then either forms an open circuit or a connection to ground,
depending on the state of the transistor.

This patch adds functions to the GPIO uclass to switch GPIOs to
open-drain mode on devices that support it.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
2016-06-03 22:13:52 -07:00
..
2016-05-26 20:48:31 -06:00
2016-04-01 17:18:12 -04:00
2016-05-02 18:37:09 -04:00
2016-04-01 17:18:11 -04:00
2016-03-22 12:16:13 -04:00
2016-01-12 10:19:09 -07:00
2016-03-24 09:47:43 +01:00
2016-05-25 17:52:39 +02:00
2016-05-25 17:52:39 +02:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2016-01-20 19:06:23 -07:00
2016-03-14 19:21:44 -04:00
2015-11-19 20:27:50 -07:00
2014-06-21 10:06:58 -06:00
2016-02-23 16:14:45 +05:30
2016-01-19 08:31:21 -05:00
2015-04-10 14:23:23 +02:00
2016-05-27 10:23:09 -06:00
2016-05-27 20:34:12 -04:00
2016-05-03 17:52:11 -05:00
2016-01-28 12:22:19 -06:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2015-11-12 13:18:58 -05:00
2016-01-27 15:55:54 +01:00
2016-01-19 08:31:21 -05:00
2015-08-25 22:53:57 -05:00
2015-07-22 08:57:54 +02:00
2014-12-11 13:18:43 -07:00
2014-05-28 10:58:19 +09:00
2016-03-08 15:01:47 -05:00
2015-09-02 15:26:12 +02:00
2016-01-20 10:19:40 -05:00
2015-11-12 08:26:58 +08:00
2015-01-06 10:10:04 +02:00
2016-01-19 08:31:21 -05:00
2016-05-27 10:01:10 -04:00
2015-06-04 03:34:47 -06:00
2016-01-21 20:42:36 -07:00
2016-02-05 12:47:21 +08:00
2015-01-05 12:08:55 -05:00
2016-03-15 15:19:23 -04:00
2016-01-21 20:42:36 -07:00
2016-01-21 20:42:34 -07:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2016-03-14 15:34:50 -06:00
2016-05-17 09:54:43 -06:00
2015-11-05 08:24:42 +01:00
2016-05-26 20:48:31 -06:00
2015-07-26 12:11:33 +02:00
2016-02-26 08:53:10 -07:00
2016-05-17 09:54:43 -06:00
2016-05-02 18:37:09 -04:00
2016-01-30 10:58:47 +01:00
2016-01-25 10:39:47 -05:00
2015-01-21 10:25:53 +01:00