Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
arm64: dts: qcom: msm8998-oneplus-common: Enable PMI8998 LPG leds
Browse files Browse the repository at this point in the history
Now the RGB notification LEDs can each be controlled individually :)
  • Loading branch information
JamiKettunen committed Jun 28, 2021
1 parent 3ab00e5 commit 65209de
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,27 @@
qcom,battery-capacity-ua = <3300000>;
};

&pmi8998_lpg {
status = "okay";

qcom,power-source = <0>;

led@3 {
reg = <3>;
label = "blue";
};

led@4 {
reg = <4>;
label = "green";
};

led@5 {
reg = <5>;
label = "red";
};
};

&pmi8998_haptics {
status = "okay";

Expand Down

0 comments on commit 65209de

Please sign in to comment.