Linux-LEDs Archive on
 help / color / Atom feed
From: Denis Osterland-Heim <>
To: "" <>, "" <>,
	"" <>
Cc: "" <>,
	"" <>,
	"" <>,
	"" <>
Subject: [PATCH v7 0/3] leds: pwm: add support for default-state device
Date: Fri, 31 Jul 2020 16:51:20 +0000
Message-ID: <> (raw)

v6 -> v7: apply comments from Jacek
           refactore default state read to separate function
           and use it in leds-gpio and leds-pwm

@Pavel I hope that it is okay to keep your acked-by on 2/3,
       the logic is the same but with switch, in favour of if

 .../devicetree/bindings/leds/leds-pwm.txt          |  2 +
 drivers/leds/led-core.c                            | 15 +++++++
 drivers/leds/leds-gpio.c                           | 12 +-----
 drivers/leds/leds-pwm.c                            | 49 +++++++++++++++++++---
 drivers/leds/leds.h                                |  1 +
 include/linux/leds.h                               | 12 ++++--
 6 files changed, 72 insertions(+), 19 deletions(-)

Message-Id: <>
base-commit: 2742b4192a279c6ec72e55d5474c4c07756c7845

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

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

             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31 16:51 Denis Osterland-Heim [this message]
2020-07-31 16:51 ` [PATCH v7 2/3] leds: pwm: add support for default-state device property Denis Osterland-Heim
2020-07-31 16:51 ` [PATCH v7 3/3] leds: pwm: add reference to common leds for default-state Denis Osterland-Heim
2020-07-31 16:51 ` [PATCH v7 1/3] leds: move default_state read from fwnode to core Denis Osterland-Heim
2020-08-07  8:21   ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-LEDs Archive on

Archives are clonable:
	git clone --mirror linux-leds/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-leds linux-leds/ \
	public-inbox-index linux-leds

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone