From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 1/3] gpio: Move common gpio.h to include/asm-generic
Date: Fri, 12 Aug 2011 14:42:44 -0400 [thread overview]
Message-ID: <201108121442.47451.vapier@gentoo.org> (raw)
In-Reply-To: <1313136684-4204-1-git-send-email-joe.hershberger@ni.com>
On Friday, August 12, 2011 04:11:22 Joe Hershberger wrote:
> +int gpio_request(int gp, const char *label);
> +void gpio_free(int gp);
> +int gpio_direction_input(int gp);
> +int gpio_direction_output(int gp, int value);
> +int gpio_get_value(int gp);
> +void gpio_set_value(int gp, int value);
please use "unsigned gpio". this is what linux does and what most
implementations should be doing (since sane people will pull from linux).
> +void gpio_toggle_value(int gp);
this is not currently part of the generic gpio api. this should stay in arm's
asm/gpio.h for now, or not implement it at all.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110812/4177be54/attachment.pgp
next prev parent reply other threads:[~2011-08-12 18:42 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 22:31 [U-Boot] [PATCH 1/2] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-08-09 22:15 ` Scott Wood
2011-08-09 22:23 ` Joe Hershberger
2011-08-10 0:45 ` [U-Boot] [PATCH v3 " Joe Hershberger
2011-08-10 0:45 ` [U-Boot] [PATCH v3 2/2] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-08-09 22:31 ` [U-Boot] [PATCH " Joe Hershberger
2011-08-09 22:54 ` [U-Boot] [PATCH 1/2] mpc83xx: Add a GPIO driver for the MPC83XX family Kim Phillips
2011-08-09 23:03 ` Joe Hershberger
2011-08-10 4:56 ` [U-Boot] [PATCH v4 1/3] gpio: Move common gpio.h to include/asm-generic Joe Hershberger
2011-08-11 3:26 ` Mike Frysinger
2011-08-12 8:11 ` [U-Boot] [PATCH v5 " Joe Hershberger
2011-08-12 18:42 ` Mike Frysinger [this message]
2011-08-13 0:10 ` [U-Boot] [PATCH v6 1/4] " Joe Hershberger
2011-08-14 18:55 ` Mike Frysinger
2011-09-14 1:08 ` Kim Phillips
2011-09-15 9:45 ` Wolfgang Denk
2011-09-15 21:27 ` Albert ARIBAUD
2011-10-12 3:50 ` [U-Boot] [PATCH v7 " Joe Hershberger
2011-10-12 15:55 ` Laurence Withers
2011-11-03 20:53 ` Kim Phillips
2011-11-05 2:24 ` [U-Boot] [PATCH v8 1/4] gpio: Modify common gpio.h to more closely match Linux Joe Hershberger
2011-11-05 17:06 ` Mike Frysinger
2011-11-11 21:55 ` [U-Boot] [PATCH v9 " Joe Hershberger
2011-12-13 0:54 ` Kim Phillips
2011-11-11 21:55 ` [U-Boot] [PATCH v9 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic Joe Hershberger
2011-11-11 23:07 ` Kim Phillips
2011-11-17 18:24 ` Joe Hershberger
2011-11-11 21:55 ` [U-Boot] [PATCH v9 3/4] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-11-11 21:55 ` [U-Boot] [PATCH v9 4/4] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-11-05 2:24 ` [U-Boot] [PATCH v8 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic Joe Hershberger
2011-11-07 16:35 ` Stephen Warren
2011-11-07 17:39 ` Mike Frysinger
2011-11-07 17:02 ` Stephen Warren
2011-11-07 17:45 ` Joe Hershberger
2011-11-07 19:02 ` Mike Frysinger
2011-11-05 2:25 ` [U-Boot] [PATCH v8 3/4] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-11-05 17:07 ` Mike Frysinger
2011-11-05 2:25 ` [U-Boot] [PATCH v8 4/4] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-10-12 3:50 ` [U-Boot] [PATCH v7 2/4] gpio: Modify common gpio.h to more closely match Linux Joe Hershberger
2011-10-12 15:55 ` Laurence Withers
2011-10-12 3:50 ` [U-Boot] [PATCH v7 3/4] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-10-12 3:50 ` [U-Boot] [PATCH v7 4/4] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-08-13 0:10 ` [U-Boot] [PATCH v6 2/4] gpio: Modify common gpio.h to more closely match Linux Joe Hershberger
2011-08-14 18:55 ` Mike Frysinger
2011-10-06 21:56 ` Wolfgang Denk
2011-08-13 0:10 ` [U-Boot] [PATCH v6 3/4] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-10-06 21:55 ` Wolfgang Denk
2011-08-13 0:10 ` [U-Boot] [PATCH v6 4/4] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-10-06 21:55 ` Wolfgang Denk
2011-08-12 8:11 ` [U-Boot] [PATCH v5 2/3] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-08-12 8:11 ` [U-Boot] [PATCH v5 3/3] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-08-10 4:56 ` [U-Boot] [PATCH v4 2/3] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-08-10 4:56 ` [U-Boot] [PATCH v4 3/3] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
2011-08-09 23:52 ` [U-Boot] [PATCH v2 1/2] mpc83xx: Add a GPIO driver for the MPC83XX family Joe Hershberger
2011-08-09 23:52 ` [U-Boot] [PATCH v2 2/2] mpc8313erdb: Enable GPIO support on the MPC8313E RDB Joe Hershberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201108121442.47451.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox