public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/2]  Add LED driver for flash module in QCOM PMICs
@ 2023-03-03  9:50 Fenglin Wu
  2023-03-03  9:50 ` [PATCH v8 1/2] leds: flash: add driver to support flash LED " Fenglin Wu
  2023-03-03  9:50 ` [PATCH v8 2/2] dt-bindings: leds: add QCOM flash LED controller Fenglin Wu
  0 siblings, 2 replies; 11+ messages in thread
From: Fenglin Wu @ 2023-03-03  9:50 UTC (permalink / raw)
  To: linux-arm-msm, linux-kernel, lee, pavel, krzysztof.kozlowski
  Cc: quic_collinsd, quic_subbaram, quic_fenglinw

Initial driver and binding document changes for supporting flash LED
module in Qualcomm Technologies, Inc. PMICs.

Changes in V8:
  1. Introduce a helper function 'flcdev_to_qcom_fled()'.
  2. Rename 'struct qcom_flash_chip' as 'struct qcom_flash_data' and
     remove 'qcom_flash_led' data pointers from it to avoid interwoven
     reference. Also remove the 'dev' pointer.
  3. Remove 'v4l2_flash' data pointer in 'struct qcom_flash_led' and
     move it to 'struct qcom_flash_data'.
	
Changes in V7:
  1. Fix compilation issue reported by kernel test robot

Changes in V6:
  1. Update the driver to address review comments from Jones,Lee.

Changes in V5:
  1. Add MODULE_DEVICE_TABLE for auto-loading.

Changes in V4:
  1. Added Tested-By tag.
  2. Addressed review comments in the binding change and added
     Reviewed-by tag.

Changes in V3:
  1. Updated the driver to use regmap_field for register access.
  2. Adressed the review comments in binding document change.

Changes in V2:
  1. Addressed review comments in binding change, thanks Krzysztof!
  2. Updated driver to address the compilation issue reported by
     kernel test robot.


Fenglin Wu (2):
  leds: flash: add driver to support flash LED module in QCOM PMICs
  dt-bindings: leds: add QCOM flash LED controller

 .../bindings/leds/qcom,spmi-flash-led.yaml    | 116 +++
 drivers/leds/flash/Kconfig                    |  15 +
 drivers/leds/flash/Makefile                   |   1 +
 drivers/leds/flash/leds-qcom-flash.c          | 773 ++++++++++++++++++
 4 files changed, 905 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
 create mode 100644 drivers/leds/flash/leds-qcom-flash.c

-- 
2.25.1


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

end of thread, other threads:[~2023-03-28  8:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-03  9:50 [PATCH v8 0/2] Add LED driver for flash module in QCOM PMICs Fenglin Wu
2023-03-03  9:50 ` [PATCH v8 1/2] leds: flash: add driver to support flash LED " Fenglin Wu
2023-03-15 17:09   ` Lee Jones
2023-03-25 17:09   ` Pavel Machek
2023-03-27  4:30     ` Fenglin Wu
2023-03-25 17:33   ` Pavel Machek
2023-03-28  8:02     ` Fenglin Wu
2023-03-25 17:36   ` Pavel Machek
2023-03-28  8:13     ` Fenglin Wu
2023-03-03  9:50 ` [PATCH v8 2/2] dt-bindings: leds: add QCOM flash LED controller Fenglin Wu
2023-03-15 17:10   ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox