Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / arm / samsung / pmu.txt
1 SAMSUNG Exynos SoC series PMU Registers
2
3 Properties:
4  - compatible : should contain two values. First value must be one from following list:
5                    - "samsung,exynos3250-pmu" - for Exynos3250 SoC,
6                    - "samsung,exynos4210-pmu" - for Exynos4210 SoC,
7                    - "samsung,exynos4212-pmu" - for Exynos4212 SoC,
8                    - "samsung,exynos4412-pmu" - for Exynos4412 SoC,
9                    - "samsung,exynos5250-pmu" - for Exynos5250 SoC,
10                    - "samsung,exynos5260-pmu" - for Exynos5260 SoC.
11                    - "samsung,exynos5410-pmu" - for Exynos5410 SoC,
12                    - "samsung,exynos5420-pmu" - for Exynos5420 SoC.
13                 second value must be always "syscon".
14
15  - reg : offset and length of the register set.
16
17  - #clock-cells : must be <1>, since PMU requires once cell as clock specifier.
18                 The single specifier cell is used as index to list of clocks
19                 provided by PMU, which is currently:
20                         0 : SoC clock output (CLKOUT pin)
21
22  - clock-names : list of clock names for particular CLKOUT mux inputs in
23                 following format:
24                         "clkoutN", where N is a decimal number corresponding to
25                         CLKOUT mux control bits value for given input, e.g.
26                                 "clkout0", "clkout7", "clkout15".
27
28  - clocks : list of phandles and specifiers to all input clocks listed in
29                 clock-names property.
30
31 Example :
32 pmu_system_controller: system-controller@10040000 {
33         compatible = "samsung,exynos5250-pmu", "syscon";
34         reg = <0x10040000 0x5000>;
35         #clock-cells = <1>;
36         clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
37                         "clkout4", "clkout8", "clkout9";
38         clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
39                 <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
40                 <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
41                 <&clock CLK_XUSBXTI>;
42 };
43
44 Example of clock consumer :
45
46 usb3503: usb3503@08 {
47         /* ... */
48         clock-names = "refclk";
49         clocks = <&pmu_system_controller 0>;
50         /* ... */
51 };