[PATCH 1/2 v3] powerpc/fsl: Use new clockgen binding

2018-10-31 Thread Yuantian Tang
From: Scott Wood The driver retains compatibility with old device trees, but we don't want the old nodes lying around to be copied, or used as a reference (some of the mux options are incorrect), or even just being clutter. Signed-off-by: Scott Wood Signed-off-by: Tang Yuantian --- v3: - upd

[PATCH 2/2 v3] clk: qoriq: add more compatibles strings

2018-10-31 Thread Yuantian Tang
Add more SoC compatible strings to support more chips. Signed-off-by: Yuantian Tang --- v3: - undo deleting old bindings - split the dts and driver to different patchset .../devicetree/bindings/clock/qoriq-clock.txt |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff

[PATCH] powerpc/mpc85xx: fix issues in clock node

2018-08-13 Thread Yuantian Tang
The compatible string is not correct in the clock node. The clocks property refers to the wrong node too. This patch is to fix them. Signed-off-by: Tang Yuantian --- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/p

RE: [PATCH v3 2/2] cpufreq: qoriq: Don't look at clock implementation details

2016-07-20 Thread Yuantian Tang
ux...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; Yuantian Tang ; Yang-Leo Li > ; Xiaofeng Ren > Subject: Re: [PATCH v3 2/2] cpufreq: qoriq: Don't look at clock > implementation details > > On Thu, 2016-07-07 at 19:26 -0700, Michael Turquette wrote: > > Quoting S

RE: [PATCH v3 1/2] clk: Add consumer APIs for discovering possible parent clocks

2016-06-29 Thread Yuantian Tang
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, June 30, 2016 10:24 AM > To: Yuantian Tang > Cc: Scott Wood ; Russell King ; > Michael Turquette ; Stephen Boyd > ; Viresh Kumar ; linux- > c...@vger.kernel.org; linux...@v

RE: [PATCH v3 1/2] clk: Add consumer APIs for discovering possible parent clocks

2016-06-29 Thread Yuantian Tang
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, June 30, 2016 9:47 AM > To: Yuantian Tang > Cc: Scott Wood ; Russell King ; > Michael Turquette ; Stephen Boyd > ; Viresh Kumar ; linux- > c...@vger.kernel.org; linux...@v

RE: [PATCH v3 1/2] clk: Add consumer APIs for discovering possible parent clocks

2016-06-29 Thread Yuantian Tang
> ; Stephen Boyd ; > Viresh Kumar ; Rafael J. Wysocki > > Cc: linux-...@vger.kernel.org; linux...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; Yuantian Tang ; Yang-Leo Li > ; Xiaofeng Ren ; Scott Wood > > Subject: [PATCH v3 1/2] clk: Add consumer APIs for discoverin

RE: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Yuantian Tang
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 16, 2015 10:32 AM > To: Wang Dongsheng-B40534 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > robh...@kernel.org; linux-arm-ker...@lists.infradead.org; Wang Huan- > B18965 ; Jin Zhengxiong-R641

[PATCH v5] powerpc/rcpm: add RCPM driver

2015-06-26 Thread Yuantian . Tang
From: Tang Yuantian There is a RCPM (Run Control/Power Management) in Freescale QorIQ series processors. The device performs tasks associated with device run control and power management. The driver implements some features: mask/unmask irq, enter/exit low power states, freeze time base, etc. S

RE: [PATCH v3] powerpc/rcpm: add RCPM driver

2015-06-16 Thread Yuantian Tang
Please see my replay inline. Thanks, Yuantian > -Original Message- > From: Bob Cochran [mailto:p...@mindchasers.com] > Sent: Wednesday, June 17, 2015 2:00 AM > To: Tang Yuantian-B29983; Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336 > Subject: Re: [PATCH v3] p

RE: [PATCH v2] powerpc/rcpm: add RCPM driver

2015-06-12 Thread Yuantian Tang
That makes sense. Thanks for pointing out. Thanks, Yuantian > -Original Message- > From: Paul Bolle [mailto:pebo...@tiscali.nl] > Sent: Friday, June 12, 2015 4:58 PM > To: Tang Yuantian-B29983 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; linux- > ker...@vger.kernel.org; devicet

RE: [PATCH v3] powerpc/cache: add cache flush operation for various e500

2015-06-09 Thread Yuantian Tang
Please see my replay inline. From: Wood Scott-B07421 Sent: Wednesday, June 10, 2015 6:28 AM To: Tang Yuantian-B29983 Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org; Zhao Chenhui-B35336; Tang Yuantian Subject: Re: [PATCH v

RE: [PATCH] powerpc/config: add SCSI configs for corenet64_smp_defconfig

2015-04-02 Thread Yuantian Tang
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, April 03, 2015 7:56 AM > To: Tang Yuantian-B29983 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989 > Subject: Re: [PATCH] powerpc/config: add SCSI configs for > corenet64_smp_defconfig > > On Tue, 2015

RE: [PATCH v2 08/10] powerpc/corenet: Enable CLK_QORIQ

2015-02-03 Thread Yuantian Tang
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 21, 2015 6:04 PM > To: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; > mturque...@linaro.org; haoke...@gmail.com; Tang Yuantian-B29983 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH v

RE: [PATCH v2 09/10] clk: qoriq: Add support for the platform PLL

2015-01-28 Thread Yuantian Tang
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 21, 2015 6:04 PM > To: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; > mturque...@linaro.org; haoke...@gmail.com; Tang Yuantian-B29983 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH v

RE: [PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-21 Thread Yuantian Tang
Hello Emil, From the RM and your code, I didn't see any difference between the two type of PLL. Could you provide some use cases or feature that prove this is necessary? If there did have some features that current function didn't contain, can we expend the current one to include it? BTW: if y

RE: [PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-21 Thread Yuantian Tang
Hi Emil, I don't think it is the best to add a function that is very similar to existing one. If you think the function name is not appropriate, rename it. Thanks, Yuantian > -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 21, 2015

RE: [PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-20 Thread Yuantian Tang
Which platform are you trying to use this on? Can this be initialized by core pll function core_pll_init()? I just saw most of this function is silimar to the core_pll_init(). Thanks, Yuantian > -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Tuesday, J

RE: [PATCH 0/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-20 Thread Yuantian Tang
Hi Emil, Thanks for fixing those warnings. The patch set you based on is merged. I sent another two patches and one of them got merged. You probably need to rebase your patches. My patch link: http://patchwork.ozlabs.org/patch/429257/ http://patchwork.ozlabs.org/patch/429258/ Thanks, Yuantian >

RE: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2015-01-14 Thread Yuantian Tang
PING! Thanks, Yuantian > -Original Message- > From: Kevin Hao [mailto:haoke...@gmail.com] > Sent: Wednesday, December 03, 2014 4:54 PM > To: linuxppc-dev@lists.ozlabs.org > Cc: Benjamin Herrenschmidt; Wood Scott-B07421; Mike Turquette; Lu > Jingchang-B35083; Gerhard Sittig; Tang Yuantian-

RE: [PATCH v2 0/3] fix a kernel panic on fsl corenet board when CONFIG_CLK_PPC_CORENET is enabled

2014-11-26 Thread Yuantian Tang
Hello Mike, Could you please apply this patch? This patch has been acked for a while. Thanks, Yuantian > -Original Message- > From: Linuxppc-dev > [mailto:linuxppc-dev-bounces+b29983=freescale@lists.ozlabs.org] On > Behalf Of Scott Wood > Sent: Friday, November 07, 2014 12:08 PM > To

RE: [PATCH 2/2] cpufreq: qoriq: rename the driver

2014-11-21 Thread Yuantian Tang
Hello Viresh, When I use -C -M options, checkpatch reports error: [tangyt@titan linux-pm]$ ./scripts/checkpatch.pl 0002-cpufreq-qoriq-rename-the-driver.patch WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #15: drivers/cpufreq/{ppc-corenet-cpufreq.c => qoriq-cpufreq.

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-26 Thread Yuantian Tang
PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ > platforms > > On 21 October 2014 14:29, Yuantian Tang > wrote: > > If I do so, menuconfig will display like this(on PPC): > > PowerPC CPU frequency scaling drivers > > QorIQ CPU Frequency

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Yuantian Tang
> > -config PPC_CORENET_CPUFREQ > > - tristate "CPU frequency scaling driver for Freescale E500MC SoCs" > > - depends on PPC_E500MC && OF && COMMON_CLK > > +config QORIQ_CPUFREQ > > + tristate "CPU frequency scaling driver for Freescale QorIQ SoCs" > > + depends on OF && COM

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Yuantian Tang
> > #ifndef CONFIG_SMP > > static inline const struct cpumask *cpu_core_mask(int cpu) { @@ -79,6 > > +75,79 @@ static inline const struct cpumask *cpu_core_mask(int cpu) } > > #endif > > > > +#if defined(CONFIG_PPC_E500MC) > > Probably should just be CONFIG_PPC, but do we need this at all. Can't

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-19 Thread Yuantian Tang
Thanks for your comments. Your comments will be addressed in next version. Some explanations inline. Thanks, Yuantian > -Original Message- > From: Viresh Kumar [mailto:viresh.ku...@linaro.org] > Sent: Friday, October 17, 2014 4:09 PM > To: Tang Yuantian-B29983 > Cc: Rafael J. Wysocki; Li

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-19 Thread Yuantian Tang
Thanks for your comments. Will address them in next version. Also some explanations inline for your comments. Thanks, Yuantian > -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, October 17, 2014 4:04 PM > To: Tang Yuantian-B29983 > Cc: r...@rjwysoc

RE: [PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-10-07 Thread Yuantian Tang
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, September 30, 2014 7:58 AM > To: Tang Yuantian-B29983 > Cc: Mike Turquette; linuxppc-dev@lists.ozlabs.org; > linux-ker...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Lu Jingchang-B35083 > Subject: Re: [PATCHv4] cl

RE: [PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-09-27 Thread Yuantian Tang
> -Original Message- > From: Linuxppc-dev > [mailto:linuxppc-dev-bounces+b29983=freescale@lists.ozlabs.org] On > Behalf Of Mike Turquette > Sent: Saturday, September 27, 2014 7:29 AM > To: Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org; > linux-arm-k

RE: [PATCH] clk: corenet: Update the clock bindings

2014-01-23 Thread Yuantian Tang
> > > > > In any case, if "qoriq" makes sense for the compatible, I don't > > > > > see why it doesn't make sense for the driver. > > > > > > > > > So, "Corenet" is appropriate for driver. > > > > If something should change, that must be compatible string. > > > > > > No. Corenet is a bus intercon

RE: [PATCH] clk: corenet: Update the clock bindings

2014-01-23 Thread Yuantian Tang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2014年1月24日 星期五 10:36 > To: Tang Yuantian-B29983 > Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; > devicet...@vger.kernel.org; Kushwaha Prabhakar-B32579 > Subject: Re: [PATCH] clk: corenet: Update the clock bindings > >

RE: [PATCH] clk: corenet: Update the clock bindings

2014-01-23 Thread Yuantian Tang
> > > Instead, how about a note like this near the top of the file: > > > > > > All references to "1.0" and "2.0" refer to the QorIQ chassis version > > > to which the chip complies. > > > > > > Chassis Version Example Chips > > > --- - > > > 1.0

RE: [PATCH] clk: corenet: Update the clock bindings

2014-01-22 Thread Yuantian Tang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2014年1月23日 星期四 8:44 > To: Tang Yuantian-B29983 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; linuxppc- > d...@lists.ozlabs.org; devicet...@vger.kernel.org; Kushwaha Prabhakar- > B32579 > Subject: Re: [PATCH] clk: corenet: Update t

RE: [PATCH v9] clk: corenet: Adds the clock binding

2014-01-19 Thread Yuantian Tang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2014年1月18日 星期六 9:06 > To: Tang Yuantian-B29983 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; mark.rutl...@arm.com; > devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Li Yang-Leo- > R58472 > Subject: Re: [PATCH v9] clk:

RE: [PATCH v8] clk: corenet: Adds the clock binding

2014-01-12 Thread Yuantian Tang
Thanks for your review. Thanks, Yuantian > -Original Message- > From: Wood Scott-B07421 > Sent: 2014年1月11日 星期六 4:20 > To: Tang Yuantian-B29983 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; mark.rutl...@arm.com; > devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Li Yang-Leo

RE: 答复: [v7] clk: corenet: Adds the clock binding

2014-01-09 Thread Yuantian Tang
e: 答复: [v7] clk: corenet: Adds the clock binding > > > > > > On Wed, 2014-01-08 at 09:30 +, Mark Rutland wrote: > > > > On Wed, Jan 08, 2014 at 08:53:56AM +, Yuantian Tang wrote: > > > > > > > > > > ___

RE: 答复: [v7] clk: corenet: Adds the clock binding

2014-01-08 Thread Yuantian Tang
g > Subject: Re: 答复: [v7] clk: corenet: Adds the clock binding > > On Wed, 2014-01-08 at 09:30 +, Mark Rutland wrote: > > On Wed, Jan 08, 2014 at 08:53:56AM +, Yuantian Tang wrote: > > > > > > > > > 发件人:

答复: [v7] clk: corenet: Adds the clock binding

2014-01-08 Thread Yuantian Tang
发件人: Wood Scott-B07421 发送时间: 2014年1月8日 8:21 收件人: Tang Yuantian-B29983 抄送: ga...@kernel.crashing.org; mark.rutl...@arm.com; devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org 主题: Re: [v7] clk: corenet: Adds the clock binding On Wed, Nov 20, 2013 at

RE: [PATCH v7] clk: corenet: Adds the clock binding

2013-12-12 Thread Yuantian Tang
PING. Thanks, Yuantian > -Original Message- > From: Tang Yuantian-B29983 > Sent: 2013年11月20日 星期三 17:05 > To: ga...@kernel.crashing.org > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > mark.rutl...@arm.com; Wood Scott-B07421; grant.lik...@secretlab.ca; Tang > Yuantian-B29

RE: [PATCH v7] clk: corenet: Adds the clock binding

2013-11-21 Thread Yuantian Tang
Hi Scott, Do you have any comments about this patch? If not, please pick it up. Thanks, Yuantian > -Original Message- > From: Tang Yuantian-B29983 > Sent: 2013年11月20日 星期三 17:05 > To: ga...@kernel.crashing.org > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > mark.rutl...@

RE: [PATCH v6] clk: corenet: Adds the clock binding

2013-11-11 Thread Yuantian Tang
> > +++ b/Documentation/devicetree/bindings/clock/corenet-clock.txt > > @@ -0,0 +1,123 @@ > > +* Clock Block on Freescale CoreNet Platforms > > + > > +Freescale CoreNet chips take primary clocking input from the external > > +SYSCLK signal. The SYSCLK input (frequency) is multiplied using > > +mult