sandbox.txt 874 B

1234567891011121314151617181920212223242526272829303132333435
  1. Sandbox pmic
  2. This device uses two drivers:
  3. - drivers/power/pmic/sandbox.c (for parent device)
  4. - drivers/power/regulator/sandbox.c (for child regulators)
  5. This file describes the binding info for the PMIC driver.
  6. To bind the regulators, please read the regulator binding info:
  7. - doc/device-tree-bindings/regulator/sandbox.txt
  8. Required PMIC node properties:
  9. - compatible: "sandbox,pmic"
  10. - reg = 0x40
  11. Required PMIC's "emul" subnode, with property:
  12. - compatible: "sandbox,i2c-pmic"
  13. With the above properties, the pmic device can be used for read/write only.
  14. To bind each regulator, the optional regulator subnodes should exists.
  15. Optional subnodes:
  16. - ldo/buck subnodes of each device's regulator (see regulator binding info)
  17. Example:
  18. sandbox_pmic {
  19. compatible = "sandbox,pmic";
  20. reg = <0x40>;
  21. /* Mandatory for I/O */
  22. emul {
  23. compatible = "sandbox,i2c-pmic";
  24. };
  25. };