<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/can/flexcan.c, branch v3.4.2</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge branch 'master' of git://gitorious.org/linux-can/linux-can-next</title>
<updated>2012-02-04T21:42:19+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-02-04T21:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d07d4c239bbf428db5581ccd5ca3770bbd15bfbd'/>
<id>d07d4c239bbf428db5581ccd5ca3770bbd15bfbd</id>
<content type='text'>
Conflicts:
	drivers/net/can/usb/ems_usb.c

Minor dev_warn --&gt; netdev_warn conversion conflicts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	drivers/net/can/usb/ems_usb.c

Minor dev_warn --&gt; netdev_warn conversion conflicts.
</pre>
</div>
</content>
</entry>
<entry>
<title>can: replace the dev_dbg/info/err/... with the new netdev_xxx macros</title>
<updated>2012-02-03T00:21:26+00:00</updated>
<author>
<name>Wolfgang Grandegger</name>
<email>wg@grandegger.com</email>
</author>
<published>2012-02-01T10:02:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=aabdfd6adb804d0aaba0188ade0f1afe42a52e31'/>
<id>aabdfd6adb804d0aaba0188ade0f1afe42a52e31</id>
<content type='text'>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Cc: Anant Gole &lt;anantgole@ti.com&gt;
Cc: Chris Elston &lt;celston@katalix.com&gt;
Cc: Sebastian Haas &lt;haas@ems-wuensche.com&gt;
Cc: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Acked-by: Sebastian Haas &lt;dev@sebastianhaas.info&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Cc: Anant Gole &lt;anantgole@ti.com&gt;
Cc: Chris Elston &lt;celston@katalix.com&gt;
Cc: Sebastian Haas &lt;haas@ems-wuensche.com&gt;
Cc: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Acked-by: Sebastian Haas &lt;dev@sebastianhaas.info&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>can: flexcan: Fix CAN_RAW_RECV_OWN_MSGS and CAN_RAW_LOOPBACK</title>
<updated>2012-02-03T00:21:25+00:00</updated>
<author>
<name>Reuben Dowle</name>
<email>Reuben.Dowle@navico.com</email>
</author>
<published>2011-10-31T22:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9a12349663061d25b49e6542d005fa7193a2cb44'/>
<id>9a12349663061d25b49e6542d005fa7193a2cb44</id>
<content type='text'>
Currently the flexcan driver uses hardware local echo. This blindly
echos all transmitted frames to all receiving sockets, regardless what
CAN_RAW_RECV_OWN_MSGS and CAN_RAW_LOOPBACK are set to.

This patch now submits transmitted frames to be echoed in the transmit
complete interrupt, preserving the reference to the sending
socket. This allows the can protocol to correctly handle the local
echo.

Further this patch moves tx_bytes statistic accounting into the tx_complete
handler.

Signed-off-by: Reuben Dowle &lt;reuben.dowle@navico.com&gt;
[mkl: move tx_bytes accounting into tx_complete handler; cleanups]
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the flexcan driver uses hardware local echo. This blindly
echos all transmitted frames to all receiving sockets, regardless what
CAN_RAW_RECV_OWN_MSGS and CAN_RAW_LOOPBACK are set to.

This patch now submits transmitted frames to be echoed in the transmit
complete interrupt, preserving the reference to the sending
socket. This allows the can protocol to correctly handle the local
echo.

Further this patch moves tx_bytes statistic accounting into the tx_complete
handler.

Signed-off-by: Reuben Dowle &lt;reuben.dowle@navico.com&gt;
[mkl: move tx_bytes accounting into tx_complete handler; cleanups]
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>can: flexcan: fix irq flooding by clearing all interrupt sources</title>
<updated>2012-02-02T23:24:50+00:00</updated>
<author>
<name>Wolfgang Grandegger</name>
<email>wg@grandegger.com</email>
</author>
<published>2011-12-12T15:09:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6e9d554fa6e481a848358c215f129432262123c0'/>
<id>6e9d554fa6e481a848358c215f129432262123c0</id>
<content type='text'>
As pointed out by Reuben Dowle and Lothar Waßmann, the TWRN_INT,
RWRN_INT, BOFF_INT interrupt sources need to be cleared as well
to avoid interrupt flooding, at least for the Flexcan on i.MX28
SOCs. Furthermore, the interrupts are only cleared, if really one
of those interrupt sources are pending (which is not the case for
rx and tx done).

