Commit 7eedf7d6 authored by Joel Selvaraj's avatar Joel Selvaraj Committed by Bjorn Andersson

arm64: dts: qcom: sdm845-xiaomi-beryllium: enable flash led

Configure and enable the dual-tone on the PocoPhone F1
Signed-off-by: default avatarJoel Selvaraj <joelselvaraj.oss@gmail.com>
Signed-off-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231001-b4-sdm845-flash-dts-v1-2-275a3abb0b10@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 84b16087
......@@ -355,6 +355,28 @@ &pmi8998_charger {
status = "okay";
};
&pmi8998_flash {
status = "okay";
led-0 {
function = LED_FUNCTION_FLASH;
color = <LED_COLOR_ID_WHITE>;
led-sources = <1>;
led-max-microamp = <500000>;
flash-max-microamp = <1500000>;
flash-max-timeout-us = <1280000>;
};
led-1 {
function = LED_FUNCTION_FLASH;
color = <LED_COLOR_ID_YELLOW>;
led-sources = <2>;
led-max-microamp = <500000>;
flash-max-microamp = <1500000>;
flash-max-timeout-us = <1280000>;
};
};
&pm8998_resin {
linux,code = <KEY_VOLUMEDOWN>;
status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment