* [PATCH] thermal: allow building dove_thermal with mvebu
@ 2014-05-30 12:28 Riku Voipio
2014-05-31 11:50 ` [PATCH v2] " Riku Voipio
0 siblings, 1 reply; 3+ messages in thread
From: Riku Voipio @ 2014-05-30 12:28 UTC (permalink / raw)
To: linux-arm-kernel
DT-enabled Dove has moved from ARCH_DOVE in mach-dove to MACH_DOVE
in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE to thermal Kconfig.
This was originally supposed to go in via "ARM: dove: prepare new Dove DT Kconfig"
patch from Sebastian Hesselbarth for 3.15, but slipped through the cracks.
I've tested on CuBox that without this patch you can't compile
dove_thermal into a mach-mvebu based kernel, and with this patch I can
build the driver and it works as expected run-time.
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: linux-pm at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
drivers/thermal/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 2d51912..5783c72 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -151,7 +151,7 @@ config KIRKWOOD_THERMAL
config DOVE_THERMAL
tristate "Temperature sensor on Marvell Dove SoCs"
- depends on ARCH_DOVE
+ depends on ARCH_DOVE ||?MACH_DOVE
depends on OF
help
Support for the Dove thermal sensor driver in the Linux thermal
--
2.0.0.rc2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2] thermal: allow building dove_thermal with mvebu
2014-05-30 12:28 [PATCH] thermal: allow building dove_thermal with mvebu Riku Voipio
@ 2014-05-31 11:50 ` Riku Voipio
2014-05-31 12:54 ` Sebastian Hesselbarth
0 siblings, 1 reply; 3+ messages in thread
From: Riku Voipio @ 2014-05-31 11:50 UTC (permalink / raw)
To: linux-arm-kernel
DT-enabled Dove has moved from ARCH_DOVE in mach-dove to MACH_DOVE
in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE to thermal Kconfig.
This was originally supposed to go in via "ARM: dove: prepare new Dove DT Kconfig"
patch from Sebastian Hesselbarth for 3.15, but slipped through the cracks.
I've tested on CuBox that without this patch you can't compile
dove_thermal into a mach-mvebu based kernel, and with this patch I can
build the driver and it works as expected run-time.
v2: non-ascii char creeped in somehow
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: linux-pm at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
drivers/thermal/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 2d51912..5783c72 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -151,7 +151,7 @@ config KIRKWOOD_THERMAL
config DOVE_THERMAL
tristate "Temperature sensor on Marvell Dove SoCs"
- depends on ARCH_DOVE
+ depends on ARCH_DOVE || MACH_DOVE
depends on OF
help
Support for the Dove thermal sensor driver in the Linux thermal
--
2.0.0.rc2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2] thermal: allow building dove_thermal with mvebu
2014-05-31 11:50 ` [PATCH v2] " Riku Voipio
@ 2014-05-31 12:54 ` Sebastian Hesselbarth
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Hesselbarth @ 2014-05-31 12:54 UTC (permalink / raw)
To: linux-arm-kernel
On 05/31/2014 01:50 PM, Riku Voipio wrote:
> DT-enabled Dove has moved from ARCH_DOVE in mach-dove to MACH_DOVE
> in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE to thermal Kconfig.
>
> This was originally supposed to go in via "ARM: dove: prepare new Dove DT Kconfig"
> patch from Sebastian Hesselbarth for 3.15, but slipped through the cracks.
>
> I've tested on CuBox that without this patch you can't compile
> dove_thermal into a mach-mvebu based kernel, and with this patch I can
> build the driver and it works as expected run-time.
Riku,
looking through my mails, the corresponding patch should have
already been applied [1].
If not, you get my
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
[1] https://lkml.kernel.org/r/1395295065.3571.10.camel at rzhang1-mobl4
> v2: non-ascii char creeped in somehow
>
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Eduardo Valentin <edubezval@gmail.com>
> Cc: linux-pm at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> ---
> drivers/thermal/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 2d51912..5783c72 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -151,7 +151,7 @@ config KIRKWOOD_THERMAL
>
> config DOVE_THERMAL
> tristate "Temperature sensor on Marvell Dove SoCs"
> - depends on ARCH_DOVE
> + depends on ARCH_DOVE || MACH_DOVE
> depends on OF
> help
> Support for the Dove thermal sensor driver in the Linux thermal
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-31 12:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 12:28 [PATCH] thermal: allow building dove_thermal with mvebu Riku Voipio
2014-05-31 11:50 ` [PATCH v2] " Riku Voipio
2014-05-31 12:54 ` Sebastian Hesselbarth
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).