[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f83b2a95-e8f6-4e16-bd7f-f7dc96264c04@kernel.org>
Date: Mon, 3 Mar 2025 08:52:29 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Svyatoslav Ryhel <clamor95@...il.com>
Cc: Sebastian Reichel <sre@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: power: supply: Document Maxim MAX8971
charger
On 27/02/2025 12:03, Svyatoslav Ryhel wrote:
> чт, 27 лют. 2025 р. о 12:45 Krzysztof Kozlowski <krzk@...nel.org> пише:
>>
>> On Wed, Feb 26, 2025 at 11:36:59AM +0200, Svyatoslav Ryhel wrote:
>>> + maxim,fcharge-current-limit-microamp:
>>> + description:
>>> + Fast-Charge current limit
>>> + minimum: 250000
>>> + default: 500000
>>> + maximum: 1550000
>>> +
>>> + maxim,fcharge-timer-hours:
>>> + description:
>>> + Fast-Charge timer in hours. Setting this value 3 and lower or 11 and higher
>>> + will disable Fast-Charge timer.
>>> + $ref: /schemas/types.yaml#/definitions/uint32
>>> + default: 5
>>
>> You still did not answer why this is board specific. This was rejected
>> in the past because of that reason and nothing here changed. Nothing
>> will change without detailed explanation, so use other interfaces if you
>> need user-space to configure it (see other drivers, e.g. maxim)
>>
>
> Btw, I have used this awesome example you have provided. Take a look
Where did I provide this example?
>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml?h=v6.14-rc4
I opened it and I do not see anything about time. Please point to
specific line.
But regardless, how did I propose to use 12 year old binding? Where did
I suggest that one?
>
> Oh, I wonder why it uses so much values which duplicate battery? I
> know, it lacks battery, I assume that is why?
No. You added to DT something which is not a hardware property, but
user-space choice or policy.
Best regards,
Krzysztof
Powered by blists - more mailing lists