lkml.org 
[lkml]   [2020]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/9] dt-bindings: power: supply: Add device-tree binding for Summit SMB3xx
From
Date
10.04.2020 19:49, Rob Herring пишет:
...
>> + summit,max-chg-curr:
>> + description: Maximum current for charging (in uA)
>> + allOf:
>> + - $ref: /schemas/types.yaml#/definitions/uint32
>> +
>> + summit,max-chg-volt:
>> + description: Maximum voltage for charging (in uV)
>> + allOf:
>> + - $ref: /schemas/types.yaml#/definitions/uint32
>> + minimum: 3500000
>> + maximum: 4500000
>> +
>> + summit,pre-chg-curr:
>> + description: Pre-charging current for charging (in uA)
>> + allOf:
>> + - $ref: /schemas/types.yaml#/definitions/uint32
>> +
>> + summit,term-curr:
>> + description: Charging cycle termination current (in uA)
>> + allOf:
>> + - $ref: /schemas/types.yaml#/definitions/uint32
...
> These are all properties of the battery attached and we have standard
> properties for some/all of these.

Looks like only four properties seem to be matching the properties of
the battery.txt binding.

Are you suggesting that these matching properties should be renamed
after the properties in battery.txt?

> Also, any property with units should have a unit suffix as defined in
> property-units.txt. And with that, you don't need to define the type.

Indeed, thank you for the suggestion.

\
 
 \ /
  Last update: 2020-04-10 21:02    [W:0.076 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site