Cc: Reuben Dowle &lt;Reuben.Dowle@navico.com&gt;
Cc: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As pointed out by Reuben Dowle and Lothar Waßmann, the TWRN_INT,
RWRN_INT, BOFF_INT interrupt sources need to be cleared as well
to avoid interrupt flooding, at least for the Flexcan on i.MX28
SOCs. Furthermore, the interrupts are only cleared, if really one
of those interrupt sources are pending (which is not the case for
rx and tx done).

Cc: Reuben Dowle &lt;Reuben.Dowle@navico.com&gt;
Cc: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc</title>
<updated>2012-01-09T22:44:15+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-01-09T22:44:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=979ecef5b89a8003902299566d9cdc08de34a3ee'/>
<id>979ecef5b89a8003902299566d9cdc08de34a3ee</id>
<content type='text'>
clock management changes for i.MX

Another simple series related to clock management, this time only for
imx.

* tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: mxs: select HAVE_CLK_PREPARE for clock
  clk: add config option HAVE_CLK_PREPARE into Kconfig
  ASoC: mxs-saif: convert to clk_prepare/clk_unprepare
  video: mxsfb: convert to clk_prepare/clk_unprepare
  serial: mxs-auart: convert to clk_prepare/clk_unprepare
  net: flexcan: convert to clk_prepare/clk_unprepare
  mtd: gpmi-lib: convert to clk_prepare/clk_unprepare
  mmc: mxs-mmc: convert to clk_prepare/clk_unprepare
  dma: mxs-dma: convert to clk_prepare/clk_unprepare
  net: fec: add clk_prepare/clk_unprepare
  ARM: mxs: convert platform code to clk_prepare/clk_unprepare
  clk: add helper functions clk_prepare_enable and clk_disable_unprepare

Fix up trivial conflicts in drivers/net/ethernet/freescale/fec.c due to
commit 0ebafefcaa7a ("net: fec: add clk_prepare/clk_unprepare") clashing
trivially with commit e163cc97f9ac ("net/fec: fix the .remove code").
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clock management changes for i.MX

Another simple series related to clock management, this time only for
imx.

* tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: mxs: select HAVE_CLK_PREPARE for clock
  clk: add config option HAVE_CLK_PREPARE into Kconfig
  ASoC: mxs-saif: convert to clk_prepare/clk_unprepare
  video: mxsfb: convert to clk_prepare/clk_unprepare
  serial: mxs-auart: convert to clk_prepare/clk_unprepare
  net: flexcan: convert to clk_prepare/clk_unprepare
  mtd: gpmi-lib: convert to clk_prepare/clk_unprepare
  mmc: mxs-mmc: convert to clk_prepare/clk_unprepare
  dma: mxs-dma: convert to clk_prepare/clk_unprepare
  net: fec: add clk_prepare/clk_unprepare
  ARM: mxs: convert platform code to clk_prepare/clk_unprepare
  clk: add helper functions clk_prepare_enable and clk_disable_unprepare

