From: "Guido Günther" <agx@sigxcpu.org>
To: Jacek Anaszewski <jacek.anaszewski@gmail.com>,
Pavel Machek <pavel@ucw.cz>, Dan Murphy <dmurphy@ti.com>,
Kate Stewart <kstewart@linuxfoundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Enrico Weigelt <info@metux.net>,
Allison Randal <allison@lohutok.net>,
linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [RFC PATCH 0/1] leds: backlight: Register with class backlight
Date: Mon, 25 Nov 2019 15:47:57 +0100 [thread overview]
Message-ID: <cover.1574692624.git.agx@sigxcpu.org> (raw)
When using current LCD drivers as ledtrig backlight they're
not registered with the backlight device class. This has
two problems: they're usually not found by userspace since
these tools usually look in /sys/class/backlight and they
can't be used as backlight phandles in device tree for
e.g. LCD panels.
This is an RFC if this is worthwhile at all? A current problem
is that changing the LED brightness does currently not notify
the class backlight so they can get out of sync but i could
look into that if the approach makes sense.
Guido Günther (1):
leds: backlight: register with class backlight too
drivers/leds/trigger/ledtrig-backlight.c | 54 ++++++++++++++++++++++++
1 file changed, 54 insertions(+)
--
2.23.0
next reply other threads:[~2019-11-25 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-25 14:47 Guido Günther [this message]
2019-11-25 14:47 ` [RFC PATCH 1/1] leds: backlight: register with class backlight too Guido Günther
2019-11-25 18:19 ` [RFC PATCH 0/1] leds: backlight: Register with class backlight Jacek Anaszewski
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1574692624.git.agx@sigxcpu.org \
--to=agx@sigxcpu.org \
--cc=allison@lohutok.net \
--cc=dmurphy@ti.com \
--cc=info@metux.net \
--cc=jacek.anaszewski@gmail.com \
--cc=kstewart@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).