diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-10-03 12:36:47 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-10-21 23:05:56 +0300 |
commit | a3457cc5bc30ad053c90ae9f14e9b7723d204a98 (patch) | |
tree | 9c5d51aafacb248cba072558a14465c19b740490 /arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | |
parent | 6cd8621758004d98f7c622c2d756c116c6888127 (diff) | |
download | linux-a3457cc5bc30ad053c90ae9f14e9b7723d204a98.tar.xz |
arm64: dts: qcom: sc8280xp-x13s: add missing camera LED pin config
Add the missing pin configuration for the recently added camera
indicator LED.
Fixes: 1c63dd1c5fda ("arm64: dts: qcom: sc8280xp-x13s: Add camera activity LED")
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20231003093647.3840-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts')
-rw-r--r-- | arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 6a4c6cc19c09..f2055899ae7a 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -82,6 +82,9 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&cam_indicator_en>; + led-camera-indicator { label = "white:camera-indicator"; function = LED_FUNCTION_INDICATOR; @@ -1278,6 +1281,13 @@ }; }; + cam_indicator_en: cam-indicator-en-state { + pins = "gpio28"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + edp_reg_en: edp-reg-en-state { pins = "gpio25"; function = "gpio"; |