[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251103110648.878325-1-caojunjie650@gmail.com>
Date: Mon, 3 Nov 2025 19:06:46 +0800
From: Junjie Cao <caojunjie650@...il.com>
To: 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>,
Helge Deller <deller@....de>
Cc: dri-devel@...ts.freedesktop.org,
linux-leds@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-fbdev@...r.kernel.org,
Pengyu Luo <mitltlatltl@...il.com>,
Junjie Cao <caojunjie650@...il.com>
Subject: [PATCH v2 0/2] backlight: aw99706: Add support for Awinic AW99706 backlight
From: Pengyu Luo <mitltlatltl@...il.com>
Add support for Awinic AW99706 backlight, which can be found in
tablet and notebook backlight, one case is the Lenovo Legion Y700
Gen4. This driver refers to the official datasheets and android
driver, they can be found in [1].
[1] https://www.awinic.com/en/productDetail/AW99706QNR
Signed-off-by: Junjie Cao <caojunjie650@...il.com>
---
base-commit: 72fb0170ef1f45addf726319c52a0562b6913707
---
Changes in v2:
- add handler for max-brightness and default-brightness
- add properties(max-brightness, default-brightness) (Krzysztof)
- use proper units for properties (Krzysztof)
- drop non-fixed properties (Krzysztof)
- include default values in the aw99706_dt_props table (Daniel)
- warn when a property value from DT is invalid (Daniel)
- drop warning when optional properties are missing (Daniel)
- add a function pointer into the aw99706_dt_props table to handle lookup (Daniel)
- use a lookup function instead of hardcoding the formula for the iLED max (Daniel)
- move BL enalbe handler into aw99706_update_brightness (Daniel)
- Link to v1: https://lore.kernel.org/linux-leds/20251026123923.1531727-3-caojunjie650@gmail.com
Junjie Cao (2):
dt-bindings: leds: backlight: Add Awinic AW99706 backlight
backlight: aw99706: Add support for Awinic AW99706 backlight
.../leds/backlight/awinic,aw99706.yaml | 100 ++++
MAINTAINERS | 6 +
drivers/video/backlight/Kconfig | 8 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/aw99706.c | 492 ++++++++++++++++++
5 files changed, 607 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml
create mode 100644 drivers/video/backlight/aw99706.c
--
2.51.1.dirty
Powered by blists - more mailing lists