Linux LED subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Peter LaDow" <pladow@gmail.com>
Cc: linux-leds@vger.kernel.org, lee@kernel.org
Subject: Re: [PATCH v2] leds: rgb: lp5860: Fix DOTONOFF register offsets
Date: Wed, 02 Dec 2026 23:24:55 +0000	[thread overview]
Message-ID: <sashiko-outbox-246711@kernel.org> (raw)
In-Reply-To: <20261202-fix-lp5860-dotonoff-register-offset-calculation-v2-1-341a53c20e6a@gmail.com>

> From: Peter LaDow <pladow@gmail.com>
> 
> In the TI LP5860, the 18 current sinks for each scan line are spread
> across three 8-bit registers (Dot_onoff0..2 for L0, Dot_onoff3..5 for
> L1, and so on, with bits [7:2] reserved in the third register of each
> line). The current driver assumes the dot enable bits are tightly
> packed across consecutive registers without padding, resulting in
> incorrect register offsets and bitmasks for lines after L0.
> 
> Calculate the target scan line first to determine the base register
> offset for that line, then compute the sub-register offset and bitmask
> for the current sink.
> 
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=222303
> Fixes: f0a66563aa2d ("leds: Add support for TI LP5860 LED driver chip")
> Signed-off-by: Peter LaDow <pladow@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-fix-lp5860-dotonoff-register-offset-calculation-v2-1-341a53c20e6a@gmail.com?part=1

      reply	other threads:[~2026-12-02 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 23:17 [PATCH v2] leds: rgb: lp5860: Fix DOTONOFF register offsets Peter LaDow via B4 Relay
2026-12-02 23:24 ` sashiko-bot [this message]

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=sashiko-outbox-246711@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pladow@gmail.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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