[PATCH 1/3] drivers:remoteproc:support predefined vq notifyid

2015-09-14 Thread Barry Song
table, and then request a same notifyid in Linux side. Signed-off-by: Wei Chen Signed-off-by: Barry Song --- drivers/remoteproc/remoteproc_core.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc

[PATCH 2/3] drivers:remoteproc:support always on remote processor

2015-09-14 Thread Barry Song
processors could not be shutdown, if it would be shutdown, the Linux should be shutdown too. In above scenarios, we have make remoteproc to support always on remote processor. This kind of remote processor control its lifecycle by itself. Signed-off-by: Wei Chen Signed-off-by: Barry Song

[PATCH 0/3] remoteproc: add CSRatlas7 remoteproc driver

2015-09-14 Thread Barry Song
From: Barry Song The first two patches make remoteproc support non-slave remote processors. the last one adds CSRatlas7 support. Wei Chen (3): drivers:remoteproc:support predefined vq notifyid drivers:remoteproc:support always on remote processor remoteproc: add CSRatlas7 remoteproc

[PATCH 3/3] remoteproc: add CSRatlas7 remoteproc driver

2015-09-14 Thread Barry Song
ff-by: Barry Song --- .../bindings/remoteproc/sirf,remoteproc.txt| 33 ++ drivers/remoteproc/Kconfig | 13 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/sirf_remoteproc.c | 467 + 4 files changed

Re: [PATCH v7 4/5] clk: Provide critical clock support

2015-08-20 Thread Barry Song
2015-08-17 15:42 GMT+08:00 Lee Jones : > On Mon, 17 Aug 2015, Barry Song wrote: > >> 2015-07-22 21:04 GMT+08:00 Lee Jones : >> > Lots of platforms contain clocks which if turned off would prove fatal. >> > The only way to recover from these catastrophic failures

Re: [PATCH v7 4/5] clk: Provide critical clock support

2015-08-16 Thread Barry Song
2015-07-22 21:04 GMT+08:00 Lee Jones : > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover from these catastrophic failures is to restart > the board(s). Now, when a clock provider is registered with the > framework it is possible for a list of criti

[PATCH 1/3] ARM: dts: atlas7: set right memory range and hwspinlock for IPC stuff

2015-07-13 Thread Barry Song
From: Wei Chen this patch sets memory range for IPC stuff according to register layout. there is no memory overlap for all components. it also sets the right hwspinlock for these components. Cc: Suman Anna Cc: Bjorn Andersson Signed-off-by: Wei Chen Signed-off-by: Barry Song --- arch/arm

[PATCH 2/3] hwspinlock: sirf: fix the memory base and move to devm_ioremap

2015-07-13 Thread Barry Song
From: Wei Chen this patch moves to the right base since we fix the dts, then we can use devm_ioremap now. Cc: Suman Anna Cc: Bjorn Andersson Signed-off-by: Wei Chen Signed-off-by: Barry Song --- drivers/hwspinlock/sirf_hwspinlock.c | 9 - 1 file changed, 4 insertions(+), 5

Re: [PATCH v3 3/3] ARM: dts: atlas7: use general dt-binding for hwspinlock

2015-05-31 Thread Barry Song
2015-05-29 5:30 GMT+08:00 Suman Anna : > Barry, > > On 05/26/2015 03:28 AM, Barry Song wrote: >> From: Wei Chen >> >> This patch moves to use generic dt-binding for hwspinlock providers and >> clients. >> add #hwlock-cells for the provider and hwlocks f

Re: [PATCH v3 3/3] ARM: dts: atlas7: use general dt-binding for hwspinlock

2015-05-31 Thread Barry Song
2015-05-29 23:50 GMT+08:00 Bjorn Andersson : > On Thu, May 28, 2015 at 2:30 PM, Suman Anna wrote: > [..] >>> reg = <0x1324 0x0001>; >> >> An unrelated question here, why the reg is same for all the child nodes >> of the parent ipc node? If this is partitioned

[PATCH v4 2/3] Documentation: dt: add the CSR atlas7 hwspinlock bindings document

2015-05-26 Thread Barry Song
: Bjorn Andersson Signed-off-by: Wei Chen Signed-off-by: Barry Song --- -v4: add description for "#hwlock-cells" thanks suman! .../devicetree/bindings/hwlock/sirf,hwspinlock.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetre

[PATCH v3 3/3] ARM: dts: atlas7: use general dt-binding for hwspinlock

