From 277911330912dabc0847d0b187d68a59a753c210 Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Wed, 20 Jul 2022 17:09:04 +0800 Subject: [PATCH] ARM: dts: qcom: update flash device node for Kalama HHG Update flash device node to power indicator LEDs for Kalama HHG platform. Meanwhile, disable haptics device as it is not used on this platform. Change-Id: Ic6edbeb2abbe41c2239287fb9b41e76f54600e6e --- qcom/kalamap-hhg.dtsi | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/qcom/kalamap-hhg.dtsi b/qcom/kalamap-hhg.dtsi index e68c7c5b..5b756405 100644 --- a/qcom/kalamap-hhg.dtsi +++ b/qcom/kalamap-hhg.dtsi @@ -1 +1,51 @@ #include "kalama-qrd.dtsi" + +&pm8550b_haptics { + status = "disabled"; +}; + +&pm8550_flash { + /delete-node/ qcom,flash_0; + /delete-node/ qcom,flash_1; + /delete-node/ qcom,flash_2; + /delete-node/ qcom,flash_3; + /delete-node/ qcom,torch_0; + /delete-node/ qcom,torch_1; + /delete-node/ qcom,torch_2; + /delete-node/ qcom,torch_3; + /delete-node/ qcom,led_switch_0; + /delete-node/ qcom,led_switch_1; + /delete-node/ qcom,led_switch_2; + + qcom,indicator_0 { + label = "indicator"; + qcom,id = <0>; + qcom,led-name = "led:white"; + qcom,max-current-ma = <20>; + qcom,ires-ua = <5000>; + }; + + qcom,indicator_1 { + label = "indicator"; + qcom,id = <1>; + qcom,led-name = "led:blue"; + qcom,max-current-ma = <5>; + qcom,ires-ua = <5000>; + }; + + qcom,indicator_2 { + label = "indicator"; + qcom,id = <2>; + qcom,led-name = "led:green"; + qcom,max-current-ma = <5>; + qcom,ires-ua = <5000>; + }; + + qcom,indicator_3 { + label = "indicator"; + qcom,id = <3>; + qcom,led-name = "led:red"; + qcom,max-current-ma = <5>; + qcom,ires-ua = <5000>; + }; +};