linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: add COMPILE_TEST support for i.MX8MM
@ 2020-03-06 15:37 Anson Huang
  2020-03-07  2:30 ` Amit Kucheria
  2020-03-12 11:12 ` Daniel Lezcano
  0 siblings, 2 replies; 3+ messages in thread
From: Anson Huang @ 2020-03-06 15:37 UTC (permalink / raw)
  To: rui.zhang, daniel.lezcano, amit.kucheria, linux-pm, linux-kernel
  Cc: Linux-imx

Add COMPILE_TEST support to i.MX8MM thermal driver for better compile
testing coverage.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 4d6753f..91af271 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -265,7 +265,7 @@ config IMX_SC_THERMAL
 
 config IMX8MM_THERMAL
 	tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on OF
 	help
 	  Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] thermal: add COMPILE_TEST support for i.MX8MM
  2020-03-06 15:37 [PATCH] thermal: add COMPILE_TEST support for i.MX8MM Anson Huang
@ 2020-03-07  2:30 ` Amit Kucheria
  2020-03-12 11:12 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Amit Kucheria @ 2020-03-07  2:30 UTC (permalink / raw)
  To: Anson Huang; +Cc: Zhang Rui, Daniel Lezcano, Linux PM list, LKML, Linux-imx

On Fri, Mar 6, 2020 at 9:13 PM Anson Huang <Anson.Huang@nxp.com> wrote:
>
> Add COMPILE_TEST support to i.MX8MM thermal driver for better compile
> testing coverage.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>


> ---
>  drivers/thermal/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 4d6753f..91af271 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -265,7 +265,7 @@ config IMX_SC_THERMAL
>
>  config IMX8MM_THERMAL
>         tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
> -       depends on ARCH_MXC
> +       depends on ARCH_MXC || COMPILE_TEST
>         depends on OF
>         help
>           Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] thermal: add COMPILE_TEST support for i.MX8MM
  2020-03-06 15:37 [PATCH] thermal: add COMPILE_TEST support for i.MX8MM Anson Huang
  2020-03-07  2:30 ` Amit Kucheria
@ 2020-03-12 11:12 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2020-03-12 11:12 UTC (permalink / raw)
  To: Anson Huang, rui.zhang, amit.kucheria, linux-pm, linux-kernel; +Cc: Linux-imx

On 06/03/2020 16:37, Anson Huang wrote:
> Add COMPILE_TEST support to i.MX8MM thermal driver for better compile
> testing coverage.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---

Applied, thanks

>  drivers/thermal/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 4d6753f..91af271 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -265,7 +265,7 @@ config IMX_SC_THERMAL
>  
>  config IMX8MM_THERMAL
>  	tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
> -	depends on ARCH_MXC
> +	depends on ARCH_MXC || COMPILE_TEST
>  	depends on OF
>  	help
>  	  Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
> 


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-12 11:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06 15:37 [PATCH] thermal: add COMPILE_TEST support for i.MX8MM Anson Huang
2020-03-07  2:30 ` Amit Kucheria
2020-03-12 11:12 ` Daniel Lezcano

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).