mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-07 09:09:23 +00:00
arm64: dts: qcom: sdm632-fairphone-fp3: Add notification LED
The phone features a notification LED connected to the pmi632. Configure the RGB led found on it. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230414-pmi632-v3-2-079d2cada699@z3ntu.xyz
This commit is contained in:
parent
a1f0f2ebb0
commit
0c4f10917d
1 changed files with 29 additions and 0 deletions
|
@ -4,8 +4,10 @@
|
||||||
*/
|
*/
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include <dt-bindings/leds/common.h>
|
||||||
#include "sdm632.dtsi"
|
#include "sdm632.dtsi"
|
||||||
#include "pm8953.dtsi"
|
#include "pm8953.dtsi"
|
||||||
|
#include "pmi632.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Fairphone 3";
|
model = "Fairphone 3";
|
||||||
|
@ -83,6 +85,33 @@ &pm8953_resin {
|
||||||
linux,code = <KEY_VOLUMEDOWN>;
|
linux,code = <KEY_VOLUMEDOWN>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pmi632_lpg {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
multi-led {
|
||||||
|
color = <LED_COLOR_ID_RGB>;
|
||||||
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
led@1 {
|
||||||
|
reg = <1>;
|
||||||
|
color = <LED_COLOR_ID_RED>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led@2 {
|
||||||
|
reg = <2>;
|
||||||
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led@3 {
|
||||||
|
reg = <3>;
|
||||||
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&sdhc_1 {
|
&sdhc_1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
vmmc-supply = <&pm8953_l8>;
|
vmmc-supply = <&pm8953_l8>;
|
||||||
|
|
Loading…
Reference in a new issue