[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <990bc3d5-40d7-46c8-9e14-192aac7fd2cc@oss.qualcomm.com>
Date: Wed, 7 Jan 2026 15:05:33 +0100
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Barnabás Czémán <barnabas.czeman@...nlining.org>,
Lee Jones <lee@...nel.org>, Daniel Thompson <danielt@...nel.org>,
Jingoo Han <jingoohan1@...il.com>, Pavel Machek <pavel@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Kiran Gunda <quic_kgunda@...cinc.com>, Helge Deller <deller@....de>,
Luca Weiss <luca@...aweiss.eu>, Konrad Dybcio <konradybcio@...nel.org>,
Eugene Lepshy <fekz115@...il.com>,
Gianluca Boiano <morf3089@...il.com>,
Alejandro Tafalla <atafalla@...on.com>
Cc: dri-devel@...ts.freedesktop.org, linux-leds@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Daniel Thompson <daniel.thompson@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-fbdev@...r.kernel.org
Subject: Re: [PATCH 2/5] backlight: qcom-wled: Support ovp values for PMI8950
On 1/7/26 2:31 PM, Barnabás Czémán wrote:
> WLED4 found in PMI8950 supports different ovp values.
>
> Fixes: 10258bf4534bf ("backlight: qcom-wled: Add PMI8950 compatible")
> Signed-off-by: Barnabás Czémán <barnabas.czeman@...nlining.org>
> ---
[...]
> case 4:
> - u32_opts = wled4_opts;
> - size = ARRAY_SIZE(wled4_opts);
> + if (of_device_is_compatible(dev->of_node, "qcom,pmi8950-wled")) {
> + u32_opts = pmi8950_wled4_opts;
> + size = ARRAY_SIZE(pmi8950_wled4_opts);
> + } else {
> + u32_opts = wled4_opts;
> + size = ARRAY_SIZE(wled4_opts);
> + }
I really don't like how this driver went about abstracting parsing
all of that, but that's not your fault
Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Konrad
Powered by blists - more mailing lists