public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
@ 2014-12-19  0:13 Dmitry Torokhov
  2014-12-19  0:13 ` [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288 Dmitry Torokhov
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2014-12-19  0:13 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Mike Turquette, dianders, sonnyrao, addy.ke, hl, kever.yang,
	linux-rockchip, devicetree, linux-kernel

From: Huang Lin <hl@rock-chips.com>

Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and
PVTM_GPU.

Signed-off-by: Huang Lin <hl@rock-chips.com>
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
---

Note that I left a hole at 122 for SCLK_USBPHY480M_SRC which is floating
around.

 include/dt-bindings/clock/rk3288-cru.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h
index f60ce72..ba4c194 100644
--- a/include/dt-bindings/clock/rk3288-cru.h
+++ b/include/dt-bindings/clock/rk3288-cru.h
@@ -81,6 +81,9 @@
 #define SCLK_SDIO1_SAMPLE	120
 #define SCLK_EMMC_SAMPLE	121
 
+#define SCLK_PVTM_CORE		123
+#define SCLK_PVTM_GPU		124
+
 #define DCLK_VOP0		190
 #define DCLK_VOP1		191
 
-- 
2.2.0.rc0.207.ga3a616c


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

* [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288
  2014-12-19  0:13 [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Dmitry Torokhov
@ 2014-12-19  0:13 ` Dmitry Torokhov
  2014-12-19  0:33   ` Doug Anderson
  2014-12-19  0:33 ` [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Doug Anderson
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Dmitry Torokhov @ 2014-12-19  0:13 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Mike Turquette, dianders, sonnyrao, addy.ke, hl, kever.yang,
	linux-rockchip, devicetree, linux-kernel

From: huang lin <hl@rock-chips.com>

Process-Voltage-Temperatiure Monitor block on RK3288 has two clocks:
PVTM_CORE and PVTM_GPU.

Signed-off-by: Huang Lin <hl@rock-chips.com>
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
---
 drivers/clk/rockchip/clk-rk3288.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c
index ac6be7c..4632bb3 100644
--- a/drivers/clk/rockchip/clk-rk3288.c
+++ b/drivers/clk/rockchip/clk-rk3288.c
@@ -704,8 +704,8 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
 
 	GATE(SCLK_LCDC_PWM0, "sclk_lcdc_pwm0", "xin24m", 0, RK3288_CLKGATE_CON(13), 10, GFLAGS),
 	GATE(SCLK_LCDC_PWM1, "sclk_lcdc_pwm1", "xin24m", 0, RK3288_CLKGATE_CON(13), 11, GFLAGS),
-	GATE(0, "sclk_pvtm_core", "xin24m", 0, RK3288_CLKGATE_CON(5), 9, GFLAGS),
-	GATE(0, "sclk_pvtm_gpu", "xin24m", 0, RK3288_CLKGATE_CON(5), 10, GFLAGS),
+	GATE(SCLK_PVTM_CORE, "sclk_pvtm_core", "xin24m", 0, RK3288_CLKGATE_CON(5), 9, GFLAGS),
+	GATE(SCLK_PVTM_GPU, "sclk_pvtm_gpu", "xin24m", 0, RK3288_CLKGATE_CON(5), 10, GFLAGS),
 	GATE(0, "sclk_mipidsi_24m", "xin24m", 0, RK3288_CLKGATE_CON(5), 15, GFLAGS),
 
 	/* sclk_gpu gates */
-- 
2.2.0.rc0.207.ga3a616c


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

* Re: [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
  2014-12-19  0:13 [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Dmitry Torokhov
  2014-12-19  0:13 ` [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288 Dmitry Torokhov
@ 2014-12-19  0:33 ` Doug Anderson
  2014-12-21 14:14 ` Heiko Stübner
  2015-01-12 20:48 ` Heiko Stübner
  3 siblings, 0 replies; 7+ messages in thread
From: Doug Anderson @ 2014-12-19  0:33 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Heiko Stuebner, Mike Turquette, Sonny Rao, Addy Ke, Lin Huang,
	Kever Yang, open list:ARM/Rockchip SoC...,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org

Dmitry,

On Thu, Dec 18, 2014 at 4:13 PM, Dmitry Torokhov <dtor@chromium.org> wrote:
> From: Huang Lin <hl@rock-chips.com>
>
> Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and
> PVTM_GPU.
>
> Signed-off-by: Huang Lin <hl@rock-chips.com>
> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
> ---
>
> Note that I left a hole at 122 for SCLK_USBPHY480M_SRC which is floating
> around.

I'm sure Heiko can adjust when he lands.


>  include/dt-bindings/clock/rk3288-cru.h | 3 +++
>  1 file changed, 3 insertions(+)

Thanks for sending!

Reviewed-by: Doug Anderson <dianders@chromium.org>

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

* Re: [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288
  2014-12-19  0:13 ` [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288 Dmitry Torokhov
@ 2014-12-19  0:33   ` Doug Anderson
  0 siblings, 0 replies; 7+ messages in thread
From: Doug Anderson @ 2014-12-19  0:33 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Heiko Stuebner, Mike Turquette, Sonny Rao, Addy Ke, Lin Huang,
	Kever Yang, open list:ARM/Rockchip SoC...,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org

Dmitry,

On Thu, Dec 18, 2014 at 4:13 PM, Dmitry Torokhov <dtor@chromium.org> wrote:
> From: huang lin <hl@rock-chips.com>
>
> Process-Voltage-Temperatiure Monitor block on RK3288 has two clocks:
> PVTM_CORE and PVTM_GPU.
>
> Signed-off-by: Huang Lin <hl@rock-chips.com>
> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
> ---
>  drivers/clk/rockchip/clk-rk3288.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks for sending!

Reviewed-by: Doug Anderson <dianders@chromium.org>

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

* Re: [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
  2014-12-19  0:13 [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Dmitry Torokhov
  2014-12-19  0:13 ` [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288 Dmitry Torokhov
  2014-12-19  0:33 ` [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Doug Anderson
@ 2014-12-21 14:14 ` Heiko Stübner
  2014-12-21 19:34   ` Dmitry Torokhov
  2015-01-12 20:48 ` Heiko Stübner
  3 siblings, 1 reply; 7+ messages in thread
From: Heiko Stübner @ 2014-12-21 14:14 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Mike Turquette, dianders, sonnyrao, addy.ke, hl, kever.yang,
	linux-rockchip, devicetree, linux-kernel

Hi Dmitry,

This looks ok and also like it's meant to go upstream, because it still has 
the CHROMIUM-prefix?

No need to resend, I remove them myself, just want to make sure here :-)


Heiko

Am Donnerstag, 18. Dezember 2014, 16:13:45 schrieb Dmitry Torokhov:
> From: Huang Lin <hl@rock-chips.com>
> 
> Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and
> PVTM_GPU.
> 
> Signed-off-by: Huang Lin <hl@rock-chips.com>
> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
> ---
> 
> Note that I left a hole at 122 for SCLK_USBPHY480M_SRC which is floating
> around.
> 
>  include/dt-bindings/clock/rk3288-cru.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/dt-bindings/clock/rk3288-cru.h
> b/include/dt-bindings/clock/rk3288-cru.h index f60ce72..ba4c194 100644
> --- a/include/dt-bindings/clock/rk3288-cru.h
> +++ b/include/dt-bindings/clock/rk3288-cru.h
> @@ -81,6 +81,9 @@
>  #define SCLK_SDIO1_SAMPLE	120
>  #define SCLK_EMMC_SAMPLE	121
> 
> +#define SCLK_PVTM_CORE		123
> +#define SCLK_PVTM_GPU		124
> +
>  #define DCLK_VOP0		190
>  #define DCLK_VOP1		191


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

* Re: [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
  2014-12-21 14:14 ` Heiko Stübner
@ 2014-12-21 19:34   ` Dmitry Torokhov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2014-12-21 19:34 UTC (permalink / raw)
  To: Heiko Stübner
  Cc: Mike Turquette, dianders, sonnyrao, addy.ke, hl, kever.yang,
	linux-rockchip, devicetree, linux-kernel

Hi Heiko,

On Sun, Dec 21, 2014 at 03:14:53PM +0100, Heiko Stübner wrote:
> Hi Dmitry,
> 
> This looks ok and also like it's meant to go upstream, because it still has 
> the CHROMIUM-prefix?
> 
> No need to resend, I remove them myself, just want to make sure here :-)

Yes, my bad, I failed to sanitize the commit messages properly. Both of
these are meant for upstream.

Thanks!

-- 
Dmitry

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

* Re: [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
  2014-12-19  0:13 [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Dmitry Torokhov
                   ` (2 preceding siblings ...)
  2014-12-21 14:14 ` Heiko Stübner
@ 2015-01-12 20:48 ` Heiko Stübner
  3 siblings, 0 replies; 7+ messages in thread
From: Heiko Stübner @ 2015-01-12 20:48 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Mike Turquette, dianders, sonnyrao, addy.ke, hl, kever.yang,
	linux-rockchip, devicetree, linux-kernel

Am Donnerstag, 18. Dezember 2014, 16:13:45 schrieb Dmitry Torokhov:
> From: Huang Lin <hl@rock-chips.com>
> 
> Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and
> PVTM_GPU.
> 
> Signed-off-by: Huang Lin <hl@rock-chips.com>
> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>

applied both patches to my tree

The clock-id addition is living in a separate branch, so if you have dts 
updates using this I can share the clock-id branch easily.


Heiko

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

end of thread, other threads:[~2015-01-12 20:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19  0:13 [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Dmitry Torokhov
2014-12-19  0:13 ` [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288 Dmitry Torokhov
2014-12-19  0:33   ` Doug Anderson
2014-12-19  0:33 ` [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Doug Anderson
2014-12-21 14:14 ` Heiko Stübner
2014-12-21 19:34   ` Dmitry Torokhov
2015-01-12 20:48 ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox