[PATCH 0/2] Bring up rk3399 ddr frequency scaling

2015-11-19 Thread Lin Huang
these patchset bring up rk3399 ddr frequency scaling flow, use devfreq framework and simple_ondemand policy. Ddr set rate function will implement in dcf controller which run in the ATF, and rk3399 ATF not ready now, so we need finish it when rk3399 ATF ready. Lin Huang (2): clk: rockchip: dmc

[PATCH 2/2] devfreq: rockchip: support rk3399 dmc devfreq

2015-11-19 Thread Lin Huang
rk3399 do ddr frequency scaling use devfreq framework, use simple_ondemand policy, and use rk3399 dfi controller to get ddr busy time. Signed-off-by: Lin Huang <h...@rock-chips.com> --- drivers/devfreq/Kconfig | 1 + drivers/devfreq/Makefile | 1 + drivers/d

[PATCH 1/2] clk: rockchip: dmc: support rk3399 dmc clock driver

2015-11-19 Thread Lin Huang
support rk3399 dmc clock driver. Note, ddr set rate function will use dcf controller which run in ATF, it need to fishish it when rk3399 arm trust firmware ready. Signed-off-by: Lin Huang <h...@rock-chips.com> --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-

[PATCH 0/2] Bring up rk3399 ddr frequency scaling

2015-11-19 Thread Lin Huang
these patchset bring up rk3399 ddr frequency scaling flow, use devfreq framework and simple_ondemand policy. Ddr set rate function will implement in dcf controller which run in the ATF, and rk3399 ATF not ready now, so we need finish it when rk3399 ATF ready. Lin Huang (2): clk: rockchip: dmc

[PATCH v5 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-11 Thread Lin Huang
gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Lin Huang Reviewed-by: Heiko Stuebner --- Changes in v5: -rebase patch drivers/pinctrl/pinctrl-rockchip.c | 55 +++--- 1 file changed

[PATCH v5 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-11 Thread Lin Huang
From: Heiko Stuebner pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. Signed-off-by: Heiko Stuebner Signed-off-by: Lin Huang --- Changes in v5: - Add From: Heiko Stuebner - Add

[PATCH v5 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-11 Thread Lin Huang
gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Lin Huang h...@rock-chips.com Reviewed-by: Heiko Stuebner he...@sntech.de --- Changes in v5: -rebase patch drivers/pinctrl/pinctrl-rockchip.c | 55

[PATCH v5 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-11 Thread Lin Huang
From: Heiko Stuebner he...@sntech.de pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. Signed-off-by: Heiko Stuebner he...@sntech.de Signed-off-by: Lin Huang h...@rock-chips.com

[PATCH v4 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-07 Thread Lin Huang
gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Lin Huang Reviewed-by: Heiko Stuebner --- Changes in v4: -delete some unrelated new blank line drivers/pinctrl/pinctrl-rockchip.c | 55

[PATCH v4 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-07 Thread Lin Huang
pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. From: Heiko Stuebner Signed-off-by: Lin Huang --- Changes in v4: - Add From: Heiko Stuebner drivers/clk/rockchip/clk-rk3288.c | 1

[PATCH v4 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-07 Thread Lin Huang
gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Lin Huang h...@rock-chips.com Reviewed-by: Heiko Stuebner he...@sntech.de --- Changes in v4: -delete some unrelated new blank line drivers/pinctrl/pinctrl-rockchip.c

[PATCH v4 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-07 Thread Lin Huang
pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. From: Heiko Stuebner he...@sntech.de Signed-off-by: Lin Huang h...@rock-chips.com --- Changes in v4: - Add From: Heiko Stuebner he

[PATCH v3 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-04 Thread Lin Huang
pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. Signed-off-by: Heiko Stuebner Signed-off-by: Lin Huang --- Changes in v3: -match the author and Signed-off-by name drivers/clk

[PATCH v3 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-04 Thread Lin Huang
gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Heiko Stuebner Signed-off-by: Lin Huang --- Changes in v3: -match author and Signed-off-by name drivers/pinctrl/pinctrl-rockchip.c | 57

[PATCH v3 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-04 Thread Lin Huang
pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. Signed-off-by: Heiko Stuebner he...@sntech.de Signed-off-by: Lin Huang h...@rock-chips.com --- Changes in v3: -match the author

[PATCH v3 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-04 Thread Lin Huang
gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Heiko Stuebner he...@sntech.de Signed-off-by: Lin Huang h...@rock-chips.com --- Changes in v3: -match author and Signed-off-by name drivers/pinctrl/pinctrl-rockchip.c

[PATCH v2 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-03 Thread Lin Huang
From: huang lin gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Heiko Stuebner Signed-off-by: Lin Huang --- Changes in v2: Advices by Douglas Anderson -use readl_relaxed() instead readl() -fix commit message format

[PATCH v2 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-03 Thread Lin Huang
From: huang lin pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. Signed-off-by: Heiko Stuebner Signed-off-by: Lin Huang --- Changes in v2: Advices by Douglas Anderson -fix commit

[PATCH v2 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-03 Thread Lin Huang
From: huang lin h...@rock-chips.com gpio can keep state even the clock disable, for save power consumption, only enable gpio clock when it setting Signed-off-by: Heiko Stuebner he...@sntech.de Signed-off-by: Lin Huang h...@rock-chips.com --- Changes in v2: Advices by Douglas Anderson -use

[PATCH v2 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-03 Thread Lin Huang
From: huang lin h...@rock-chips.com pclk_pd_pmu needs to keep running and with the upcoming gpio clock handling this is not always the case anymore. So add it to the list of critical clocks for now. Signed-off-by: Heiko Stuebner he...@sntech.de Signed-off-by: Lin Huang h...@rock-chips.com

<    1   2   3   4