Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-25 Thread Geert Uytterhoeven
Hi Grant,

On Tue, Mar 24, 2015 at 11:54 PM, Grant Likely  wrote:
> On Fri, 20 Mar 2015 08:32:12 -0500
> , Rob Herring 
>  wrote:
>> On Fri, Mar 20, 2015 at 7:25 AM, Grant Likely  
>> wrote:
>> > On Fri, 23 Jan 2015 17:10:04 +0100
>> > , Geert Uytterhoeven 
>> >  wrote:
>> >> Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
>> >> selected automatically only when needed.
>> >>
>> >> Allow them to be enabled manually to improve device tree unit test
>> >> coverage.
>> >>
>> >> Signed-off-by: Geert Uytterhoeven 
>> >
>> > I like the change. Merged, thanks.
>>
>> Making OF_OVERLAY visible is already in 4.0-rc4.
>
> Yes, I modified the patch to fit.

I had seen Rob's comment, but due to travelling I hadn't sent an updated
version yet. Thanks for taking care!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-25 Thread Grant Likely
On Fri, 20 Mar 2015 08:32:12 -0500
, Rob Herring 
 wrote:
> On Fri, Mar 20, 2015 at 7:25 AM, Grant Likely  wrote:
> > On Fri, 23 Jan 2015 17:10:04 +0100
> > , Geert Uytterhoeven 
> >  wrote:
> >> Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
> >> selected automatically only when needed.
> >>
> >> Allow them to be enabled manually to improve device tree unit test
> >> coverage.
> >>
> >> Signed-off-by: Geert Uytterhoeven 
> >
> > I like the change. Merged, thanks.
> 
> Making OF_OVERLAY visible is already in 4.0-rc4.

Yes, I modified the patch to fit.

g.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-25 Thread Grant Likely
On Fri, 20 Mar 2015 08:32:12 -0500
, Rob Herring robherri...@gmail.com
 wrote:
 On Fri, Mar 20, 2015 at 7:25 AM, Grant Likely grant.lik...@linaro.org wrote:
  On Fri, 23 Jan 2015 17:10:04 +0100
  , Geert Uytterhoeven geert+rene...@glider.be
   wrote:
  Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
  selected automatically only when needed.
 
  Allow them to be enabled manually to improve device tree unit test
  coverage.
 
  Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be
 
  I like the change. Merged, thanks.
 
 Making OF_OVERLAY visible is already in 4.0-rc4.

Yes, I modified the patch to fit.

g.

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-25 Thread Geert Uytterhoeven
Hi Grant,

On Tue, Mar 24, 2015 at 11:54 PM, Grant Likely grant.lik...@linaro.org wrote:
 On Fri, 20 Mar 2015 08:32:12 -0500
 , Rob Herring robherri...@gmail.com
  wrote:
 On Fri, Mar 20, 2015 at 7:25 AM, Grant Likely grant.lik...@linaro.org 
 wrote:
  On Fri, 23 Jan 2015 17:10:04 +0100
  , Geert Uytterhoeven geert+rene...@glider.be
   wrote:
  Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
  selected automatically only when needed.
 
  Allow them to be enabled manually to improve device tree unit test
  coverage.
 
  Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be
 
  I like the change. Merged, thanks.

 Making OF_OVERLAY visible is already in 4.0-rc4.

 Yes, I modified the patch to fit.

I had seen Rob's comment, but due to travelling I hadn't sent an updated
version yet. Thanks for taking care!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say programmer or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-20 Thread Rob Herring
On Fri, Mar 20, 2015 at 7:25 AM, Grant Likely  wrote:
> On Fri, 23 Jan 2015 17:10:04 +0100
> , Geert Uytterhoeven 
>  wrote:
>> Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
>> selected automatically only when needed.
>>
>> Allow them to be enabled manually to improve device tree unit test
>> coverage.
>>
>> Signed-off-by: Geert Uytterhoeven 
>
> I like the change. Merged, thanks.

Making OF_OVERLAY visible is already in 4.0-rc4.

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-20 Thread Grant Likely
On Fri, 23 Jan 2015 17:10:04 +0100
, Geert Uytterhoeven 
 wrote:
> Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
> selected automatically only when needed.
> 
> Allow them to be enabled manually to improve device tree unit test
> coverage.
> 
> Signed-off-by: Geert Uytterhoeven 

I like the change. Merged, thanks.

g.

> ---
>  drivers/of/Kconfig | 13 +++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> index 38d1c51f58b108db..e9301686493933cc 100644
> --- a/drivers/of/Kconfig
> +++ b/drivers/of/Kconfig
> @@ -34,7 +34,11 @@ config OF_PROMTREE
>  # Hardly any platforms need this.  It is safe to select, but only do so if 
> you
>  # need it.
>  config OF_DYNAMIC
> - bool
> + bool "Support for dynamic device trees" if OF_UNITTEST
> + help
> +   On some platforms, the device tree can be manipulated at runtime.
> +   While this option is selected automatically on such platforms, you
> +   can enable it manually to improve device tree unit test coverage.
>  
>  config OF_ADDRESS
>   def_bool y
> @@ -84,9 +88,14 @@ config OF_RESOLVE
>   bool
>  
>  config OF_OVERLAY
> - bool
> + bool "Support for device tree overlays" if OF_UNITTEST
>   depends on OF
>   select OF_DYNAMIC
>   select OF_RESOLVE
> + help
> +   Overlays are a method to dynamically modify part of the kernel's
> +   device tree with dynamically loaded data.
> +   While this option is selected automatically when needed, you can
> +   enable it manually to improve device tree unit test coverage.
>  
>  endmenu # OF
> -- 
> 1.9.1
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-20 Thread Rob Herring
On Fri, Mar 20, 2015 at 7:25 AM, Grant Likely grant.lik...@linaro.org wrote:
 On Fri, 23 Jan 2015 17:10:04 +0100
 , Geert Uytterhoeven geert+rene...@glider.be
  wrote:
 Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
 selected automatically only when needed.

 Allow them to be enabled manually to improve device tree unit test
 coverage.

 Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be

 I like the change. Merged, thanks.

Making OF_OVERLAY visible is already in 4.0-rc4.

Rob
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-03-20 Thread Grant Likely
On Fri, 23 Jan 2015 17:10:04 +0100
, Geert Uytterhoeven geert+rene...@glider.be
 wrote:
 Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
 selected automatically only when needed.
 
 Allow them to be enabled manually to improve device tree unit test
 coverage.
 
 Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be

I like the change. Merged, thanks.

g.

 ---
  drivers/of/Kconfig | 13 +++--
  1 file changed, 11 insertions(+), 2 deletions(-)
 
 diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
 index 38d1c51f58b108db..e9301686493933cc 100644
 --- a/drivers/of/Kconfig
 +++ b/drivers/of/Kconfig
 @@ -34,7 +34,11 @@ config OF_PROMTREE
  # Hardly any platforms need this.  It is safe to select, but only do so if 
 you
  # need it.
  config OF_DYNAMIC
 - bool
 + bool Support for dynamic device trees if OF_UNITTEST
 + help
 +   On some platforms, the device tree can be manipulated at runtime.
 +   While this option is selected automatically on such platforms, you
 +   can enable it manually to improve device tree unit test coverage.
  
  config OF_ADDRESS
   def_bool y
 @@ -84,9 +88,14 @@ config OF_RESOLVE
   bool
  
  config OF_OVERLAY
 - bool
 + bool Support for device tree overlays if OF_UNITTEST
   depends on OF
   select OF_DYNAMIC
   select OF_RESOLVE
 + help
 +   Overlays are a method to dynamically modify part of the kernel's
 +   device tree with dynamically loaded data.
 +   While this option is selected automatically when needed, you can
 +   enable it manually to improve device tree unit test coverage.
  
  endmenu # OF
 -- 
 1.9.1
 

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-01-23 Thread Geert Uytterhoeven
Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
selected automatically only when needed.

Allow them to be enabled manually to improve device tree unit test
coverage.

Signed-off-by: Geert Uytterhoeven 
---
 drivers/of/Kconfig | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 38d1c51f58b108db..e9301686493933cc 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -34,7 +34,11 @@ config OF_PROMTREE
 # Hardly any platforms need this.  It is safe to select, but only do so if you
 # need it.
 config OF_DYNAMIC
-   bool
+   bool "Support for dynamic device trees" if OF_UNITTEST
+   help
+ On some platforms, the device tree can be manipulated at runtime.
+ While this option is selected automatically on such platforms, you
+ can enable it manually to improve device tree unit test coverage.
 
 config OF_ADDRESS
def_bool y
@@ -84,9 +88,14 @@ config OF_RESOLVE
bool
 
 config OF_OVERLAY
-   bool
+   bool "Support for device tree overlays" if OF_UNITTEST
depends on OF
select OF_DYNAMIC
select OF_RESOLVE
+   help
+ Overlays are a method to dynamically modify part of the kernel's
+ device tree with dynamically loaded data.
+ While this option is selected automatically when needed, you can
+ enable it manually to improve device tree unit test coverage.
 
 endmenu # OF
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST

2015-01-23 Thread Geert Uytterhoeven
Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
selected automatically only when needed.

Allow them to be enabled manually to improve device tree unit test
coverage.

Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be
---
 drivers/of/Kconfig | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 38d1c51f58b108db..e9301686493933cc 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -34,7 +34,11 @@ config OF_PROMTREE
 # Hardly any platforms need this.  It is safe to select, but only do so if you
 # need it.
 config OF_DYNAMIC
-   bool
+   bool Support for dynamic device trees if OF_UNITTEST
+   help
+ On some platforms, the device tree can be manipulated at runtime.
+ While this option is selected automatically on such platforms, you
+ can enable it manually to improve device tree unit test coverage.
 
 config OF_ADDRESS
def_bool y
@@ -84,9 +88,14 @@ config OF_RESOLVE
bool
 
 config OF_OVERLAY
-   bool
+   bool Support for device tree overlays if OF_UNITTEST
depends on OF
select OF_DYNAMIC
select OF_RESOLVE
+   help
+ Overlays are a method to dynamically modify part of the kernel's
+ device tree with dynamically loaded data.
+ While this option is selected automatically when needed, you can
+ enable it manually to improve device tree unit test coverage.
 
 endmenu # OF
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/