<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/mscan, branch linux-3.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-01-29T05:53:55Z</updated>
<entry>
<title>Merge remote-tracking branch 'agust/next' into next</title>
<updated>2014-01-29T05:53:55Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2014-01-29T05:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9a371100dfdfa4c9f994059d19d98c9b4fd80af'/>
<id>urn:sha1:e9a371100dfdfa4c9f994059d19d98c9b4fd80af</id>
<content type='text'>
&lt;&lt;
Switch mpc512x to the common clock framework and adapt mpc512x
drivers to use the new clock driver. Old PPC_CLOCK code is
removed entirely since there are no users any more.
&gt;&gt;
</content>
</entry>
<entry>
<title>net: can: mscan: remove non-CCF code for MPC512x</title>
<updated>2014-01-12T17:53:05Z</updated>
<author>
<name>Gerhard Sittig</name>
</author>
<published>2013-11-30T22:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b19f3bcefd0eba677e5cb3e5c88de38cd5c95c8'/>
<id>urn:sha1:7b19f3bcefd0eba677e5cb3e5c88de38cd5c95c8</id>
<content type='text'>
transition to the common clock framework has completed and the PPC_CLOCK
is no longer available for the MPC512x platform, remove the now obsolete
code path of the mpc5xxx mscan driver which accessed clock control module
registers directly

Cc: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Cc: linux-can@vger.kernel.org
Signed-off-by: Gerhard Sittig &lt;gsi@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>net: can: mscan: adjust to common clock support for mpc512x</title>
<updated>2014-01-12T17:53:05Z</updated>
<author>
<name>Gerhard Sittig</name>
</author>
<published>2013-11-30T22:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ac22504f928db34a3a75ab67bf1eef82b91ef0b'/>
<id>urn:sha1:5ac22504f928db34a3a75ab67bf1eef82b91ef0b</id>
<content type='text'>
implement a .get_clock() callback for the MPC512x platform which uses
the common clock infrastructure (eliminating direct access to the clock
control registers from within the CAN network driver), and provide the
corresponding .put_clock() callback to release resources after use

acquire both the clock items for register access ("ipg") as well as for
wire communication ("can")

keep the previous implementation of MPC512x support in place during
migration, this results in a readable diff of the change

this change is neutral to the MPC5200 platform

Cc: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Cc: linux-can@vger.kernel.org
Signed-off-by: Gerhard Sittig &lt;gsi@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>can: Fix FSF address in file headers</title>
<updated>2013-12-17T10:47:21Z</updated>
<author>
<name>Jeff Kirsher</name>
</author>
<published>2013-12-06T14:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05780d9808f72dc28a5c3602e11a7c53aef972ad'/>
<id>urn:sha1:05780d9808f72dc28a5c3602e11a7c53aef972ad</id>
<content type='text'>
Several files refer to an old address for the Free Software Foundation
in the file header comment.  Resolve by replacing the address with
the URL &lt;http://www.gnu.org/licenses/&gt; so that we do not have to keep
updating the header comments anytime the address changes.

CC: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
CC: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: Remove extern from function prototypes</title>
<updated>2013-09-24T14:09:18Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2013-09-23T22:11:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=405eb0e5b85d82d307ff4706af4f08c3ccd1c1f7'/>
<id>urn:sha1:405eb0e5b85d82d307ff4706af4f08c3ccd1c1f7</id>
<content type='text'>
There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>can: mscan: improve clock API use</title>
<updated>2013-08-29T20:49:35Z</updated>
<author>
<name>Gerhard Sittig</name>
</author>
<published>2013-08-23T11:09:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1149108e2fbf98899447d4567901bf07825ee576'/>
<id>urn:sha1:1149108e2fbf98899447d4567901bf07825ee576</id>
<content type='text'>
the .get_clock() callback is run from probe() and might allocate
resources, introduce a .put_clock() callback that is run from remove()
to undo any allocation activities

prepare and enable the clocks in open(), disable and unprepare the
clocks in close() if clocks were acquired during probe(), to not assume
knowledge about which activities are done in probe() and remove()

use devm_get_clk() to lookup the SYS and REF clocks, to have the clocks
put upon device shutdown

store pointers to data structures upon successful allocation already
instead of deferral until complete setup, such that subroutines in the
setup sequence may access those data structures as well to track their
resource acquisition

since clock allocation remains optional, the release callback as well as
the enable/disable calls in open/close are optional as well

Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Gerhard Sittig &lt;gsi@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: mscan: add a comment on reg to idx mapping</title>
<updated>2013-08-29T20:49:35Z</updated>
<author>
<name>Gerhard Sittig</name>
</author>
<published>2013-08-23T11:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a09b12e0c2ef26a0e2230606a6159d3038a1572'/>
<id>urn:sha1:3a09b12e0c2ef26a0e2230606a6159d3038a1572</id>
<content type='text'>
add a comment about the magic of deriving an MSCAN component index
from the peripheral's physical address / register offset

Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Gerhard Sittig &lt;gsi@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>net: can: use platform_{get,set}_drvdata()</title>
<updated>2013-06-03T11:13:49Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-05-23T10:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00e4bbc8cd7efac66caa4ce6bcf5f02e944184f6'/>
<id>urn:sha1:00e4bbc8cd7efac66caa4ce6bcf5f02e944184f6</id>
<content type='text'>
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &amp;pdev-&gt;dev,
so we can directly pass a struct platform_device.

Also, unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block</title>
<updated>2013-01-26T15:58:58Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2012-07-20T19:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6586c5d74e8c2883ed1246aae81275efb777c088'/>
<id>urn:sha1:6586c5d74e8c2883ed1246aae81275efb777c088</id>
<content type='text'>
This patch adds an 'if CAN_DEV...endif' Block around the CAN driver
symbols in drivers/net/can/Kconfig. So the 'depends on CAN' dependencies
can be removed.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drivers/net: fix up function prototypes after __dev* removals</title>
<updated>2012-12-07T19:22:22Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-12-06T14:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dd06ae8db716e17ec7e06244b858606edf378c0'/>
<id>urn:sha1:1dd06ae8db716e17ec7e06244b858606edf378c0</id>
<content type='text'>
The __dev* removal patches for the network drivers ended up messing up
the function prototypes for a bunch of drivers.  This patch fixes all of
them back up to be properly aligned.

Bonus is that this almost removes 100 lines of code, always a nice
surprise.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
