linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id
@ 2017-08-18  3:49 Elaine Zhang
  2017-08-18  3:49 ` [PATCH v1 1/2] clk: rockchip: add rk3228 sclk_sdio_src ID Elaine Zhang
  2017-08-18  3:49 ` [PATCH v1 2/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
  0 siblings, 2 replies; 5+ messages in thread
From: Elaine Zhang @ 2017-08-18  3:49 UTC (permalink / raw)
  To: mturquette, sboyd, heiko
  Cc: robh+dt, mark.rutland, devicetree, linux-clk, linux-rockchip,
	linux-kernel, linux-arm-kernel, xxx, xf, huangtao, frank.wang,
	cl, Elaine Zhang

This patch exports sdio src clock for dts reference.

Elaine Zhang (2):
  clk: rockchip: add rk3228 sclk_sdio_src ID
  clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id

 drivers/clk/rockchip/clk-rk3228.c      | 2 +-
 include/dt-bindings/clock/rk3228-cru.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 1/2] clk: rockchip: add rk3228 sclk_sdio_src ID
  2017-08-18  3:49 [PATCH v1 0/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
@ 2017-08-18  3:49 ` Elaine Zhang
  2017-08-21 22:37   ` Heiko Stuebner
  2017-08-18  3:49 ` [PATCH v1 2/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
  1 sibling, 1 reply; 5+ messages in thread
From: Elaine Zhang @ 2017-08-18  3:49 UTC (permalink / raw)
  To: mturquette, sboyd, heiko
  Cc: robh+dt, mark.rutland, devicetree, linux-clk, linux-rockchip,
	linux-kernel, linux-arm-kernel, xxx, xf, huangtao, frank.wang,
	cl, Elaine Zhang

This patch exports sdio src clock for dts reference.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 include/dt-bindings/clock/rk3228-cru.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/dt-bindings/clock/rk3228-cru.h b/include/dt-bindings/clock/rk3228-cru.h
index 56f841c22801..55655ab0a4c4 100644
--- a/include/dt-bindings/clock/rk3228-cru.h
+++ b/include/dt-bindings/clock/rk3228-cru.h
@@ -49,6 +49,7 @@
 #define SCLK_EMMC_DRV		117
 #define SCLK_SDMMC_SAMPLE	118
 #define SCLK_SDIO_SAMPLE	119
+#define SCLK_SDIO_SRC		120
 #define SCLK_EMMC_SAMPLE	121
 #define SCLK_VOP		122
 #define SCLK_HDMI_HDCP		123
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v1 2/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id
  2017-08-18  3:49 [PATCH v1 0/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
  2017-08-18  3:49 ` [PATCH v1 1/2] clk: rockchip: add rk3228 sclk_sdio_src ID Elaine Zhang
@ 2017-08-18  3:49 ` Elaine Zhang
  2017-08-22  0:41   ` Heiko Stuebner
  1 sibling, 1 reply; 5+ messages in thread
From: Elaine Zhang @ 2017-08-18  3:49 UTC (permalink / raw)
  To: mturquette, sboyd, heiko
  Cc: robh+dt, mark.rutland, devicetree, linux-clk, linux-rockchip,
	linux-kernel, linux-arm-kernel, xxx, xf, huangtao, frank.wang,
	cl, Elaine Zhang

In some special circumstances, may be need to reparent clk for sclk_sdio_src.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3228.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk-rk3228.c
index bb405d9044a3..11e7f2d1c054 100644
--- a/drivers/clk/rockchip/clk-rk3228.c
+++ b/drivers/clk/rockchip/clk-rk3228.c
@@ -391,7 +391,7 @@ enum rk3228_plls {
 			RK2928_CLKSEL_CON(11), 8, 2, MFLAGS, 0, 8, DFLAGS,
 			RK2928_CLKGATE_CON(2), 11, GFLAGS),
 
-	COMPOSITE_NODIV(0, "sclk_sdio_src", mux_mmc_src_p, 0,
+	COMPOSITE_NODIV(SCLK_SDIO_SRC, "sclk_sdio_src", mux_mmc_src_p, 0,
 			RK2928_CLKSEL_CON(11), 10, 2, MFLAGS,
 			RK2928_CLKGATE_CON(2), 13, GFLAGS),
 	DIV(SCLK_SDIO, "sclk_sdio", "sclk_sdio_src", 0,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/2] clk: rockchip: add rk3228 sclk_sdio_src ID
  2017-08-18  3:49 ` [PATCH v1 1/2] clk: rockchip: add rk3228 sclk_sdio_src ID Elaine Zhang
@ 2017-08-21 22:37   ` Heiko Stuebner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2017-08-21 22:37 UTC (permalink / raw)
  To: Elaine Zhang
  Cc: mturquette, sboyd, robh+dt, mark.rutland, devicetree, linux-clk,
	linux-rockchip, linux-kernel, linux-arm-kernel, xxx, xf,
	huangtao, frank.wang, cl

Am Freitag, 18. August 2017, 11:49:24 CEST schrieb Elaine Zhang:
> This patch exports sdio src clock for dts reference.
> 
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>

applied for 4.14


Thanks
Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 2/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id
  2017-08-18  3:49 ` [PATCH v1 2/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
@ 2017-08-22  0:41   ` Heiko Stuebner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2017-08-22  0:41 UTC (permalink / raw)
  To: Elaine Zhang
  Cc: mturquette, sboyd, robh+dt, mark.rutland, devicetree, linux-clk,
	linux-rockchip, linux-kernel, linux-arm-kernel, xxx, xf,
	huangtao, frank.wang, cl

Am Freitag, 18. August 2017, 11:49:25 CEST schrieb Elaine Zhang:
> In some special circumstances, may be need to reparent clk for sclk_sdio_src.
> 
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>

applied for 4.14


Thanks
Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-22  0:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18  3:49 [PATCH v1 0/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
2017-08-18  3:49 ` [PATCH v1 1/2] clk: rockchip: add rk3228 sclk_sdio_src ID Elaine Zhang
2017-08-21 22:37   ` Heiko Stuebner
2017-08-18  3:49 ` [PATCH v1 2/2] clk: rockchip: rk3228: add SCLK_SDIO_SRC clk id Elaine Zhang
2017-08-22  0:41   ` Heiko Stuebner

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).