linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Support for Osram as3668 LED driver
@ 2025-05-30 18:42 Lukas Timmermann
  2025-05-30 18:42 ` [PATCH 1/2] leds: as3668: Driver for the ams Osram 4-channel i2c " Lukas Timmermann
  2025-05-30 18:42 ` [PATCH 2/2] dt-bindings: leds: Add new as3668 support Lukas Timmermann
  0 siblings, 2 replies; 3+ messages in thread
From: Lukas Timmermann @ 2025-05-30 18:42 UTC (permalink / raw)
  To: lee, pavel; +Cc: linux-leds, linux-kernel, Lukas Timmermann

This patch adds basic support for the as3668 driver IC via I2C interface. The IC is capable of driving four individual LEDs up to 25.5mA per channel. Hardware blinking would be theoretically possible, but this chip only supports a few set on/off-delays which makes using that feature unfeasable, therefore my driver doesn't offer that capability. It's intended applications is in mobile devices such as phones, tablets and cameras.

Please note: This is my first suggested patch to the kernel. checkpatch.pl runs without warnings or errors. I've read the docs in regards to the led subsystem, coding style and submission of patches, but I'm still a bit unsure about the general workflow. I will try my best.

Lukas Timmermann (2):
  leds: as3668: Driver for the ams Osram 4-channel i2c LED driver
  dt-bindings: leds: Add new as3668 support

 .../devicetree/bindings/leds/leds-as3668.yaml |  76 ++++++++
 drivers/leds/Kconfig                          |  10 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-as3668.c                    | 178 ++++++++++++++++++
 4 files changed, 265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-as3668.yaml
 create mode 100644 drivers/leds/leds-as3668.c

-- 
2.49.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-30 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-30 18:42 [PATCH 0/2] Support for Osram as3668 LED driver Lukas Timmermann
2025-05-30 18:42 ` [PATCH 1/2] leds: as3668: Driver for the ams Osram 4-channel i2c " Lukas Timmermann
2025-05-30 18:42 ` [PATCH 2/2] dt-bindings: leds: Add new as3668 support Lukas Timmermann

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).