Re: [RFC 1/2] irq_domain: Create common xlate functions that device drivers can use

2012-01-24 Thread Grant Likely
On Tue, Jan 24, 2012 at 6:50 PM, Rob Herring wrote: > > > On 01/24/2012 06:18 PM, Grant Likely wrote: >> Rather than having each interrupt controller driver creating its own barely >> unique .xlate function for irq_domain, create a library of translators which >> any driver can use directly. >> >>

[git pull] Please pull powerpc.git merge branch

2012-01-24 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few fixes on top of rc1, a couple of important compile regressions and a couple of minor embedded additions. Cheers, Ben. The following changes since commit 4a7cbb56fdbd92a47f57ca8b25bf5db35f0d6518: regulator: Fix documentation for of_node parameter of regulator_register

[PATCH] powerpc/powernv: Fix PCI resource handling

2012-01-24 Thread Benjamin Herrenschmidt
Recent changes to the handling of PCI resources for host bridges are breaking the PowerNV code for assigning resources on IODA. The root of the problem is that the pci_bus attached to a host bridge no longer has its "legacy" resource pointers populated but only uses the newer list instead. Signed

Re: [RFC 1/2] irq_domain: Create common xlate functions that device drivers can use

2012-01-24 Thread Rob Herring
On 01/24/2012 06:18 PM, Grant Likely wrote: > Rather than having each interrupt controller driver creating its own barely > unique .xlate function for irq_domain, create a library of translators which > any driver can use directly. > > Signed-off-by: Grant Likely > Cc: Rob Herring > Cc: Benjam

FSL SPI driver question

2012-01-24 Thread Bruce_Leonard
Good afternoon, I'm using the 3.0.3 kernel running on an MPC8308 and am trying to interface to a Cypress CY14B256Q2A non-volatile RAM via SPI. I've got the SPI infrastructure, the Freescale SPI driver (drivers/spi/spi_fsl_spi.c), and spidev built into the kernel and everything on the user spac

Re: [RFCv2 13/14] irq_domain: Remove 'new' irq_domain in favour of the ppc one

2012-01-24 Thread Grant Likely
On Tue, Jan 24, 2012 at 3:10 PM, Rob Herring wrote: > On 01/23/2012 03:07 PM, Grant Likely wrote: >> This patch removes the simplistic implementation of irq_domains and enables >> the powerpc infrastructure for all irq_domain users.  The powerpc >> infrastructure includes support for complex mappi

[RFC 2/2] irqdomain/powerpc: Replace custom xlate functions with library functions

2012-01-24 Thread Grant Likely
This patch converts a number of the powerpc drivers to use the common library of irq_domain xlate functions, dropping a bunch of lines in the process. Signed-off-by: Grant Likely Cc: Rob Herring Cc: Benjamin Herrenschmidt --- This builds on top of my irq_domain series and will be included with

[RFC 1/2] irq_domain: Create common xlate functions that device drivers can use

2012-01-24 Thread Grant Likely
Rather than having each interrupt controller driver creating its own barely unique .xlate function for irq_domain, create a library of translators which any driver can use directly. Signed-off-by: Grant Likely Cc: Rob Herring Cc: Benjamin Herrenschmidt --- This builds on top of my irq_domain s

Re: error: 'cpus_in_crash' defined but not used

2012-01-24 Thread Benjamin Herrenschmidt
On Fri, 2012-01-20 at 16:45 -0800, Christian Kujau wrote: > > On Tue, 17 Jan 2012 at 20:13, Christian Kujau wrote: > > > > > > compiling today's git (mainline, a25a2b8) on powerpc32 gives: > > > > > > CC arch/powerpc/kernel/crash.o > > > cc1: warnings being treated as errors > > > /usr/loc

Re: [PATCH] powerpc/85xx: fix Kconfig warning about missing 8250 dependency

