1 Sandbox pmic 2 3 This device uses two drivers: 4 - drivers/power/pmic/sandbox.c (for parent device) 5 - drivers/power/regulator/sandbox.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 regulator binding info: 10 - doc/device-tree-bindings/regulator/sandbox.txt 11 12 Required PMIC node properties: 13 - compatible: "sandbox,pmic" 14 - reg = 0x40 15 16 Required PMIC's "emul" subnode, with property: 17 - compatible: "sandbox,i2c-pmic" 18 19 With the above properties, the pmic device can be used for read/write only. 20 To bind each regulator, the optional regulator subnodes should exists. 21 22 Optional subnodes: 23 - ldo/buck subnodes of each device's regulator (see regulator binding info) 24 25 Example: 26 27 sandbox_pmic { 28 compatible = "sandbox,pmic"; 29 reg = <0x40>; 30 31 /* Mandatory for I/O */ 32 emul { 33 compatible = "sandbox,i2c-pmic"; 34 }; 35 }; 36