From nobody Wed Feb 11 05:43:39 2026 Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (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 1BCA23321B1; Thu, 13 Nov 2025 08:52:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763023936; cv=none; b=ld9yXcNkzRufqEZqWqIGkJQOtmsLI1qw9MBMnB8VM7kV3n6JHqS7SKEDdiJBdyFNu9l/OwwudXAhb1YIEqXQ04oYuBO0B42rNKBACPapP2ZQyLzDcFrD/My8cO+bX9INKMKlDKoXpgWBSAO5hwVVLiL1e59Cy1j8rLWyM17nm2o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763023936; c=relaxed/simple; bh=YlJJuk5N5mBnKpxGrdq20hUxrtgBhTJK4SCKYl/2W2o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OsC6+dWCjihgg7Bhl2C4YfId83qYNhAKik7+Xd/lNAdY9ijBVTen9tMF0hzgcZ9qxRlBPzkLLT1u+G0bMhDr03C55JiHC26vL7UGlTjj1qOkkElPBEBfIG57YM14hcN3YwahqJ9Ynneq0Ye3q6VkX5J5sE7yFO0e4nZCWUF03FM= 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=lwyyTHOK; arc=none smtp.client-ip=95.215.58.177 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="lwyyTHOK" Date: Thu, 13 Nov 2025 10:52:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763023932; 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=7nAK7H7KAJNuUJL99/a2htshLv3964/hsXXnW93gtDs=; b=lwyyTHOKzUt/4NpAASZrIpugLaz8LCEGAFyJ/rV+cIqagvuBKYhcPTfFFRHzT7VvWuyfgI Vj3DT2s3TjUN7cE36G5JkI9zHplqOR219BiJg8FADPwSSOEdHDnXhL+ARuDbb6BHWzlR/L QE9e+BLac5BDe4YsyzjV7Z9GBSvVk1Q= 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 v4 03/16] dt-bindings: battery: Add trickle-charge upper limit Message-ID: <97d97e19d67b472ee7db4a88607e7589fdca791d.1763022807.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="y2Owh/m8rgmrwCNF" Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT --y2Owh/m8rgmrwCNF 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.51.1 --y2Owh/m8rgmrwCNF Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmkVnDEACgkQeFA3/03a ocVrWgf/d4DFYFEm80FUKYIgBbs8zWbMq4JHUb4QrdeS5KkgZlD4vsCHtTGbg/Oc Mws0Mq28fojjASpdjYACM8B7Y2jHmk3WAkpQTILyXvPk4K+PsWW36DjqfGsoOI+r li/5Pw3VLUUhXGApyiv3VaPfFwv/1cnIE7lTBLAjYkW1z1aS8YEgwYvvtfXc4wYH I3g/aIAedOjttHoa0FTt4aBpBUTGai4Ds7F4YksV0A2+8IDlLEfZVie0uAYLQ9lx wnH4V2k8zt8Xx1vowmtHr8OM5ov0yuHhU5WlLBtx9XmPi3GhKK1rR/enle7VMIme B/nrNIx9RYrQtYMw1nj6aFzdaafImg== =+2la -----END PGP SIGNATURE----- --y2Owh/m8rgmrwCNF--