2015-05-26 Thread Barry Song
From: Wei Chen This patch moves to use generic dt-binding for hwspinlock providers and clients. add #hwlock-cells for the provider and hwlocks for clients. Cc: Suman Anna Cc: Bjorn Andersson Signed-off-by: Wei Chen Signed-off-by: Barry Song --- arch/arm/boot/dts/atlas7.dtsi | 6 +++--- 1

[PATCH v4 1/3] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-26 Thread Barry Song
-by: Wei Chen Signed-off-by: Barry Song --- -v4: fix the error handler for iomap; fix a checkpatch issue; thanks suman! drivers/hwspinlock/Kconfig | 12 drivers/hwspinlock/Makefile | 1 + drivers/hwspinlock/sirf_hwspinlock.c | 136

Re: [PATCH 1/3 v3] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-24 Thread Barry Song
2015-05-23 6:51 GMT+08:00 Suman Anna : > Hi Barry, > > On 05/19/2015 01:41 AM, Barry Song wrote: >> From: Wei Chen >> >> Add hwspinlock support for the CSR atlas7 SoC. >> >> The Hardware Spinlock device on atlas7 provides hardware assistance >> for sy

Re: [PATCH 2/3 v3] Documentation: dt: add the CSR atlas7 hwspinlock bindings document

2015-05-24 Thread Barry Song
2015-05-23 6:44 GMT+08:00 Suman Anna : > Hi Barry, > > On 05/19/2015 01:41 AM, Barry Song wrote: >> From: Wei Chen >> >> The Hardware Spinlock device on atlas7 provides hardware assistance >> for synchronization between the multiple processors in the system >

[PATCH v2 RESEND] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-25 Thread Barry Song
From: Wei Chen Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN bus Cortex-M3 and audio DSP). Signed-off-by: Wei Chen Signed-off-by: Barry

Re: [PATCH v2] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-18 Thread Barry Song
2015-03-09 14:11 GMT+08:00 Barry Song <21cn...@gmail.com>: > From: Wei Chen > > Add hwspinlock support for the CSR atlas7 SoC. > > The Hardware Spinlock device on atlas7 provides hardware assistance > for synchronization between the multiple processors in the system &g

Re: [PATCH v5 2/4] pwm: sirf: add dt-binding document

2014-07-24 Thread Barry Song
2014-07-16 10:01 GMT+08:00 Huayi Li : > This patch adds dt-binding document for pwm-sirf. here the controller clock > can't generate PWM signals, so we need seperate clock as signal source. > > Signed-off-by: Huayi Li Reviewed-by: Barry Song except that the commit log has not

Re: [PATCH v5 1/4] pwm: add CSR SiRFSoc PWM driver

2014-07-24 Thread Barry Song
2014-07-16 9:55 GMT+08:00 Huayi Li : > PWM controller of CSR SiRFSoC can generate 7 independent outputs. Each output > duty cycle can be adjusted by setting the corresponding wait & hold registers. > There are 6 external channels (0 to 5) and 1 internal channel (6). > Supports a wide frequency rang

Re: [PATCH v5 3/4] ARM: dts: sirf: fix the pwm-cells and clocks

2014-07-24 Thread Barry Song
2014-07-16 9:55 GMT+08:00 Huayi Li : > This patch adds missed pwm-cells, clock-names and signal source > clock for PWM module. > > Signed-off-by: Huayi Li Reviewed-by: Barry Song > --- > arch/arm/boot/dts/atlas6.dtsi | 8 ++-- > arch/arm/boot/dts/prima2.dtsi |

Re: [PATCH v5 4/4] ARM: prima2_defconfig: enable PWM and sirf PWM driver

2014-07-24 Thread Barry Song
2014-07-16 9:55 GMT+08:00 Huayi Li : > Signed-off-by: Huayi Li Acked-by: Barry Song > --- > arch/arm/configs/prima2_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/configs/prima2_defconfig > b/arch/arm/configs/prima2_defconfig > index

Re: [PATCH 65/97] ARM: l2c: prima2: convert to generic l2c initialisation

2014-05-22 Thread Barry Song
SMP) += platsmp.o headsmp.o > obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o > diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c > index 47c7819edb9b..a860ea27e8ae 100644 > --- a/arch/arm/mach-prima2/common.c > +++ b/arch/arm/mach-prima2/common.c &g

Re: [PATCH 59/75] ARM: l2c: prima2: remove cache size override

2014-04-04 Thread Barry Song
2014-04-04 22:10 GMT+08:00 Russell King - ARM Linux : > On Fri, Apr 04, 2014 at 09:40:31PM +0800, Barry Song wrote: >> 2014-03-28 23:19 GMT+08:00 Russell King : >> > Signed-off-by: Russell King >> > --- >> > arch/arm/boot/dts/marco.dtsi | 2 +- >

