Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #50348
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ian Campbell <ijc@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard |
| Date | Sat, 01 Aug 2015 12:00:02 +0200 |
| Message-ID | <pSBKa-16Q-5@gated-at.bofh.it> (permalink) |
| References | <pPuYx-en-1@gated-at.bofh.it> <pPIf8-2Nv-1@gated-at.bofh.it> <pPIyt-3am-1@gated-at.bofh.it> <pPJuz-4vX-33@gated-at.bofh.it> <pPJNV-4T4-13@gated-at.bofh.it> <pPK7g-5uX-5@gated-at.bofh.it> <pPKgV-5Gn-15@gated-at.bofh.it> <pPKJY-6e8-13@gated-at.bofh.it> <pPLmG-7cG-5@gated-at.bofh.it> <pPLmG-7cG-7@gated-at.bofh.it> <pPLmG-7cG-3@gated-at.bofh.it> <pQ9fj-85m-9@gated-at.bofh.it> <pQ9fj-85m-7@gated-at.bofh.it> <pQ9Im-bs-25@gated-at.bofh.it> <pRQUX-t0-37@gated-at.bofh.it> |
| X-Original-To | wens@csie.org |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -4.799 |
| Reply-To | Ian Campbell <ijc@debian.org>, 793185@bugs.debian.org |
| Original-Sender | ijc@hellion.org.uk |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 793185 |
| X-Debian-Pr-Package | src:linux |
| X-Debian-Pr-Source | linux |
| X-Spam-Bayes | score:0.0000 Tokens: new, 24; hammy, 150; neutral, 198; spammy, 0. spammytokens: hammytokens:0.000-+--UD:patch, 0.000-+--UD:kernel.org, 0.000-+--afaik, 0.000-+--AFAIK, 0.000-+--pipermail |
| Content-Type | text/plain; charset="ISO-8859-1" |
| X-Mailer | Evolution 3.16.3-1 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1195595 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <http://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 78 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | 793185@bugs.debian.org, Leonardo Canducci <leonardo.canducci@gmail.com>, Hans de Goede <hdegoede@redhat.com>, Maxime Ripard <maxime.ripard@free-electrons.com>, Thomas Kaiser <thomas.kaiser@phg-online.de>, linux-sunxi <linux-sunxi@googlegroups.com>, "Timo S." <m.silentcreek@gmail.com> |
| X-Original-Date | Sat, 01 Aug 2015 10:51:01 +0100 |
| X-Original-Message-ID | <1438422661.18644.9.camel@debian.org> |
| X-Original-References | <736b90b4-b000-4a79-817a-5e1b5c3605f3@googlegroups.com> <46ac4df1-b633-4244-8822-45be844af143@googlegroups.com> <55B21435.5040506@redhat.com> <e1b45ad6-6ea1-4ced-aa40-735aafcb91bf@googlegroups.com> <20150724115004.GD2564@lukather> <d01743f1-3513-4c44-8bcf-d3af19b801e0@googlegroups.com> <6c78647c-4d92-476c-a692-ee048cbce8ab@googlegroups.com> <2b493541-bf0d-4d60-a830-396b70a7ce95@googlegroups.com> <55B23677.2080709@redhat.com> <20150724131607.GI2564@lukather> <55B23C55.1060404@redhat.com> <CAPGGYnuT8y5chF=qtOBecakthvPz3L6CcM7mr26r2N4U_9Cu1g@mail.gmail.com> <CAGb2v67mPXotyOshaRTn9w0AAhG_bOgORgPr2Eip1TQWrQ0uGg@mail.gmail.com> <1437838228.28924.8.camel@debian.org> <CAGb2v67Ys2RLQSko=shLuuo-2LPD+K+BEXTa2p48Uns8Oe-5MQ@mail.gmail.com> |
| X-Original-Sender | ijc@hellion.org.uk |
| Xref | aioe.org linux.debian.bugs.dist:668643 linux.debian.kernel:50348 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Thu, 2015-07-30 at 15:47 +0800, Chen-Yu Tsai wrote:
> On Sat, Jul 25, 2015 at 11:30 PM, Ian Campbell <ijc@debian.org>
> wrote:
> > On Sat, 2015-07-25 at 22:54 +0800, Chen-Yu Tsai wrote:
> >> On Sat, Jul 25, 2015 at 10:46 PM, Leonardo Canducci
> >> <leonardo.canducci@gmail.com> wrote:
> >> > I got lost somewhere in that long thread but I saw cpufreq on
> >> cubie* works
> >> > for someone [0]. It's just a matter of loading two modules. I
> tried
> >> myself
> >> > on my jessie install (kernel from experimental) and can confirm
> >> that:
> >> >
> >> > leo@cubetto:~$ sudo modprobe axp20x-regulator
> >> > leo@cubetto:~$ sudo modprobe cpufreq-dt
> >> > leo@cubetto:~$ ls /sys/devices/system/cpu/cpu0/cpufreq/
> >> > affected_cpus related_cpus
> >> scaling_governor
> >> > cpuinfo_cur_freq scaling_available_frequencies
> >> scaling_max_freq
> >> > cpuinfo_max_freq scaling_available_governors >
> scaling_min_freq
> >> > cpuinfo_min_freq scaling_cur_freq
> >> scaling_setspeed
> >> > cpuinfo_transition_latency scaling_driver
> statsplatform_device_register_simple
> >> >
> >> > How do I make this change persistent?
> >>
> >> Add both module names to /etc/modules.
> >
> > Is there any way to arrange for these modules to be loaded
> > automatically without the user needing to configure it manually,
> like platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
> > any other h/w driver?
> >
> > I'd expect at least the axp20x-regulator driver to get autoloaded
> when
> > the relevant hardware is present. Not sure about the cpufreq-dt
> one, * In particular, when such drivers are built as modules, they can't be
* "hotplugged".
> > but should it not be loaded if the relevant nodes are present?
>
> cpufreq-dt is not a node in the DT. It is added in platform code.
> See arch/arm/mach-sunxi/sunxi.c.
That is this:
platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
> AFAIK all other users of cpufreq-dt use this method. Not sure how
> you can automatically detect this... Supposedly there wouldfeatures/all/cpufreq-dt-allow-driver-to-boot-automatically.patch
be
> an event to udev?
I would expect the register to emit something, perhaps all that is
missing is a suitable MODULE_ALIAS. Looking around there seems to be a
fair few MODULE_ALIAS("platform:foo") which appear to serve this
purpose.
...searches..., aha!:
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-June/350884.html
which is in v4.2-rc1 as:
http://git.kernel.org/linus/07949bf9c63c9a80027fe8452d5fe8b9ba9b3c23
I'll see about backporting that to the 4.1 kernel in Debian until we
move to 4.2.
Ian.
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 12:40 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 14:00 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 14:30 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard m.silentcreek@gmail.com - 2015-07-24 14:30 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 15:40 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Chen-Yu Tsai <wens@csie.org> - 2015-07-25 17:10 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Ian Campbell <ijc@debian.org> - 2015-07-25 17:40 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Chen-Yu Tsai <wens@csie.org> - 2015-07-30 10:00 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Ian Campbell <ijc@debian.org> - 2015-08-01 12:00 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Leonardo Canducci <leonardo.canducci@gmail.com> - 2015-07-25 17:10 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 15:40 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 16:10 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 15:40 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 15:40 +0200
Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard m.silentcreek@gmail.com - 2015-07-24 16:10 +0200
csiph-web