Message ID | 20240722-qx1050-feature-expansion-v1-4-c4d486435b96@riseup.net |
---|---|
State | New |
Headers | show |
Series | F(x)tec Pro1X feature expansion | expand |
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts index d91d31646b29..60c046fe8e52 100644 --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts @@ -8,6 +8,7 @@ #include "sm6115.dtsi" #include "pm6125.dtsi" #include <dt-bindings/arm/qcom,ids.h> +#include <dt-bindings/leds/common.h> / { model = "F(x)tec Pro1X (QX1050)"; @@ -63,6 +64,16 @@ key-volume-up { }; }; + gpio-leds { + compatible = "gpio-leds"; + + capslock-led { + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_CAPSLOCK; + gpios = <&pca9534 1 GPIO_ACTIVE_HIGH>; + }; + }; + ts_vdd_supply: ts-vdd-supply { compatible = "regulator-fixed"; regulator-name = "ts_vdd_supply";
The Pro1X has a caps lock LED on the keyboard. Signed-off-by: Dang Huynh <danct12@riseup.net> --- arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)