Przemyslaw Marczak | 58ea76f | 2015-04-20 20:07:46 +0200 | [diff] [blame] | 1 | MAXIM, MAX77686 pmic |
| 2 | |
| 3 | This device uses two drivers: |
| 4 | - drivers/power/pmic/max77686.c (for parent device) |
| 5 | - drivers/power/regulator/max77686.c (for child regulators) |
| 6 | |
| 7 | This file describes the binding info for the PMIC driver. |
| 8 | |
| 9 | To bind the regulators, please read the additional binding info: |
| 10 | - doc/device-tree-bindings/regulator/max77686.txt |
| 11 | |
| 12 | Required properties: |
| 13 | - compatible: "maxim,max77686" |
| 14 | - reg = 0x9 |
| 15 | |
| 16 | With those two properties, the pmic device can be used for read/write only. |
| 17 | To bind each regulator, the optional regulators subnode should exists. |
| 18 | |
| 19 | Optional subnode: |
| 20 | - voltage-regulators: subnode list of each device's regulator |
| 21 | (see max77686.txt - regulator binding info) |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | max77686@09 { |
| 26 | compatible = "maxim,max77686"; |
| 27 | reg = <0x09>; |
| 28 | |
| 29 | voltage-regulators { |
| 30 | ldo1 { |
| 31 | ... |
| 32 | }; |
| 33 | ... |
| 34 | }; |
| 35 | }; |