From: sashiko-bot@kernel.org
To: "Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: linux-leds@vger.kernel.org, mfd@lists.linux.dev, lee@kernel.org
Subject: Re: [PATCH v6 3/4] mfd: aat2870: Convert to use OF bindings
Date: Wed, 04 Nov 2026 12:57:51 +0000 [thread overview]
Message-ID: <sashiko-outbox-197313@kernel.org> (raw)
In-Reply-To: <20261104123714.234634-4-clamor95@gmail.com>
> Conversion of the AAT2870 driver to use OF bindings requires a few complex
> changes that should be done simultaneously.
>
> The AAT2870 essentially provides two functions via child devices:
> backlight and regulators. Both functions are fairly self-sufficient and
> may not be populated on the final board. Consequently, the MFD
> registration API was replaced with of_platform_populate(), and each
> sub-device was given its own compatible string.
>
> Additionally, aat2870-core utilizes an enable GPIO. Obtaining this GPIO
> was converted to use modern gpiod/OF helpers, allowing the redundant
> aat2870_enable() and aat2870_disable() helpers to be removed.
>
> The aat2870-regulator driver was updated to register each of the four LDOs
> from a dedicated OF node using modern regulator framework.
>
> The aat2870-backlight driver was changed to populate all required
> properties from a dedicated Device Tree node. Its channel map was updated
> to use u8 instead of int. Furthermore, because the maximum current is now
> parsed as an absolute value rather than an enum entry, the calculation and
> application of the maximum current were updated accordingly.
>
> All of the changes above allow platform data to be removed entirely.
>
> Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> # for backlight
> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104123714.234634-1-clamor95@gmail.com?part=3
next prev parent reply other threads:[~2026-11-04 12:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 12:37 [PATCH v6 0/4] mfd: aat2870: Convert to use OF bindings Svyatoslav Ryhel
2026-11-04 12:37 ` [PATCH v6 1/4] dt-bindings: leds: Document Skyworks AAT2870 Svyatoslav Ryhel
2026-11-04 12:40 ` sashiko-bot
2026-11-04 12:37 ` [PATCH v6 2/4] backlight: aat2870: Derive brightness steps from max current Svyatoslav Ryhel
2026-11-04 12:44 ` sashiko-bot
2026-11-04 12:37 ` [PATCH v6 3/4] mfd: aat2870: Convert to use OF bindings Svyatoslav Ryhel
2026-11-04 12:57 ` sashiko-bot [this message]
2026-11-04 12:37 ` [PATCH v6 4/4] mfd: aat2870: Add support for VIN and IN-LDO power supplies Svyatoslav Ryhel
2026-11-04 13: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-197313@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=clamor95@gmail.com \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--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