diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-02 19:14:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-02 19:14:07 -0400 |
commit | 0a58471541cc823ef8056d23945c39fec154481c (patch) | |
tree | 04a8499be0659ac16f82f3b0d0d8d2c2ccafe4dd /Documentation/devicetree/bindings/clock | |
parent | ff933a0817f95efbeb97bec5ca609a13f8aed686 (diff) | |
parent | 08d38bebb4dcd6414944f8277ea5ea30010664fe (diff) |
Merge tag 'cleanup-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc into next
Pull ARM SoC cleanups from Olof Johansson:
"Cleanups for 3.16. Among these are:
- a bunch of misc cleanups for Broadcom platforms, mostly
housekeeping
- enabling Common Clock Framework on the older s3c24xx Samsung
chipsets
- cleanup of the Versatile Express system controller code, moving it
to syscon
- power management cleanups for OMAP platforms
plus a handful of other cleanups across the place"
* tag 'cleanup-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (87 commits)
ARM: kconfig: allow PCI support to be selected with ARCH_MULTIPLATFORM
clk: samsung: fix build error
ARM: vexpress: refine dependencies for new code
clk: samsung: clk-s3c2410-dlck: do not use PNAME macro as it declares __initdata
cpufreq: exynos: Fix the compile error
ARM: S3C24XX: move debug-macro.S into the common space
ARM: S3C24XX: use generic DEBUG_UART_PHY/_VIRT in debug macro
ARM: S3C24XX: trim down debug uart handling
ARM: compressed/head.S: remove s3c24xx special case
ARM: EXYNOS: Remove unnecessary inclusion of cpu.h
ARM: EXYNOS: Migrate Exynos specific macros from plat to mach
ARM: EXYNOS: Remove exynos_subsys registration
ARM: EXYNOS: Remove duplicate lines in Makefile
ARM: EXYNOS: use v7_exit_coherency_flush macro for cache disabling
ARM: OMAP4: PRCM: remove references to cm-regbits-44xx.h from PRCM core files
ARM: OMAP3/4: PRM: add support of late_init call to prm_ll_ops
ARM: OMAP3/OMAP4: PRM: add prm_features flags and add IO wakeup under it
ARM: OMAP3/4: PRM: provide io chain reconfig function through irq setup
ARM: OMAP2+: PRM: remove unnecessary cpu_is_XXX calls from prm_init / exit
ARM: OMAP2+: PRCM: cleanup some header includes
...
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
3 files changed, 156 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt b/Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt new file mode 100644 index 000000000000..0b64ad8dadf6 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt | |||
@@ -0,0 +1,50 @@ | |||
1 | * Samsung S3C2410 Clock Controller | ||
2 | |||
3 | The S3C2410 clock controller generates and supplies clock to various controllers | ||
4 | within the SoC. The clock binding described here is applicable to the s3c2410, | ||
5 | s3c2440 and s3c2442 SoCs in the s3c24x family. | ||
6 | |||
7 | Required Properties: | ||
8 | |||
9 | - compatible: should be one of the following. | ||
10 | - "samsung,s3c2410-clock" - controller compatible with S3C2410 SoC. | ||
11 | - "samsung,s3c2440-clock" - controller compatible with S3C2440 SoC. | ||
12 | - "samsung,s3c2442-clock" - controller compatible with S3C2442 SoC. | ||
13 | - reg: physical base address of the controller and length of memory mapped | ||
14 | region. | ||
15 | - #clock-cells: should be 1. | ||
16 | |||
17 | Each clock is assigned an identifier and client nodes can use this identifier | ||
18 | to specify the clock which they consume. Some of the clocks are available only | ||
19 | on a particular SoC. | ||
20 | |||
21 | All available clocks are defined as preprocessor macros in | ||
22 | dt-bindings/clock/samsung,s3c2410-clock.h header and can be used in device | ||
23 | tree sources. | ||
24 | |||
25 | External clocks: | ||
26 | |||
27 | The xti clock used as input for the plls is generated outside the SoC. It is | ||
28 | expected that is are defined using standard clock bindings with a | ||
29 | clock-output-names value of "xti". | ||
30 | |||
31 | Example: Clock controller node: | ||
32 | |||
33 | clocks: clock-controller@4c000000 { | ||
34 | compatible = "samsung,s3c2410-clock"; | ||
35 | reg = <0x4c000000 0x20>; | ||
36 | #clock-cells = <1>; | ||
37 | }; | ||
38 | |||
39 | Example: UART controller node that consumes the clock generated by the clock | ||
40 | controller (refer to the standard clock bindings for information about | ||
41 | "clocks" and "clock-names" properties): | ||
42 | |||
43 | serial@50004000 { | ||
44 | compatible = "samsung,s3c2440-uart"; | ||
45 | reg = <0x50004000 0x4000>; | ||
46 | interrupts = <1 23 3 4>, <1 23 4 4>; | ||
47 | clock-names = "uart", "clk_uart_baud2"; | ||
48 | clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>; | ||
49 | status = "disabled"; | ||
50 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/samsung,s3c2412-clock.txt b/Documentation/devicetree/bindings/clock/samsung,s3c2412-clock.txt new file mode 100644 index 000000000000..2b430960ba47 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/samsung,s3c2412-clock.txt | |||
@@ -0,0 +1,50 @@ | |||
1 | * Samsung S3C2412 Clock Controller | ||
2 | |||
3 | The S3C2412 clock controller generates and supplies clock to various controllers | ||
4 | within the SoC. The clock binding described here is applicable to the s3c2412 | ||
5 | and s3c2413 SoCs in the s3c24x family. | ||
6 | |||
7 | Required Properties: | ||
8 | |||
9 | - compatible: should be "samsung,s3c2412-clock" | ||
10 | - reg: physical base address of the controller and length of memory mapped | ||
11 | region. | ||
12 | - #clock-cells: should be 1. | ||
13 | |||
14 | Each clock is assigned an identifier and client nodes can use this identifier | ||
15 | to specify the clock which they consume. Some of the clocks are available only | ||
16 | on a particular SoC. | ||
17 | |||
18 | All available clocks are defined as preprocessor macros in | ||
19 | dt-bindings/clock/s3c2412.h header and can be used in device | ||
20 | tree sources. | ||
21 | |||
22 | External clocks: | ||
23 | |||
24 | There are several clocks that are generated outside the SoC. It is expected | ||
25 | that they are defined using standard clock bindings with following | ||
26 | clock-output-names: | ||
27 | - "xti" - crystal input - required, | ||
28 | - "ext" - external clock source - optional, | ||
29 | |||
30 | Example: Clock controller node: | ||
31 | |||
32 | clocks: clock-controller@4c000000 { | ||
33 | compatible = "samsung,s3c2412-clock"; | ||
34 | reg = <0x4c000000 0x20>; | ||
35 | #clock-cells = <1>; | ||
36 | }; | ||
37 | |||
38 | Example: UART controller node that consumes the clock generated by the clock | ||
39 | controller (refer to the standard clock bindings for information about | ||
40 | "clocks" and "clock-names" properties): | ||
41 | |||
42 | serial@50004000 { | ||
43 | compatible = "samsung,s3c2412-uart"; | ||
44 | reg = <0x50004000 0x4000>; | ||
45 | interrupts = <1 23 3 4>, <1 23 4 4>; | ||
46 | clock-names = "uart", "clk_uart_baud2", "clk_uart_baud3"; | ||
47 | clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>, | ||
48 | <&clocks SCLK_UART>; | ||
49 | status = "disabled"; | ||
50 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt b/Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt new file mode 100644 index 000000000000..e67bb05478af --- /dev/null +++ b/Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt | |||
@@ -0,0 +1,56 @@ | |||
1 | * Samsung S3C2443 Clock Controller | ||
2 | |||
3 | The S3C2443 clock controller generates and supplies clock to various controllers | ||
4 | within the SoC. The clock binding described here is applicable to all SoCs in | ||
5 | the s3c24x family starting with the s3c2443. | ||
6 | |||
7 | Required Properties: | ||
8 | |||
9 | - compatible: should be one of the following. | ||
10 | - "samsung,s3c2416-clock" - controller compatible with S3C2416 SoC. | ||
11 | - "samsung,s3c2443-clock" - controller compatible with S3C2443 SoC. | ||
12 | - "samsung,s3c2450-clock" - controller compatible with S3C2450 SoC. | ||
13 | - reg: physical base address of the controller and length of memory mapped | ||
14 | region. | ||
15 | - #clock-cells: should be 1. | ||
16 | |||
17 | Each clock is assigned an identifier and client nodes can use this identifier | ||
18 | to specify the clock which they consume. Some of the clocks are available only | ||
19 | on a particular SoC. | ||
20 | |||
21 | All available clocks are defined as preprocessor macros in | ||
22 | dt-bindings/clock/s3c2443.h header and can be used in device | ||
23 | tree sources. | ||
24 | |||
25 | External clocks: | ||
26 | |||
27 | There are several clocks that are generated outside the SoC. It is expected | ||
28 | that they are defined using standard clock bindings with following | ||
29 | clock-output-names: | ||
30 | - "xti" - crystal input - required, | ||
31 | - "ext" - external clock source - optional, | ||
32 | - "ext_i2s" - external I2S clock - optional, | ||
33 | - "ext_uart" - external uart clock - optional, | ||
34 | |||
35 | Example: Clock controller node: | ||
36 | |||
37 | clocks: clock-controller@4c000000 { | ||
38 | compatible = "samsung,s3c2416-clock"; | ||
39 | reg = <0x4c000000 0x40>; | ||
40 | #clock-cells = <1>; | ||
41 | }; | ||
42 | |||
43 | Example: UART controller node that consumes the clock generated by the clock | ||
44 | controller (refer to the standard clock bindings for information about | ||
45 | "clocks" and "clock-names" properties): | ||
46 | |||
47 | serial@50004000 { | ||
48 | compatible = "samsung,s3c2440-uart"; | ||
49 | reg = <0x50004000 0x4000>; | ||
50 | interrupts = <1 23 3 4>, <1 23 4 4>; | ||
51 | clock-names = "uart", "clk_uart_baud2", | ||
52 | "clk_uart_baud3"; | ||
53 | clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>, | ||
54 | <&clocks SCLK_UART>; | ||
55 | status = "disabled"; | ||
56 | }; | ||