From nobody Mon Dec 1 22:37:32 2025 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (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 A501632C956 for ; Thu, 27 Nov 2025 11:17:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764242266; cv=none; b=NvJVlyB9SsWuO+nrpNQkuBtd0/x6CbIxWI2mG2EGCPOeKdfzY+RQ59J6KjVpAc03OECCoEDrSuJYSr99QKsDjrnvFbCZBVe9fHSxOjgf6b20i/VTmb5ORrBvc7x88Qlba1vs2s0iXQxTfuVIKWPHH2LtUv2k37jRhylPl0k3ceg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764242266; c=relaxed/simple; bh=BunQgIs1hz9aWO1t8wn25ezluJyW9YuugT7Eaaz8iLs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F1whrcCu9quKB6pyQFIsXIc0mOH1Hp08nI1Kw3wButOd0X8hBuQDRJlGZVd+TZjDeKomzfWfO7HMrP1x4AT2B1YdyCq5rB5rAlk1o+3AOGnI64k7IzQT/84ogNdjpV6HRKkhM3qM+VQ/JvZnV4uquOYzqDnThy4DDp04vRqTLI4= 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=jRmRBqV4; arc=none smtp.client-ip=95.215.58.170 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="jRmRBqV4" Date: Thu, 27 Nov 2025 13:17:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1764242262; 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=YucvTZ1zz2bcpv6pPb4f65IkkX5qb03t7H4f9XgAKnM=; b=jRmRBqV4pW1QsAFV/Ca72vRm8AJI8779atSELe1lLnCS3u6s/q3P7KYZN6RDzqKBOM54fZ Gng2YLyoLZzgtg05HIbFKb89bauqEKA/V5LjMmQUmDTmVwiej7y+WSB4SqlhLjF1mEMoFq PgxAalYzM98EgaQjQvq6GQ/gL15TQLI= 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 v6 03/17] dt-bindings: battery: Add trickle-charge upper limit Message-ID: <2d039b43e515d5f1002e0bd7a00f9a38e9d3f607.1764241265.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="iWBEmXgzGg9M4W5Y" Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT --iWBEmXgzGg9M4W5Y 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: v3 =3D> : - No changes 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.52.0 --iWBEmXgzGg9M4W5Y Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmkoM1AACgkQeFA3/03a ocV02Af/fhrhZUkS9ALRCQdVgj1n6YTlF6YLeuSX6Fj9Q06eBDllq0q4hHzrv9xn 5lXLh6/YYk9A0sMDEH6zRBjy3J5eY0V8Mqv36gvfMfqhqvPW5UbVIx2c94i6LoRa HxSawOS5RwBV/rm7ZU/s4/TmFxwFaqeLYO3Xo5OYzQSi3NHCEjHu5O9GcmcGu4E6 2PDSzTAvDaXCJusVAMsB2x28WX7haOlQpB4f+hypaa/nJVrsP0tNX9u/4btlu5qZ vyCRPeNL6wx5tPoivBIjU0O8XxbIY+Baw0skZUIO4N8Mp2c08WWXbyESqAvIS+d0 UgJbJOOQgulYu+49w1y0UuXWAqX+oQ== =qhVV -----END PGP SIGNATURE----- --iWBEmXgzGg9M4W5Y--