.. | .. |
---|
1 | | -Power Supply Core Support |
---|
2 | | - |
---|
3 | | -Optional Properties: |
---|
4 | | - - power-supplies : This property is added to a supply in order to list the |
---|
5 | | - devices which supply it power, referenced by their phandles. |
---|
6 | | - |
---|
7 | | -Example: |
---|
8 | | - |
---|
9 | | - usb-charger: power@e { |
---|
10 | | - compatible = "some,usb-charger"; |
---|
11 | | - ... |
---|
12 | | - }; |
---|
13 | | - |
---|
14 | | - ac-charger: power@c { |
---|
15 | | - compatible = "some,ac-charger"; |
---|
16 | | - ... |
---|
17 | | - }; |
---|
18 | | - |
---|
19 | | - battery@b { |
---|
20 | | - compatible = "some,battery"; |
---|
21 | | - ... |
---|
22 | | - power-supplies = <&usb-charger>, <&ac-charger>; |
---|
23 | | - }; |
---|
| 1 | +This binding has been converted to yaml please see power-supply.yaml in this |
---|
| 2 | +directory. |
---|