Re: RTC on 2.6.36 for PowerMac 8600

2012-01-31 Thread Benjamin Herrenschmidt
On Sat, 2012-01-28 at 21:08 -0600, kevin diggs wrote: > Hi, > > What will give me access to the RTC hardware on an old PowerMac 8600? > I modload rtc-generic. /proc/devices has: should work with rtc generic, not sure what's up. You can check with printk ... rtc_generic should call into get_rtc_t

[PATCH 1/2 v2] powerpc/dts: Add dts for p1025rdb board

2012-01-31 Thread Zhicheng Fan
From: Zhicheng Fan P1025RDB Overview -- 1Gbyte DDR3 SDRAM 32 Mbyte NAND flash 16Mbyte NOR flash 16 Mbyte SPI flash SD connector to interface with the SD memory card Real-time clock on I2C bus PCIe: - x1 PCIe slot - x1 mini-PCIe slot 10/100/1000 BaseT Ethernet ports: - eTSEC1, RG

[PATCH 2/2 v2] P1025RDB: Add p1025rdb platform support

2012-01-31 Thread Zhicheng Fan
From: Zhicheng Fan Signed-off-by: Zhicheng Fan --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index 0d3d7c6..338

[PATCH] powerpc/85xx: Add missing config option for CACHE SRAM code

2012-01-31 Thread Claudiu Manoil
fsl_85xx_l2ctlr.o and fsl_85xx_cache_sram.o are built only if CONFIG_FSL_85XX_CACHE_SRAM is defined. The driver that qualifies and wants to make use of the CACHE SRAM's exported API (i.e. a freescale net driver) should (be able to) select this config option. Signed-off-by: Claudiu Manoil --- arc

[PATCH] powerpc/85xx: Fix compiler error with THIS_MODULE and related

