Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aab10c39 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

leds: qpnp-flash-v2: Add support for bharger flash



PMI632 flash is driven by the charger in reverse boost
(bharger) mode instead of the BoB regulator. Add the
necessary changes to support the same.

Change-Id: I9166f470f2fdffb12f1c90b1758f606ead2f131a
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 35b04fac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -119,6 +119,8 @@ Optional properties:
			  2: Flash strobe is used for LED1; GPIO9 is used for LED2; GPIO10 is used for LED3
- switchX-supply		: phandle of the regulator that needs to be used
				  as a supply for flash switch_X device.
- qcom,bst-pwm-ovrhd-uv		: Charger flash VPH overhead. Applicable for PMI632 only.
				  Supported values (in mV) are: 300, 400, 500, 600. Default is 300.

Child node: Contains settings for each individual LED. Each LED channel needs a flash node and
torch node for itself, and an individual switch node to serve as an overall switch.
+499 −121

File changed.

Preview size limit exceeded, changes collapsed.