diff options
| author | Linus Walleij <[email protected]> | 2016-04-10 15:07:23 +0200 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-04-14 14:03:29 +0200 |
| commit | 190ea4344bc3fb97c40befd1653a92e9a59fe0f7 (patch) | |
| tree | dc87ea2128d06944f199dd25ba8a4a7381b6209a /tools/perf/scripts | |
| parent | 51c27da19d3dbf3219afb225e1626e193c5e1c72 (diff) | |
gpio: wm8994: use the new open drain callback
The WM8994 GPIOs clearly have a dedicated open drain control
register. Implement support for controlling this from GPIO
descriptor tables or other hardware descriptions such as
device tree by implementing the .set_single_ended() callback.
Before this patch, lines requesting open drain will just be
switched to input mode by the framework, thus emulating open
drain. But the hardware can do the real thing, so let's
support that.
As part of this, rename the debugfs string for output mode
from "CMOS" to "push-pull" because it is the term used in
the framework to signify a tomem-pole CMOS output.
Cc: [email protected]
Cc: Mark Brown <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions