From nobody Mon Feb 9 10:30:32 2026 Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3915C2459D1; Wed, 5 Nov 2025 07:36:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762328202; cv=none; b=b7IxvwqeEmJnPQv5DRxSSL97erR+Ia6aGemgS34efHOSfxtMEfHQDXsl5Fj3B+LwX5pSDd/g4Bwba5UN0IbISD1cgI+gseg7DMZe5rOnFxmcMwryKO3T+yezfof8URjvJlFAnHFeyjbsIOdYpLBJLgqG3tHy3L4tXfG43MWb9UY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762328202; c=relaxed/simple; bh=19uAuz/g8sIAP7Ko2LH8ylRZj9eIUyPyCbNBNDT2YDM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bO+3UNf+kwVYl00eIC6kA1JseSztJBcqcz8mVlnxl7gd0wvE5P8hIj5pku+oOt3G9omnmEvJM9xOwYMen7EO39ZyIN9qynsZj+FkKiG7/s1hnfb/vOq5vaZHS7+ycjHpMDaRqhZvUeOHB+Hg193f8QGYlpDN/nTQAvkAS/sAmMw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=nPHKyIz1; arc=none smtp.client-ip=95.215.58.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="nPHKyIz1" Date: Wed, 5 Nov 2025 09:36:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1762328199; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=tG73ZYQq/Po0lnUf1GihhWIQtko9MIqbFBnm4XRooyg=; b=nPHKyIz1bpuGqjnfu/0+H5MwYGt7jHW4ABKWM12rgpEAlWhe8rT+BI8PcJQzwpZEjLTYqm av4FvW5AcmAWgPxljAeMn8OMKU8VyHU5w/EEsHgdhm1ETOg2z5ZJ3+f12hLakwjmWjxtWD HARvc5qV8Bcjej/pvymV6NJVepovEIY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Liam Girdwood , Mark Brown , Michael Turquette , Stephen Boyd , Matti Vaittinen , Linus Walleij , Bartosz Golaszewski , Alexandre Belloni , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, Andreas Kemnade Subject: [PATCH v3 03/16] dt-bindings: battery: Add trickle-charge upper limit Message-ID: <1babb4f8e9a1d21daab737e3427005852ec304fb.1762327887.git.mazziesaccount@gmail.com> Reply-To: Matti Vaittinen References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HRAqgqtk7j0jLIHb" Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT --HRAqgqtk7j0jLIHb Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Matti Vaittinen Some of the chargers for lithium-ion batteries use a trickle-charging as a first charging phase for very empty batteries, to "wake-up" the battery. Trickle-charging is a low current, constant current phase. After the voltage of the very empty battery has reached an upper limit for trickle charging, the pre-charge phase is started with a higher current. Allow defining the upper limit for trickle charging voltage, after which the charging should be changed to the pre-charging. Signed-off-by: Matti Vaittinen Reviewed-by: Linus Walleij Reviewed-by: Krzysztof Kozlowski --- Revision history: v2 =3D> v3: - Clarify the 'trickle-charging' the property refers to is the "pre-pre" -phase charging. RFCv1 =3D> v2: - No changes --- Documentation/devicetree/bindings/power/supply/battery.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/battery.yaml b/= Documentation/devicetree/bindings/power/supply/battery.yaml index bfb7b716ae13..d1a2080557a0 100644 --- a/Documentation/devicetree/bindings/power/supply/battery.yaml +++ b/Documentation/devicetree/bindings/power/supply/battery.yaml @@ -71,6 +71,10 @@ properties: NiMh bq24400) - that is different and not controlled by this property. =20 + tricklecharge-upper-limit-microvolt: + description: limit when to change to precharge from trickle charge + Trickle-charging here refers "wake-up" or "pre-pre" -charging. + precharge-current-microamp: description: current for pre-charge phase =20 --=20 2.51.0 --HRAqgqtk7j0jLIHb Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmkK/n8ACgkQeFA3/03a ocVR0Af/f4jJ3AXTq+f1Xz0cxg4sRGggbnjMdfpcnYkAeJjFN/xk22kFzzHOLTvE qCbC94ZAqJgR52kyYbft/PBLxhRDGl/HyptLAkb2SRb8LzuO/91DEIwCtMfEJgiP WG+6nEsAr/YSj3oiVjQlQA0nYeewOI31CJy6LKpTq/IDPGZpnVhNY+zhEsqAzUOJ k03o9txBTWtEjqHXFR1cEO8wTzLc0Dxoh2TLbnhr6JF92E3hg+FAKpVZkmcip4Zx FqgMSSwlFVCH90KcOMfxjLwGLbIDMNUj8swhw7HXf+DAjGyTpMJhT6x0HaYA1qV6 Wso1SSKpDYgPWwC6KOw3FY+PGHZEGA== =YOkd -----END PGP SIGNATURE----- --HRAqgqtk7j0jLIHb--