2012-01-24 Thread Kumar Gala
On Jan 19, 2012, at 7:23 PM, Paul Gortmaker wrote: > The SERIAL_8250_EXTENDED option just enables access to other > less regularly used options, like SERIAL_8250_SHARE_IRQ. > Select it to get rid of this warning when selecting the child > option living underneath it. > > warning: (FSL_SOC_BOOKE

Re: [PATCH] powerpc/85xx: fix build failure from p1022 in SMP defconfig

2012-01-24 Thread Benjamin Herrenschmidt
On Tue, 2012-01-24 at 16:55 -0600, Kumar Gala wrote: > Ben just missed my pull request with it before 3.3-rc1. Should get > into rc2 or I'll have to get someone in ozlabs to beat ben for me ;) Working on it :-) Cheers, Ben. ___ Linuxppc-dev mailing l

Re: [PATCH] powerpc/85xx: fix build failure from p1022 in SMP defconfig

2012-01-24 Thread Kumar Gala
On Jan 21, 2012, at 9:50 AM, Paul Gortmaker wrote: > On Sat, Jan 21, 2012 at 9:52 AM, Paul Gortmaker > wrote: >> Using the configs/mpc85xx_smp_defconfig shows this build error: >> >> arch/powerpc/platforms/85xx/p1022_ds.c:341: error: 'udbg_progress' >> undeclared here (not in a function) >> >

Re: [RFCv2 03/14] irq_domain: Make irq_domain structure match powerpc's irq_host

2012-01-24 Thread Rob Herring
On 01/24/2012 04:08 PM, Grant Likely wrote: > On Tue, Jan 24, 2012 at 2:38 PM, Rob Herring wrote: >> On 01/23/2012 03:07 PM, Grant Likely wrote: >>> Part of the series to unify the irq remapping mechanisms in the >>> kernel. A follow up patch will copy the powerpc implementation into >>> kernel/i

Re: [RFCv2 13/14] irq_domain: Remove 'new' irq_domain in favour of the ppc one

2012-01-24 Thread Rob Herring
On 01/23/2012 03:07 PM, Grant Likely wrote: > This patch removes the simplistic implementation of irq_domains and enables > the powerpc infrastructure for all irq_domain users. The powerpc > infrastructure includes support for complex mappings between Linux and > hardware irq numbers, and can mana

Re: [RFCv2 03/14] irq_domain: Make irq_domain structure match powerpc's irq_host

2012-01-24 Thread Grant Likely
On Tue, Jan 24, 2012 at 2:38 PM, Rob Herring wrote: > On 01/23/2012 03:07 PM, Grant Likely wrote: >> Part of the series to unify the irq remapping mechanisms in the >> kernel.  A follow up patch will copy the powerpc implementation into >> kernel/irq/irqdomain.c, which will be a lot easier if the

Re: [RFCv2 03/14] irq_domain: Make irq_domain structure match powerpc's irq_host

2012-01-24 Thread Rob Herring
On 01/23/2012 03:07 PM, Grant Likely wrote: > Part of the series to unify the irq remapping mechanisms in the > kernel. A follow up patch will copy the powerpc implementation into > kernel/irq/irqdomain.c, which will be a lot easier if the structures > are identical. > > Where they differ, I've c

Re: arch/powerpc/platforms/83xx/misc.c

2012-01-24 Thread Scott Wood
On 01/23/2012 11:34 PM, Sridhar Addagada wrote: > I have a hang problem on my board based on MPC8377EWLAN, here is how i > ran into problem. We are using u-boot to load the kernel, rootfs and > device tree. The kernel parameters have been set > > root=/dev/ram rw rootfstype=ext2 ramdisk_size=1313

Re: [RFCv2 01/14] irq_domain: add documentation and MAINTAINERS entry.

2012-01-24 Thread Randy Dunlap
On 01/23/2012 01:07 PM, Grant Likely wrote: > Documentation for irq_domain library which will be created in subsequent > patches. > > Signed-off-by: Grant Likely > Cc: Benjamin Herrenschmidt > Cc: Thomas Gleixner > --- > Documentation/IRQ-domain.txt | 113 > ++

[PATCH 1/2] [trivial] macintosh: Fix typo in mediabay.c

2012-01-24 Thread Masanari Iida
Fix typo "unsuported" to "unsupported" in drivers/machintosh/mediabay.c Signed-off-by: Masanari Iida --- drivers/macintosh/mediabay.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c index 2fd435b..831d751 100644

LCD (connected over DVI) not working on P1022DS

2012-01-24 Thread Arshad, Farrukh
Greetings All, I am trying to connect LCD with P1022DS via DVI port, I have also configured CONFIG_FB_FSL_DIU and using following boot parameters, but I can't see anything on the LCD not even the Linux Logo (I have configured it as well in the kernel) instead I only see on the LCD "No Signal fr