Fix up trivial conflicts in drivers/net/ethernet/freescale/fec.c due to
commit 0ebafefcaa7a ("net: fec: add clk_prepare/clk_unprepare") clashing
trivially with commit e163cc97f9ac ("net/fec: fix the .remove code").
</pre>
</div>
</content>
</entry>
<entry>
<title>net: flexcan: convert to clk_prepare/clk_unprepare</title>
<updated>2011-12-28T13:30:47+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@linaro.org</email>
</author>
<published>2011-12-20T06:05:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e735489976c356a189f7332e6ff4b0dee2ede434'/>
<id>e735489976c356a189f7332e6ff4b0dee2ede434</id>
<content type='text'>
The patch converts flexcan driver to clk_prepare/clk_unprepare by
using helper functions clk_prepare_enable/clk_disable_unprepare.

Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The patch converts flexcan driver to clk_prepare/clk_unprepare by
using helper functions clk_prepare_enable/clk_disable_unprepare.

Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/can: convert drivers/net/can/* to use module_platform_driver()</title>
<updated>2011-11-29T05:25:05+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-11-27T15:42:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=871d33725545ca2e402b4526f38f89d041ba930f'/>
<id>871d33725545ca2e402b4526f38f89d041ba930f</id>
<content type='text'>
This patch converts the drivers in drivers/net/can/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Bhupesh Sharma &lt;bhupesh.sharma@st.com&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Cc: Kurt Van Dijck &lt;kurt.van.dijck@eia.be&gt;
Cc: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch converts the drivers in drivers/net/can/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Bhupesh Sharma &lt;bhupesh.sharma@st.com&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Cc: Kurt Van Dijck &lt;kurt.van.dijck@eia.be&gt;
Cc: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>flexcan: Prefer device tree clock frequency if available.</title>
<updated>2011-08-18T03:36:38+00:00</updated>
<author>
<name>holt@sgi.com</name>
<email>holt@sgi.com</email>
</author>
<published>2011-08-16T17:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=97efe9aef1ae8922666d32f28d712745a86859e9'/>
<id>97efe9aef1ae8922666d32f28d712745a86859e9</id>
<content type='text'>
If our CAN device's device tree node has a clock-frequency property,
then use that value for the can devices clock frequency.  If not, fall
back to asking the platform/mach code for the clock frequency associated
with the flexcan device.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;,
Cc: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;,
Cc: U Bhaskar-B22300 &lt;B22300@freescale.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: socketcan-core@lists.berlios.de,
Cc: netdev@vger.kernel.org,
Cc: PPC list &lt;linuxppc-dev@lists.ozlabs.org&gt;
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If our CAN device's device tree node has a clock-frequency property,
then use that value for the can devices clock frequency.  If not, fall
back to asking the platform/mach code for the clock frequency associated
with the flexcan device.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;,
Cc: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;,
Cc: U Bhaskar-B22300 &lt;B22300@freescale.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: socketcan-core@lists.berlios.de,
Cc: netdev@vger.kernel.org,
Cc: PPC list &lt;linuxppc-dev@lists.ozlabs.org&gt;
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>flexcan: Add of_match to platform_device definition.</title>
<updated>2011-08-18T03:36:38+00:00</updated>
<author>
<name>holt@sgi.com</name>
<email>holt@sgi.com</email>
</author>
<published>2011-08-16T17:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c8aef4cb788b760331e6df06a5d93389824882b4'/>
<id>c8aef4cb788b760331e6df06a5d93389824882b4</id>
<content type='text'>
On powerpc, the OpenFirmware devices are not matched without specifying
an of_match array.  Introduce that array as that is used for matching
on the Freescale P1010 processor.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: U Bhaskar-B22300 &lt;B22300@freescale.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: socketcan-core@lists.berlios.de
Cc: netdev@vger.kernel.org
Cc: PPC list &lt;linuxppc-dev@lists.ozlabs.org&gt;
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On powerpc, the OpenFirmware devices are not matched without specifying
an of_match array.  Introduce that array as that is used for matching
on the Freescale P1010 processor.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: U Bhaskar-B22300 &lt;B22300@freescale.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: socketcan-core@lists.berlios.de
Cc: netdev@vger.kernel.org
Cc: PPC list &lt;linuxppc-dev@lists.ozlabs.org&gt;
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>flexcan: Abstract off read/write for big/little endian.</title>
<updated>2011-08-18T03:36:38+00:00</updated>
<author>
<name>holt@sgi.com</name>
<email>holt@sgi.com</email>
</author>
<published>2011-08-16T17:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=61e271ee64f1da6f69e56419ecf2ca7330884564'/>
<id>61e271ee64f1da6f69e56419ecf2ca7330884564</id>
<content type='text'>
Make flexcan driver handle register reads in the appropriate endianess.
This was a basic search and replace and then define some inlines.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: U Bhaskar-B22300 &lt;B22300@freescale.com&gt;
Cc: socketcan-core@lists.berlios.de
Cc: netdev@vger.kernel.org
Cc: PPC list &lt;linuxppc-dev@lists.ozlabs.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make flexcan driver handle register reads in the appropriate endianess.
This was a basic search and replace and then define some inlines.

Signed-off-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Acked-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: U Bhaskar-B22300 &lt;B22300@freescale.com&gt;
Cc: socketcan-core@lists.berlios.de
Cc: netdev@vger.kernel.org
Cc: PPC list &lt;linuxppc-dev@lists.ozlabs.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
