From 4374dff6b20e28e6fe5a0d7280b5c1d254ee89bc Mon Sep 17 00:00:00 2001 From: mahj8 Date: Thu, 9 Dec 2021 16:56:18 +0800 Subject: [PATCH] arm/dts: remove charging led dtsi config As rhodec and rhodep hw don't have charging led, so remove charging led dtsi config Change-Id: I6d63ae1fdd735c03c13d051fa9884bffd2bcf2f1 Signed-off-by: mahj8 Reviewed-on: https://gerrit.mot.com/2139690 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/discrete_charging_holi.dtsi | 31 ------------------------------ qcom/discrete_charging_rhodep.dtsi | 31 ------------------------------ 2 files changed, 62 deletions(-) diff --git a/qcom/discrete_charging_holi.dtsi b/qcom/discrete_charging_holi.dtsi index b8140389c01d..4c74f78af041 100644 --- a/qcom/discrete_charging_holi.dtsi +++ b/qcom/discrete_charging_holi.dtsi @@ -29,37 +29,6 @@ bias-high-impedance; }; }; - - indicator_led { - indicator_led_default: indicator_led_default { - pins = "gpio8"; - function = "func1"; - output-low; - }; - }; -}; - -&soc { - indicator_led { - compatible = "qcom,indicator-pwm-led"; - pinctrl-names = "default"; - pinctrl-0 = <&indicator_led_default>; - indicator_led { - label = "charging"; - led-sources = <0>; - pwms = <&pm6125_pwm 0 1000000>; - linux,default-trigger = "timer"; - }; - }; -}; - -&spmi_bus { - qcom,pm6125@1 { - #address-cells = <1>; - qcom,pwms@b300 { - status = "ok"; - }; - }; }; &qupv3_se8_i2c { diff --git a/qcom/discrete_charging_rhodep.dtsi b/qcom/discrete_charging_rhodep.dtsi index fe86231e8f73..075f89110d0c 100644 --- a/qcom/discrete_charging_rhodep.dtsi +++ b/qcom/discrete_charging_rhodep.dtsi @@ -27,37 +27,6 @@ bias-high-impedance; }; }; - - indicator_led { - indicator_led_default: indicator_led_default { - pins = "gpio9"; - function = "func1"; - output-low; - }; - }; -}; - -&soc { - indicator_led { - compatible = "qcom,indicator-pwm-led"; - pinctrl-names = "default"; - pinctrl-0 = <&indicator_led_default>; - indicator_led { - label = "charging"; - led-sources = <0>; - pwms = <&pm6125_pwm 0 1000000>; - linux,default-trigger = "timer"; - }; - }; -}; - -&spmi_bus { - qcom,pm6125@1 { - #address-cells = <1>; - qcom,pwms@b300 { - status = "ok"; - }; - }; }; &qupv3_se10_i2c {