Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard
- To: 793185@bugs.debian.org, wens@csie.org
- Cc: 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>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>
- Subject: Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard
- From: Ian Campbell <ijc@debian.org>
- Date: Sat, 01 Aug 2015 13:50:04 +0100
- Message-id: <[🔎] 1438433404.18644.13.camel@debian.org>
- Reply-to: Ian Campbell <ijc@debian.org>, 793185@bugs.debian.org
- In-reply-to: <[🔎] 1438422661.18644.9.camel@debian.org>
- 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> <[🔎] 1438422661.18644.9.camel@debian.org>
On Sat, 2015-08-01 at 10:51 +0100, Ian Campbell wrote:
> 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.
It turns out that this patch while necessary is not sufficient and I
also needed the following for full cpufreq autoloading on Cubietruck
with Debian's modular kernel config.
Cheers,
Ian.
---->8-------
>From 38880ed1b26e8778268c1da41ab2bb52c6797947 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Sat, 1 Aug 2015 13:44:06 +0100
Subject: [PATCH] regulator: axp20x: Add module alias
This allows the module to be autoloaded.
Together with 07949bf9c63c ("cpufreq: dt: allow driver to boot
automatically") this is sufficient to allow a modular kernel (such
as Debian's) to enable cpufreq on a Cubietruck.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
---
drivers/regulator/axp20x-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
index e4331f5..2c82131 100644
--- a/drivers/regulator/axp20x-regulator.c
+++ b/drivers/regulator/axp20x-regulator.c
@@ -264,3 +264,4 @@ module_platform_driver(axp20x_regulator_driver);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Carlo Caione <carlo@caione.org>");
MODULE_DESCRIPTION("Regulator Driver for AXP20X PMIC");
+MODULE_ALIAS("platform:axp20x-regulator");
--
2.1.4
Reply to: