From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 362AE264A65 for ; Tue, 7 Apr 2026 06:33:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775543610; cv=none; b=Pg08WuTfyn8+iZpEzdL9XbchBuNjt+OnYrLHKZWAfO2ou2iz0VQTauiwWbK5xIDGwbiT0H+wACOQPzwtIb1JgpSoug+PUGO+nBcFHwuRa60qqadT63ipiqr1ghuH74ARg4eiqZL2uZRSJUAObDhlCrMVbxGoYFzsPG+jncwuRGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775543610; c=relaxed/simple; bh=Nc3bOboW8G8YyE8KUlVfkkXGtFcb/doRT+XqIXAl+cw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ULw/WNGlt4Ht/qH7UzBBy0lLI7ib5d3X+Rqf2UA+qiHGBcTyvMFATCiXs7t9SxBl4mQ7+pPp0gcB05cE1fHihBQgkE07ghFwX1m2JjwzB7gtcgKcs7orot3fD+3suh+M0eeqXJBPwlGwH8c2lvyovxgVg1QihhDdfLStEA3Rhhc= 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=Y0OAcLTX; arc=none smtp.client-ip=209.85.167.43 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="Y0OAcLTX" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5a2c9c5ff87so4825726e87.0 for ; Mon, 06 Apr 2026 23:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775543607; x=1776148407; 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=u5hh7N0O0yJ7/rQ4HnXnBh/0FAbt8/xLYUBmuoc28N4=; b=Y0OAcLTXjRUAgB4az8YoTWRgIkIZ9LiO9kVXdbGNKrfETFjP3uK1QA5M9cHZ93fJ9h lUqCkz27MXy90T2WVvTrUUpBuih1L527iejnzZI2Ugscnb21jSQU0I2+9WYqBXjZvkEt LvilwOLuXeFStGr9scXUryTyIkDnYOAeixt/t448iwgMWSJo7j/t6zVO+3rwyBgF1rO3 rYzugylhXApVkfsmUiw6gMr07qkmVJrhWH+g+bW0z/Pdk7DVuh/F1G6PfBxq8z4o+q7U bSspnOAvxsnd3Eq6PLg8UGzcvtlEIwCM3Gb0QMkU+OLU6sgwZDRB441NpRhPTfoPFRX8 e1vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775543607; x=1776148407; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u5hh7N0O0yJ7/rQ4HnXnBh/0FAbt8/xLYUBmuoc28N4=; b=Vax2FVN3f46QiDGm7eAFYFDYxPfy3WfXpsjGpCMyWzOWLEJfwcGy2WUf97gAPMu9Ek aPvKpx/u6VXJvRQp9zxpqosV5ny7SALxKf3dTqVYD/o4KBnYwaM0c2WxFYUHY3QObQh6 lkCeAk/NNAn08GiPg5/EBYLgu3LmpVZt8tzQ0o3V5jqjZEooVHUjshOil9x6BwUUlXbF 1HN3f/ibuB22MsLvtmYBkytNyNAIBE1oH8ahWmjWNhLFhqphimwMoNImuPuw/3MPiGf0 wtyLZKWqiwK9X2LAFdt8Hjv79qnePwig1yqxUEotXI44jffCmBWNRSsdS3BmU4IS/Tog N7BA== X-Forwarded-Encrypted: i=1; AJvYcCUoEYI+5I+GssAp721p8BbOJpWk16MUsVb5nyr2r/ugDdvTf6vZMtn0gqpEoro5aBE0fkQSvjzbDpTfJTo=@vger.kernel.org X-Gm-Message-State: AOJu0YyYWjsX57ADQoSxwhs+Pux3equp7qb/JvNK/Aw1VViUX/KJCbPP 8/1dd8gNyrjmVmk1BXUc1lggD86mhUW1PftBntQ+rCwEow+n1shryAPimweuMb0c X-Gm-Gg: AeBDiesCCZikdi1gNW+HRo7n2dCiBpqd7hTve/KBhuuOQ0yWMzc8gUB7STWdohLlhdY WoSKrxvPmDcUyfEDqOD25a2wKbLNZ1NUvqcrh2VhfIPkY5x0FtEpnIYaFk+9MYwayq2MbAcRujM kphm8ApKaCMhvwB2NBS0oMDVEYGkxTt/gnA3sb+y2J+uqKPjUCcEjQ1ccb1w3QUqK0xhtbjmBW/ s54GgWAgWtF1Y6ckOS1RS25ak5mxqanhNVaWR9qYeZiaL8jMzO+0mEPBacxN/fguQMys5Ng3Oq1 kYbeMrMsT5sIPjL2rI2WBiVSoOR/MP4a9T8LvfjJFlAhiUDf58pRH+xWJfVMOPZlyCI4lE5C9bI fvn034RTP2+k2wLdV+VL5GvGDiWof5P0X/Pc2n8WzxF/M1yTOiwzkHJFSYa6AdrvRujvy6wBTmk Ie016tg1tZPHP6d4A50Nltda/Z8cyviJjDYHywX8dQMwi+9WXjuJ0CUeK/ZZbyTaL1/B7fooT65 4DPptP5CvtqMhZeChw= X-Received: by 2002:a05:6512:15a7:b0:5a3:d302:bce4 with SMTP id 2adb3069b0e04-5a3d302bf4amr3877138e87.39.1775543607211; Mon, 06 Apr 2026 23:33:27 -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-5a2c6cd6799sm3831813e87.81.2026.04.06.23.33.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Apr 2026 23:33:26 -0700 (PDT) Message-ID: Date: Tue, 7 Apr 2026 09:33:25 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] power: supply: bd71828: add input current limit property To: Andreas Kemnade , Sebastian Reichel Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260401-bd-inp-limit-v1-1-689eb22531e2@kemnade.info> Content-Language: en-US, en-AU, en-GB, en-BW From: Matti Vaittinen In-Reply-To: <20260401-bd-inp-limit-v1-1-689eb22531e2@kemnade.info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 02/04/2026 00:17, Andreas Kemnade wrote: > Add input current property to be able to work around issues created by > automatic input limiting and have some control. > Disabling the automatic management is another step. > Hi Andreas! Long time no chat :) First of all, thanks for the work you do with the BD71828/79! I do admire the effort you're willing to put on it :) I decided to just take a quick look at the BD71815 and BD72720, which can be operated using the same driver. I didn't see similar control on BD71815 data-sheet, so I just decided not to dig it further for now. What comes to the BD72720, there is something: The BD72720 has a VBUS_INLIM, which is a configurable current limit for the bus. This, I believe does NOT directly correspond to the DCIN limit. It _probably_ has similar impact when the DCIN is supplied, and when it is powerful enough to run the system. However, I believe the VBUS current limit is also having an impact when setup is powered from the battery, or when it is in "battery assist" -mode, (where the battery is used to "complement" the DCIN, if the DCIN isn't strong enough to power the system). I am afraid I don't know your use-case for the control of the DCIN input limit well enough to decide, if the BD72720 would need something similar - or if the VBUS_INLIM should be tied to the same knob. If you have the enthusiasm to write some more words ... I am keen on learning! :) Yours, -- Matti -- --- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~