RE: [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash

2016-02-16 Thread Huan Wang
> On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote: > > According to the new mapping table, the partition for NOR flash is > > added. > > How do you know that everyone using the board wants the NOR flash to be > partitioned this way? It's really a matter of software configuration >

RE: [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash

2016-02-16 Thread Huan Wang
> On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote: > > According to the new mapping table, the partition for NOR flash is > > added. > > How do you know that everyone using the board wants the NOR flash to be > partitioned this way? It's really a matter of software configuration >

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-12-27 Thread Huan Wang
Hi, Arnd, Could you help to review the following patch? Thanks. Best Regards, Alison Wang > On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote: > > Hrtimer based broadcast is used on ARM platform. It can be registered > > as the tick broadcast device in the absence of a real

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-12-27 Thread Huan Wang
Hi, Arnd, Could you help to review the following patch? Thanks. Best Regards, Alison Wang > On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote: > > Hrtimer based broadcast is used on ARM platform. It can be registered > > as the tick broadcast device in the absence of a real

RE: [PATCH] ARM: multi_v7_defconfig: Enable some drivers for LS1021A

2015-12-09 Thread Huan Wang
> On Tuesday 08 December 2015 16:38:03 Alison Wang wrote: > > This patch enables some drivers for LS1021A, such as GIANFAR, > > WATCHDOG, AUDIO, QSPI, I2C, ESDHC, EDMA, FTM. > > QorIQ Clock Framework and Ramdisk support is also enabled. > > > > Signed-off-by: Alison Wang > > --- > > I think most

RE: [PATCH] ARM: multi_v7_defconfig: Enable some drivers for LS1021A

2015-12-09 Thread Huan Wang
> On Tuesday 08 December 2015 16:38:03 Alison Wang wrote: > > This patch enables some drivers for LS1021A, such as GIANFAR, > > WATCHDOG, AUDIO, QSPI, I2C, ESDHC, EDMA, FTM. > > QorIQ Clock Framework and Ramdisk support is also enabled. > > > > Signed-off-by: Alison Wang

RE: [RFC PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-09 Thread Huan Wang
Hi, Olof, > On Mon, Nov 9, 2015 at 6:53 PM, Alison Wang wrote: > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > defconfig and adds LPAE support. > > > > The platforms based on Cortex-A7/A12/A15/A17, PJ4B, Krait are also > > enabled in this defconfig. But Cortex-A5/A8/A9,

RE: [RFC PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-09 Thread Huan Wang
Hi, Olof, > On Mon, Nov 9, 2015 at 6:53 PM, Alison Wang wrote: > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > defconfig and adds LPAE support. > > > > The platforms based on Cortex-A7/A12/A15/A17, PJ4B, Krait are also > > enabled in this defconfig.

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-11-05 Thread Huan Wang
Hi, Could you help to review this patch? Thanks. Best Regards, Alison Wang > On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote: > > Hrtimer based broadcast is used on ARM platform. It can be registered > > as the tick broadcast device in the absence of a real

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-05 Thread Huan Wang
> On Wednesday 04 November 2015 03:17:06 Huan Wang wrote: > > > On Tue, Oct 27, 2015 at 10:35:07PM +0800, Alison Wang wrote: > > > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > > > defconfig and adds LPAE support. > > > > >

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-05 Thread Huan Wang
> On Wednesday 04 November 2015 03:17:06 Huan Wang wrote: > > > On Tue, Oct 27, 2015 at 10:35:07PM +0800, Alison Wang wrote: > > > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > > > defconfig and adds LPAE support. > > > > >

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-11-05 Thread Huan Wang
Hi, Could you help to review this patch? Thanks. Best Regards, Alison Wang > On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote: > > Hrtimer based broadcast is used on ARM platform. It can be registered > > as the tick broadcast device in the absence of a real

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-04 Thread Huan Wang
> On 27 October 2015 at 16:35, Alison Wang wrote: > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > defconfig and adds LPAE support. > > > > This defconfig is verified on LS1021A which enables GIANFAR, I2C, > > WATCHDOG, AUDIO, EDMA and DSPI drivers, etc. > > > >

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-04 Thread Huan Wang
> On 27 October 2015 at 16:35, Alison Wang wrote: > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > defconfig and adds LPAE support. > > > > This defconfig is verified on LS1021A which enables GIANFAR, I2C, > > WATCHDOG, AUDIO, EDMA and DSPI drivers,

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-03 Thread Huan Wang
> On Tue, Oct 27, 2015 at 10:35:07PM +0800, Alison Wang wrote: > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > defconfig and adds LPAE support. > > > > This defconfig is verified on LS1021A which enables GIANFAR, I2C, > > WATCHDOG, AUDIO, EDMA and DSPI drivers, etc. > > > >

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-03 Thread Huan Wang
> On Tue, Oct 27, 2015 at 10:35:07PM +0800, Alison Wang wrote: > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > defconfig and adds LPAE support. > > > > This defconfig is verified on LS1021A which enables GIANFAR, I2C, > > WATCHDOG, AUDIO, EDMA and DSPI drivers, etc. > > > >

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-01 Thread Huan Wang
Hi, Shawn, Could you help to review this patch? If it's ok, could you help to merge it? Thanks. Best Regards, Alison Wang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Thursday, October 29, 2015 9:11 PM > To: Wang Huan-B18965 > Cc:

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-11-01 Thread Huan Wang
> On Tuesday 27 October 2015 14:40:21 Huan Wang wrote: > > > > > > Ok. What I was suggesting above though was to try to pinpoint > > > exactly where it goes wrong. You have verified that it does not > > > crash before the page tables are enabled, but that i

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-11-01 Thread Huan Wang
> On Tuesday 27 October 2015 14:40:21 Huan Wang wrote: > > > > > > Ok. What I was suggesting above though was to try to pinpoint > > > exactly where it goes wrong. You have verified that it does not > > > crash before the page tables are enabled, but that i

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-01 Thread Huan Wang
Hi, Shawn, Could you help to review this patch? If it's ok, could you help to merge it? Thanks. Best Regards, Alison Wang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Thursday, October 29, 2015 9:11 PM > To: Wang Huan-B18965 > Cc:

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-27 Thread Huan Wang
> On Thursday 15 October 2015 02:11:57 Huan Wang wrote: > > > On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan W

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-27 Thread Huan Wang
> On Thursday 15 October 2015 02:11:57 Huan Wang wrote: > > > On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang >

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-10-26 Thread Huan Wang
Hi, Mark, Could you comment this patch? It is based on your suggestion in https://patchwork.kernel.org/patch/6764231/ . Thanks. Best Regards, Alison Wang > -Original Message- > From: Alison Wang [mailto:b18...@freescale.com] > Sent: Friday, July 17, 2015 5:12 PM > To:

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-10-26 Thread Huan Wang
Hi, Mark, Could you comment this patch? It is based on your suggestion in https://patchwork.kernel.org/patch/6764231/ . Thanks. Best Regards, Alison Wang > -Original Message- > From: Alison Wang [mailto:b18...@freescale.com] > Sent: Friday, July 17, 2015 5:12 PM > To:

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-14 Thread Huan Wang
> On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > > > > > > > > wrote: > > > > >

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-14 Thread Huan Wang
> On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > > > > wrote: > > > > > > > [Alison Wang] Thanks for your reply. I agreed with you about > > > > creating a new mult

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-14 Thread Huan Wang
> On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > <alison.w...@freescale.com> > > > wrote: > > > > > > > [Alison Wang] Thanks for your reply. I agreed with

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-14 Thread Huan Wang
> On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > > > <alison.w...@freescale.com> > > > > > wrote: >

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-24 Thread Huan Wang
> On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > wrote: > > > [Alison Wang] Thanks for your reply. I agreed with you about creating > > a new multi_v7_lpae_defconfig. In multi_v7_lpae_defconfig, I need to > > add the following CONFIG_XX to support LS1021A ba

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-24 Thread Huan Wang
> On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang <alison.w...@freescale.com> > wrote: > > > [Alison Wang] Thanks for your reply. I agreed with you about creating > > a new multi_v7_lpae_defconfig. In multi_v7_lpae_defconfig, I need to > > add the following C

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-18 Thread Huan Wang
> On Thu, Sep 17, 2015 at 05:03:34PM +0800, Alison Wang wrote: > > Add Freescale LS1021A initial defconfig file. > > The LS1021A SoC is a dual-core Cortex-A7 based processor. > > > > LS1021A has some special configurations against imx_v6_v7_defconfig > > and multi_v7_defconfig, such as

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-18 Thread Huan Wang
> On Thu, Sep 17, 2015 at 05:03:34PM +0800, Alison Wang wrote: > > Add Freescale LS1021A initial defconfig file. > > The LS1021A SoC is a dual-core Cortex-A7 based processor. > > > > LS1021A has some special configurations against imx_v6_v7_defconfig > > and multi_v7_defconfig, such as

RE: [PATCH v2] audio: sai: Add Power Management support

2015-09-17 Thread Huan Wang
> On Mon, Sep 14, 2015 at 05:03:24PM +0800, Alison Wang wrote: > > This patch adds Power Management support for SAI. > > Activate regmap cache with REGCACHE_FLAT, and use regmap cache code > to > > save and restore registers in suspend and resume. The Transmit > Control > > Register > > (TCSR)

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-09-17 Thread Huan Wang
Hi, Shawn, > On Wed, Sep 16, 2015 at 08:22:56AM +0000, Huan Wang wrote: > > Hi, Shawn, > > > > > On Fri, Aug 28, 2015 at 5:04 AM, Huan Wang > > > > > > wrote: > > > > > > > I need Fabio's confirmation about removing CONFIG_SOC_LS102

RE: [PATCH v2] audio: sai: Add Power Management support

2015-09-17 Thread Huan Wang
> On Mon, Sep 14, 2015 at 05:03:24PM +0800, Alison Wang wrote: > > This patch adds Power Management support for SAI. > > Activate regmap cache with REGCACHE_FLAT, and use regmap cache code > to > > save and restore registers in suspend and resume. The Transmit > Control > > Register > > (TCSR)

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-09-17 Thread Huan Wang
Hi, Shawn, > On Wed, Sep 16, 2015 at 08:22:56AM +0000, Huan Wang wrote: > > Hi, Shawn, > > > > > On Fri, Aug 28, 2015 at 5:04 AM, Huan Wang > > > <alison.w...@freescale.com> > > > wrote: > > > > > > > I need Fabio's confirm

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-09-16 Thread Huan Wang
Hi, Shawn, > On Fri, Aug 28, 2015 at 5:04 AM, Huan Wang > wrote: > > > I need Fabio's confirmation about removing CONFIG_SOC_LS1021A from > imx_v6_v7_config. > > > > Fabio, Do you agree it? > > Yes, if Shawn accepts ls1021a_defconfig then we sho

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-09-16 Thread Huan Wang
Hi, Shawn, > On Fri, Aug 28, 2015 at 5:04 AM, Huan Wang <alison.w...@freescale.com> > wrote: > > > I need Fabio's confirmation about removing CONFIG_SOC_LS1021A from > imx_v6_v7_config. > > > > Fabio, Do you agree it? > > Yes, if Shawn accep

RE: [PATCH] ARM: ls1021a: add platform notifier for dma-coherent requirement

2015-09-07 Thread Huan Wang
Hi, Shawn, > On Fri, Aug 07, 2015 at 06:01:59PM +0800, Alison Wang wrote: > > This patch adds platform notifier for dma-coherent requirement. > > Structure arm_coherent_dma_ops is used instead of arm_dma_ops. > > > > Signed-off-by: Alison Wang > > --- > > arch/arm/mach-imx/mach-ls1021a.c | 30

RE: [PATCH] ARM: ls1021a: add platform notifier for dma-coherent requirement

2015-09-07 Thread Huan Wang
Hi, Shawn, > On Fri, Aug 07, 2015 at 06:01:59PM +0800, Alison Wang wrote: > > This patch adds platform notifier for dma-coherent requirement. > > Structure arm_coherent_dma_ops is used instead of arm_dma_ops. > > > > Signed-off-by: Alison Wang > > --- > >

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-08-28 Thread Huan Wang
Hi, Horia, > On 8/17/2015 6:42 AM, Wang Huan-B18965 wrote: > > Hi, Fabio, > > Please don't top post. > > > > > Based on the analysis and discussion, we prefer to use > ls1021a_defconfig and remove LS1021A from imx_v6_v7_defconfig. > > Alison, when you submit v4 for this patch (adding >

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-08-28 Thread Huan Wang
Hi, Horia, On 8/17/2015 6:42 AM, Wang Huan-B18965 wrote: Hi, Fabio, Please don't top post. Based on the analysis and discussion, we prefer to use ls1021a_defconfig and remove LS1021A from imx_v6_v7_defconfig. Alison, when you submit v4 for this patch (adding

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-08-16 Thread Huan Wang
Hi, Fabio, Based on the analysis and discussion, we prefer to use ls1021a_defconfig and remove LS1021A from imx_v6_v7_defconfig. Thanks. Best Regards, Alison Wang > On Fri, Aug 14, 2015 at 2:06 PM, Horia Geantă > wrote: > > > Another thing: > > Commit 385c0fb0e2c4 ("ARM:

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-08-16 Thread Huan Wang
Hi, Fabio, Based on the analysis and discussion, we prefer to use ls1021a_defconfig and remove LS1021A from imx_v6_v7_defconfig. Thanks. Best Regards, Alison Wang On Fri, Aug 14, 2015 at 2:06 PM, Horia Geantă horia.gea...@freescale.com wrote: Another thing: Commit

RE: [PATCH] arm: ls1021a: utilize hrtimer based broadcast mode

2015-07-14 Thread Huan Wang
Hi, Mark, > On Fri, Jul 10, 2015 at 10:39:05AM +0100, Alison Wang wrote: > > Hrtimer based broadcast mode is used instead of periodic tick > > broadcast to provide high resolution clock in SMP. > > > > Signed-off-by: Alison Wang > > --- > > arch/arm/mach-imx/mach-ls1021a.c | 11 +++ > >

RE: [PATCH] dts: ls1021a: audio: Add dts nodes for audio on LS1021A

2015-07-14 Thread Huan Wang
Shawn, > On Fri, Jul 03, 2015 at 11:58:32AM +0800, Alison Wang wrote: > > This patch adds dts nodes for audio on LS1021A. > > > > Signed-off-by: Alison Wang > > --- > > arch/arm/boot/dts/ls1021a-qds.dts | 71 > > +++ > > arch/arm/boot/dts/ls1021a-twr.dts | 63

RE: [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a

2015-07-14 Thread Huan Wang
Shawn, > On Mon, Jul 06, 2015 at 10:38:39AM +0800, Alison Wang wrote: > > From: Wang Dongsheng > > > > Add ftm0 node, cause of ftm0 can be set as a alarm before system > going > > to deep sleep. > > > > Signed-off-by: Wang Dongsheng > > Since you're forwarding the patch, you should add your

RE: [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a

2015-07-14 Thread Huan Wang
Shawn, On Mon, Jul 06, 2015 at 10:38:39AM +0800, Alison Wang wrote: From: Wang Dongsheng dongsheng.w...@freescale.com Add ftm0 node, cause of ftm0 can be set as a alarm before system going to deep sleep. Signed-off-by: Wang Dongsheng dongsheng.w...@freescale.com Since you're

RE: [PATCH] dts: ls1021a: audio: Add dts nodes for audio on LS1021A

2015-07-14 Thread Huan Wang
Shawn, On Fri, Jul 03, 2015 at 11:58:32AM +0800, Alison Wang wrote: This patch adds dts nodes for audio on LS1021A. Signed-off-by: Alison Wang alison.w...@freescale.com --- arch/arm/boot/dts/ls1021a-qds.dts | 71 +++

RE: [PATCH] arm: ls1021a: utilize hrtimer based broadcast mode

2015-07-14 Thread Huan Wang
Hi, Mark, On Fri, Jul 10, 2015 at 10:39:05AM +0100, Alison Wang wrote: Hrtimer based broadcast mode is used instead of periodic tick broadcast to provide high resolution clock in SMP. Signed-off-by: Alison Wang alison.w...@freescale.com --- arch/arm/mach-imx/mach-ls1021a.c | 11

Re: [PATCH] audio: sai: Add Power Management support

2014-10-30 Thread Huan Wang
Hi, Fabio, Please always add the driver maintainers (Xiubo Li and Nicolin Chen). [Alison Wang] ok, thanks for your reminder. On Wed, Oct 29, 2014 at 1:21 AM, Alison Wang wrote: > +#ifdef CONFIG_PM_SLEEP > +static int fsl_sai_suspend(struct device *dev) > +{ > + struct fsl_sai *sai =

Re: [PATCH] audio: sai: Add Power Management support

2014-10-30 Thread Huan Wang
Hi, On Wed, Oct 29, 2014 at 11:21:36AM +0800, Alison Wang wrote: > This patch adds Power Management support for SAI. > Activate regmap cache with REGCACHE_RBTREE, and use Are you sure that REGCACHE_RBTREE is the best option here? For MMIO devices the cost tradeoff for the rbtree is usually

Re: [PATCH] audio: sai: Add Power Management support

2014-10-30 Thread Huan Wang
Hi, On Wed, Oct 29, 2014 at 11:21:36AM +0800, Alison Wang wrote: This patch adds Power Management support for SAI. Activate regmap cache with REGCACHE_RBTREE, and use Are you sure that REGCACHE_RBTREE is the best option here? For MMIO devices the cost tradeoff for the rbtree is usually higher

Re: [PATCH] audio: sai: Add Power Management support

2014-10-30 Thread Huan Wang
Hi, Fabio, Please always add the driver maintainers (Xiubo Li and Nicolin Chen). [Alison Wang] ok, thanks for your reminder. On Wed, Oct 29, 2014 at 1:21 AM, Alison Wang b18...@freescale.com wrote: +#ifdef CONFIG_PM_SLEEP +static int fsl_sai_suspend(struct device *dev) +{ + struct