Re: [PATCH v3 00/11] leds: ktd202x: Add Etek ET6326, hardware breathing and fixes

From: Lee Jones

Date: Thu Nov 26 2026 - 14:10:36 EST


On Thu, 19 Nov 2026 19:07:22 -0500, Joseph Telaak wrote:
> The Etek ET6326 drives the status LED of the GL.iNet GL-SFT1200 (Opal)
> router. It is register compatible with the Kinetic KTD2026, except for
> the flash period: Reg1 = n is (n + 1) * 128 ms on the ET6326 and
> 256 ms + n * 128 ms on the KTD202x. Patches 6 and 7 add it with the
> KTD2026 as fallback, so older kernels drive it with slightly off blinks.
>
> Patches 1 to 5 fix bugs that have been there since the driver was
> added, and come first so they can be applied on their own:
> - a blink shorter than 256 ms became a 16 s blink on 32 bit
> - with fewer LEDs in the DT than channels, as on this board, the driver
> read past the end of its LED array
> - a blink with a very short on time was programmed as never on
> - delays from the timer trigger that add up to 2^32 (or 2^64) divided
> by zero, and long blinks overflowed the on time on 32 bit
> - a blinking multicolor LED also lit its colors at brightness 0
>
> [...]

Applied, thanks!

[01/11] leds: rgb: ktd202x: Fix the flash period of short blinks on 32 bit
commit: 280cea5d04e30ca4be4f43a87e3fcc91a6cdb5e3
[02/11] leds: rgb: ktd202x: Fix an out-of-bounds read with unused channels
commit: 8cc3cc7d69aebf33972f26a1087e47be56abf5ab
[03/11] leds: rgb: ktd202x: Never program an on time of zero
commit: 8186b7a8675a76698c0dc8e168c082261a566c89
[04/11] leds: rgb: ktd202x: Fix a division by zero with long blinks
commit: a6cb0f219dc69db535ba7325fd8ed915f2b82483
[05/11] leds: rgb: ktd202x: Keep the unlit colors of a blinking LED off
commit: e99f5c1e90d29a8c2b8f0a3302d46e070a15bb99
[06/11] dt-bindings: leds: kinetic,ktd202x: Add Etek ET6326
commit: 687bf2fbf1cb94d9339e6171e7e53ec5ae4bb1c7
[07/11] leds: rgb: ktd202x: Add Etek ET6326 support
commit: 84c670760a749139d4c902f50a05185ab20bf2c8
[08/11] leds: rgb: ktd202x: Add hardware pattern support
commit: 72609d1f742cfe2292d3eb297a4f5e1b9751fe0b
[09/11] leds: rgb: ktd202x: Limit the LED current to led-max-microamp
commit: 264bad714fc2917560612183f2228305e555e86c
[10/11] leds: rgb: ktd202x: Fail the probe when the chip does not answer
commit: ce4bd4b6e549ae034e3b0be3f5f126f82f15d304
[11/11] leds: rgb: ktd202x: Don't let a blinking LED retime another one
commit: 4b39400401bc02c532977481344d0e54b166b9c7

--
Lee Jones [李琼斯]