On 22/04/2024 09:50, Mike Looijmans wrote:
On 15-04-2024 17:24, Krzysztof Kozlowski wrote:So just put it at beginning, less sorting later.
On 15/04/2024 10:13, Mike Looijmans wrote:Could make it alphabetical, but that requires re-ordering the existing
Another technology to store energy is a (super)capacitor.Please keep some sort of order... everyone insists on adding to the end
Signed-off-by: Mike Looijmans <mike.looijmans@xxxxxxxx>
---
(no changes since v1)
Documentation/devicetree/bindings/power/supply/battery.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/power/supply/battery.yaml b/Documentation/devicetree/bindings/power/supply/battery.yaml
index 491488e7b970..a22c97dfad88 100644
--- a/Documentation/devicetree/bindings/power/supply/battery.yaml
+++ b/Documentation/devicetree/bindings/power/supply/battery.yaml
@@ -44,6 +44,7 @@ properties:
- const: lithium-ion-polymer
- const: lithium-ion-iron-phosphate
- const: lithium-ion-manganese-oxide
+ - const: capacitor
of the lists...
ones so "lithium" sorts before "nickel".
I think the intention here was that the order is the same as theThere is no such binding as power-supply.h. And other headers do not
matching defines in power-supply.h
matter, they are not bindings.