From: Patrick Gansterer <paroga@paroga.com>
To: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-fbdev@vger.kernel.org
Cc: Patrick Gansterer <paroga@paroga.com>, Lee Jones <lee@kernel.org>,
Daniel Thompson <daniel.thompson@linaro.org>,
Jingoo Han <jingoohan1@gmail.com>, Pavel Machek <pavel@ucw.cz>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Helge Deller <deller@gmx.de>,
Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH v6 0/2] backlight: Add new lm3509 backlight driver
Date: Sun, 26 May 2024 12:51:28 +0200 [thread overview]
Message-ID: <20240526105136.721529-1-paroga@paroga.com> (raw)
This is a general driver for LM3509 backlight chip of TI.
LM3509 is High Efficiency Boost for White LEDs and/or OLED Displays with
Dual Current Sinks. This driver supports OLED/White LED select, brightness
control and sub/main control.
The datasheet can be found at http://www.ti.com/product/lm3509.
---
Changes in v6:
Removed unnecessary allOf in device tree binding
v5: https://lore.kernel.org/all/20240330145931.729116-1-paroga@paroga.com/
Changes in v5:
Renamed lm3509_bl_led_pdata to lm3509_bl_led_data
Set backlight_properties.scale to BACKLIGHT_SCALE_NON_LINEAR
Add dev_err_probe() for first write to a register
Use dev_err_probe() instead of dev_err()
v4: https://lore.kernel.org/all/20240310135344.3455294-1-paroga@paroga.com/
Changes in v4:
Use backlight_*() to access backlight_device
Do not set backlight_properties.power
v3: https://lore.kernel.org/all/20240309132521.1290173-1-paroga@paroga.com/
Changes in v3:
Improved device tree bindings documentation
v2: https://lore.kernel.org/all/20240308215617.1729664-1-paroga@paroga.com/
Changes in v2:
Add device tree nodes for each output
Addressed multiple smaller review comments
v1: https://lore.kernel.org/all/20240302212757.1871164-1-paroga@paroga.com/
Patrick Gansterer (2):
dt-bindings: backlight: Add Texas Instruments LM3509
backlight: Add new lm3509 backlight driver
.../bindings/leds/backlight/ti,lm3509.yaml | 136 +++++++
drivers/video/backlight/Kconfig | 7 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/lm3509_bl.c | 340 ++++++++++++++++++
4 files changed, 484 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti,lm3509.yaml
create mode 100644 drivers/video/backlight/lm3509_bl.c
--
2.45.1
next reply other threads:[~2024-05-26 11:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-26 10:51 Patrick Gansterer [this message]
2024-05-26 10:51 ` [PATCH v6 1/2] dt-bindings: backlight: Add Texas Instruments LM3509 Patrick Gansterer
2024-05-26 10:51 ` [PATCH v6 2/2] backlight: Add new lm3509 backlight driver Patrick Gansterer
2024-05-31 14:12 ` [PATCH v6 0/2] " Lee Jones
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=20240526105136.721529-1-paroga@paroga.com \
--to=paroga@paroga.com \
--cc=conor+dt@kernel.org \
--cc=daniel.thompson@linaro.org \
--cc=deller@gmx.de \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=robh@kernel.org \
--cc=sam@ravnborg.org \
/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
all inboxes | Powered by JetHome®