On Tuesday 20 May 2008 02:31, David Brownell wrote: > On Tuesday 15 April 2008, Laurent Pinchart wrote: > > Or maybe some kind of gpio_set_option() with flags specific to the > > controller ? This could be used to enable open-drain outputs or internal > > pull-ups for instance. > > That presumes that the pin config is associated with the GPIO > controller, rather than being an independent modules... > > In the cases that a platform has such an association, there > should be no problem just using a platform-specific code to > do the relevant magic.
To call GPIO chip specific functions, the driver needs a way to get the GPIO chip associated with the GPIO. -- Laurent Pinchart CSE Semaphore Belgium Chaussee de Bruxelles, 732A B-1410 Waterloo Belgium T +32 (2) 387 42 59 F +32 (2) 387 42 75
pgp9VNmMUEwT7.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev