i.MX27 GPIOs -- how to define the default output?

Robert Schwebel r.schwebel at pengutronix.de
Mon May 24 06:23:41 EDT 2010


On Sat, May 22, 2010 at 11:02:17AM +1000, Stuart Longland wrote:
> I'm in the process of porting Ka-Ro's TX27 kernel patch over from
> kernel 2.6.28 to current git HEAD[1]. In the process of doing this, I
> note that the old definitions GPIO_DFLT_HIGH and GPIO_DFLT_LOW have
> disappeared.
>
> I can't seem to find their replacements anywhere.

Check for example mach-pcm038.c, it shows how to do the pin setup.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list