mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
arm64: dts: qcom: sdm845-xiaomi-beryllium: add notification LED
The Poco F1 has a single color white notification LED. Enable the Qualcomm Light Pulse Generator (LPG) driver based notification LED. Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230313154226.136726-1-joelselvaraj.oss@gmail.com
This commit is contained in:
parent
6209038f13
commit
d20ad168b7
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
|
|
@ -319,6 +320,16 @@ vol_up_pin_a: vol-up-active-state {
|
|||
};
|
||||
};
|
||||
|
||||
&pmi8998_lpg {
|
||||
status = "okay";
|
||||
|
||||
led@5 {
|
||||
reg = <5>;
|
||||
color = <LED_COLOR_ID_WHITE>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
};
|
||||
};
|
||||
|
||||
&pmi8998_wled {
|
||||
status = "okay";
|
||||
qcom,current-boost-limit = <970>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user