[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4b4ca560-d8e8-4d89-a02c-02d4245ccc37@oss.qualcomm.com>
Date: Mon, 13 Oct 2025 11:43:04 +0200
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Val Packett <val@...kett.cool>, Sebastian Reichel <sre@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Fenglin Wu <fenglin.wu@....qualcomm.com>
Cc: Sebastian Reichel <sebastian.reichel@...labora.com>,
linux-arm-msm@...r.kernel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] power: supply: qcom_battmgr: clamp charge control
thresholds
On 10/13/25 1:32 AM, Val Packett wrote:
> The sysfs API documentation says that drivers "round written values to
> the nearest supported value" for charge_control_end_threshold.
>
> Let's do this for both thresholds, as userspace (e.g. upower) generally
> does not expect these writes to fail at all.
The documentation says so only for the upper bound. You should
probably submit a patch to amend the lower one as well
Konrad
Powered by blists - more mailing lists