powerpc/configs: Enable LEDS support
PATCH v2 1/1 powerpc/configs: Enable LEDS support
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.
---
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(+)
arch/powerpc/configs/ppc64_defconfig +3 -0
@@ -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
Signature · 1 line
2.1.0
Michael Ellerman
reviewerQuoted 12 lines · Vasant Hegde
Commit
84ad6e5cadded LEDS support for PowerNV platform. Lets updateppc64_defconfigto 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_LEDSandLEDS_CLASSas well. Hence added them to config file.Suggested-by Michael Ellerman <[email protected]>Signed-off-by Vasant Hegde <[email protected]>Cc Stewart Smith <[email protected]>
Quoted 7 lines
---
Changes in v2:
- As suggested by Stewart updated patch descriptionMichael,
This is PowerNV specific config. Hence I've not updatedpseries_defconfig. Let me know if you want me to updatepseries_defconfigconfig 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
Quoted 17 lines · Michael Ellerman
Quoted 16 lines · Vasant Hegde
Commit
84ad6e5cadded LEDS support for PowerNV platform. Lets updateppc64_defconfigto 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_LEDSandLEDS_CLASSas well. Hence added them to config file.Suggested-by Michael Ellerman <[email protected]>Signed-off-by Vasant Hegde <[email protected]>Cc Stewart Smith <[email protected]>---
Changes in v2:
- As suggested by Stewart updated patch description
Quoted 5 lines
Quoted 3 lines
Michael,
This is PowerNV specific config. Hence I've not updatedpseries_defconfig. Let me know if you want me to updatepseries_defconfigconfig as well.I've added it to
pseries_defconfigalso, no need to resend.
Thanks!
-Vasant
Quoted 6 lines · Vasant Hegde
Commit
84ad6e5cadded LEDS support for PowerNV platform. Lets updateppc64_defconfigto 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'.
Quoted 6 lines
Also note that powernv LEDS driver needs
NEW_LEDSandLEDS_CLASSas well. Hence added them to config file.Suggested-by Michael Ellerman <[email protected]>Signed-off-by Vasant Hegde <[email protected]>Cc Stewart Smith <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d690740f22f6520873f96e66
cheers