Commit a3457cc5 authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Andersson

arm64: dts: qcom: sc8280xp-x13s: add missing camera LED pin config

Add the missing pin configuration for the recently added camera
indicator LED.

Fixes: 1c63dd1c ("arm64: dts: qcom: sc8280xp-x13s: Add camera activity LED")
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20231003093647.3840-1-johan+linaro@kernel.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 6cd86217
...@@ -82,6 +82,9 @@ switch-lid { ...@@ -82,6 +82,9 @@ switch-lid {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&cam_indicator_en>;
led-camera-indicator { led-camera-indicator {
label = "white:camera-indicator"; label = "white:camera-indicator";
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
...@@ -1278,6 +1281,13 @@ hstp-sw-ctrl-pins { ...@@ -1278,6 +1281,13 @@ hstp-sw-ctrl-pins {
}; };
}; };
cam_indicator_en: cam-indicator-en-state {
pins = "gpio28";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
edp_reg_en: edp-reg-en-state { edp_reg_en: edp-reg-en-state {
pins = "gpio25"; pins = "gpio25";
function = "gpio"; function = "gpio";
......
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