Thread (6 messages) 6 messages, 3 authors, 2020-11-22

Re: [RFC PATCH 1/3] leds: Add driver for QPNP flash led

flat view

From: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Date: 2020-11-08 16:53:03
Also in: linux-arm-msm, linux-devicetree, linux-leds, lkml

Hi Nicolas,

We have LED flash class framework since 2015. Please refer to the
following files:

Documentation/leds/leds-class-flash.rst
Documentation/ABI/testing/sysfs-class-led-flash
Documentation/devicetree/bindings/leds/common.yaml
drivers/leds/led-class-flash.c

Thare are also few LED flash drivers in the tree. Since there seems to
be boost feature present on the the device then you might want to
compare drivers/leds/leds-max77693.c with its bindings
Documentation/devicetree/bindings/mfd/max77693.txt (refer to LED part).

Please also remember to include DT bindings patch to your series.

On 11/6/20 5:58 PM, Nícolas F. R. A. Prado wrote:
Add driver for the QPNP flash LED. It works over SPMI and is part of the
PM8941 PMIC.

Signed-off-by: Nícolas F. R. A. Prado <redacted>
---
  drivers/leds/Kconfig     |    9 +
  drivers/leds/Makefile    |    1 +
  drivers/leds/leds-qpnp.c | 1351 ++++++++++++++++++++++++++++++++++++++
  3 files changed, 1361 insertions(+)
  create mode 100644 drivers/leds/leds-qpnp.c
-- 
Best regards,
Jacek Anaszewski

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help