From: sashiko-bot@kernel.org
To: "Arthur Crepin Leblond" <arthur@marmottus.net>
Cc: linux-leds@vger.kernel.org, lee@kernel.org
Subject: Re: [PATCH 2/3] leds: leds-lp5569: Place the LED mapping table in the lower half of the SRAM
Date: Mon, 26 Oct 2026 14:02:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-185366@kernel.org> (raw)
In-Reply-To: <20261026-lp55xx-v1-2-6eaaf530115c@marmottus.net>
> The LED mapping instructions (map_start, load_end, map_addr, ...) take
> a 7-bits absolute SRAM address, so the mapping table must be in the
> lower half of the SRAM (0-127).
> The driver placed the muxing info after the engine programs, which
> these instructions cannot reach.
>
> Place the mapping tables in pages 0-2 and the engine programs after
> them.
>
> This changes the SRAM layout seen by userspace:
>
> - The program of engines 1/2/3 now starts at address 0x30/0x70/0xb0
> instead of 0x00/0x40/0x80 (ENGINEx_PROG_START).
> - The mapping of engines 1/2/3 is at address 0x00/0x10/0x20.
>
> Programs loaded through engineN_load or the firmware interface are not
> affected, since they are written relative to the start of the engine.
> Programs that use absolute SRAM addresses (map_start, load_end,
> load_addr, map_addr) must be updated to the new layout.
>
> Fixes: 30c6743cc89c ("leds: leds-lp5569: Add support for Texas Instruments LP5569")
> Signed-off-by: Arthur Crepin Leblond <arthur@marmottus.net>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261026-lp55xx-v1-0-6eaaf530115c@marmottus.net?part=2
next prev parent reply other threads:[~2026-10-26 14:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-26 13:55 [PATCH 0/3] leds: lp55xx: Fix the LP5569 LED mapping table placement Arthur Crepin Leblond
2026-10-26 13:55 ` [PATCH 1/3] leds: lp55xx: Add program and mux base pages to the device config Arthur Crepin Leblond
2026-10-26 13:59 ` sashiko-bot
2026-10-26 13:55 ` [PATCH 2/3] leds: leds-lp5569: Place the LED mapping table in the lower half of the SRAM Arthur Crepin Leblond
2026-10-26 14:02 ` sashiko-bot [this message]
2026-10-26 13:55 ` [PATCH 3/3] Documentation: leds: lp55xx: Add an LP5569 example Arthur Crepin Leblond
2026-10-26 14:00 ` sashiko-bot
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-185366@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=arthur@marmottus.net \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--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