-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3.16-next/clk-s3c24xx-3' into v3.16-next/cleanup-samsung
- Loading branch information
Showing
61 changed files
with
2,655 additions
and
3,223 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
* Samsung S3C2410 Clock Controller | ||
|
||
The S3C2410 clock controller generates and supplies clock to various controllers | ||
within the SoC. The clock binding described here is applicable to the s3c2410, | ||
s3c2440 and s3c2442 SoCs in the s3c24x family. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be one of the following. | ||
- "samsung,s3c2410-clock" - controller compatible with S3C2410 SoC. | ||
- "samsung,s3c2440-clock" - controller compatible with S3C2440 SoC. | ||
- "samsung,s3c2442-clock" - controller compatible with S3C2442 SoC. | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- #clock-cells: should be 1. | ||
|
||
Each clock is assigned an identifier and client nodes can use this identifier | ||
to specify the clock which they consume. Some of the clocks are available only | ||
on a particular SoC. | ||
|
||
All available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/samsung,s3c2410-clock.h header and can be used in device | ||
tree sources. | ||
|
||
External clocks: | ||
|
||
The xti clock used as input for the plls is generated outside the SoC. It is | ||
expected that is are defined using standard clock bindings with a | ||
clock-output-names value of "xti". | ||
|
||
Example: Clock controller node: | ||
|
||
clocks: clock-controller@4c000000 { | ||
compatible = "samsung,s3c2410-clock"; | ||
reg = <0x4c000000 0x20>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
Example: UART controller node that consumes the clock generated by the clock | ||
controller (refer to the standard clock bindings for information about | ||
"clocks" and "clock-names" properties): | ||
|
||
serial@50004000 { | ||
compatible = "samsung,s3c2440-uart"; | ||
reg = <0x50004000 0x4000>; | ||
interrupts = <1 23 3 4>, <1 23 4 4>; | ||
clock-names = "uart", "clk_uart_baud2"; | ||
clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>; | ||
status = "disabled"; | ||
}; |
50 changes: 50 additions & 0 deletions
50
Documentation/devicetree/bindings/clock/samsung,s3c2412-clock.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
* Samsung S3C2412 Clock Controller | ||
|
||
The S3C2412 clock controller generates and supplies clock to various controllers | ||
within the SoC. The clock binding described here is applicable to the s3c2412 | ||
and s3c2413 SoCs in the s3c24x family. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be "samsung,s3c2412-clock" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- #clock-cells: should be 1. | ||
|
||
Each clock is assigned an identifier and client nodes can use this identifier | ||
to specify the clock which they consume. Some of the clocks are available only | ||
on a particular SoC. | ||
|
||
All available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/s3c2412.h header and can be used in device | ||
tree sources. | ||
|
||
External clocks: | ||
|
||
There are several clocks that are generated outside the SoC. It is expected | ||
that they are defined using standard clock bindings with following | ||
clock-output-names: | ||
- "xti" - crystal input - required, | ||
- "ext" - external clock source - optional, | ||
|
||
Example: Clock controller node: | ||
|
||
clocks: clock-controller@4c000000 { | ||
compatible = "samsung,s3c2412-clock"; | ||
reg = <0x4c000000 0x20>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
Example: UART controller node that consumes the clock generated by the clock | ||
controller (refer to the standard clock bindings for information about | ||
"clocks" and "clock-names" properties): | ||
|
||
serial@50004000 { | ||
compatible = "samsung,s3c2412-uart"; | ||
reg = <0x50004000 0x4000>; | ||
interrupts = <1 23 3 4>, <1 23 4 4>; | ||
clock-names = "uart", "clk_uart_baud2", "clk_uart_baud3"; | ||
clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>, | ||
<&clocks SCLK_UART>; | ||
status = "disabled"; | ||
}; |
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
* Samsung S3C2443 Clock Controller | ||
|
||
The S3C2443 clock controller generates and supplies clock to various controllers | ||
within the SoC. The clock binding described here is applicable to all SoCs in | ||
the s3c24x family starting with the s3c2443. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be one of the following. | ||
- "samsung,s3c2416-clock" - controller compatible with S3C2416 SoC. | ||
- "samsung,s3c2443-clock" - controller compatible with S3C2443 SoC. | ||
- "samsung,s3c2450-clock" - controller compatible with S3C2450 SoC. | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- #clock-cells: should be 1. | ||
|
||
Each clock is assigned an identifier and client nodes can use this identifier | ||
to specify the clock which they consume. Some of the clocks are available only | ||
on a particular SoC. | ||
|
||
All available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/s3c2443.h header and can be used in device | ||
tree sources. | ||
|
||
External clocks: | ||
|
||
There are several clocks that are generated outside the SoC. It is expected | ||
that they are defined using standard clock bindings with following | ||
clock-output-names: | ||
- "xti" - crystal input - required, | ||
- "ext" - external clock source - optional, | ||
- "ext_i2s" - external I2S clock - optional, | ||
- "ext_uart" - external uart clock - optional, | ||
|
||
Example: Clock controller node: | ||
|
||
clocks: clock-controller@4c000000 { | ||
compatible = "samsung,s3c2416-clock"; | ||
reg = <0x4c000000 0x40>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
Example: UART controller node that consumes the clock generated by the clock | ||
controller (refer to the standard clock bindings for information about | ||
"clocks" and "clock-names" properties): | ||
|
||
serial@50004000 { | ||
compatible = "samsung,s3c2440-uart"; | ||
reg = <0x50004000 0x4000>; | ||
interrupts = <1 23 3 4>, <1 23 4 4>; | ||
clock-names = "uart", "clk_uart_baud2", | ||
"clk_uart_baud3"; | ||
clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>, | ||
<&clocks SCLK_UART>; | ||
status = "disabled"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.