101-mvebu-dt-ARM-dts-turris-omnia-enable-LED-controller-node.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From fed7cef5e4f2df8c6a79bebf5da1fdd3783ff6f3 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <[email protected]>
  3. Date: Mon, 4 Jul 2022 13:36:22 +0200
  4. Subject: [PATCH] ARM: dts: turris-omnia: enable LED controller node
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. The LED controller node is disabled because the leds-turris-omnia driver
  9. does not support setting the LED blinking to be controlled by the MCU.
  10. The patches for that have now been sent [1], so let's enable the node.
  11. [1] https://lore.kernel.org/linux-leds/[email protected]/T/
  12. Signed-off-by: Marek Behún <[email protected]>
  13. ---
  14. arch/arm/boot/dts/armada-385-turris-omnia.dts | 7 ++-----
  15. 1 file changed, 2 insertions(+), 5 deletions(-)
  16. --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
  17. +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
  18. @@ -195,15 +195,13 @@
  19. reg = <0x2b>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. + status = "okay";
  23. /*
  24. * LEDs are controlled by MCU (STM32F0) at
  25. * address 0x2b.
  26. *
  27. - * The driver does not support HW control mode
  28. - * for the LEDs yet. Disable the LEDs for now.
  29. - *
  30. - * Also LED functions are not stable yet:
  31. + * LED functions are not stable yet:
  32. * - there are 3 LEDs connected via MCU to PCIe
  33. * ports. One of these ports supports mSATA.
  34. * There is no mSATA nor PCIe function.
  35. @@ -214,7 +212,6 @@
  36. * B. Again there is no such function defined.
  37. * For now we use LED_FUNCTION_INDICATOR
  38. */
  39. - status = "disabled";
  40. multi-led@0 {
  41. reg = <0x0>;