From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 13/13] Davinci: ea20: use gpio framework to access gpios
Date: Wed, 05 Oct 2011 15:49:40 +0200 [thread overview]
Message-ID: <4E8C6074.6090001@denx.de> (raw)
In-Reply-To: <20111005131421.GF8500@lwithers.me.uk>
On 10/05/2011 03:14 PM, Laurence Withers wrote:
> On Wed, Oct 05, 2011 at 03:08:24PM +0200, Stefano Babic wrote:
>> Drop direct access to SOC's registers and use
>> the function of the GPIO driver for da8xx.
>
> Dear Stefano,
>
> The da8xx GPIO driver also configures the pinmux for you.
>
> Bye for now,
That's true, but this was wanted. IMHO is the usage of the functions
gpio_request() and gpio_free() optional.
I decided to program myself the pinmux also for the gpio together with
the setup of the pinmux for the other controllers of the SOC, everything
in the ea20.c file.
this allows to see all code managing the pinmux on this board in one place.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2011-10-05 13:49 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-05 9:43 [U-Boot] [PATCH 01/12] Davinci: ea20: set console on UART0 Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 02/12] Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console Stefano Babic
2011-10-05 12:06 ` Laurence Withers
2011-10-05 13:00 ` Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 03/12] Davinci: ea20: Add NAND support Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 04/12] Davinci: ea20: Add early init to get early output from console Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 05/12] Davinci: ea20: Add default U-Boot environment Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 06/12] Davinci: ea20: add gpio for keeping power on in board_late_init Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 07/12] Davinci: ea20: add gpios for LCD backlight control Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 08/12] ARM: Davinci: added missing registers to hardware.h Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 09/12] VIDEO: davinci: add framebuffer to da8xx Stefano Babic
2011-10-06 22:14 ` Anatolij Gustschin
2011-10-06 22:22 ` stefano babic
2011-10-06 22:32 ` Wolfgang Denk
2011-10-06 22:44 ` stefano babic
2011-10-07 4:42 ` Wolfgang Denk
2011-10-05 9:43 ` [U-Boot] [PATCH 10/12] Davinci: ea20: added video support Stefano Babic
2011-10-06 21:12 ` Anatolij Gustschin
2011-10-05 9:43 ` [U-Boot] [PATCH 11/12] Davinci: ea20: added I2C support Stefano Babic
2011-10-05 9:43 ` [U-Boot] [PATCH 12/12] Davinci: ea20: added PREBOOT to configuration Stefano Babic
2011-10-05 13:08 ` [U-Boot] [PATCH 13/13] Davinci: ea20: use gpio framework to access gpios Stefano Babic
2011-10-05 13:14 ` Laurence Withers
2011-10-05 13:49 ` Stefano Babic [this message]
2011-10-08 9:27 ` [U-Boot] [PATCH V2 09/12] VIDEO: davinci: add framebuffer to da8xx Stefano Babic
2011-10-11 16:10 ` Anatolij Gustschin
2011-10-12 8:42 ` Stefano Babic
2011-10-12 9:06 ` Anatolij Gustschin
2011-10-12 9:35 ` Stefano Babic
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=4E8C6074.6090001@denx.de \
--to=sbabic@denx.de \
--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