linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] leds: turris-omnia: updates
@ 2023-09-18 16:11 Marek Behún
  2023-09-18 16:11 ` [PATCH v4 1/4] leds: turris-omnia: do not use SMBUS calls Marek Behún
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marek Behún @ 2023-09-18 16:11 UTC (permalink / raw)
  To: Lee Jones, linux-leds; +Cc: Marek Behún

Hello Lee,

I am sending version 4 of Turris Omnia's LED controller updates.
I tried to address the issues you mentioned:
- I made the omnia_cmd_read_raw() function to return the number of read
  bytes on success
- I have renamed omnia_cmd_read() to omnia_cmd_read_u8() since it always
  reads one byte. The function returns the read byte on success and
  a negative errno on failure
- accordingly, I have renamed omnia_cmd_write() to omnia_cmd_write_u8(),
  and made it so that it returns the number of written bytes on success
- the newly added comments now start with a capital letter

Marek

Marek Behún (4):
  leds: turris-omnia: do not use SMBUS calls
  leds: turris-omnia: make set_brightness() more efficient
  leds: turris-omnia: support HW controlled mode via private trigger
  leds: turris-omnia: add support for enabling/disabling HW gamma
    correction

 .../sysfs-class-led-driver-turris-omnia       |  14 +
 drivers/leds/Kconfig                          |   1 +
 drivers/leds/leds-turris-omnia.c              | 352 ++++++++++++++++--
 3 files changed, 329 insertions(+), 38 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-09-21 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-18 16:11 [PATCH v4 0/4] leds: turris-omnia: updates Marek Behún
2023-09-18 16:11 ` [PATCH v4 1/4] leds: turris-omnia: do not use SMBUS calls Marek Behún
2023-09-18 16:11 ` [PATCH v4 2/4] leds: turris-omnia: make set_brightness() more efficient Marek Behún
2023-09-18 16:11 ` [PATCH v4 3/4] leds: turris-omnia: support HW controlled mode via private trigger Marek Behún
2023-09-18 16:11 ` [PATCH v4 4/4] leds: turris-omnia: add support for enabling/disabling HW gamma correction Marek Behún
2023-09-21 10:51 ` [PATCH v4 0/4] leds: turris-omnia: updates Lee Jones

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