818-MIPS-ath79-add-nu801-led-driver.patch 926 B

1234567891011121314151617181920212223242526
  1. --- a/drivers/leds/Kconfig
  2. +++ b/drivers/leds/Kconfig
  3. @@ -568,6 +568,13 @@ config LEDS_SEAD3
  4. comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
  5. +config LEDS_NU801
  6. + tristate "LED driver for NU801 RGB LED"
  7. + depends on LEDS_CLASS && (ATH79_MACH_MR18 || ATH79_MACH_Z1)
  8. + help
  9. + This option enables support for NU801 RGB LED driver chips
  10. + accessed via GPIO.
  11. +
  12. config LEDS_BLINKM
  13. tristate "LED support for the BlinkM I2C RGB LED"
  14. depends on LEDS_CLASS
  15. --- a/drivers/leds/Makefile
  16. +++ b/drivers/leds/Makefile
  17. @@ -55,6 +55,7 @@ obj-$(CONFIG_LEDS_ADP5520) += leds-adp5
  18. obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
  19. obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
  20. obj-$(CONFIG_LEDS_RB750) += leds-rb750.o
  21. +obj-$(CONFIG_LEDS_NU801) += leds-nu801.o
  22. obj-$(CONFIG_LEDS_NS2) += leds-ns2.o
  23. obj-$(CONFIG_LEDS_NETXBIG) += leds-netxbig.o
  24. obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o