Wolfgang,
Welcome to my world and why I gave up on this months ago.
Everyone else,
One thing to consider here is a rewrite with the goal of a new improved fec
driver that would work on both 5121 and the various mx platforms that also
have this same fec core.
Also don't forget that the register
I think the fec's parent clock is the ipb clock not the ppc core clock.
Could that be the problem?
On Wed, May 6, 2009 at 2:21 PM, Wolfgang Denk wrote:
> Signed-off-by: Wolfgang Denk
> Cc: Grant Likely
> Cc: John Rigby
> ---
> This patch is NOT intended for inclusio
Ok, the interrupt enabling should happen in the driver. Should it key off
compatible or should a new property be added like the existing 5200 clocking
property?
On Wed, May 6, 2009 at 8:41 PM, Grant Likely wrote:
> On Wed, May 6, 2009 at 4:51 PM, Grant Likely
> wrote:
> > On Wed, May 6, 2009 at
On Wed, May 6, 2009 at 2:59 PM, Grant Likely wrote:
>
>
> > diff --git a/arch/powerpc/platforms/512x/mpc512x_shared.c
> b/arch/powerpc/platforms/512x/mpc512x_shared.c
> > index d8cd579..7135d89 100644
> > --- a/arch/powerpc/platforms/512x/mpc512x_shared.c
> > +++ b/arch/powerpc/platforms/512x/mpc5
I was having deja-vu with this and realized that I have fixed at least some
of the objections to this patch.
Wolfgang you may want to look at the patch in my 5121 git tree here:
http://git.denx.de/?p=linux-mpc512x.git;a=commit;h=2950be3be42af7449941c3340998c27ef918f10f
It does runtime tx packet
Can we get 5121 support in and add 5200 support later? They are not
identical.
On Wed, May 6, 2009 at 4:40 PM, Grant Likely wrote:
>
> On Wed, May 6, 2009 at 3:06 PM, Wolfram Sang
> wrote:
> > On Wed, May 06, 2009 at 10:15:17PM +0200, Wolfgang Denk wrote:
> >> From: Joh
;
> > Signed-off-by: Piotr Ziecik
> > Signed-off-by: Wolfgang Denk
> > Cc: Grant Likely
> > Cc: John Rigby
>
> Don't have time to review this in detail right now, but three quick
> comments:
>
> > drivers/dma/mpc512x_dma.c| 642
>
Kenneth,
I did some fastboot work for 5121 a few months ago. U-boot, kernel and
JFFS2 rootfs in NOR. My reset to userland time was 2.0 seconds, where
userland was first command executed in first rc.whatever file, so it
included the time for /sbin/init to get up and start running the rc scripts.
that coping an uncompressed kernel was faster than
decompressing a compressed kernel. But your mileage may vary if you have
the data cache on. I found that working around all the problems with
turning data cache on were going to take more time than I had.
John
On Fri, May 29, 2009 at 2:30 PM,
I noticed the latest BSP from Freescale has this patch:
From: Chen Hongjun
Date: Thu, 16 Apr 2009 20:22:52 +0800
Subject: [PATCH] Fixed FEC bug for bluestone board.
Signed-off-by: Chen Hongjun
---
drivers/net/fs_enet/mii-fec.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff -
>
>
>
> The big question seems to be what the RefMan means when talking about
> the "system clock frequency". Obiously it is NOT the CPU clock as
> code variants above assume. The examples in "Table 17-24. Programming
> Examples for MII_SPEED Register" list "system clock frequencies" of
> 25,
The following series adds basic support
for mpc5121. I'm hoping that this can get reviewed
quickly so it can get into the for-2.6.25 tree.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
This is in preparation for the addition of MPC512x
PSC support. The main difference in the 512x is
in the fifo registers.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 10 ++
include/asm-powerpc/mpc52xx_psc.h |3 +++
include/a
/platforms/512x/*
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig | 20 ++
arch/powerpc/platforms/512x/Makefile |4 +
arch/powerpc/platforms/512x/mpc5121_ads.c
IPIC is not just for 83xx anymore so make it a separate
config option.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/Kconfig |5 +
arch/powerpc/sysdev/Makefile |2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/pla
Bare minimum tree containing only
what is currently supported.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 102 ++
1 files changed, 102 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/bo
Added ipic_info entries for vectors used by 512x that
were previously unused by 83xx.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/ipic.c | 62
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/arch/p
Added mpc512x_find_ips_freq needed by the following
serial driver patch. It is basically a renamed
mpc512x_find_ipd_freq from 52xx.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/mpc5121_ads.c | 28
include/asm-powerpc/mpc
mpc512x_uart.c is based on mpc52xx_uart.c with
names changed
arch/ppc support removed
512x psc fifo support added
shares mpc52xx_psc.h with 52xx driver
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/Kconfig| 18 +
drivers/serial/Ma
Olof Johansson wrote:
> Hi,
>
>
>
>> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
>> index 66a3d8c..81c3f05 100644
>> --- a/arch/powerpc/Kconfig
>> +++ b/arch/powerpc/Kconfig
>> @@ -470,7 +470,7 @@ config PCI
>> bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86
>
>
>> @@ -229,7 +229,7 @@ config NR_CPUS
>>
>> config NOT_COHERENT_CACHE
>> bool
>> -depends on 4xx || 8xx || E200
>> +depends on 4xx || 8xx || E200 || PPC_512x
>> default y
>>
>
> Why do you need this, when 5200 doesn't?
>
>
Because the 5121 cache is not coherent.
Arnd Bergmann wrote:
> On Tuesday 08 January 2008, John Rigby wrote:
>
>> obj-$(CONFIG_PPC_CHRP) += chrp/
>> obj-$(CONFIG_40x) += 40x/
>> obj-$(CONFIG_44x) += 44x/
>> +obj-$(CONFIG_PPC_512x) += 512x/
>> ob
Thanks for the quick feedback Grant.
Grant Likely wrote:
> Exactly *how* different is the 5121 PSC from the 5200 PSC? If it is
> really different, then it makes sense to clone.
The fifo handling has completely changed that is the main difference.
> In fact; I'd
> duplicate the mpc52xx_psc.h fil
>
> It may work, but it pulls in code like prom_init.c that is not needed on
> non-OF boards. It's also quite confusing to have an embedded board's
> checkbox only show up when you say yes to "Generic desktop/server/laptop".
>
I have to agree with this, I have been confused by this myself.
Per
Minimal tree for mpc5121 ads.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 116 ++
1 files changed, 116 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/mpc5121ads.dts
diff --git a/arch/p
Add 512x support using the psc_ops framework established
with the previous patch.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/Kconfig| 12 ++--
drivers/serial/mpc52xx_uart.c | 174 +++--
include/asm-powerpc/mpc52xx
PSCs change from 5200 to 5121
this patch localizes the differences in
preparation for adding 5121 support
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 256 ++--
1 files changed, 192 insertions(+), 64 deletions(-)
In preparation of adding MPC5121 support
cleanup some things that checkpatch.pl complains
about also some minor fixes suggested by
Stephen Rothwell.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 204 ++---
1 files c
Added ipic_info entries for vectors used by 512x that
were previously unused by 83xx.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/ipic.c | 62
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/arch/p
/platforms/512x/*
include/asm-powerpc/mpc512x.h
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig | 20 ++
arch/powerpc/platforms/512x/Makefile |4 +
arch/powerpc/platform
This is in preparation for the addition of MPC512x
PSC support. The main difference in the 512x is
in the fifo registers.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 10 ++
include/asm-powerpc/mpc52xx_psc.h |3 +++
include/a
IPIC is not just for 83xx anymore so make it a separate
config option.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/Kconfig |5 +
arch/powerpc/sysdev/Makefile |2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/pla
This is a new improved set of patches based on the
comments that I received in response to the previous set.
I believe I addressed all the concerns raised but
I'm sure there will be new ones.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https:/
This is a new improved set of patches based on the
comments that I received in response to the previous set.
Changes since v2:
1/8 Add-IPIC-config-option.patch
2/8 Add-mpc512x-ipic-support.patch
No changes. These two are in galak's queue for submission.
3/8 Basic-Freescale-MPC512x-support.p
IPIC is not just for 83xx anymore so make it a separate
config option.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/Kconfig |5 +
arch/powerpc/sysdev/Makefile |2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/pla
Added ipic_info entries for vectors used by 512x that
were previously unused by 83xx.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/ipic.c | 62
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/arch/p
Minimal tree for mpc5121 ads.
port-number property in uart nodes
will go away after the driver learns to use aliases
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 120 ++
1 files changed, 120 insertions(+), 0 del
/platforms/512x/*
include/asm-powerpc/mpc512x.h
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
Acked-by: Grant Likely <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig | 20 ++
arch/powerpc/platforms/5
PSCs change from 5200 to 5121
this patch localizes the differences in
preparation for adding 5121 support
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 256 ++--
1 files changed, 192 insertions(+), 64 deletions(-)
This is in preparation for the addition of MPC512x
PSC support. The main difference in the 512x is
in the fifo registers.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 10 ++
include/asm-powerpc/mpc52xx_psc.h |3 +++
include/a
Add 512x support using the psc_ops framework established
with the previous patch.
All 512x PSCs share the same interrupt so add
IRQF_SHARED to irq flags.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/Kconfig| 12 ++--
drivers/serial/mpc52xx_uart.c
In preparation of adding MPC5121 support
cleanup some things that checkpatch.pl complains
about also some minor fixes suggested by
Stephen Rothwell.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 204 ++---
1 files c
Looks fine to me.
Grant Likely wrote:
> From: Grant Likely <[EMAIL PROTECTED]>
>
> Update MPC5200 drivers to also look for compatible properties in the
> form "fsl,mpc5200-*" to better conform to open firmware generic names
> recommended practice as published here:
>
> http://www.openfirmware.org/
Do you get a "Can't open initial console" message or just no output?
On Jan 18, 2008 11:59 PM, Grant Likely <[EMAIL PROTECTED]> wrote:
> On 1/18/08, Grant Likely <[EMAIL PROTECTED]> wrote:
> > On 1/17/08, John Rigby <[EMAIL PROTECTED]> wrote:
> >
This version fixes the problem of no output
in userland on efika and liteb.
PSCs change from 5200 to 5121
this patch localizes the differences in
preparation for adding 5121 support
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c
Minimal /dts-v1/ device tree for mpc5121 ads.
port-number property in uart nodes
will go away after the driver learns to use aliases
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 122 ++
1 files changed, 122 inse
/platforms/512x/*
include/asm-powerpc/mpc512x.h
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
Acked-by: Grant Likely <[EMAIL PROTECTED]>
Conflicts:
arch/powerpc/Kconfig
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig
PSCs change from 5200 to 5121
this patch localizes the differences in
preparation for adding 5121 support
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/mpc52xx_uart.c | 256 ++--
1 files changed, 192 insertions(+), 64 deletions(-)
New patches set hopefully for 2.6.25
Changes since v3
First four patches have already gone in via Grant and Kumar
1/4 Basic-Freescale-MPC512x-support.patch
Previously Acked-by: Grant Likely <[EMAIL PROTECTED]>
2/4 Device-tree-for-MPC5121-ADS.patch
Updated to /dts-v1/
3/4 Factor out 5200
Add 512x support using the psc_ops framework established
with the previous patch.
All 512x PSCs share the same interrupt so add
IRQF_SHARED to irq flags.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/serial/Kconfig| 12 ++--
drivers/serial/mpc52xx_uart.c
kets to
struct fs_platform_info which is used in fs_enet_main.c
as described above.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 24 -
drivers/net/fs_enet/Kconfig | 14 ++--
drivers/net/fs_enet/fec_mpc5121.h
h
Add an new field called align_tx_packets to
struct fs_platform_info which is used in fs_enet_main.c
as described above.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 24 -
drivers/net/fs_enet/Kconfig | 1
Thanks Sam, Scott already addressed most of your issues. The
background that you are likely missing and I will add to the patch
header is that the 5121 has an FEC core with all the same registers as
8xx except the order of the registers is scrambled. Fortunately the old
FEC only exists on CP
Note: This patch series assumes Kumar's Remove
!CONFIG_PPC_CPM_NEW_BINDING patch has been applied.
http://patchwork.ozlabs.org/linuxppc/patch?q=kumar&id=18939
Addresses all comments to previous patch.
Split the patch into two parts:
Part 1 fixes all problems reported by checkpatch.pl
and change
ny more evil than what is already there.
drivers/net/fs_enet/mii-fec.c
Add a new entry to match table with compatible set to
"fsl,mpc5121-fec-mdio".
include/linux/fs_enet_pd.h
Add an new field called align_tx_packets to
struct fs_platform_info which is used in fs_enet_main.c
Fixed all errors and warnings that checkpatch.pl
reports if this was a new submission.
Also changed instances of fec_t to struct fec in
mac-fec.c and mii-fec.c.
This is in preparation of adding MPC5121 support.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
drivers/net/fs_enet/fs_enet-
On Tue, Jun 17, 2008 at 6:35 PM, Stephen Rothwell <[EMAIL PROTECTED]>
wrote:
> Hi John,
>
> You should factor out the fec_t -> struct fec change into an earlier
> patch of its own.
Ok, I'll separate that from the checkpatch fixes.
>
>
> On Tue, 17 Jun 200
Sorry, I thought I was doing the right thing to base the patch on Kumar's
patch that removes the CONFIG_PPC_CPM_NEW_BINDING stuff. That is likely why
it did not apply.
On Tue, Jun 17, 2008 at 9:54 PM, Jeff Garzik <[EMAIL PROTECTED]> wrote:
> John Rigby wrote:
>
>> Fixed
I agree, I'll separate the fec_t -> struct fec changes out.
On Tue, Jun 17, 2008 at 11:20 PM, Grant Likely <[EMAIL PROTECTED]>
wrote:
> On Tue, Jun 17, 2008 at 5:03 PM, John Rigby <[EMAIL PROTECTED]> wrote:
> > Fixed all errors and warnings that checkpatch.pl
[EMAIL PROTECTED] {
> + compatible = "fsl,mpc5121-sata";
> + reg = <0x2 0x2000>;
> + interrupts = <0x2d 0x8 0x56 0x8>;
> + interrupt-parent = < &ipic >;
> +
Changes since last patch set:
This patch no longer assmues Kumar's patch that
removes CONFIG_PPC_CPM_NEW_BINDING stuff. That was just
confusing.
No checkpatch.pl fixes.
Addresses all comments to previous patch.
Does not rework the Kconfig logic. More work is need than w
This is in preparation of adding support for
MPC5121 FEC. The 5121 patch needs to add a different
struct fec because it has a different register layout.
This patch allows the 5121 patch to not include a typedef
fec_t which checkpatch complains about.
Signed-off-by: John Rigby <[EMAIL PROTEC
Unlike other SOCs with e300 cores the 5121 is not cache coherent. The
problem is an internal bridge that the processor can not snoop across.
On Wed, Jun 18, 2008 at 1:29 PM, Kenneth Johansson <[EMAIL PROTECTED]> wrote:
> I have tried to speed up u-boot by turning on I/D cache during boot.
>
> It
ny more evil than what is already there.
drivers/net/fs_enet/mii-fec.c
Add a new entry to match table with compatible set to
"fsl,mpc5121-fec-mdio".
include/linux/fs_enet_pd.h
Add an new field called align_tx_packets to
struct fs_platform_info which is used in fs_enet_main.c
John,
>
> On Wednesday 18 June 2008 17:33:48 John Rigby wrote:
>> Hi David,
>>
>> Looks like your device tree is based on the beta ltib bsp. There were
>> some changes in release 1 that you may want to incorporate:
>>
>> First as a convention I changed all the int
The following patches contain updates for MPC5121
1/6
Updates the device tree.
2/6
Adds a clock driver.
3/6
Adds support for generic boards. This is nearly identical to
David Jander's patch but does not delete the ADS board option.
ADS is not a candidate for generic since it h
Move shared code from mpc5121_ads.c to mpc512x_shared.c.
Add new generic board setup mpc5121_generic.c
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Kconfig | 15 -
arch/powerpc/platforms/512x/Makefile |3 +-
arch/powerpc/pla
Add a interrupt host for the interrupt
controller in the mpc5121ads cpld.
PCI interrupts are 0-7 the rest are 8-15
Touchscreen pendown irq is hardwired to irq1
All other irqs are chainged to irq0
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/K
The class of the MPC5121 pci host bridge is PCI_CLASS_BRIDGE_OTHER
while other freescale host bridges have class set to
PCI_CLASS_PROCESSOR_POWERPC.
This patch makes fixup_hide_host_resource_fsl match
PCI_CLASS_BRIDGE_OTHER in addition to PCI_CLASS_PROCESSOR_POWERPC.
Signed-off-by: John Rigby
Implements the api defined in include/clk.h
Current only getting frequencies is supported
not setting.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Makefile |1 +
arch/powerpc/platforms/512x/clock.c | 729 ++
2 files c
Copied from 83xx minus support for two busses.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig |1 +
arch/powerpc/platforms/512x/Makefile |1 +
arch/powerpc/platforms/512x/mpc5121
ny more evil than what is already there.
drivers/net/fs_enet/mii-fec.c
Add a new entry to match table with compatible set to
"fsl,mpc5121-fec-mdio".
include/linux/fs_enet_pd.h
Add an new field called align_tx_packets to
struct fs_platform_info which is used in fs_enet_main.c
The following patches contain updates for MPC5121
1/8
No change since last submission.
Updates the device tree.
2/8
Adds a clock driver. Cleanup based on input from Stephen Rothwell.
3/8
No change since last submission.
Adds support for generic boards. This is nearly identical
Move shared code from mpc5121_ads.c to mpc512x_shared.c.
Add new generic board setup mpc5121_generic.c
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Kconfig | 15 -
arch/powerpc/platforms/512x/Makefile |3 +-
arch/powerpc/pla
Add a interrupt host for the interrupt
controller in the mpc5121ads cpld.
PCI interrupts are 0-7 the rest are 8-15
Touchscreen pendown irq is hardwired to irq1
All other irqs are chainged to irq0
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/K
Implements the api defined in include/clk.h
Current only getting frequencies is supported
not setting.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Makefile |1 +
arch/powerpc/platforms/512x/clock.c | 720 ++
2 files c
change
bool "PCI support" if
to
bool "PCI support" if PPC_HAS_PCI
and add select PPC_HAS_PCI to all the config nodes that
were previously in the PCI if expression
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |
Uses mpc83xx_add_bridge in fsl_pci.c
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Kconfig |2 ++
arch/powerpc/platforms/512x/mpc5121_ads.c | 10 ++
arch/powerpc/platforms/512x/mpc512x.h |1 +
arch/powerpc/sysdev/fsl
The class of the MPC5121 pci host bridge is PCI_CLASS_BRIDGE_OTHER
while other freescale host bridges have class set to
PCI_CLASS_PROCESSOR_POWERPC.
This patch makes fixup_hide_host_resource_fsl match
PCI_CLASS_BRIDGE_OTHER in addition to PCI_CLASS_PROCESSOR_POWERPC.
Signed-off-by: John Rigby
This allows other platforms with the same pci
block like MPC5121 to use it.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/83xx/Kconfig |2 +-
arch/powerpc/platforms/83xx/Makefile |1 -
arch/powerpc/platforms/83xx/mpc831x_rdb.c |1 +
arch/p
patch 1/2 cleans up powerpc pci config
patch 2/2 moves mpc83xx_add_bridge to fsl_pci.c
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
change
bool "PCI support" if
to
bool "PCI support" if PPC_HAS_PCI
and add select PPC_HAS_PCI to all the config nodes that
were previously in the PCI if expression
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |
This allows other platforms with the same pci
block like MPC5121 to use it.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/83xx/Kconfig |2 +-
arch/powerpc/platforms/83xx/Makefile |1 -
arch/powerpc/platforms/83xx/mpc831x_rdb.c |1 +
arch/p
Updated device tree for MPC5121ADS
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts | 309 -
1 files changed, 299 insertions(+), 10 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts
b/arch/powerpc/bo
n Wed, 2008-06-25 at 14:19 -0600, John Rigby wrote:
>> change
>> bool "PCI support" if
>> to
>> bool "PCI support" if PPC_HAS_PCI
>>
>> and add select PPC_HAS_PCI to all the config nodes that
>> were previously in the PCI if expres
patch 1/2 cleans up powerpc pci config
Thanks to Michael Ellerman for his comments. This new version
calls the new config var PPC_PCI_CHOICE instead of PPC_HAS_PCI
patch 2/2 moves mpc83xx_add_bridge to fsl_pci.c
This is unchanged.
___
Linuxpp
bool "PCI support" if PPC_PCI_CHOICE
and adding select PPC_PCI_CHOICE to all the config nodes that
were previously in the PCI if expression.
Platforms with unconditional PCI support continue to
just select PCI in their config nodes.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
This allows other platforms with the same pci
block like MPC5121 to use it.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/83xx/Kconfig |2 +-
arch/powerpc/platforms/83xx/Makefile |1 -
arch/powerpc/platforms/83xx/mpc831x_rdb.c |1 +
arch/p
Because get_immrbase in fsl_soc.c does not work without it.
On Thu, Jun 26, 2008 at 7:42 PM, David Gibson
<[EMAIL PROTECTED]> wrote:
> On Wed, Jun 18, 2008 at 02:24:46PM -0600, John Rigby wrote:
>> Updated device tree for MPC5121ADS
>
> [snip]
>
Yes, Kumar made the same comment. The newer patch that moves the 83xx
add bridge routine to fsl_soc obsoletes this patch.
On Sat, Jun 28, 2008 at 11:38 PM, Grant Likely
<[EMAIL PROTECTED]> wrote:
> On Fri, Jun 20, 2008 at 10:58:38AM -0600, John Rigby wrote:
>> Copied from 83xx mi
On Sat, Jun 28, 2008 at 11:36 PM, Grant Likely
<[EMAIL PROTECTED]> wrote:
> Minor comments below.
>
> On Fri, Jun 20, 2008 at 10:58:37AM -0600, John Rigby wrote:
>> Add a interrupt host for the interrupt
>> controller in the mpc5121ads cpld.
>> PCI int
Two pci patches that are prereq's for 5121 pci:
http://patchwork.ozlabs.org/linuxppc/patch?person=518&id=19299
http://patchwork.ozlabs.org/linuxppc/patch?person=518&id=19300
On Wed, Jul 2, 2008 at 1:56 AM, Kumar Gala <[EMAIL PROTECTED]> wrote:
> Please point out any patches that have been posted
The following patches contain updates for MPC5121
1/4
Updates the device tree.
Addresses all comments received.
2/4
Adds a clock driver. Cleanup based on input from Stephen Rothwell,
and Grant Likely. Also now uses the clock driver in
arch/powerpc/kernel/clock.c instead of exp
changing MDS to ADS.
Add a compatible property of the form "fsl,mpc5121-..."
to nodes missing one.
Changed localbus compatible to fsl,mpc5121-localbus, this does
not break anything because the only code that uses it finds it
via the node name, not compatible.
Signed-off-by: John Rig
evices ->
mpc5121_declare_of_platform_devices
and use compatible for lookup instead of node name
Add new generic board setup mpc5121_generic.c
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Kconfig| 15 -
arch/powerpc/platforms/512x/Makefile
Add a interrupt host for the interrupt
controller in the mpc5121ads cpld.
PCI interrupts are 0-7 the rest are 8-15
Touchscreen pendown irq is hardwired to irq1
All other irqs are chained to irq0
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/K
: stubbed
clk_round_rate: stubbed
clk_set_parent: NULL
clk_get_parent: NULL
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
Makefile |1 +
arch/powerpc/platforms/512x/Kconfig |1 +
arch/powerpc/platforms/512x/Makefile |1 +
arch/p
Ben,
Could you pick up these two powerpc pci patches. Grant Likely ack'd
them both. No one nak'd them.
powerpc: pci config cleanup [rev2]
http://patchwork.ozlabs.org/linuxppc/patchcontent?id=19299
powerpc: Move mpc83xx_add_bridge to fsl_pci.c [rev2]
http://patchwork.ozlabs.org/linuxppc/patchcon
On Wed, Jul 9, 2008 at 3:52 PM, Benjamin Herrenschmidt
<[EMAIL PROTECTED]> wrote:
> On Wed, 2008-07-09 at 15:07 -0600, John Rigby wrote:
>> Ben,
>>
>> Could you pick up these two powerpc pci patches. Grant Likely ack'd
>> them both. No one nak'd th
" for now. We will change
it later after 5121 u-boot uses the immr alias instead
of the node name.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc5121ads.dts |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/bo
1 - 100 of 119 matches
Mail list logo