diff options
| author | Junjie Cao <junjie.cao@linux.dev> | 2026-08-04 11:02:53 +0800 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-08-12 13:15:00 +0100 |
| commit | daf120e464386f750b3870dc04d5bc6a786f0000 (patch) | |
| tree | 33b827307ace3f2859b0f5d6ff717db329ff6a24 /scripts | |
| parent | ce6fc04113241c82a698f362f8dc6e1cc2f65448 (diff) | |
| download | linux-daf120e464386f750b3870dc04d5bc6a786f0000.tar.gz linux-daf120e464386f750b3870dc04d5bc6a786f0000.zip | |
backlight: aw99706: Fix DT property names to match binding
The driver reads four tuning properties without the unit suffixes that
the binding mandates: "awinic,sw-freq" instead of "awinic,sw-freq-hz",
"awinic,sw-ilmt" instead of "awinic,sw-ilmt-microamp", "awinic,iled-max"
instead of "awinic,iled-max-microamp", and "awinic,uvlo-thres" instead
of "awinic,uvlo-thres-microvolt".
As a result, device_property_read_u32() never finds these properties in
a binding-conformant device tree and silently falls back to the compiled-in
defaults for switching frequency, switching current limit, max LED current,
and UVLO threshold.
Fix by aligning the property name strings in aw99706_dt_props[] with the
binding. No value/range changes are needed since both sides already use
the same units and enumerations.
Fixes: 147b38a5ad06 ("backlight: aw99706: Add support for Awinic AW99706 backlight")
Cc: stable@vger.kernel.org
Signed-off-by: Junjie Cao <junjie.cao@linux.dev>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Link: https://patch.msgid.link/20260804030255.1934470-2-junjie.cao@intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
