Commit 7a52967d authored by Luca Weiss's avatar Luca Weiss Committed by Bjorn Andersson

arm64: dts: qcom: sm7225-fairphone-fp4: Configure WLED

WLED is used for controlling the display backlight on this phone, so
configure the node and enable it.
Signed-off-by: default avatarLuca Weiss <luca.weiss@fairphone.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211229170358.2457006-5-luca.weiss@fairphone.com
parent fe508ced
......@@ -10,6 +10,7 @@
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sm7225.dtsi"
#include "pm6150l.dtsi"
#include "pm6350.dtsi"
/ {
......@@ -300,6 +301,14 @@ &mpss {
firmware-name = "qcom/sm7225/fairphone4/modem.mdt";
};
&pm6150l_wled {
status = "okay";
qcom,switching-freq = <800>;
qcom,current-limit-microamp = <20000>;
qcom,num-strings = <2>;
};
&pm6350_gpios {
gpio_keys_pin: gpio-keys-pin {
pins = "gpio2";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment