diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2015-08-27 02:04:10 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-08-27 06:08:44 -0400 |
commit | d690740f22f6520873f96e66aae7119ec2215755 (patch) | |
tree | 2ac54ebe401e324ecea31c1579460c531f43b6cd | |
parent | 0e1ffef02cf94e46f95957af0f822531fecf741c (diff) |
powerpc/powernv: 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.
mpe: Also add them to pseries_defconfig, which is currently also used
for powernv systems.
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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/configs/ppc64_defconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/configs/pseries_defconfig | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig index a97efc2146fd..6bc0ee4b1070 100644 --- a/arch/powerpc/configs/ppc64_defconfig +++ b/arch/powerpc/configs/ppc64_defconfig | |||
@@ -355,3 +355,6 @@ CONFIG_CRYPTO_DEV_NX_ENCRYPT=m | |||
355 | CONFIG_VIRTUALIZATION=y | 355 | CONFIG_VIRTUALIZATION=y |
356 | CONFIG_KVM_BOOK3S_64=m | 356 | CONFIG_KVM_BOOK3S_64=m |
357 | CONFIG_KVM_BOOK3S_64_HV=m | 357 | CONFIG_KVM_BOOK3S_64_HV=m |
358 | CONFIG_NEW_LEDS=y | ||
359 | CONFIG_LEDS_CLASS=m | ||
360 | CONFIG_LEDS_POWERNV=m | ||
diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig index 2404271ec4ae..7991f37e5fe2 100644 --- a/arch/powerpc/configs/pseries_defconfig +++ b/arch/powerpc/configs/pseries_defconfig | |||
@@ -320,3 +320,6 @@ CONFIG_CRYPTO_DEV_NX_ENCRYPT=m | |||
320 | CONFIG_VIRTUALIZATION=y | 320 | CONFIG_VIRTUALIZATION=y |
321 | CONFIG_KVM_BOOK3S_64=m | 321 | CONFIG_KVM_BOOK3S_64=m |
322 | CONFIG_KVM_BOOK3S_64_HV=m | 322 | CONFIG_KVM_BOOK3S_64_HV=m |
323 | CONFIG_NEW_LEDS=y | ||
324 | CONFIG_LEDS_CLASS=m | ||
325 | CONFIG_LEDS_POWERNV=m | ||