Skip to contentSkip to conversation

powerpc/configs: Enable LEDS support

PATCH Superseded Vasant Hegde 2 participants 3 messages Aug 25, 2015 – Aug 26, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/configs: Enable LEDS support

Commit 84ad6e5c added LEDS support for PowerNV platform. Lets update ppc64_defconfig to pick LEDS driver.

Presently PowerNV LEDS driver is specific to FSP based PowerNV platform. Hence added it as 'm'. So that we will be loaded only if we have required device tree support.

Also note that powernv LEDS driver needs NEW_LEDS and LEDS_CLASS as well. Hence added them to config file.

---
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
index a97efc2..6bc0ee4 100644
@@ -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 · 6 lines
2.1.0

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
#1 lore raw
Quoted 3 lines · Vasant Hegde

Presently PowerNV LEDS driver is specific to FSP based PowerNV platform. Hence added it as 'm'. So that we will be loaded only if we have required device tree support.

Currently the *firmware* support is FSP specific.

The driver should magically work on any OPAL machine that hooks up the OPAL calls and DT. Right?

The A in OPAL is for Abstraction, not P for Passthrough-to-fsp.

#2 lore raw
Quoted 4 lines · Stewart Smith
Quoted 3 lines · Vasant Hegde

Presently PowerNV LEDS driver is specific to FSP based PowerNV platform. Hence added it as 'm'. So that we will be loaded only if we have required device tree support.

Stewart,

Quoted 5 lines

Currently the *firmware* support is FSP specific.

The driver should magically work on any OPAL machine that hooks up the OPAL calls and DT. Right?

Yep. It will just work if we have appropriate device tree . I'll update the description and resend patch.

Quoted 3 lines

The A in OPAL is for Abstraction, not P for Passthrough-to-fsp.

:-)

-Vasant