linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add Turris Omnia LEDs driver
@ 2020-07-15 12:40 Marek Behún
  2020-07-15 12:40 ` [PATCH v4 1/2] dt-bindings: leds: add cznic,turris-omnia-leds binding Marek Behún
  2020-07-15 12:40 ` [PATCH v4 2/2] leds: initial support for Turris Omnia LEDs Marek Behún
  0 siblings, 2 replies; 9+ messages in thread
From: Marek Behún @ 2020-07-15 12:40 UTC (permalink / raw)
  To: linux-leds; +Cc: Pavel Machek, jacek.anaszewski, Dan Murphy, Marek Behún

Hi,

this version addresses Jacek's and Rob's discussion, see changes.
This applies on top of Pavel's tree after applying Dan's multicolor
framework patches (v30). Also on Linus' master tree the same way.

Marek

changes since v3:
- added a note in yaml scheme to the description of multi-led property
  that no subnodes for the specific channels are needed since this
  controller only supports RGB LEDs. A comment into the device-tree
  example in the yaml scheme is added saying the same thing.

changes since v2:
- using multicolor LED framework now, major rewrite
- added support for global brightness (Omnia has a button which can
  switch between 8 levels of intensity of all the LEDs at once, but
  in reality any value between 0% and 100% can be set, and we want to
  access this setting via software)

Marek Behún (2):
  dt-bindings: leds: add cznic,turris-omnia-leds binding
  leds: initial support for Turris Omnia LEDs

 .../leds/cznic,turris-omnia-leds.yaml         |  88 ++++++
 drivers/leds/Kconfig                          |  11 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-turris-omnia.c              | 296 ++++++++++++++++++
 4 files changed, 396 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
 create mode 100644 drivers/leds/leds-turris-omnia.c

-- 
2.26.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-16 10:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 12:40 [PATCH v4 0/2] Add Turris Omnia LEDs driver Marek Behún
2020-07-15 12:40 ` [PATCH v4 1/2] dt-bindings: leds: add cznic,turris-omnia-leds binding Marek Behún
2020-07-15 12:47   ` Dan Murphy
2020-07-15 13:02     ` Marek Behún
2020-07-15 12:40 ` [PATCH v4 2/2] leds: initial support for Turris Omnia LEDs Marek Behún
2020-07-15 13:27   ` Dan Murphy
2020-07-15 19:03     ` Marek Behún
2020-07-15 19:10       ` Dan Murphy
2020-07-16 10:32         ` Marek Behún

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).