mfd.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Multi-Function Devices (MFD)
  2. These devices comprise a nexus for heterogeneous hardware blocks containing
  3. more than one non-unique yet varying hardware functionality.
  4. A typical MFD can be:
  5. - A mixed signal ASIC on an external bus, sometimes a PMIC (Power Management
  6. Integrated Circuit) that is manufactured in a lower technology node (rough
  7. silicon) that handles analog drivers for things like audio amplifiers, LED
  8. drivers, level shifters, PHY (physical interfaces to things like USB or
  9. ethernet), regulators etc.
  10. - A range of memory registers containing "miscellaneous system registers" also
  11. known as a system controller "syscon" or any other memory range containing a
  12. mix of unrelated hardware devices.
  13. Optional properties:
  14. - compatible : "simple-mfd" - this signifies that the operating system should
  15. consider all subnodes of the MFD device as separate devices akin to how
  16. "simple-bus" inidicates when to see subnodes as children for a simple
  17. memory-mapped bus. For more complex devices, when the nexus driver has to
  18. probe registers to figure out what child devices exist etc, this should not
  19. be used. In the latter case the child devices will be determined by the
  20. operating system.
  21. Example:
  22. foo@1000 {
  23. compatible = "syscon", "simple-mfd";
  24. reg = <0x01000 0x1000>;
  25. led@08.0 {
  26. compatible = "register-bit-led";
  27. offset = <0x08>;
  28. mask = <0x01>;
  29. label = "myled";
  30. default-state = "on";
  31. };
  32. };