* [PATCH v2] powerpc/configs: Enable LEDS support
@ 2015-08-27 6:04 Vasant Hegde
2015-08-27 10:26 ` [v2] " Michael Ellerman
2015-08-27 21:58 ` Michael Ellerman
0 siblings, 2 replies; 4+ messages in thread
From: Vasant Hegde @ 2015-08-27 6:04 UTC (permalink / raw)
To: linuxppc-dev; +Cc: j.anaszewski, linux-leds, mpe, Vasant Hegde, Stewart Smith
Commit 84ad6e5c added LEDS support for PowerNV platform. Lets
update ppc64_defconfig to pick LEDS driver.
PowerNV LEDS driver looks for "/ibm,opal/leds" node in device
tree and loads if this node exists. Hence added it as 'm'.
Also note that powernv LEDS driver needs NEW_LEDS and LEDS_CLASS
as well. Hence added them to config file.
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
---
Changes in v2:
- As suggested by Stewart updated patch description
Michael,
This is PowerNV specific config. Hence I've not updated pseries_defconfig.
Let me know if you want me to update pseries_defconfig config as well.
Vasant
arch/powerpc/configs/ppc64_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
index a97efc2..6bc0ee4 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -355,3 +355,6 @@ CONFIG_CRYPTO_DEV_NX_ENCRYPT=m
CONFIG_VIRTUALIZATION=y
CONFIG_KVM_BOOK3S_64=m
CONFIG_KVM_BOOK3S_64_HV=m
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_POWERNV=m
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [v2] powerpc/configs: Enable LEDS support
2015-08-27 6:04 [PATCH v2] powerpc/configs: Enable LEDS support Vasant Hegde
@ 2015-08-27 10:26 ` Michael Ellerman
2015-08-27 11:42 ` Vasant Hegde
2015-08-27 21:58 ` Michael Ellerman
1 sibling, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2015-08-27 10:26 UTC (permalink / raw)
To: Vasant Hegde, linuxppc-dev
Cc: Vasant Hegde, j.anaszewski, linux-leds, Stewart Smith
On Thu, 2015-27-08 at 06:04:10 UTC, Vasant Hegde wrote:
> Commit 84ad6e5c added LEDS support for PowerNV platform. Lets
> update ppc64_defconfig to pick LEDS driver.
>
> PowerNV LEDS driver looks for "/ibm,opal/leds" node in device
> tree and loads if this node exists. Hence added it as 'm'.
>
> Also note that powernv LEDS driver needs NEW_LEDS and LEDS_CLASS
> as well. Hence added them to config file.
>
> Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
> Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
> ---
> Changes in v2:
> - As suggested by Stewart updated patch description
>
> Michael,
> This is PowerNV specific config. Hence I've not updated pseries_defconfig.
> Let me know if you want me to update pseries_defconfig config as well.
I've added it to pseries_defconfig also, no need to resend.
Currently pseries_defconfig is also used on powernv, though in the medium term
we should stop doing that.
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [v2] powerpc/configs: Enable LEDS support
2015-08-27 10:26 ` [v2] " Michael Ellerman
@ 2015-08-27 11:42 ` Vasant Hegde
0 siblings, 0 replies; 4+ messages in thread
From: Vasant Hegde @ 2015-08-27 11:42 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev; +Cc: j.anaszewski, linux-leds, Stewart Smith
On 08/27/2015 03:56 PM, Michael Ellerman wrote:
> On Thu, 2015-27-08 at 06:04:10 UTC, Vasant Hegde wrote:
>> Commit 84ad6e5c added LEDS support for PowerNV platform. Lets
>> update ppc64_defconfig to pick LEDS driver.
>>
>> PowerNV LEDS driver looks for "/ibm,opal/leds" node in device
>> tree and loads if this node exists. Hence added it as 'm'.
>>
>> Also note that powernv LEDS driver needs NEW_LEDS and LEDS_CLASS
>> as well. Hence added them to config file.
>>
>> Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
>> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
>> Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
>> ---
>> Changes in v2:
>> - As suggested by Stewart updated patch description
>>
>> Michael,
>> This is PowerNV specific config. Hence I've not updated pseries_defconfig.
>> Let me know if you want me to update pseries_defconfig config as well.
>
> I've added it to pseries_defconfig also, no need to resend.
Thanks!
-Vasant
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [v2] powerpc/configs: Enable LEDS support
2015-08-27 6:04 [PATCH v2] powerpc/configs: Enable LEDS support Vasant Hegde
2015-08-27 10:26 ` [v2] " Michael Ellerman
@ 2015-08-27 21:58 ` Michael Ellerman
1 sibling, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2015-08-27 21:58 UTC (permalink / raw)
To: Vasant Hegde, linuxppc-dev
Cc: Vasant Hegde, j.anaszewski, linux-leds, Stewart Smith
On Thu, 2015-27-08 at 06:04:10 UTC, Vasant Hegde wrote:
> Commit 84ad6e5c added LEDS support for PowerNV platform. Lets
> update ppc64_defconfig to pick LEDS driver.
>
> PowerNV LEDS driver looks for "/ibm,opal/leds" node in device
> tree and loads if this node exists. Hence added it as 'm'.
>
> Also note that powernv LEDS driver needs NEW_LEDS and LEDS_CLASS
> as well. Hence added them to config file.
>
> Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
> Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d690740f22f6520873f96e66
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-27 21:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27 6:04 [PATCH v2] powerpc/configs: Enable LEDS support Vasant Hegde
2015-08-27 10:26 ` [v2] " Michael Ellerman
2015-08-27 11:42 ` Vasant Hegde
2015-08-27 21:58 ` Michael Ellerman
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).