2012-01-31 Thread Claudiu Manoil
CC arch/powerpc/sysdev/fsl_85xx_l2ctlr.o arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:209:13: error: 'THIS_MODULE' undeclared here (not in a function) arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:229:20: error: expected declaration specifiers or '...' before string constant cc1: warnings being treated

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Shawn Guo
On Fri, Jan 27, 2012 at 02:36:08PM -0700, Grant Likely wrote: > irq_domain_add_simple() was a stop-gap measure until complete irq_domain > support was complete. This patch removes the irq_domain_add_simple() > interface. > > v2: Updated to pass in host_data pointer on irq_domain allocation. > >

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Rob Herring
Shawn, On 01/31/2012 06:45 AM, Shawn Guo wrote: > On Fri, Jan 27, 2012 at 02:36:08PM -0700, Grant Likely wrote: >> irq_domain_add_simple() was a stop-gap measure until complete irq_domain >> support was complete. This patch removes the irq_domain_add_simple() >> interface. >> >> v2: Updated to pa

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Shawn Guo
On Tue, Jan 31, 2012 at 07:15:26AM -0600, Rob Herring wrote: ... > >> --- a/arch/arm/mach-mx5/imx51-dt.c > >> +++ b/arch/arm/mach-mx5/imx51-dt.c > >> @@ -47,7 +47,7 @@ static const struct of_dev_auxdata > >> imx51_auxdata_lookup[] __initconst = { > >> static int __init imx51_tzic_add_irq_domain(s

Re: [PATCH 1/2 v2] powerpc/dts: Add dts for p1025rdb board

2012-01-31 Thread Kumar Gala
On Jan 31, 2012, at 3:51 AM, Zhicheng Fan wrote: > From: Zhicheng Fan > > P1025RDB Overview > -- > 1Gbyte DDR3 SDRAM > 32 Mbyte NAND flash > 16Mbyte NOR flash > 16 Mbyte SPI flash > SD connector to interface with the SD memory card > Real-time clock on I2C bus > > PCIe: > - x1

Re: Question about GPIO Lib

2012-01-31 Thread Bill Gatliff
Bruce: On Mon, Jan 30, 2012 at 6:06 PM, wrote: > Bill Gatliff wrote on 01/27/2012 10:42:57 AM: >> Sounds like you DON'T want to merely export that GPIO pin to userspace. >> > > Well, yes I do want to just export to userspace I misunderstood your message, then. I was thinking that you were alr

Re: Question about GPIO Lib

2012-01-31 Thread Bruce_Leonard
Bill, Bill Gatliff wrote on 01/31/2012 08:39:05 AM: > > I misunderstood your message, then. I was thinking that you were > No worries, I frequently misunderstand myself :) Thanks for taking the time to respond, I appreciate it. > I'm DEFINITELY not saying that gpiolib is generally a waste

Re: [PATCH 1/2 v2] powerpc/dts: Add dts for p1020rdb-pc

2012-01-31 Thread Scott Wood
On 01/31/2012 01:06 AM, Zhicheng Fan wrote: > +&lbc { > + nor@0,0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "cfi-flash"; > + reg = <0x0 0x0 0x100>; > + bank-width = <2>; > + device-width = <1>;

Re: [PATCH 1/2 v2] powerpc/dts: Add dts for p1025rdb board

2012-01-31 Thread Scott Wood
On 01/31/2012 09:55 AM, Kumar Gala wrote: > > On Jan 31, 2012, at 3:51 AM, Zhicheng Fan wrote: >> Signed-off-by: Zhicheng Fan >> --- >> arch/powerpc/boot/dts/fsl/p1025si-post.dtsi | 228 + >> arch/powerpc/boot/dts/fsl/p1025si-pre.dtsi | 70 +++ >> arch/powerpc/boot/dts/p

Re: [PATCH] powerpc/85xx: Fix compiler error with THIS_MODULE and related

2012-01-31 Thread Scott Wood
On 01/31/2012 04:15 AM, Claudiu Manoil wrote: >CC arch/powerpc/sysdev/fsl_85xx_l2ctlr.o > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:209:13: error: 'THIS_MODULE' undeclared > here (not in a function) > arch/powerpc/sysdev/fsl_85xx_l2ctlr.c:229:20: error: expected declaration > specifiers or '

Re: RTC on 2.6.36 for PowerMac 8600

2012-01-31 Thread kevin diggs
Hi, On 1/29/12, Andreas Schwab wrote: > kevin diggs writes: > > > Perhaps the RTC was reset due to battery running out? That would set > the year to 1900, but the kernel RTC interface cannot represent dates > before 1970. Unfortunately hwclock insists on reading the RTC even when > you just wa

[PULL] ARM mach/irqs.h cleanup for 3.4

2012-01-31 Thread Rob Herring
Russell, Can you please pull mach/irqs.h clean-up for 3.4. I've gotten little to no response from the affected platform maintainers. It's primarily superh and shmobile that have any significant changes though. Rob The following changes since commit dcd6c92267155e70a94b3927bce681ce74b80d1f: Li

[PATCH v2] fsldma: ignore end of segments interrupt

2012-01-31 Thread Ira W. Snyder
The mpc8349ea has been observed to generate spurious end of segments interrupts despite the fact that they are not enabled by this driver. Check for them and ignore them to avoid a kernel error message. Signed-off-by: Ira W. Snyder Cc: Dan Williams --- Changes v1 -> v2: - skip the descriptor cl

Re: [PATCH 1/2 v2] powerpc/dts: Add dts for p1025rdb board

2012-01-31 Thread Kumar Gala
On Jan 31, 2012, at 1:10 PM, Scott Wood wrote: > On 01/31/2012 09:55 AM, Kumar Gala wrote: >> >> On Jan 31, 2012, at 3:51 AM, Zhicheng Fan wrote: >>> Signed-off-by: Zhicheng Fan >>> --- >>> arch/powerpc/boot/dts/fsl/p1025si-post.dtsi | 228 + >>> arch/powerpc/boot/dts/fsl/p1

Re: [PATCH v3 00/25] irq_domain generalization and refinement

2012-01-31 Thread Grant Likely
On Mon, Jan 30, 2012 at 08:53:44PM -0800, Olof Johansson wrote: > On Fri, Jan 27, 2012 at 02:35:54PM -0700, Grant Likely wrote: > > Hey everyone, > > > > This patch series is ready for much wider consumption now. I'd like > > to get it into linux-next ASAP because there will be ARM board support

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Grant Likely
On Tue, Jan 31, 2012 at 09:58:22PM +0800, Shawn Guo wrote: > On Tue, Jan 31, 2012 at 07:15:26AM -0600, Rob Herring wrote: > ... > > >> --- a/arch/arm/mach-mx5/imx51-dt.c > > >> +++ b/arch/arm/mach-mx5/imx51-dt.c > > >> @@ -47,7 +47,7 @@ static const struct of_dev_auxdata > > >> imx51_auxdata_looku

Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-31 Thread Guennadi Liakhovetski
On Mon, 30 Jan 2012, Vinod Koul wrote: > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > As we agreed during our discussion about adding DMA Engine support for > > RapidIO > > subsystem, RapidIO and similar clients may benefit from adding an extra > > context > > parameter to dev

RE: [PATCH 1/2 v2] powerpc/dts: Add dts for p1025rdb board

2012-01-31 Thread Zang Roy-R61911
> -Original Message- > From: linuxppc-dev-bounces+tie-fei.zang=freescale@lists.ozlabs.org > [mailto:linuxppc-dev-bounces+tie-fei.zang=freescale@lists.ozlabs.org] > On Behalf Of Kumar Gala > Sent: Wednesday, February 01, 2012 7:44 AM > To: Wood Scott-B07421 > Cc: linuxppc-dev@lists

Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-31 Thread Vinod Koul
On Wed, 2012-02-01 at 01:09 +0100, Guennadi Liakhovetski wrote: > On Mon, 30 Jan 2012, Vinod Koul wrote: > > > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > > As we agreed during our discussion about adding DMA Engine support for > > > RapidIO > > > subsystem, RapidIO and simila

Re: next BUG: using smp_processor_id() in preemptible

2012-01-31 Thread Hugh Dickins
On Sun, 15 Jan 2012, Benjamin Herrenschmidt wrote: > On Sat, 2012-01-14 at 14:21 -0800, Hugh Dickins wrote: > > On Fri, 23 Dec 2011, Benjamin Herrenschmidt wrote: > > > On Thu, 2011-12-22 at 04:07 -0800, Hugh Dickins wrote: > > > > On Mon, 5 Dec 2011, Hugh Dickins wrote: > > > > > > > > > 3.2.0-rc

Re: [PULL] ARM mach/irqs.h cleanup for 3.4

2012-01-31 Thread Paul Mundt
On Tue, Jan 31, 2012 at 01:46:58PM -0600, Rob Herring wrote: > Can you please pull mach/irqs.h clean-up for 3.4. I've gotten little to > no response from the affected platform maintainers. It's primarily > superh and shmobile that have any significant changes though. > Sorry about that, it's been

[PATCH 1/2 v3] powerpc/85xx: Add p1020rdb-pc platform support

2012-01-31 Thread Zhicheng Fan
Signed-off-by: Zhicheng Fan --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index f5ff911..0b04bef 100644 --- a/

[PATCH 2/2 v3] powerpc/dts: Add dts for p1020rdb-pc board

2012-01-31 Thread Zhicheng Fan
P1020RDB-PC Overview -- 1Gbyte DDR3 SDRAM 32 Mbyte NAND flash 10 16Mbyte NOR flash 16 Mbyte SPI flash SD connector to interface with the SD memory card Real-time clock on I2C bus PCIe: - x1 PCIe slot - x1 mini-PCIe slot 10/100/1000 BaseT Ethernet ports: - eTSEC1, RGMII: one 10/100