From: Casey Connolly Date: Thu, 9 Oct 2025 09:06:34 +0000 (+0200) Subject: arm64: dts: qcom: qcm6490-shift-otter: Enable flash LED X-Git-Tag: v6.19-rc1~100^2~14^2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd302ea31af00eff7d8e2c9fb13209ea6959195;p=thirdparty%2Flinux.git arm64: dts: qcom: qcm6490-shift-otter: Enable flash LED Describe the flash LED on this phone. Signed-off-by: Casey Connolly Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov Reviewed-by: Pavel Machek Link: https://lore.kernel.org/r/20251009-otter-further-bringup-v2-4-5bb2f4a02cea@fairphone.com Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts index 0ae6acbd60f55..c23dc166d5610 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts @@ -610,6 +610,19 @@ }; }; +&pm8350c_flash { + status = "okay"; + + led-0 { + function = LED_FUNCTION_FLASH; + color = ; + led-sources = <1>, <2>; + led-max-microamp = <500000>; + flash-max-microamp = <1500000>; + flash-max-timeout-us = <1280000>; + }; +}; + &pmk8350_adc_tm { status = "okay";