Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Joel Selvaraj and committed by
Bjorn Andersson
d20ad168 6209038f

+11
+11
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
··· 2 2 3 3 /dts-v1/; 4 4 5 + #include <dt-bindings/leds/common.h> 5 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 7 8 #include <dt-bindings/sound/qcom,q6afe.h> ··· 317 316 input-enable; 318 317 bias-pull-up; 319 318 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 319 + }; 320 + }; 321 + 322 + &pmi8998_lpg { 323 + status = "okay"; 324 + 325 + led@5 { 326 + reg = <5>; 327 + color = <LED_COLOR_ID_WHITE>; 328 + function = LED_FUNCTION_STATUS; 320 329 }; 321 330 }; 322 331