From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796253896; b=L4+g4K6i+7C4scibN+90Hk7n3iSOLFfkVRXam461+ZFpV48RCsOJQ1+GwwQIfalseWFL m96tH+N6HqWf9P0pXVd5/hfyddPd1W3jQJFR7cTIIbhUCSTAyylUtuG7vZloC+5tEepo3 pJngTwVw80t6NnWFpZzE1uapxMAabwBv3JW7/svWPZmknYC2XOeY4WQOps4HKm8HZs8mT fLqFmP0l/q/hM7D280zckIk9lz2KbEfP9gzr9b3tmHR5Cw3ZbKr+Gakab8DTyWAd9xeZE DgCDJf7DMWHhY60406wa424cuHkW10inclVo4mMqwNkO2Fbz+ETm3Ysnq02al+sB5aA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796253896; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=pV9XVbB8lAI4W0fYQOE0Rq07E05ixJREli/57iVfwq4=; b=Z94htfZSNKPFnUEp640zvRaGd+cLBeEQeac2jw886U6Y4fij+QsQW7qVkLifcL7QWAea Ji7Fs40xPZDgOYEbRs8+lKYQtOJITbJC7jum9XTNUo1FZUe/cuJ0mJ+0/q0z9NyRW9b+A I/NyygtsiCRZi/B9K/L8zETJ0mflq01qbV3OAU7k4tm0kCAycJmxh/bA27fY9yrfSUvC0 2+ZcAhBiBriwZ+2wy3bFC1PT2iQy8bgOLzvowQS8f3tO4vgStm23b4u0Cpkm6uL0B/yec 58II+hiF3JpzzPRv26lIr+AWLzUnO7iwB7qz5K3lOX+TpS9VMn4pzUeQd8FVw3HDZ3A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZW5jjG5R; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 112FB606A322 for ; Wed, 2 Dec 2026 23:24:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZW5jjG5R Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81CAF1F00896; Wed, 2 Dec 2026 23:24:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796253895; bh=pV9XVbB8lAI4W0fYQOE0Rq07E05ixJREli/57iVfwq4=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ZW5jjG5RaWFtK/qf7X5yvOd0pNvmvNmseS9Mggl0XkTfZoopyoBMtp+80MTwlsJuL BvJtOE61/68APulClHpqhP9jAwrTZEiVCfFUQ8tG3fCRk3PeI0vLzGAv7eejWoN2JQ inqtYUn+ufLyPRKkQPLBOtW55tsmigYq5Xj6y2eM4i836U6pSPxMnnSgsiHxPbRcbY WxpFtekSOvSy2JoE2hBXWp6rkcRhX3Ypwa+sA1Y5ju0REifxnl1O5w+hnTpUIHjpp8 18EYwiMofK0s+Ig+Pgct2UN5gLLwKl7TE8/6tpWN8dE1/KQUMphl5ZRmlCegcI/Ubl E8iIemnBiGdvw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2] leds: rgb: lp5860: Fix DOTONOFF register offsets Reply-To: sashiko-reviews@lists.linux.dev To: "Peter LaDow" Cc: linux-leds@vger.kernel.org, lee@kernel.org In-Reply-To: <20261202-fix-lp5860-dotonoff-register-offset-calculation-v2-1-341a53c20e6a@gmail.com> References: <20261202-fix-lp5860-dotonoff-register-offset-calculation-v2-1-341a53c20e6a@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 23:24:55 +0000 X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Peter LaDow >=20 > 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. >=20 > 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. >=20 > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=3D222303 > Fixes: f0a66563aa2d ("leds: Add support for TI LP5860 LED driver chip") > Signed-off-by: Peter LaDow Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202-fix-lp5860= -dotonoff-register-offset-calculation-v2-1-341a53c20e6a@gmail.com?part=3D1