<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/serial/cpm_uart/cpm_uart_cpm1.c, branch v2.6.30.1</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.30.1</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.30.1'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2008-09-19T18:34:04+00:00</updated>
<entry>
<title>cpm_uart: Pass actual dev ptr to dma_* in ucc and cpm_uart serial</title>
<updated>2008-09-19T18:34:04+00:00</updated>
<author>
<name>Becky Bruce</name>
<email>becky.bruce@freescale.com</email>
</author>
<published>2008-09-12T15:42:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8b05cefca73bfbd98c89f16327f5d7da52ab7c3c'/>
<id>urn:sha1:8b05cefca73bfbd98c89f16327f5d7da52ab7c3c</id>
<content type='text'>
We're currently passing NULL, and really shouldn't be.

Signed-off-by: Becky Bruce &lt;becky.bruce@freescale.com&gt;
Acked-By: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code</title>
<updated>2008-06-26T06:49:04+00:00</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2008-06-12T13:05:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0b2a2e5b7747f1f63bd86ca22b5c6097da5b2137'/>
<id>urn:sha1:0b2a2e5b7747f1f63bd86ca22b5c6097da5b2137</id>
<content type='text'>
Now that arch/ppc is gone we always define CONFIG_PPC_CPM_NEW_BINDING so
we can remove all the code associated with !CONFIG_PPC_CPM_NEW_BINDING.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>cpm_uart: fix whitespace issues</title>
<updated>2008-06-26T06:49:04+00:00</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2008-06-12T12:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0d8440657ef184907ac5add0b59c771ee8e8a77f'/>
<id>urn:sha1:0d8440657ef184907ac5add0b59c771ee8e8a77f</id>
<content type='text'>
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms.</title>
<updated>2008-04-17T06:01:36+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurentp@cse-semaphore.com</email>
</author>
<published>2008-04-10T15:01:27+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d464df2667cf181419604e656773f80996cf0470'/>
<id>urn:sha1:d464df2667cf181419604e656773f80996cf0470</id>
<content type='text'>
This patch allocates parameter RAM for SMC serial ports without relying on
previous initialisation by a boot loader or a wrapper layer.

SMC parameter RAM on CPM2-based platforms can be allocated anywhere in the
general-purpose areas of the dual-port RAM. The current code relies on the
boot loader to allocate a section of general-purpose CPM RAM and gets the
section address from the device tree.

This patch modifies the device tree address usage to reference the SMC
parameter RAM base pointer instead of a pre-allocated RAM section and
allocates memory from the CPM dual-port RAM when initialising the SMC port.
CPM1-based platforms are not affected.

Signed-off-by: Laurent Pinchart &lt;laurentp@cse-semaphore.com&gt;
Acked-by: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Move CPM command handling into the cpm drivers</title>
<updated>2007-12-14T04:47:16+00:00</updated>
<author>
<name>Jochen Friedrich</name>
<email>jochen@scram.de</email>
</author>
<published>2007-11-26T17:03:40+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=362f9b6fa8c9670cc5496390845021c2865d049b'/>
<id>urn:sha1:362f9b6fa8c9670cc5496390845021c2865d049b</id>
<content type='text'>
This patch moves the CPM command handling into commproc.c
for CPM1 and cpm2_common.c. This is yet another preparation
to get rid of drivers accessing the CPM via the global cpmp.

Signed-off-by: Jochen Friedrich &lt;jochen@scram.de&gt;
Acked-by: Scott Wood &lt;scottwood@freescale.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Vitaly Bordug &lt;vitb@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] cpm_uart: sparse fixes</title>
<updated>2007-10-04T01:36:35+00:00</updated>
<author>
<name>Scott Wood</name>
<email>scottwood@freescale.com</email>
</author>
<published>2007-07-24T20:53:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c1dcfd9d199043ff0e8805484a736ad36d9dd04a'/>
<id>urn:sha1:c1dcfd9d199043ff0e8805484a736ad36d9dd04a</id>
<content type='text'>
Mostly a bunch of direct access to in/out conversions, plus a few
cast removals, __iomem annotations, and miscellaneous cleanup.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] cpm_uart: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.</title>
<updated>2007-10-04T01:36:35+00:00</updated>
<author>
<name>Scott Wood</name>
<email>scottwood@freescale.com</email>
</author>
<published>2007-07-17T22:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7ae870368d198affa249ed3382a8a288167ce885'/>
<id>urn:sha1:7ae870368d198affa249ed3382a8a288167ce885</id>
<content type='text'>
The existing OF glue code was crufty and broken.  Rather than fix it,
it has been removed, and the serial driver now talks to the device tree
directly.

The non-CONFIG_PPC_CPM_NEW_BINDING code can go away once CPM platforms
are dropped from arch/ppc (which will hopefully be soon), and existing
arch/powerpc boards that I wasn't able to test on for this patchset get
converted (which should be even sooner).

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] CPM_UART: Removed __init from cpm_uart_init_portdesc to fix warning</title>
<updated>2007-05-10T04:44:58+00:00</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2007-05-10T04:44:58+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=32a56ebb24f23da1bbaf24292acf85b6c04526ab'/>
<id>urn:sha1:32a56ebb24f23da1bbaf24292acf85b6c04526ab</id>
<content type='text'>
cpm_uart_init_portdesc is referenced from non-init code and thus we were
getting the following warning:

WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:cpm_uart_init_portdesc from .text between 'cpm_uart_init' (at offset 0x18020) and 'cpm_uart_drv_remove'

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Change rheap functions to use ulongs instead of pointers</title>
<updated>2007-05-10T04:01:43+00:00</updated>
<author>
<name>Timur Tabi</name>
<email>timur@freescale.com</email>
</author>
<published>2007-05-08T19:46:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4c35630ccda56ed494f6102d2e147fefe14b78d2'/>
<id>urn:sha1:4c35630ccda56ed494f6102d2e147fefe14b78d2</id>
<content type='text'>
The rheap allocation functions return a pointer, but the actual value is based
on how the heap was initialized, and so it can be anything, e.g. an offset
into a buffer.  A ulong is a better representation of the value returned by
the allocation functions.

This patch changes all of the relevant rheap functions to use a unsigned long
integers instead of a pointer.  In case of an error, the value returned is
a negative error code that has been cast to an unsigned long.  The caller can
use the IS_ERR_VALUE() macro to check for this.

All code which calls the rheap functions is updated accordingly.  Macros
IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().

Also added error checking to rh_attach_region().

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] cpm_uart: OF-related fix for CPM1</title>
<updated>2007-02-07T01:00:32+00:00</updated>
<author>
<name>Vitaly Bordug</name>
<email>vbordug@ru.mvista.com</email>
</author>
<published>2007-01-24T19:40:49+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f25222b99542bcadf1cc53cc9aa0e304849242ca'/>
<id>urn:sha1:f25222b99542bcadf1cc53cc9aa0e304849242ca</id>
<content type='text'>
This makes cpm uart able to work using OF-passed parameters
in case of CPM stuff (found on most mpc8xx reference and custom
boards). The idea is to keep ppc stuff working yet making it able to be
used for powerpc.

Signed-off-by: Vitaly Bordug &lt;vbordug@ru.mvista.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
