Hi,

On 01-08-15 14:50, Ian Campbell wrote:
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.

Makes sense, and the patch looks good. Can you please submit this upstream
to the regulator subsys maintainers?

I know that Mark is in the Cc, but this thread does not really look
like an official patch submission, I believe that a separate
patch submission using the standard procedure for those would be
good.

Thanks & Regards,

Hans




Cheers,
Ian.

---->8-------
 From 38880ed1b26e8778268c1da41ab2bb52c6797947 Mon Sep 17 00:00:00 2001
From: Ian Campbell <i...@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 <i...@hellion.org.uk>
Cc: Liam Girdwood <lgirdw...@gmail.com>
Cc: Mark Brown <broo...@kernel.org>
Cc: Signed-off-by: Chen-Yu Tsai <w...@csie.org>
Cc: Maxime Ripard <maxime.rip...@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 <ca...@caione.org>");
  MODULE_DESCRIPTION("Regulator Driver for AXP20X PMIC");
+MODULE_ALIAS("platform:axp20x-regulator");


--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to