From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E43E228688E for ; Wed, 29 Oct 2025 06:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761719059; cv=none; b=jV9rqs60jW58dlFpfwbTUN5DdSkHy+RPX7xHaJOmyYpoI4u0svEZf6i0IJjrvTc1w1GsTIfXadyK8cReQzMsO86Pop8gnPLs+0qZ+hdxm3dZrVDt55h+M9mCcvWuA/igrMziLq693fxkNViTQPRedplQYQKzLnNciLZJgmJkHMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761719059; c=relaxed/simple; bh=BS78qzLC6Pbc2ow6QJKzzu9seEeWMo56OC/LqYiyfNM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TOENlGXFkmyrAXVtlUFA56IO2TBHfJJknOsiBu/HT3yofFDc1UgXoLL0wVyopmgOadVXVNDZZeBJyFmCVEJH0gg4hMt7OJoW8kJzNIJ96Yri2dq9+ZGN4Fq4SVjPfnVrTJ7d3uMpKtZfzmqjNrvsgEdZPfXw8rkBbw6g5+Q49Wo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PxiiTm6r; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PxiiTm6r" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-58d29830058so7903395e87.0 for ; Tue, 28 Oct 2025 23:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761719056; x=1762323856; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/E+ZryNph3yMx+vi8h4RvFoOJ/BdFIb+DDgg5r/sdBI=; b=PxiiTm6r6JbM70EsM8ypn0+FtMMn5Z79R/9YpBWR+cdjhNJ9+3rUweHD1mlFX5Sd9s lp+Daj9mwvauPzQ92WpQJqbILWq/c+BvFYAs64TWW+AXi19j+0BD3a2e/mjsBSqk12lI 9z+VJ5E3I82crdKpzvoFaIdWitAPPjI/8E26+n7Xrhec5iuDVQHLXfksfj/QxcsSRWOa 02lwWT4NhaYkn4Rw7W4bPWePQasO5Hyjrdj1qx5kcyzRxa+KfJSCl51SBRs9JWz6Ri46 QW6toLKlmGwf90kfcOOPV7fzP+CEuSH/HS6O0Sue8LWRsLkBOph7SDtpGXLec3+GjPQM u+Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761719056; x=1762323856; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/E+ZryNph3yMx+vi8h4RvFoOJ/BdFIb+DDgg5r/sdBI=; b=I4KplGZhykGYWpidHqfwdYch3FN0aelRa/KBJEuk8/ILfKDJnxLMF4YM77KgcXjrwv JM2RhOuJ0FyaIdpH1LWh5PXpjx8xwhHDrkaO1emqvzXEikBzCfgR+pioB2iBmOVC1oAK 1HPoD6QZBBxWehMPFaRJnaSTENR8BXEdjSNus66IZSl1o1i4D7TQPlYZJSQItkZEir6f zGj2aIafEZy1ZUyYT55Tm/dntuKg669jCkUyQOE7vgZcXmeSHywzIo+PP11M8sroGdKk j96eFQv4GUF0eK8pYKMEy1hFqMzl174s4gZ6r8WZRBKwKEgp7FT/J6NJr2Vv37XoaZwb cSaA== X-Forwarded-Encrypted: i=1; AJvYcCVAdZ89/Mr7OUh7pA5Jt024xlhvhiBfph52YBhisLjrwkBD0Cq5wBpdOH6oFDOd2OHIYTgOVM3aztSI@vger.kernel.org X-Gm-Message-State: AOJu0YyP5K9jQldPHGQDytHNhZDFxNMythxuMOjPjesmMOpcJLtMJ7e+ bR1gzaWBryVzMU6FoDWAOvBBo0DlNLAJlWKGPdkmQFxePUhBNnjK6j1H X-Gm-Gg: ASbGncunNyFXps1qJ26TZW/yuZoyzZQur8syhM6kR/pmcCx5O/QuN69oXVrwMMg+8/V XXZ9uI/oASnERcrimJ7UUFbmBdOufYtahc6UV3EA2XoibX+2OXRYma0ycc3zNDAYifg9ZYuq1HR KcFDtHQxViNNxmNf8yeew0lDDZ4QbDgANKYIoZY1IgTVvg/51xUzIjty2SORIk4CB6mu1BTJqpp 4/0MrKDWZEpKoCYSSmLR0kgJ5RjRFGvycOgqQ6yFTRmdz1gQXP5oOEJdhbXJepyqeJod9+3V/Oa MeJueBl3+3fS6dh5DiW0yAe27+IV/jaThTD4jseX3p68WFwhqske4pYBu2c3ziC7gc5GnECCBnI RGt4ZxVZuTbySEN4HD9900foCDMALz7++OgDDxfYmEXjhtubKYv19DQnbYBUV2R1qmXLDu9dxze RwwVLwirOxEECITjHhrQusQkdTRi+/5kHaqmsLa9sKbdGQ0no6Q/kcGK5tVQ== X-Google-Smtp-Source: AGHT+IG8NXe1EdGhVyolwk15yW6Efwh7ekc//1eGyM0sEnTM8+C2jzj6xxj8v4NnHT31PN5hE1LQpQ== X-Received: by 2002:a05:6512:104c:b0:591:c6c0:9af2 with SMTP id 2adb3069b0e04-59412a0cb9fmr596126e87.54.1761719055744; Tue, 28 Oct 2025 23:24:15 -0700 (PDT) Received: from ?IPV6:2a10:a5c0:800d:dd00:8fdf:935a:2c85:d703? ([2a10:a5c0:800d:dd00:8fdf:935a:2c85:d703]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59301f60ca4sm3577871e87.62.2025.10.28.23.24.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Oct 2025 23:24:15 -0700 (PDT) Message-ID: <3d58eb1e-7889-48c3-980b-bd2a98368a3e@gmail.com> Date: Wed, 29 Oct 2025 08:24:14 +0200 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 02/15] dt-bindings: Add trickle-charge upper limit To: Krzysztof Kozlowski Cc: Matti Vaittinen , Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Liam Girdwood , Mark Brown , Michael Turquette , Stephen Boyd , Linus Walleij , Bartosz Golaszewski , Andreas Kemnade , 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 References: <20251029-adamant-mamba-of-patience-cddb65@kuoka> Content-Language: en-US, en-AU, en-GB, en-BW From: Matti Vaittinen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 29/10/2025 08:17, Krzysztof Kozlowski wrote: > On 29/10/2025 07:03, Krzysztof Kozlowski wrote: >> On Mon, Oct 27, 2025 at 01:45:05PM +0200, Matti Vaittinen wrote: >>> 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. >> >> In the few cases I was dealing with charging circuits, trickle charging >> was used in context of top-off charging, so when battery is 100%. It's >> also documented at Wiki like that: >> https://en.wikipedia.org/wiki/Trickle_charging >> >>> 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. >> >> pre-charging is the trickle charging, no? Or you want to say that >> trickle-charging is pre-pre-charging? But then what is pre-charging in >> this binding? > > > Now I see that you added initial trickle-charging in commit > e3420b49949c79d6182dd8128fa7a3958da01b07. I looked at TI chargers for > LiIon/LiPo batteries and few popular models use the same meaning/cycles > as you here. Probably in LiIon/LiPo you cannot or should not use trickle > for top-off charging (CV phase). > > For NiMh these TI chargers use term "Trickle Maintenance Charge" (e.g. > bq24400), so in separate or this patch please also clarify the > description of properties that this is trickle-charging for LiIon/LiPo > batteries, so the pre-pre charging. Right. I'll try improving the description. Thanks! > > Best regards, > Krzysztof