[PATCH v1 leds-next 0/3] Add Turris Omnia LED driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this adds basic support for LEDs on Turris Omnia.
There are 12 RGB LEDs. This patch series ignores the RGB capabilities.
The LEDs can also be put into HW triggering mode (and by default are on
system boot). This driver does not support this yet, and puts them into
SW mode upon probe.

Patch 1 adds the basic driver, only 2 mode brightness is supported (LEDs
are either ON or OFF).

Patch 2 adds device-tree binding documentation.

Patch 3 is OPTIONAL: it adds support for continuous brightness setting
via color setting register, so that not only ON/OFF modes are supported,
but also brightnesses inbetween.

Marek

Marek Behún (3):
  leds: Add basic support for Turris Omnia LEDs
  dt-bindings: leds: Document Turris Omnia LED controller binding
  leds: turris-omnia: Add support for continuous brightness

 .../bindings/leds/leds-turris-omnia.txt       |  36 +++
 drivers/leds/Kconfig                          |  12 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-turris-omnia.c              | 206 ++++++++++++++++++
 4 files changed, 255 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-turris-omnia.txt
 create mode 100644 drivers/leds/leds-turris-omnia.c

-- 
2.19.2




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux