<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/sysdev/fsl_soc.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-23T21:55:29Z</updated>
<entry>
<title>powerpc: Remove extra semicolon in fsl_soc.c</title>
<updated>2009-03-23T21:55:29Z</updated>
<author>
<name>Johns Daniel</name>
</author>
<published>2009-03-14T15:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f16b678a669cdd1cfb7488144c4af924a24e244b'/>
<id>urn:sha1:f16b678a669cdd1cfb7488144c4af924a24e244b</id>
<content type='text'>
TSEC/MDIO will not work with older device trees because of a semicolon
at the end of a macro resulting in an empty for loop body.

This fix only applies to 2.6.28; this code is gone in 2.6.29, according
to Grant Likely!

Signed-off-by: Johns Daniel &lt;johns.daniel@gmail.com&gt;
Acked-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>gianfar: Fix race in TBI/SerDes configuration</title>
<updated>2008-10-31T04:59:46Z</updated>
<author>
<name>Trent Piepho</name>
</author>
<published>2008-10-31T01:17:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c132419e560a2ecd3c8cf77f9c37e103e74b3754'/>
<id>urn:sha1:c132419e560a2ecd3c8cf77f9c37e103e74b3754</id>
<content type='text'>
The init_phy() function attaches to the PHY, then configures the
SerDes&lt;-&gt;TBI link (in SGMII mode).  The TBI is on the MDIO bus with the PHY
(sort of) and is accessed via the gianfar's MDIO registers, using the
functions gfar_local_mdio_read/write(), which don't do any locking.

The previously attached PHY will start a work-queue on a timer, and
probably an irq handler as well, which will talk to the PHY and thus use
the MDIO bus.  This uses phy_read/write(), which have locking, but not
against the gfar_local_mdio versions.

The result is that PHY code will try to use the MDIO bus at the same time
as the SerDes setup code, corrupting the transfers.

Setting up the SerDes before attaching to the PHY will insure that there is
no race between the SerDes code and *our* PHY, but doesn't fix everything.
Typically the PHYs for all gianfar devices are on the same MDIO bus, which
is associated with the first gianfar device.  This means that the first
gianfar's SerDes code could corrupt the MDIO transfers for a different
gianfar's PHY.

The lock used by phy_read/write() is contained in the mii_bus structure,
which is pointed to by the PHY.  This is difficult to access from the
gianfar drivers, as there is no link between a gianfar device and the
mii_bus which shares the same MDIO registers.  As far as the device layer
and drivers are concerned they are two unrelated devices (which happen to
share registers).

Generally all gianfar devices' PHYs will be on the bus associated with the
first gianfar.  But this might not be the case, so simply locking the
gianfar's PHY's mii bus might not lock the mii bus that the SerDes setup
code is going to use.

We solve this by having the code that creates the gianfar platform device
look in the device tree for an mdio device that shares the gianfar's
registers.  If one is found the ID of its platform device is saved in the
gianfar's platform data.

A new function in the gianfar mii code, gfar_get_miibus(), can use the bus
ID to search through the platform devices for a gianfar_mdio device with
the right ID.  The platform device's driver data is the mii_bus structure,
which the SerDes setup code can use to lock the current bus.

Signed-off-by: Trent Piepho &lt;tpiepho@freescale.com&gt;
CC: Andy Fleming &lt;afleming@freescale.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>powerpc: remove support for bootmem-allocated memory for the DIU driver</title>
<updated>2008-10-13T16:09:59Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2008-09-23T14:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43c9f434922ff834a6589709714f83a78c399bc1'/>
<id>urn:sha1:43c9f434922ff834a6589709714f83a78c399bc1</id>
<content type='text'>
Early versions of the Freescale DIU framebuffer driver depended on a bootmem
allocation of memory for the video buffer.  The need for this feature was
removed in commit 6b51d51a, so now we can remove the platform-specific code
that allocated that memory.

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/fsl_soc: remove mpc83xx_wdt code</title>
<updated>2008-09-29T14:22:45Z</updated>
<author>
<name>Anton Vorontsov</name>
</author>
<published>2008-09-29T13:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20d38e01d48019c578ab0ec1464454c03003b300'/>
<id>urn:sha1:20d38e01d48019c578ab0ec1464454c03003b300</id>
<content type='text'>
mpc83xx_wdt is the OF driver now, so we don't need fsl_soc constructor.

