From: sashiko-bot@kernel.org
To: "Paul Sajna" <sajattack@postmarketos.org>
Cc: linux-leds@vger.kernel.org, lee@kernel.org
Subject: Re: [PATCH v4 2/4] leds: aw2013: Add AW2027 support
Date: Sun, 08 Nov 2026 21:55:50 +0000 [thread overview]
Message-ID: <sashiko-outbox-204099@kernel.org> (raw)
In-Reply-To: <20261108-aw2013-aw20xx-rename-v4-2-826529beeb52@postmarketos.org>
> The AW2027 is basically the same as the AW2013.
>
> It differs in:
> - the max current (30mA rather than 15)
> - the number of current levels for colour-mixing (16 rather than 4)
> - the supply voltage max
> - the charge indicator (unsupported by our driver at this time)
>
> The max current register (imax) also moves from LCFG to GCR2, and the
> selectable current levels for colour-mixing (LCFG_CUR) take their place.
>
> The current driver implementation provided here sets the global imax to
> it's maximum, and scales each led to the closest value using the local
> imax. It's the best result achievable short of adding custom sysfs
> entries and mucking up the linux interfaces.
>
> Comparison of all AW20XX chips https://www.awinic.com/en/productCompareList?id=47&ids=1022,74,96,75,72,71,928,927,73,76,578
> AW2027 datasheet: https://doc.awinic.com/doc/202507/77b87097-27bf-48cd-af9b-9b615064c1e1.pdf
> Vendor driver: https://www.awinic.com/en/driver/AW2027DNR/454
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261108-aw2013-aw20xx-rename-v4-0-826529beeb52@postmarketos.org?part=2
next prev parent reply other threads:[~2026-11-08 21:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 21:49 [PATCH v4 0/4] leds: aw2013: Add AW2027 support Paul Sajna
2026-11-08 21:49 ` [PATCH v4 1/4] dt-bindings: leds: aw2013: Add awinic,aw2027 compatible Paul Sajna
2026-11-08 21:51 ` sashiko-bot
2026-11-08 21:49 ` [PATCH v4 2/4] leds: aw2013: Add AW2027 support Paul Sajna
2026-11-08 21:51 ` Paul Sajna
2026-11-08 21:55 ` sashiko-bot [this message]
2026-11-08 21:49 ` [PATCH v4 3/4] leds: aw2013: Use dev_err_probe Paul Sajna
2026-11-08 21:52 ` sashiko-bot
2026-11-08 21:49 ` [PATCH v4 4/4] leds: aw2013: Move assignment of chip->num_leds Paul Sajna
2026-11-08 22:00 ` sashiko-bot
2026-11-08 22:06 ` Paul Sajna
2026-11-08 22:08 ` [PATCH v4 0/4] leds: aw2013: Add AW2027 support Paul Sajna
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-204099@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=sajattack@postmarketos.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