diff options
author | Luca Weiss <luca.weiss@fairphone.com> | 2021-12-29 18:03:57 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-01-31 18:20:29 -0600 |
commit | fe508ced49dd51a700c0f9ec7826d523cfe621b2 (patch) | |
tree | c9709de493a42bb228f2b74c7757d3d5e7729c84 | |
parent | 5239ce22278a664c419e7afcbc38a93c6c569bc0 (diff) |
arm64: dts: qcom: pm6150l: Add wled node
WLED is used for controlling the backlight on some boards, add the node
for it.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211229170358.2457006-4-luca.weiss@fairphone.com
-rw-r--r-- | arch/arm64/boot/dts/qcom/pm6150l.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi index 3ca2860bb0cf..7aa2ef90cb6a 100644 --- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi @@ -52,5 +52,15 @@ reg = <0x5 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm6150l_wled: leds@d800 { + compatible = "qcom,pm6150l-wled"; + reg = <0xd800>, <0xd900>; + interrupts = <0x5 0xd8 0x1 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ovp"; + label = "backlight"; + + status = "disabled"; + }; }; }; |