Signed-off-by: Anton Vorontsov &lt;avorontsov@ru.mvista.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>gianfar: Add magic packet and suspend/resume support.</title>
<updated>2008-07-16T22:57:47Z</updated>
<author>
<name>Scott Wood</name>
</author>
<published>2008-07-11T23:04:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d87eb12785c14de1586e3bad86ca2c0991300339'/>
<id>urn:sha1:d87eb12785c14de1586e3bad86ca2c0991300339</id>
<content type='text'>
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: Add support for multiple gfar mdio interfaces</title>
<updated>2008-07-16T22:57:44Z</updated>
<author>
<name>Andy Fleming</name>
</author>
<published>2008-05-02T18:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cd7e1cbd43bb67927af2b8b4e0ffd43fd5ed6b4'/>
<id>urn:sha1:4cd7e1cbd43bb67927af2b8b4e0ffd43fd5ed6b4</id>
<content type='text'>
The old code assumed there was only one, but the 8572 actually has 3.

Also, our usual id, 0xe0024520, gets resolved to -1 somewhere, and this was
preventing the multiple buses from having different ids.  So we only keep
the low 20 bits, which have the interesting info, anyway.

Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl_soc: gianfar: don't probe disabled devices</title>
<updated>2008-07-16T22:57:38Z</updated>
<author>
<name>Anton Vorontsov</name>
</author>
<published>2008-07-08T17:36:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69ad7e73dee33f8e0680825006c801ca6b4bf470'/>
<id>urn:sha1:69ad7e73dee33f8e0680825006c801ca6b4bf470</id>
<content type='text'>
Freescale ships MPC8315E-RDB boards in two variants:

1. With TSEC1 ethernet support and USB UTMI PHY;
2. Without TSEC1 support, but with USB ULPI PHY in addition.

For the second case U-Boot will add status = "disabled"; property
into the TSEC1 node, so Linux should not try to probe it.

Signed-off-by: Anton Vorontsov &lt;avorontsov@ru.mvista.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/i2c: Convert i2c-mpc into an of_platform driver</title>
<updated>2008-07-12T18:10:23Z</updated>
<author>
<name>Jon Smirl</name>
</author>
<published>2008-06-30T23:01:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d1cde235874b00905bce23f659690d060ebf475'/>
<id>urn:sha1:0d1cde235874b00905bce23f659690d060ebf475</id>
<content type='text'>
Convert i2c-mpc to an of_platform driver. Utilize the code in
drivers/of-i2c.c to make i2c modules dynamically loadable by the
device tree.

Signed-off-by: Jon Smirl &lt;jonsmirl@gmail.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>Merge branch 'merge'</title>
<updated>2008-06-09T02:19:41Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2008-06-09T02:19:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a3e1c670e503ddd6f6c373b307f38b783ee3a50'/>
<id>urn:sha1:8a3e1c670e503ddd6f6c373b307f38b783ee3a50</id>
<content type='text'>
Conflicts:

	arch/powerpc/sysdev/fsl_soc.c
</content>
</entry>
<entry>
<title>rtc-ds1374: rename device to just "ds1374"</title>
<updated>2008-06-06T18:29:10Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2008-06-06T05:46:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2eb432715a81a703e626df59347ba3557009557'/>
<id>urn:sha1:f2eb432715a81a703e626df59347ba3557009557</id>
<content type='text'>
Change the name of the device from "rtc-ds1374" to just "ds1374", to match
what all other RTC drivers do.  I seem to remember that this name was
chosen to avoid possible confusion with an older ds1374 driver, but that
driver was removed 3 months ago.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Acked-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
