040-v6.4-0007-arm64-dts-broadcom-bcmbca-bcm4908-add-TP-Link-C2300-.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From e6d356b146b75f1f77621aab7950a1eb550859f9 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Tue, 28 Feb 2023 15:45:20 +0100
  4. Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm4908: add TP-Link C2300 USB
  5. LED triggers
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. This device has 2 USB LEDs meant to be triggered by devices in relevant
  10. USB ports.
  11. While at it fix typo in USB LED name.
  12. Signed-off-by: Rafał Miłecki <[email protected]>
  13. Link: https://lore.kernel.org/all/[email protected]/
  14. Signed-off-by: Florian Fainelli <[email protected]>
  15. ---
  16. .../dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts | 6 +++++-
  17. 1 file changed, 5 insertions(+), 1 deletion(-)
  18. --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
  19. +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
  20. @@ -64,12 +64,16 @@
  21. function = "usb2";
  22. color = <LED_COLOR_ID_BLUE>;
  23. gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
  24. + trigger-sources = <&ohci_port1>, <&ehci_port1>;
  25. + linux,default-trigger = "usbport";
  26. };
  27. led-usb3 {
  28. - function = "usbd3";
  29. + function = "usb3";
  30. color = <LED_COLOR_ID_BLUE>;
  31. gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
  32. + trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>;
  33. + linux,default-trigger = "usbport";
  34. };
  35. led-brightness {