projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547f335
)
clk: exynos5250: add clock ID for div_pcm0
author
Andrew Bresticker
<
[email protected]
>
Wed, 25 Sep 2013 21:12:49 +0000
(14:12 -0700)
committer
Tomasz Figa
<
[email protected]
>
Wed, 8 Jan 2014 17:02:42 +0000
(18:02 +0100)
There is no gate for the PCM clock input to the AudioSS block, so
the parent of sclk_pcm is div_pcm0. Add a clock ID for it so that
we can reference it in device trees.
Signed-off-by: Andrew Bresticker <
[email protected]
>
Reviewed-by: Tomasz Figa <
[email protected]
>
Acked-by: Mike Turquette <
[email protected]
>
Acked-by: Kukjin Kim <
[email protected]
>
Signed-off-by: Tomasz Figa <
[email protected]
>
Documentation/devicetree/bindings/clock/exynos5250-clock.txt
patch
|
blob
|
history
drivers/clk/samsung/clk-exynos5250.c
patch
|
blob
|
history
include/dt-bindings/clock/exynos5250.h
patch
|
blob
|
history
diff --git
a/Documentation/devicetree/bindings/clock/exynos5250-clock.txt
b/Documentation/devicetree/bindings/clock/exynos5250-clock.txt
index 5883ec878ddd199a50e5d5a866529fb8416fb6e7..492ed09ea8c80088dc8d074a0704db7dbd863910 100644
(file)
--- a/
Documentation/devicetree/bindings/clock/exynos5250-clock.txt
+++ b/
Documentation/devicetree/bindings/clock/exynos5250-clock.txt
@@
-62,6
+62,7
@@
clock which they consume.
div_i2s1 157
div_i2s2 158
sclk_hdmiphy 159
+ div_pcm0 160
[Peripheral Clock Gates]
diff --git
a/drivers/clk/samsung/clk-exynos5250.c
b/drivers/clk/samsung/clk-exynos5250.c
index 25c77ab37ccf98b6f488e33b8c47cf8bf72bba96..ff4beebe1f0b797de6fe0b465fc73d713065e612 100644
(file)
--- a/
drivers/clk/samsung/clk-exynos5250.c
+++ b/
drivers/clk/samsung/clk-exynos5250.c
@@
-329,7
+329,7
@@
static struct samsung_div_clock exynos5250_div_clks[] __initdata = {
DIV(0, "div_jpeg", "mout_jpeg", DIV_GEN, 4, 4),
DIV(0, "div_audio0", "mout_audio0", DIV_MAU, 0, 4),
- DIV(0, "div_pcm0", "sclk_audio0", DIV_MAU, 4, 8),
+ DIV(
CLK_DIV_PCM
0, "div_pcm0", "sclk_audio0", DIV_MAU, 4, 8),
DIV(0, "div_sata", "mout_sata", DIV_FSYS0, 20, 4),
DIV(0, "div_usb3", "mout_usb3", DIV_FSYS0, 24, 4),
diff --git
a/include/dt-bindings/clock/exynos5250.h
b/include/dt-bindings/clock/exynos5250.h
index 0512572b2b2465339a0f856943432e931242d20d..922f2dca9bf024d8ffcd8fbc37360c74dd846983 100644
(file)
--- a/
include/dt-bindings/clock/exynos5250.h
+++ b/
include/dt-bindings/clock/exynos5250.h
@@
-55,6
+55,7
@@
#define CLK_DIV_I2S1 157
#define CLK_DIV_I2S2 158
#define CLK_SCLK_HDMIPHY 159
+#define CLK_DIV_PCM0 160
/* gate clocks */
#define CLK_GSCL0 256