]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: qcm6490-shift-otter: Enable flash LED
authorCasey Connolly <casey.connolly@linaro.org>
Thu, 9 Oct 2025 09:06:34 +0000 (11:06 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Oct 2025 16:46:12 +0000 (11:46 -0500)
Describe the flash LED on this phone.

Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Link: https://lore.kernel.org/r/20251009-otter-further-bringup-v2-4-5bb2f4a02cea@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts

index 0ae6acbd60f55228fd21436d88486a56a87ffa0a..c23dc166d5610a339db0c99d2ce23dbf04ddb7e4 100644 (file)
        };
 };
 
+&pm8350c_flash {
+       status = "okay";
+
+       led-0 {
+               function = LED_FUNCTION_FLASH;
+               color = <LED_COLOR_ID_WHITE>;
+               led-sources = <1>, <2>;
+               led-max-microamp = <500000>;
+               flash-max-microamp = <1500000>;
+               flash-max-timeout-us = <1280000>;
+       };
+};
+
 &pmk8350_adc_tm {
        status = "okay";