mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
86feafebbe
The patch replaces magic numbers with macros defined in DT header in exynos5440 clock bindings. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Tomasz Figa <t.figa@samsung.com> Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
29 lines
800 B
Plaintext
29 lines
800 B
Plaintext
* Samsung Exynos5440 Clock Controller
|
|
|
|
The Exynos5440 clock controller generates and supplies clock to various
|
|
controllers within the Exynos5440 SoC.
|
|
|
|
Required Properties:
|
|
|
|
- compatible: should be "samsung,exynos5440-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.
|
|
|
|
All available clocks are defined as preprocessor macros in
|
|
dt-bindings/clock/exynos5440.h header and can be used in device
|
|
tree sources.
|
|
|
|
Example: An example of a clock controller node is listed below.
|
|
|
|
clock: clock-controller@0x10010000 {
|
|
compatible = "samsung,exynos5440-clock";
|
|
reg = <0x160000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|