Skip to content

Commit

Permalink
arm64: dts: qcom: pm8350c: Add flash led node
Browse files Browse the repository at this point in the history
Add a node for the led controller found on PM8350C, used for flash and
torch purposes.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20230919-fp5-initial-v2-4-14bb7cedadf5@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  • Loading branch information
lweiss-fairphone authored and andersson committed Sep 20, 2023
1 parent 8e2d56f commit bfd4412
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/pm8350c.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
#interrupt-cells = <2>;
};

pm8350c_flash: led-controller@ee00 {
compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led";
reg = <0xee00>;
status = "disabled";
};

pm8350c_pwm: pwm {
compatible = "qcom,pm8350c-pwm";
#pwm-cells = <2>;
Expand Down

0 comments on commit bfd4412

Please sign in to comment.