linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] leds: pwm: add support for default-state device
@ 2020-03-21  8:15 Denis Osterland-Heim
  2020-03-21  8:15 ` [PATCH v4 5/5] leds: pwm: add reference to common leds for default-state Denis Osterland-Heim
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Denis Osterland-Heim @ 2020-03-21  8:15 UTC (permalink / raw)
  To: dmurphy, pavel, mark.rutland, jacek.anaszewski, robh+dt
  Cc: linux-kernel, linux-leds, devicetree

v3->v4:
 - remove deprecated unused pwm_id member from led_pwm
 - remove useless pwm_period_ns member from led_pwm
 - check return value of led_pwm_set() in led_pwm_add()
 - if period is 0 after pwm_get_state(), fall back to off state
   this avoids division by zero

 .../devicetree/bindings/leds/leds-pwm.txt          |  2 +
 drivers/leds/leds-pwm.c                            | 76 +++++++++++++++++++---
 include/linux/leds_pwm.h                           | 22 -------
 3 files changed, 68 insertions(+), 32 deletions(-)

Message-Id: 20200316124851.6303-1-Denis.Osterland@diehl.com





Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___________________________________________________________________________________________________

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/

The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. 
- For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/

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

end of thread, other threads:[~2020-03-31 17:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21  8:15 [PATCH v4 0/5] leds: pwm: add support for default-state device Denis Osterland-Heim
2020-03-21  8:15 ` [PATCH v4 5/5] leds: pwm: add reference to common leds for default-state Denis Osterland-Heim
2020-03-21 15:15   ` Pavel Machek
2020-03-22  7:59     ` Denis Osterland-Heim
2020-03-31 17:36   ` Rob Herring
2020-03-21  8:15 ` [PATCH v4 3/5] leds: pwm: check result of led_pwm_set() in led_pwm_add() Denis Osterland-Heim
2020-03-21 15:20   ` Pavel Machek
2020-03-21 17:13     ` Denis Osterland-Heim
2020-03-22  7:51       ` Denis Osterland-Heim
2020-03-22 14:56     ` Jacek Anaszewski
2020-03-23  6:09       ` Denis Osterland-Heim
2020-03-23  9:08         ` Denis Osterland-Heim
2020-03-21  8:15 ` [PATCH v4 2/5] leds: pwm: remove useless pwm_period_ns Denis Osterland-Heim
2020-03-21  8:15 ` [PATCH v4 1/5] leds: pwm: remove header Denis Osterland-Heim
2020-03-21  8:15 ` [PATCH v4 4/5] leds: pwm: add support for default-state device property Denis Osterland-Heim

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).