From: Thomas Richard <thomas.richard@bootlin.com>
To: petri.karhula@novatron.fi, Lee Jones <lee@kernel.org>,
Daniel Thompson <danielt@kernel.org>,
Jingoo Han <jingoohan1@gmail.com>, Helge Deller <deller@gmx.de>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-fbdev@vger.kernel.org
Subject: Re: [PATCH v4 1/2] backlight: Add Congatec Board Controller (CGBC) backlight support
Date: Sat, 29 Nov 2025 11:27:56 +0100 [thread overview]
Message-ID: <a4edce66-d08a-4b82-9472-b22f2fdb34eb@bootlin.com> (raw)
In-Reply-To: <20251127-cgbc-backlight-v4-1-626523b7173d@novatron.fi>
On 11/27/25 4:21 PM, Petri Karhula via B4 Relay wrote:
> From: Petri Karhula <petri.karhula@novatron.fi>
>
> This driver provides backlight brightness control through the Linux
> backlight subsystem. It communicates with the board controller to
> adjust LCD backlight using PWM signals. Communication is done
> through Congatec Board Controller core driver.
>
[...]
> + bl_data->current_brightness = reply_buf[0] & BLT_PWM_DUTY_MASK;
> +
> + /* Verify the setting was applied correctly */
> + if (bl_data->current_brightness != brightness) {
> + dev_err(bl_data->dev,
> + "Brightness setting verification failed\n");
> + return -EIO;
> + }
I'm still not really convinced by other error messages, but okay let's
keep them. Maybe add current and requested brightnesses in this message,
it could be useful for debugging.
"Brightness setting verification failed (X instead of Y)"
Otherwise looks good to me. I will test your series
Reviewed-by: Thomas Richard <thomas.richard@bootlin.com>
Best Regards,
Thomas
next prev parent reply other threads:[~2025-11-29 10:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-27 15:21 [PATCH v4 0/2] Backlight driver to control backlight behind Congatec Board Controller Petri Karhula via B4 Relay
2025-11-27 15:21 ` [PATCH v4 1/2] backlight: Add Congatec Board Controller (CGBC) backlight support Petri Karhula via B4 Relay
2025-11-27 15:55 ` Daniel Thompson
2025-11-29 10:27 ` Thomas Richard [this message]
2025-12-01 13:13 ` Thomas Richard
2025-11-27 15:22 ` [PATCH v4 2/2] mfd: cgbc: Add support for backlight Petri Karhula via B4 Relay
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=a4edce66-d08a-4b82-9472-b22f2fdb34eb@bootlin.com \
--to=thomas.richard@bootlin.com \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=lee@kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=petri.karhula@novatron.fi \
/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;
as well as URLs for NNTP newsgroup(s).