From: Pavel Machek <pavel@ucw.cz>
To: Dylan Van Assche <me@dylanvanassche.be>
Cc: dmurphy@ti.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] leds: gpio: Set max brightness to 1
Date: Thu, 18 Feb 2021 14:23:43 +0100 [thread overview]
Message-ID: <20210218132343.GA12948@duo.ucw.cz> (raw)
In-Reply-To: <20210125200856.1976-1-me@dylanvanassche.be>
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
On Mon 2021-01-25 21:08:57, Dylan Van Assche wrote:
> GPIO LEDs only know 2 states: ON or OFF and do not have PWM capabilities.
> However, the max brightness is reported as 255.
>
> This patch sets the max brightness value of a GPIO controlled LED to 1.
>
> Tested on my PinePhone 1.2.
>
> Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
I believe I have applied this already.
Thanks for patches,
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2021-02-18 15:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-25 20:08 Dylan Van Assche
2021-02-18 13:23 ` Pavel Machek [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-29 18:15 Dylan Van Assche
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=20210218132343.GA12948@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=dmurphy@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=me@dylanvanassche.be \
/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
all inboxes | Powered by JetHome®