Thomas Abraham | 91cfbd4 | 2012-01-27 15:25:00 +0900 | [diff] [blame] | 1 | * Samsung Exynos Power Domains |
| 2 | |
| 3 | Exynos processors include support for multiple power domains which are used |
| 4 | to gate power to one or more peripherals on the processor. |
| 5 | |
| 6 | Required Properties: |
Tomasz Figa | 8a65d23 | 2012-11-22 00:21:17 +0900 | [diff] [blame^] | 7 | - compatible: should be one of the following. |
Thomas Abraham | 91cfbd4 | 2012-01-27 15:25:00 +0900 | [diff] [blame] | 8 | * samsung,exynos4210-pd - for exynos4210 type power domain. |
| 9 | - reg: physical base address of the controller and length of memory mapped |
| 10 | region. |
| 11 | |
Tomasz Figa | 8a65d23 | 2012-11-22 00:21:17 +0900 | [diff] [blame^] | 12 | Node of a device using power domains must have a samsung,power-domain property |
| 13 | defined with a phandle to respective power domain. |
| 14 | |
Thomas Abraham | 91cfbd4 | 2012-01-27 15:25:00 +0900 | [diff] [blame] | 15 | Example: |
| 16 | |
| 17 | lcd0: power-domain-lcd0 { |
| 18 | compatible = "samsung,exynos4210-pd"; |
| 19 | reg = <0x10023C00 0x10>; |
| 20 | }; |
Tomasz Figa | 8a65d23 | 2012-11-22 00:21:17 +0900 | [diff] [blame^] | 21 | |
| 22 | Example of the node using power domain: |
| 23 | |
| 24 | node { |
| 25 | /* ... */ |
| 26 | samsung,power-domain = <&lcd0>; |
| 27 | /* ... */ |
| 28 | }; |