From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Martin <hemisputnik@proton.me>,
"andersson@kernel.org" <andersson@kernel.org>,
"konradybcio@kernel.org" <konradybcio@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>
Cc: "linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] arm64: dts: qcom: msm8917-xiaomi-wingtech: enable flash LED
Date: Mon, 14 Sep 2026 10:40:23 +0200 [thread overview]
Message-ID: <0f46fed5-57d5-4b54-9740-c7415a03fb78@oss.qualcomm.com> (raw)
In-Reply-To: <20260912134056.3347741-1-hemisputnik@proton.me>
On 9/12/26 3:41 PM, Martin wrote:
> From: hemisputnik <hemisputnik@proton.me>
>
> Add SGM3780 flash LED controller to msm8917-xiaomi-wingtech device tree.
[...]
> + flash-led-controller {
Please sort this entry alphabetically vs other nodes in the same scope
> + compatible = "sgmicro,sgm3780", "sgmicro,sgm3140";
> + enable-gpios = <&tlmm 93 GPIO_ACTIVE_HIGH>;
> + flash-gpios = <&tlmm 90 GPIO_ACTIVE_HIGH>;
> +
> + pinctrl-0 = <&flash_led_default>;
> + pinctrl-names = "default";
> +
> + led {
> + function = LED_FUNCTION_FLASH;
> + color = <LED_COLOR_ID_WHITE>;
> + };
> + };
> +
> chosen {
> #address-cells = <2>;
> #size-cells = <2>;
> @@ -306,6 +321,14 @@ tsp_int_rst_default: tsp-int-rst-default-state {
> drive-strength = <8>;
> bias-pull-up;
> };
> +
> + flash_led_default: flash-led-default-state {
> + pins = "gpio90", "gpio93";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + output-high;
This essentially says "by default, if the OS doesn't do anything
with these pins via drivers, I want the flash to shine", which I
believe is rather undesirable.. let's drop the `output-high` line
Konrad
prev parent reply other threads:[~2026-09-14 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-12 13:41 Martin
2026-09-14 8:40 ` Konrad Dybcio [this message]
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=0f46fed5-57d5-4b54-9740-c7415a03fb78@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hemisputnik@proton.me \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/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®