* [PATCH 0/8] Support and fixes the rk3228 SoCS for thermal @ 2016-02-03 4:12 Caesar Wang 2016-02-03 4:12 ` [PATCH 2/8] clk: rockchip: add the tsadc clocks found on rk3228 SoCs Caesar Wang 0 siblings, 1 reply; 2+ messages in thread From: Caesar Wang @ 2016-02-03 4:12 UTC (permalink / raw) To: Heiko Stuebner, edubezval Cc: huangtao, linux-rockchip, zhangqing, Dmitry Torokhov, Caesar Wang, devicetree, Michael Turquette, linux-pm, Stephen Boyd, Kumar Gala, linux-kernel, Ian Campbell, Rob Herring, linux-arm-kernel, Pawel Moll, Zhang Rui, Mark Rutland, Russell King, linux-clk, Jeffy Chen Hello Eduardo, Heiko, Michael & Stephen: This series pacthes to support the rk3228 SoCs thermal. They have the following patches to work on rk3228 SoCs. bdc79c0 ARM: dts: rockchip: add the thermal main info found on rk3228 22ea3c3 ARM: dts: rockchip: enable the tsadc for rk3228 evb b907b75 thermal: rockchip: fix the tsadc sequence output on rk3228/rk3399 fb11fbd thermal: rockchip: the rename compatibles for rockchip SoCs df9c1bd thermal: rockchip: fix calculation error for code_to_temp bd2720c thermal: rockchip: fix a impossible condition caused by the warning 8cf2d1b clk: rockchip: add the tsadc clocks found on rk3228 SoCs 1a6f334 clk: rockchip: add id of the tsadc clock found on rk3228 SoCs Verified on https://github.com/Caesar-github/rockchip/tree/rk3228-thermal-tests. This series patches are based on Linux version 4.5.0-rc1+ (wxt@ubuntu) (...) #186 SMP Tue Feb 2 17:11:48 CST 2016 --- Hi Michael,Stephen PATCH[1/8-2/8]: Add the tsadc needed clocks for rk3228 SoCs Hi Eduardo, PATCH[3/8]: To fix a build warning came from Dan Carpenter report smatch check, Thanks. As the patch exists in https://patchwork.kernel.org/patch/7757311/ PATCH[4/8]: fix calculation error for code_to_temp That's a error since the copy causes. PATCH[5/8]: the rename compatibles for rockchip SoCs As the more and more rockchip SOCs are supported in thermal driver. this pacth supposed to be compatible for better. PATCH[6/8]: fix the tsadc sequence output on rk3228/rk3399 Fixes the tsadc sequence output since the rk3228/rk3399 SoCs design. Hi Heiko, PATCH[7/8-8/8]: thermal DTS 1) add the thermal main info found on rk3228 2) enable the tsadc for rk3228 evb I'd appreciate if someone have free time to review that. :) Caesar Wang (7): clk: rockchip: add id of the tsadc clock found on rk3228 SoCs clk: rockchip: add the tsadc clocks found on rk3228 SoCs thermal: rockchip: fix a impossible condition caused by the warning thermal: rockchip: the rename compatibles for rockchip SoCs thermal: rockchip: fix the tsadc sequence output on rk3228/rk3399 ARM: dts: rockchip: enable the tsadc for rk3228 evb ARM: dts: rockchip: add the thermal main info found on rk3228 Elaine Zhang (1): thermal: rockchip: fix calculation error for code_to_temp arch/arm/boot/dts/rk3228-evb.dts | 7 + arch/arm/boot/dts/rk3228.dtsi | 69 ++++++++++ drivers/clk/rockchip/clk-rk3228.c | 4 +- drivers/thermal/rockchip_thermal.c | 239 +++++++++++++++++++-------------- include/dt-bindings/clock/rk3228-cru.h | 2 + 5 files changed, 216 insertions(+), 105 deletions(-) -- 1.9.1 ^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/8] clk: rockchip: add the tsadc clocks found on rk3228 SoCs 2016-02-03 4:12 [PATCH 0/8] Support and fixes the rk3228 SoCS for thermal Caesar Wang @ 2016-02-03 4:12 ` Caesar Wang 0 siblings, 0 replies; 2+ messages in thread From: Caesar Wang @ 2016-02-03 4:12 UTC (permalink / raw) To: Heiko Stuebner, edubezval Cc: huangtao, linux-rockchip, zhangqing, Dmitry Torokhov, Caesar Wang, Michael Turquette, Stephen Boyd, linux-kernel, linux-clk, linux-arm-kernel This patch adds the needed clocks for rk3228 tsadc. Signed-off-by: Caesar Wang <wxt@rock-chips.com> --- drivers/clk/rockchip/clk-rk3228.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk-rk3228.c index 981a502..6374fef 100644 --- a/drivers/clk/rockchip/clk-rk3228.c +++ b/drivers/clk/rockchip/clk-rk3228.c @@ -422,7 +422,7 @@ static struct rockchip_clk_branch rk3228_clk_branches[] __initdata = { GATE(0, "sclk_otgphy1", "xin24m", 0, RK2928_CLKGATE_CON(1), 6, GFLAGS), - COMPOSITE_NOMUX(0, "sclk_tsadc", "xin24m", 0, + COMPOSITE_NOMUX(SCLK_TSADC, "sclk_tsadc", "xin24m", 0, RK2928_CLKSEL_CON(24), 6, 10, DFLAGS, RK2928_CLKGATE_CON(2), 8, GFLAGS), @@ -582,7 +582,7 @@ static struct rockchip_clk_branch rk3228_clk_branches[] __initdata = { GATE(PCLK_UART0, "pclk_uart0", "pclk_cpu", 0, RK2928_CLKGATE_CON(9), 12, GFLAGS), GATE(PCLK_UART1, "pclk_uart1", "pclk_cpu", 0, RK2928_CLKGATE_CON(9), 13, GFLAGS), GATE(PCLK_UART2, "pclk_uart2", "pclk_cpu", 0, RK2928_CLKGATE_CON(9), 14, GFLAGS), - GATE(0, "pclk_tsadc", "pclk_cpu", 0, RK2928_CLKGATE_CON(9), 15, GFLAGS), + GATE(PCLK_TSADC, "pclk_tsadc", "pclk_cpu", 0, RK2928_CLKGATE_CON(9), 15, GFLAGS), GATE(PCLK_GRF, "pclk_grf", "pclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(10), 0, GFLAGS), GATE(0, "pclk_cru", "pclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(10), 1, GFLAGS), GATE(0, "pclk_sgrf", "pclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(10), 2, GFLAGS), -- 1.9.1 ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-03 4:12 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-02-03 4:12 [PATCH 0/8] Support and fixes the rk3228 SoCS for thermal Caesar Wang 2016-02-03 4:12 ` [PATCH 2/8] clk: rockchip: add the tsadc clocks found on rk3228 SoCs Caesar Wang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox