~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/powerpc/4xx/cpm.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 PPC4xx Clock Power Management (CPM) node
  2 
  3 Required properties:
  4         - compatible            : compatible list, currently only "ibm,cpm"
  5         - dcr-access-method     : "native"
  6         - dcr-reg               : < DCR register range >
  7 
  8 Optional properties:
  9         - er-offset             : All 4xx SoCs with a CPM controller have
 10                                   one of two different order for the CPM
 11                                   registers. Some have the CPM registers
 12                                   in the following order (ER,FR,SR). The
 13                                   others have them in the following order
 14                                   (SR,ER,FR). For the second case set
 15                                   er-offset = <1>.
 16         - unused-units          : specifier consist of one cell. For each
 17                                   bit in the cell, the corresponding bit
 18                                   in CPM will be set to turn off unused
 19                                   devices.
 20         - idle-doze             : specifier consist of one cell. For each
 21                                   bit in the cell, the corresponding bit
 22                                   in CPM will be set to turn off unused
 23                                   devices. This is usually just CPM[CPU].
 24         - standby               : specifier consist of one cell. For each
 25                                   bit in the cell, the corresponding bit
 26                                   in CPM will be set on standby and
 27                                   restored on resume.
 28         - suspend               : specifier consist of one cell. For each
 29                                   bit in the cell, the corresponding bit
 30                                   in CPM will be set on suspend (mem) and
 31                                   restored on resume. Note, for standby
 32                                   and suspend the corresponding bits can
 33                                   be different or the same. Usually for
 34                                   standby only class 2 and 3 units are set.
 35                                   However, the interface does not care.
 36                                   If they are the same, the additional
 37                                   power saving will be seeing if support
 38                                   is available to put the DDR in self
 39                                   refresh mode and any additional power
 40                                   saving techniques for the specific SoC.
 41 
 42 Example:
 43         CPM0: cpm {
 44                 compatible = "ibm,cpm";
 45                 dcr-access-method = "native";
 46                 dcr-reg = <0x160 0x003>;
 47                 er-offset = <0>;
 48                 unused-units = <0x00000100>;
 49                 idle-doze = <0x02000000>;
 50                 standby = <0xfeff0000>;
 51                 suspend = <0xfeff791d>;
 52 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php