mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Dang Huynh <danct12@riseup.net>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: phone-devel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED
Date: Mon, 22 Jul 2024 10:38:00 +0200	[thread overview]
Message-ID: <09c3a2c5-68d9-41c9-85e0-397b08715fa3@linaro.org> (raw)
In-Reply-To: <20240722-qx1050-feature-expansion-v1-4-c4d486435b96@riseup.net>

On 22.07.2024 9:10 AM, Dang Huynh wrote:
> 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(+)
> 
> 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>;

You may want to take a look at msm8998-fxtec-pro1.dts which has a
bit more properties describing it

Konrad


  reply	other threads:[~2024-07-22  8:38 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-22  7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
2024-07-22  7:10 ` [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button Dang Huynh
2024-07-22  8:34   ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander Dang Huynh
2024-07-22  8:35   ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen Dang Huynh
2024-07-22  8:36   ` Konrad Dybcio
2024-07-22  8:38     ` Dang Huynh
2024-07-22  7:10 ` [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED Dang Huynh
2024-07-22  8:38   ` Konrad Dybcio [this message]
2024-07-22  7:10 ` [PATCH 05/12] arm64: dts: qcom: sm6115-pro1x: Enable SD card slot Dang Huynh
2024-07-22  7:10 ` [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU Dang Huynh
2024-07-22  8:39   ` Konrad Dybcio
2024-07-22  9:17     ` Dang Huynh
2024-07-22 10:05       ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS Dang Huynh
2024-07-22 10:46   ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 08/12] arm64: dts: qcom: sm6115-pro1x: Update copyright year Dang Huynh
2024-07-22  7:30   ` Krzysztof Kozlowski
2024-07-22  7:10 ` [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property Dang Huynh
2024-07-22 10:46   ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED Dang Huynh
2024-07-22  8:40   ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs Dang Huynh
2024-07-22 10:47   ` Konrad Dybcio
2024-07-22  7:10 ` [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN Dang Huynh
2024-07-22  8:41   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09c3a2c5-68d9-41c9-85e0-397b08715fa3@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=danct12@riseup.net \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®