From: "Paul Sajna" <sajattack@postmarketos.org>
To: "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"David Heidelberg" <david@ixit.cz>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
"Amir Dahan" <system64fumo@protonmail.com>,
"Christopher Brown" <crispybrown@gmail.com>
Subject: Re: [PATCH v4 09/12] arm64: dts: qcom: sdm845-lg-common: Add camera flash
Date: Wed, 03 Dec 2025 09:27:40 +0000 [thread overview]
Message-ID: <9cdccbb5a3fb10a2d7de1e1d17d36018f40b18a1@postmarketos.org> (raw)
In-Reply-To: <863db415-51e0-4c54-85bf-ac6a168758e0@oss.qualcomm.com>
linux-postmarketos-qcom-sdm845-6.16.7_p20251203010632-r0.apk
December 1, 2025 at 11:42 AM, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com mailto:konrad.dybcio@oss.qualcomm.com?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E > wrote:
>
> On 11/28/25 9:20 PM, Paul Sajna wrote:
>
> >
> > I did more testing on this, and the led only comes on if it's brightness is set to approx 150/255 or lower. In that case, should I set led-max-microamp to 60mA?
> >
> FWIW your downstream kernel sets up channels 0 and 1, here you only
> enabled 1. Taking a look at a picture of the phone, I only see a single
> LED on the back, so perhaps you're (over)driving a single power line?
>
> I'm not a milion percent sure, but I would assume the current draw
> *limiting* register applies to the sum of the current going through
> the three channels because there's only a single instance of it.
>
> Konrad
>
I tried setting up both, but only the one that was mapped as `led-sources = <2>` seemed to have any effect. Also it would confuse userspace flashlight apps if there were two I think. So I'll push v5 with just the one that does anything.
next prev parent reply other threads:[~2025-12-03 9:27 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-25 8:12 [PATCH v4 00/12] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2025-11-25 8:12 ` [PATCH v4 01/12] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
2025-11-25 8:12 ` [PATCH v4 02/12] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
2025-11-25 8:12 ` [PATCH v4 03/12] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
2025-11-28 11:13 ` Konrad Dybcio
2025-11-25 8:12 ` [PATCH v4 04/12] arm64: dts: qcom: sdm845-lg-common: Add LEDs Paul Sajna
2025-11-28 11:14 ` Konrad Dybcio
2025-11-25 8:12 ` [PATCH v4 05/12] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
2025-12-01 12:44 ` Konrad Dybcio
2025-11-25 8:12 ` [PATCH v4 06/12] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
2025-11-25 9:29 ` David Heidelberg
2025-11-25 8:12 ` [PATCH v4 07/12] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
2025-11-28 11:15 ` Konrad Dybcio
2025-11-25 8:12 ` [PATCH v4 08/12] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
2025-11-25 8:12 ` [PATCH v4 09/12] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
2025-11-28 20:20 ` Paul Sajna
2025-12-01 11:42 ` Konrad Dybcio
2025-12-03 9:27 ` Paul Sajna [this message]
2025-12-04 9:17 ` Konrad Dybcio
2025-12-04 18:37 ` Paul Sajna
2025-12-05 10:32 ` Konrad Dybcio
2025-11-25 8:12 ` [PATCH v4 10/12] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
2025-12-01 12:38 ` Konrad Dybcio
2025-12-02 4:21 ` Paul Sajna
2025-12-02 10:34 ` Konrad Dybcio
2025-11-25 8:12 ` [PATCH v4 11/12] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self' Paul Sajna
2025-11-25 8:12 ` [PATCH v4 12/12] arm64: dts: qcom: sdm845-lg-common: remove framebuffer reserved-mem Paul Sajna
2025-12-01 12:41 ` Konrad Dybcio
2025-12-02 4:41 ` Paul Sajna
2025-12-02 10:34 ` Konrad Dybcio
2025-12-03 8:42 ` Paul Sajna
2025-12-03 10:37 ` David Heidelberg
2025-12-03 10:45 ` David Heidelberg
2025-12-03 10:55 ` Konrad Dybcio
2025-11-25 18:09 ` [PATCH v4 00/12] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Rob Herring
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=9cdccbb5a3fb10a2d7de1e1d17d36018f40b18a1@postmarketos.org \
--to=sajattack@postmarketos.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=crispybrown@gmail.com \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@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=system64fumo@protonmail.com \
/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