* [PATCH v2 0/5] fix some clock configuration for the RK3036 platform
@ 2016-01-07 12:17 Xing Zheng
2016-01-07 12:26 ` [PATCH v2 5/5] clk: rockchip: rk3036: add HCLK_MAC id for emac Xing Zheng
[not found] ` <1452169057-24467-1-git-send-email-zhengxing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
0 siblings, 2 replies; 4+ messages in thread
From: Xing Zheng @ 2016-01-07 12:17 UTC (permalink / raw)
To: heiko-4mtYJXux2i+zQB+pC5nmwQ
Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll,
Xing Zheng, Ian Campbell, Michael Turquette, Kumar Gala,
Stephen Boyd, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
keescook-hpIqsD4AKlfQT0dZR+AlfA, linux-clk-u79uwXL29TY76Z2rM5mHXA,
leozwang-hpIqsD4AKlfQT0dZR+AlfA
Hi:
In the development work, we found that some of the previous
incorrect clock configuration on the RK3036 platform, we should
fix them.
Xing Zheng (5):
clk: rockchip: rk3036: fix the FLAGs for clock mux
clk: rockchip: rk3036: fix uarts clock error
clk: rockchip: rk3036: fix the div offset for emac clock
clk: rockchip: rk3036: rename emac ext source clock
clk: rockchip: rk3036: add HCLK_MAC id for emac
drivers/clk/rockchip/clk-rk3036.c | 28 ++++++++++++++--------------
include/dt-bindings/clock/rk3036-cru.h | 1 +
2 files changed, 15 insertions(+), 14 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 5/5] clk: rockchip: rk3036: add HCLK_MAC id for emac
2016-01-07 12:17 [PATCH v2 0/5] fix some clock configuration for the RK3036 platform Xing Zheng
@ 2016-01-07 12:26 ` Xing Zheng
[not found] ` <1452169057-24467-1-git-send-email-zhengxing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
1 sibling, 0 replies; 4+ messages in thread
From: Xing Zheng @ 2016-01-07 12:26 UTC (permalink / raw)
To: heiko
Cc: mturquette, sboyd, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, zhengxing, linux-clk, linux-arm-kernel,
linux-rockchip, linux-kernel, devicetree, keescook, leozwang
We need to add HCLK_MAC id explicitly because that it is referred
by hclk in the emac driver.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
---
drivers/clk/rockchip/clk-rk3036.c | 2 +-
include/dt-bindings/clock/rk3036-cru.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c
index bc7fbac..15cd29a 100644
--- a/drivers/clk/rockchip/clk-rk3036.c
+++ b/drivers/clk/rockchip/clk-rk3036.c
@@ -404,7 +404,7 @@ static struct rockchip_clk_branch rk3036_clk_branches[] __initdata = {
GATE(HCLK_OTG1, "hclk_otg1", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(7), 3, GFLAGS),
GATE(HCLK_I2S, "hclk_i2s", "hclk_peri", 0, RK2928_CLKGATE_CON(7), 2, GFLAGS),
GATE(0, "hclk_sfc", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 14, GFLAGS),
- GATE(0, "hclk_mac", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 15, GFLAGS),
+ GATE(HCLK_MAC, "hclk_mac", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 15, GFLAGS),
/* pclk_peri gates */
GATE(0, "pclk_peri_matrix", "pclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(4), 1, GFLAGS),
diff --git a/include/dt-bindings/clock/rk3036-cru.h b/include/dt-bindings/clock/rk3036-cru.h
index ebc7a7b..3396591 100644
--- a/include/dt-bindings/clock/rk3036-cru.h
+++ b/include/dt-bindings/clock/rk3036-cru.h
@@ -92,6 +92,7 @@
#define HCLK_SDMMC 456
#define HCLK_SDIO 457
#define HCLK_EMMC 459
+#define HCLK_MAC 460
#define HCLK_I2S 462
#define HCLK_LCDC 465
#define HCLK_ROM 467
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/5] fix some clock configuration for the RK3036 platform
[not found] ` <1452169057-24467-1-git-send-email-zhengxing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
@ 2016-01-09 20:10 ` Heiko Stuebner
2016-01-10 7:26 ` Xing Zheng
0 siblings, 1 reply; 4+ messages in thread
From: Heiko Stuebner @ 2016-01-09 20:10 UTC (permalink / raw)
To: Xing Zheng
Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll,
Ian Campbell, Michael Turquette, Kumar Gala, Stephen Boyd,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
keescook-hpIqsD4AKlfQT0dZR+AlfA, linux-clk-u79uwXL29TY76Z2rM5mHXA,
leozwang-hpIqsD4AKlfQT0dZR+AlfA
Hi Xing
Am Donnerstag, 7. Januar 2016, 20:17:32 schrieb Xing Zheng:
> In the development work, we found that some of the previous
> incorrect clock configuration on the RK3036 platform, we should
> fix them.
I've applied patches 1-4 as fixes for 4.5 [0] and will apply patch 5
regularly once 4.5-rc1 is released and I have stable base again.
> Xing Zheng (5):
> clk: rockchip: rk3036: fix the FLAGs for clock mux
> clk: rockchip: rk3036: fix uarts clock error
> clk: rockchip: rk3036: fix the div offset for emac clock
> clk: rockchip: rk3036: rename emac ext source clock
please make sure to also update the binding document in such cases.
I've done it myself for this one.
[for people reading along: the rk3036 clock-driver + binding is new in
4.5 so we should be ok to fix the naming before it is actually released]
Heiko
[0] https://git.kernel.org/cgit/linux/kernel/git/mmind/linux-rockchip.git/log/?h=v4.5-clk/fixes
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/5] fix some clock configuration for the RK3036 platform
2016-01-09 20:10 ` [PATCH v2 0/5] fix some clock configuration for the RK3036 platform Heiko Stuebner
@ 2016-01-10 7:26 ` Xing Zheng
0 siblings, 0 replies; 4+ messages in thread
From: Xing Zheng @ 2016-01-10 7:26 UTC (permalink / raw)
To: Heiko Stuebner
Cc: keescook, leozwang, linux-rockchip, devicetree, Michael Turquette,
Stephen Boyd, linux-kernel, Kumar Gala, Ian Campbell, Rob Herring,
Pawel Moll, Mark Rutland, linux-clk, linux-arm-kernel,
郑兴
Hi Heiko,
On 2016年01月10日 04:10, Heiko Stuebner wrote:
> Hi Xing
>
> Am Donnerstag, 7. Januar 2016, 20:17:32 schrieb Xing Zheng:
>> In the development work, we found that some of the previous
>> incorrect clock configuration on the RK3036 platform, we should
>> fix them.
> I've applied patches 1-4 as fixes for 4.5 [0] and will apply patch 5
> regularly once 4.5-rc1 is released and I have stable base again.
>
>
>> Xing Zheng (5):
>> clk: rockchip: rk3036: fix the FLAGs for clock mux
>> clk: rockchip: rk3036: fix uarts clock error
>> clk: rockchip: rk3036: fix the div offset for emac clock
>> clk: rockchip: rk3036: rename emac ext source clock
> please make sure to also update the binding document in such cases.
> I've done it myself for this one.
>
> [for people reading along: the rk3036 clock-driver + binding is new in
> 4.5 so we should be ok to fix the naming before it is actually released]
>
>
> Heiko
>
>
> [0] https://git.kernel.org/cgit/linux/kernel/git/mmind/linux-rockchip.git/log/?h=v4.5-clk/fixes
>
OK, I have updated the rockchip,rk3036-cru.txt and sent a patch to the
upstream.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-10 7:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-07 12:17 [PATCH v2 0/5] fix some clock configuration for the RK3036 platform Xing Zheng
2016-01-07 12:26 ` [PATCH v2 5/5] clk: rockchip: rk3036: add HCLK_MAC id for emac Xing Zheng
[not found] ` <1452169057-24467-1-git-send-email-zhengxing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-01-09 20:10 ` [PATCH v2 0/5] fix some clock configuration for the RK3036 platform Heiko Stuebner
2016-01-10 7:26 ` Xing Zheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).