CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
Subsystems (3)
PATCH 1/2 CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks
From: Huang Lin <[email protected]>
Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and PVTM_GPU.
---
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(+)
include/dt-bindings/clock/rk3288-cru.h +3 -0
@@ -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
Signature · 6 lines
2.2.0.rc0.207.ga3a616c -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/2 CHROMIUM: clk: rockchip: add PVTM clocks on rk3288
From: huang lin <[email protected]>
Process-Voltage-Temperatiure Monitor block on RK3288 has two clocks:PVTM_CORE and PVTM_GPU.
--- drivers/clk/rockchip/clk-rk3288.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/rockchip/clk-rk3288.c +2 -2
@@ -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 */
Signature · 6 lines
2.2.0.rc0.207.ga3a616c -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288
Dmitry,
Quoted 10 lines · Dmitry Torokhov
From: huang lin <[email protected]>
Process-Voltage-Temperatiure Monitor block on RK3288 has two clocks:
PVTM_COREandPVTM_GPU.Signed-off-by Huang Lin <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>--- drivers/clk/rockchip/clk-rk3288.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for sending!
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Dmitry,
Quoted 11 lines · Dmitry Torokhov
From: Huang Lin <[email protected]>
Process-Voltage-Temperature Monitor has two clocks,
PVTM_COREandPVTM_GPU.Signed-off-by Huang Lin <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>---
Note that I left a hole at 122 for
SCLK_USBPHY480M_SRCwhich is floating around.
I'm sure Heiko can adjust when he lands.
Quoted 2 lines
include/dt-bindings/clock/rk3288-cru.h | 3 +++ 1 file changed, 3 insertions(+)
Thanks for sending!
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Heiko Stübner
maintainerHi 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:
Quoted 20 lines
From: Huang Lin <[email protected]>
Process-Voltage-Temperature Monitor has two clocks,
PVTM_COREandPVTM_GPU.Signed-off-by Huang Lin <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>---
Note that I left a hole at 122 for
SCLK_USBPHY480M_SRCwhich is floating around.include/dt-bindings/clock/rk3288-cru.h | 3 +++ 1 file changed, 3 insertions(+)(quoted diff) +0
-0
b/include/dt-bindings/clock/rk3288-cru.hindex f60ce72..ba4c194 100644
include/dt-bindings/clock/rk3288-cru.h line 88
Quoted 8 lines
include/dt-bindings/clock/rk3288-cru.h +3
-0@@ -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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Heiko,
Quoted 6 lines · Heiko Stübner
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!
Signature · 1 line
Dmitry
Am Donnerstag, 18. Dezember 2014, 16:13:45 schrieb Dmitry Torokhov:
Quoted 7 lines
From: Huang Lin <[email protected]>
Process-Voltage-Temperature Monitor has two clocks,
PVTM_COREandPVTM_GPU.Signed-off-by Huang Lin <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html