032-v6.6-0004-ARM-dts-BCM53573-Drop-nonexistent-default-off-LED-tr.patch 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. From be7e1e5b0f67c58ec4be0a54db23b6a4fa6e2116 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Fri, 7 Jul 2023 13:40:01 +0200
  4. Subject: [PATCH] ARM: dts: BCM53573: Drop nonexistent "default-off" LED
  5. trigger
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. There is no such trigger documented or implemented in Linux. It was a
  10. copy & paste mistake.
  11. This fixes:
  12. arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dtb: leds: led-wlan:linux,default-trigger: 'oneOf' conditional failed, one must be fixed:
  13. 'default-off' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'disk-read', 'disk-write', 'timer', 'pattern', 'audio-micmute', 'audio-mute', 'bluetooth-power', 'flash', 'kbd-capslock', 'mtd', 'nand-disk', 'none', 'torch', 'usb-gadget', 'usb-host', 'usbport']
  14. 'default-off' does not match '^cpu[0-9]*$'
  15. 'default-off' does not match '^hci[0-9]+-power$'
  16. 'default-off' does not match '^mmc[0-9]+$'
  17. 'default-off' does not match '^phy[0-9]+tx$'
  18. From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
  19. Signed-off-by: Rafał Miłecki <[email protected]>
  20. Link: https://lore.kernel.org/r/[email protected]
  21. Signed-off-by: Florian Fainelli <[email protected]>
  22. ---
  23. arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 1 -
  24. arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts | 2 --
  25. 2 files changed, 3 deletions(-)
  26. --- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  27. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  28. @@ -26,7 +26,6 @@
  29. led-wlan {
  30. label = "bcm53xx:blue:wlan";
  31. gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  32. - linux,default-trigger = "default-off";
  33. };
  34. led-system {
  35. --- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
  36. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
  37. @@ -26,7 +26,6 @@
  38. led-5ghz {
  39. label = "bcm53xx:blue:5ghz";
  40. gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
  41. - linux,default-trigger = "default-off";
  42. };
  43. led-system {
  44. @@ -42,7 +41,6 @@
  45. led-2ghz {
  46. label = "bcm53xx:blue:2ghz";
  47. gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
  48. - linux,default-trigger = "default-off";
  49. };
  50. };