From: Casey Connolly <[email protected]> Describe the flash LED on this phone.
Signed-off-by: Casey Connolly <[email protected]> Signed-off-by: Luca Weiss <[email protected]> --- arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts index ce794ca724db6deb39f7fae47912c3fefe974573..36cc67469615974c193ea3a9db1b2362869d56bb 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts @@ -619,6 +619,19 @@ volume_down_default: volume-down-default-state { }; }; +&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"; -- 2.51.0