Re: [PATCH 59/75] ARM: l2c: prima2: remove cache size override

2014-04-04 Thread Barry Song
2014-03-28 23:19 GMT+08:00 Russell King : > Signed-off-by: Russell King > --- > arch/arm/boot/dts/marco.dtsi | 2 +- > arch/arm/boot/dts/prima2.dtsi | 2 +- > arch/arm/mach-prima2/l2x0.c | 34 +- > 3 files changed, 3 insertions(+), 35 deletions(-) > > diff --g

Re: [PATCH v5] dmaengine: sirf: enable generic dt binding for dma channels

2014-03-27 Thread Barry Song
2014-03-19 22:43 GMT+08:00 Vinod Koul : > On Sun, Jan 26, 2014 at 10:08:45AM +0800, Barry Song wrote: >> From: Barry Song >> >> move to support of_dma_request_slave_channel() and dma_request_slave_channel. >> we add a xlate() to let dma clients be able to find right d

Re: [PATCH v4 2/4] pwm: sirf: add dt-binding document

2014-03-25 Thread Barry Song
2014-03-19 5:13 GMT+08:00 Thierry Reding : > On Wed, Mar 05, 2014 at 05:59:43PM +0800, Barry Song wrote: >> From: Barry Song >> >> this patch adds dt-binding document for pwm-sirf. here the controller clock >> can't generate PWM signals, so we need seperate cl

Re: [PATCH v4] dmaengine: sirf: enable generic dt binding for dma channels

2014-03-17 Thread Barry Song
2014-03-17 12:51 GMT+08:00 Vinod Koul : > On Sat, Mar 01, 2014 at 10:49:18AM +0800, Barry Song wrote: >> 2014-01-20 17:35 GMT+08:00 Barry Song <21cn...@gmail.com>: >> > 2014/1/20 Vinod Koul : >> >> On Wed, Jan 08, 2014 at 10:12:49PM +0800, Barry

RE: [PATCH] mfd: Support SiRF audio modules

2014-03-10 Thread Barry Song
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: Tuesday, March 11, 2014 1:49 PM > To: Barry Song > Cc: RongJun Ying; Rob Herring; Pawel Moll; Mark Rutland; Stephen Warren; > Ian Campbell; Rob Landley; Samuel Ortiz; Grant Likely; DL-SHA

RE: [PATCH] mfd: Support SiRF audio modules

2014-03-10 Thread Barry Song
> > diff --git a/include/linux/mfd/sirf/audio.h b/include/linux/mfd/sirf/audio.h > > new file mode 100644 > > index 000..d8cfff9 > > --- /dev/null > > +++ b/include/linux/mfd/sirf/audio.h > > @@ -0,0 +1,17 @@ > > +/* > > + * audio.h > > + * > > + * Copyright (c) 2014 Cambridge Silicon Radio Lim

[PATCH v4 2/4] pwm: sirf: add dt-binding document

2014-03-05 Thread Barry Song
From: Barry Song this patch adds dt-binding document for pwm-sirf. here the controller clock can't generate PWM signals, so we need seperate clock as signal source. Signed-off-by: Barry Song --- Documentation/devicetree/bindings/pwm/pwm-sirf.txt | 23 1 files ch

Re: [PATCH v4] dmaengine: sirf: enable generic dt binding for dma channels

2014-02-28 Thread Barry Song
2014-01-20 17:35 GMT+08:00 Barry Song <21cn...@gmail.com>: > 2014/1/20 Vinod Koul : >> On Wed, Jan 08, 2014 at 10:12:49PM +0800, Barry Song wrote: >>> From: Barry Song >>> >>> move to support of_dma_request_slave_channel() and >>> dma_req

[PATCH v5] dmaengine: sirf: enable generic dt binding for dma channels

2014-01-25 Thread Barry Song
From: Barry Song move to support of_dma_request_slave_channel() and dma_request_slave_channel. we add a xlate() to let dma clients be able to find right dma_chan by generic "dmas" properties in dts. Cc: Mark Rutland Cc: Lars-Peter Clausen Signed-off-by: Barry Song --- -v5: ad

Re: [ARM attend] Any news on agenda? Device tree documentation discussion

2013-10-14 Thread Barry Song
2013/9/20 Olof Johansson : > On Wed, Sep 18, 2013 at 2:35 PM, Bird, Tim wrote: >> I'm interested in the ARM kernel summit - particularly any >> sessions having to do with device tree. Is there an agenda or >> session list available for the ARM summit yet? > > No, I asked the KS PC a while back for