From: Denys Dmytriyenko <denys@ti.com>
To: matti kaasinen <matti.kaasinen@gmail.com>
Cc: meta-arago@arago-project.org
Subject: Re: am335x power management/dtb with fixed regulators
Date: Fri, 5 Jun 2015 11:34:16 -0400 [thread overview]
Message-ID: <20150605153416.GN27071@edge> (raw)
In-Reply-To: <CADnUhn0kCvX3JD4T2mfK9_ROdUmZOKPpTrAvobQhtcRy9bMXsw@mail.gmail.com>
I'd say this question is best suited for e2e forums:
https://e2e.ti.com/
--
Denys
On Fri, Jun 05, 2015 at 04:16:38PM +0300, matti kaasinen wrote:
> Hi!
>
> This is most likely a wrong forum. Please forward me to proper one if you
> know what.
>
> I try to make am335x based board to running on linux-ti-staging_3.14.bb
>
> Unfortunately this board has fixed regulators that am335 does not have any
> control at all. Board boots, but starts spitting following log:
>
> (1) [ 4.427294] cpu cpu0: of_pm_voltdm_notifier_register: Fail
> calculating voltage latency[1100000<->1260000]:-22
> (1b)[ 4.455935] PM: Voltage scaling data blob not provided from DT.
>
> (2) [ 6.332180] clk_set_rate: failed to set dpll_mpu_ck rate
> (3)[ 6.414665] cpu cpu0: clk_voltdm_notifier_handler: Failed to scale
> voltage(1100000): -22
> (4)[ 6.422953] cpufreq_cpu0: failed to set clock rate: -16
> (5)[ 6.428302] cpufreq: __cpufreq_driver_target: Failed to change cpu
> frequency: -16
> (6)[ 6.764032] cpu cpu0: clk_voltdm_notifier_handler: Failed to scale
> voltage(1260000): -22
>
> Thereafter log is repeting sequence (2)..(6)
> Places of log lines are as follows:
> (1)(3)(6): drivers/power/voltdm/core.c : of_pm_voltdm_notifier_register
> (2): drivers/clk/ti/clk.c : clk_set_rate
> (4): drivers/cpufreq/cpufreq-cpu0.c : __cpufreq_driver_target
> (5): drivers/cpufreq/cpufreq.c : __cpufreq_driver_target
>
> Possibly initial call is coming from (5) and others are coming function
> calls inside next call etc.
>
> In principle defconfig is defconfig of am335x-evm board with the exception
> that I have compiled
>
> am335x-pm-firmware.elf in kernel.
>
> I have defined device voltage regulators in device tree as follows:
>
> cpus {
> cpu@0 {
> cpu0-supply = <&vmpu_fixed>;
> };
> }; /* cpu */
> vmpu_fixed: fixedregulator@0 {
> compatible = "regulator-fixed";
> regulator-name = "vdd_mpu";
> regulator-min-microvolt = <1100000>;
> regulator-max-microvolt = <1100000>;
> regulator-always-on;
> regulator-boot-on;
> }; /* vmpu_fixed */
>
> I have not defined any regulators with voltage 1260000 microvolts
> unlike log lists.
>
> DT includes am33xx.dtsi, but I did not find that kind of definitions there.
>
> Thanks,
>
> Matti
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
prev parent reply other threads:[~2015-06-05 15:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 13:16 am335x power management/dtb with fixed regulators matti kaasinen
2015-06-05 15:34 ` Denys Dmytriyenko [this message]
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=20150605153416.GN27071@edge \
--to=denys@ti.com \
--cc=matti.kaasinen@gmail.com \
--cc=meta-arago@arago-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.