mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
arm64: dts: qcom: sm7225-fairphone-fp4: configure flash LED
Configure the pm6150l flash node for the dual flash LEDs found on FP4. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221209-fp4-pm6150l-flash-v1-3-531521eb2a72@fairphone.com
This commit is contained in:
parent
e48b2f1fb1
commit
1c17071449
|
|
@ -11,6 +11,7 @@
|
|||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
|
||||
#include "sm7225.dtsi"
|
||||
|
|
@ -372,6 +373,28 @@ &mpss {
|
|||
firmware-name = "qcom/sm7225/fairphone4/modem.mdt";
|
||||
};
|
||||
|
||||
&pm6150l_flash {
|
||||
status = "okay";
|
||||
|
||||
led-0 {
|
||||
function = LED_FUNCTION_FLASH;
|
||||
color = <LED_COLOR_ID_YELLOW>;
|
||||
led-sources = <1>;
|
||||
led-max-microamp = <180000>;
|
||||
flash-max-microamp = <1000000>;
|
||||
flash-max-timeout-us = <1280000>;
|
||||
};
|
||||
|
||||
led-1 {
|
||||
function = LED_FUNCTION_FLASH;
|
||||
color = <LED_COLOR_ID_WHITE>;
|
||||
led-sources = <2>;
|
||||
led-max-microamp = <180000>;
|
||||
flash-max-microamp = <1000000>;
|
||||
flash-max-timeout-us = <1280000>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm6150l_wled {
|
||||
status = "okay";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user