linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shawn.guo@freescale.com (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2] ARM: imx: add cpufreq support for i.mx6sx
Date: Thu, 26 Jun 2014 13:54:32 +0800	[thread overview]
Message-ID: <20140626055431.GC7859@dragon> (raw)
In-Reply-To: <CAOMZO5BDirj-5E0ha1iDzNSC1-+Exwo1QbZiP-7viDSpBqtEtQ@mail.gmail.com>

On Wed, Jun 25, 2014 at 10:23:01PM -0300, Fabio Estevam wrote:
> Hi Anson,
> 
> On Wed, Jun 25, 2014 at 6:10 AM, Anson Huang <b20788@freescale.com> wrote:
> > Add cpufreq support for i.MX6SX, using common
> > i.MX6Q cpufreq driver.
> >
> > Signed-off-by: Anson Huang <b20788@freescale.com>
> > ---
> >  arch/arm/mach-imx/mach-imx6sx.c |    3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c
> > index 74ff7d6..9221e1d 100644
> > --- a/arch/arm/mach-imx/mach-imx6sx.c
> > +++ b/arch/arm/mach-imx/mach-imx6sx.c
> > @@ -42,6 +42,9 @@ static void __init imx6sx_init_irq(void)
> >  static void __init imx6sx_init_late(void)
> >  {
> >         imx6q_cpuidle_init();
> > +
> > +       if (IS_ENABLED(CONFIG_ARM_IMX6Q_CPUFREQ))
> > +               platform_device_register_simple("imx6q-cpufreq", -1, NULL, 0);
> >  }
> 
> With this patch applied I get a flood of these messages:
> 
> cpu cpu0: failed to scale vddpu up: -22
> cpufreq: __target_index: Failed to change cpu frequency: -22
> cpu cpu0: failed to scale vddpu up: -22
> cpufreq: __target_index: Failed to change cpu frequency: -22
> cpu cpu0: failed to scale vddpu up: -22
> cpufreq: __target_index: Failed to change cpu frequency: -22

So it's because the driver change for imx6sx hasn't been in place.  I
just dropped the patch from my branch for now, and will revisit later
when driver part shows up on my branch.  (Unfortunately, that will be
next cycle).

Shawn

  parent reply	other threads:[~2014-06-26  5:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  9:10 [PATCH V2] ARM: imx: add cpufreq support for i.mx6sx Anson Huang
2014-06-25  9:33 ` Viresh Kumar
2014-06-25 16:14 ` Shawn Guo
2014-06-26  1:23 ` Fabio Estevam
2014-06-26  1:55   ` Fabio Estevam
2014-06-26  2:53   ` Anson.Huang at freescale.com
2014-06-26  3:06     ` Fabio Estevam
2014-06-26  3:11       ` Fabio Estevam
2014-06-26  3:15         ` Anson.Huang at freescale.com
2014-06-26  3:21           ` Fabio Estevam
2014-06-26  3:21         ` Shawn Guo
2014-06-26  5:54   ` Shawn Guo [this message]
2014-06-26  7:34     ` Anson.Huang at freescale.com
2014-08-18  5:24     ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140626055431.GC7859@dragon \
    --to=shawn.guo@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).