[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47F4CE11.1090607@scram.de>
Date: Thu, 03 Apr 2008 14:31:13 +0200
From: Jochen Friedrich <jochen@...am.de>
To: Laurent Pinchart <laurentp@...-semaphore.com>
CC: linuxppc-dev@...abs.org, Scott Wood <scottwood@...escale.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [POWERPC] CPM1: implement GPIO LIB API
Hi Laurent,
> I haven't checked all CPM1-based parts, but for the MPC855 family this doesn't
> look right. The MPC855 has two 32-bit ports, port B and port E. Registers for
> port B are dir, par, odr and dat, and registers for port E are dir, par, sor,
> odr and dat.
You probably mean MPC885. Thanks for catching this, the 32bit registers really
are a mess on CPM1 platforms.
> Are you working on a similar patch for the CPM2 ? CPM2 I/O ports are 32 bit
> wide and their registers are layed out like for port E on the MPC855. It
> should thus be possible to share code between CPM1 and CPM2.
Yes, some common port setup code could probably be moved to cpm.c.
Thanks,
Jochen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists