pd-samsung.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. * Samsung Exynos Power Domains
  2. Exynos processors include support for multiple power domains which are used
  3. to gate power to one or more peripherals on the processor.
  4. Required Properties:
  5. - compatible: should be one of the following.
  6. * samsung,exynos4210-pd - for exynos4210 type power domain.
  7. - reg: physical base address of the controller and length of memory mapped
  8. region.
  9. - #power-domain-cells: number of cells in power domain specifier;
  10. must be 0.
  11. Optional Properties:
  12. - clocks: List of clock handles. The parent clocks of the input clocks to the
  13. devices in this power domain are set to oscclk before power gating
  14. and restored back after powering on a domain. This is required for
  15. all domains which are powered on and off and not required for unused
  16. domains.
  17. - clock-names: The following clocks can be specified:
  18. - oscclk: Oscillator clock.
  19. - clkN: Input clocks to the devices in this power domain. These clocks
  20. will be reparented to oscclk before swithing power domain off.
  21. Their original parent will be brought back after turning on
  22. the domain. Maximum of 4 clocks (N = 0 to 3) are supported.
  23. - asbN: Clocks required by asynchronous bridges (ASB) present in
  24. the power domain. These clock should be enabled during power
  25. domain on/off operations.
  26. - power-domains: phandle pointing to the parent power domain, for more details
  27. see Documentation/devicetree/bindings/power/power_domain.txt
  28. Node of a device using power domains must have a power-domains property
  29. defined with a phandle to respective power domain.
  30. Example:
  31. lcd0: power-domain-lcd0 {
  32. compatible = "samsung,exynos4210-pd";
  33. reg = <0x10023C00 0x10>;
  34. #power-domain-cells = <0>;
  35. };
  36. mfc_pd: power-domain@10044060 {
  37. compatible = "samsung,exynos4210-pd";
  38. reg = <0x10044060 0x20>;
  39. clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_USER_ACLK333>;
  40. clock-names = "oscclk", "clk0";
  41. #power-domain-cells = <0>;
  42. };
  43. See Documentation/devicetree/bindings/power/power_domain.txt for description
  44. of consumer-side bindings.