On Tue, Jun 8, 2010 at 10:46 AM, Eric Millbrandt
<emillbra...@dekaresearch.com> wrote:
> Allow device drivers to safely modify port-config.  This allows device drivers
> access to gpio pins to manually bit-bang slave devices.
>
> Signed-off-by: Eric Millbrandt <emillbra...@dekaresearch.com>

Unfortunately, still too much exposure of port-config to drivers for
my liking.  I'd be happier with an API that requests the mode for a
specific pin group instead of directly masking & setting bits....

but of course I've also just said in my other email that I'd be happy
with all of the GPIO AC97reset logic being contained in
arch/powerpc/platforms/52xx which kind of makes the comment moot.  :-)

g.

> ---
>  arch/powerpc/include/asm/mpc52xx.h           |    2 +
>  arch/powerpc/platforms/52xx/mpc52xx_common.c |   61 
> ++++++++++++++++++++++++++
>  2 files changed, 63 insertions(+), 0 deletions(-)
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to