simple-pm-bus.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Simple Power-Managed Bus
  2. ========================
  3. A Simple Power-Managed Bus is a transparent bus that doesn't need a real
  4. driver, as it's typically initialized by the boot loader.
  5. However, its bus controller is part of a PM domain, or under the control of a
  6. functional clock. Hence, the bus controller's PM domain and/or clock must be
  7. enabled for child devices connected to the bus (either on-SoC or externally)
  8. to function.
  9. While "simple-pm-bus" follows the "simple-bus" set of properties, as specified
  10. in ePAPR, it is not an extension of "simple-bus".
  11. Required properties:
  12. - compatible: Must contain at least "simple-pm-bus".
  13. Must not contain "simple-bus".
  14. It's recommended to let this be preceded by one or more
  15. vendor-specific compatible values.
  16. - #address-cells, #size-cells, ranges: Must describe the mapping between
  17. parent address and child address spaces.
  18. Optional platform-specific properties for clock or PM domain control (at least
  19. one of them is required):
  20. - clocks: Must contain a reference to the functional clock(s),
  21. - power-domains: Must contain a reference to the PM domain.
  22. Please refer to the binding documentation for the clock and/or PM domain
  23. providers for more details.
  24. Example:
  25. bsc: bus@fec10000 {
  26. compatible = "renesas,bsc-sh73a0", "renesas,bsc",
  27. "simple-pm-bus";
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. ranges = <0 0 0x20000000>;
  31. reg = <0xfec10000 0x400>;
  32. interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
  33. clocks = <&zb_clk>;
  34. power-domains = <&pd_a4s>;
  35. };