From: Jochen Friedrich <jochen@scram.de>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: Scott Wood <scottwood@freescale.com>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [POWERPC] CPM1: implement GPIO LIB API
Date: Thu, 03 Apr 2008 14:31:13 +0200 [thread overview]
Message-ID: <47F4CE11.1090607@scram.de> (raw)
In-Reply-To: <200804031319.12715.laurentp@cse-semaphore.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Jochen Friedrich <jochen@scram.de>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linuxppc-dev@ozlabs.org, Scott Wood <scottwood@freescale.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [POWERPC] CPM1: implement GPIO LIB API
Date: Thu, 03 Apr 2008 14:31:13 +0200 [thread overview]
Message-ID: <47F4CE11.1090607@scram.de> (raw)
In-Reply-To: <200804031319.12715.laurentp@cse-semaphore.com>
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
next prev parent reply other threads:[~2008-04-03 12:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-25 16:56 [PATCH] [POWERPC] CPM1: implement GPIO LIB API Jochen Friedrich
2008-03-25 16:56 ` Jochen Friedrich
2008-03-25 17:16 ` Scott Wood
2008-03-25 17:16 ` Scott Wood
2008-03-26 17:47 ` Jochen Friedrich
2008-03-26 17:47 ` Jochen Friedrich
2008-03-26 18:04 ` Scott Wood
2008-03-26 18:04 ` Scott Wood
2008-04-03 11:19 ` Laurent Pinchart
2008-04-03 11:19 ` Laurent Pinchart
2008-04-03 12:31 ` Jochen Friedrich [this message]
2008-04-03 12:31 ` Jochen Friedrich
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=47F4CE11.1090607@scram.de \
--to=jochen@scram.de \
--cc=laurentp@cse-semaphore.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.