* [PATCH] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks @ 2015-08-17 17:38 Michael Niewoehner 2015-08-17 18:01 ` Heiko Stuebner 0 siblings, 1 reply; 10+ messages in thread From: Michael Niewoehner @ 2015-08-17 17:38 UTC (permalink / raw) To: linux-arm-kernel gpio clock is getting disabled to save power but pclk_cpu is needed for act8865 regulator Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> --- drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "aclk_cpu", "aclk_peri", "hclk_peri", + "pclk_cpu", }; static void __init rk3188_common_clk_init(struct device_node *np) -- 2.5.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-17 17:38 [PATCH] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks Michael Niewoehner @ 2015-08-17 18:01 ` Heiko Stuebner 2015-08-17 18:51 ` Michael Niewoehner 0 siblings, 1 reply; 10+ messages in thread From: Heiko Stuebner @ 2015-08-17 18:01 UTC (permalink / raw) To: linux-arm-kernel Hi, Am Montag, 17. August 2015, 19:38:22 schrieb Michael Niewoehner: > gpio clock is getting disabled to save power but pclk_cpu is needed for > act8865 regulator Please refine the commit message a bit :-) . Something along pclk_cpu needs to keep running and with the recent gpio clock handling this is not always the case anymore. So add it to the list of critical clocks. and also please add "Linus Walleij <linus.walleij@linaro.org>" to the list of recipients. As the gpio clock handling change does go through his tree, the matching critical clock handling should also go through him. Heiko > > Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> > --- > drivers/clk/rockchip/clk-rk3188.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/rockchip/clk-rk3188.c > b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 > --- a/drivers/clk/rockchip/clk-rk3188.c > +++ b/drivers/clk/rockchip/clk-rk3188.c > @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] > __initconst = { "aclk_cpu", > "aclk_peri", > "hclk_peri", > + "pclk_cpu", > }; > > static void __init rk3188_common_clk_init(struct device_node *np) ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-17 18:01 ` Heiko Stuebner @ 2015-08-17 18:51 ` Michael Niewoehner 2015-08-17 19:37 ` Heiko Stuebner 0 siblings, 1 reply; 10+ messages in thread From: Michael Niewoehner @ 2015-08-17 18:51 UTC (permalink / raw) To: linux-arm-kernel Hi Heiko, I merged yours and mine :-) pclk_cpu needs to keep running because it is needed for devices like the act8865 regulator but with the recent gpio clock handling this is not always the case anymore. So add it to the list of critical clocks. Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> --- drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "aclk_cpu", "aclk_peri", "hclk_peri", + "pclk_cpu", }; static void __init rk3188_common_clk_init(struct device_node *np) -- 2.5.0 Am 17.08.2015 um 20:01 schrieb Heiko Stuebner <heiko@sntech.de>: > Hi, > > Am Montag, 17. August 2015, 19:38:22 schrieb Michael Niewoehner: >> gpio clock is getting disabled to save power but pclk_cpu is needed for >> act8865 regulator > > Please refine the commit message a bit :-) . Something along > > pclk_cpu needs to keep running and with the recent gpio clock > handling this is not always the case anymore. So add it to the list > of critical clocks. > > > and also please add "Linus Walleij <linus.walleij@linaro.org>" to the list of > recipients. As the gpio clock handling change does go through his tree, the > matching critical clock handling should also go through him. > > > Heiko > >> >> Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> >> --- >> drivers/clk/rockchip/clk-rk3188.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/clk/rockchip/clk-rk3188.c >> b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 >> --- a/drivers/clk/rockchip/clk-rk3188.c >> +++ b/drivers/clk/rockchip/clk-rk3188.c >> @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] >> __initconst = { "aclk_cpu", >> "aclk_peri", >> "hclk_peri", >> + "pclk_cpu", >> }; >> >> static void __init rk3188_common_clk_init(struct device_node *np) > ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-17 18:51 ` Michael Niewoehner @ 2015-08-17 19:37 ` Heiko Stuebner 2015-08-17 19:50 ` [PATCH v2] " Michael Niewoehner 0 siblings, 1 reply; 10+ messages in thread From: Heiko Stuebner @ 2015-08-17 19:37 UTC (permalink / raw) To: linux-arm-kernel Hi Michael, need to pick a bit more on your patch submission :-) Please take a look for example at http://lists.infradead.org/pipermail/linux-rockchip/2014-November/001043.html on how a v2 submission needs to look like. Specifically: - In most cases not as a reply to a reply to another mail. - Mail subject: [PATCH v2] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks Am Montag, 17. August 2015, 20:51:14 schrieb Michael Niewoehner: > Hi Heiko, > > I merged yours and mine :-) > > no prose nor empty lines. If necessary such stuff could sit below the "---" which results in it not making it into the actuall commit message. > pclk_cpu needs to keep running because it is needed for devices like > the act8865 regulator but with the recent gpio clock handling this is > not always the case anymore. So add it to the list of critical clocks. > > Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> > --- Here any prose-text you like to add. Also, changelog: changes in v2: - adapt commit message - add Linus Walleij to recipients, as the patch is related to the gpio clock change in the rockchip pinctrl driver it should go through his tree as well > drivers/clk/rockchip/clk-rk3188.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/rockchip/clk-rk3188.c > b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 > --- a/drivers/clk/rockchip/clk-rk3188.c > +++ b/drivers/clk/rockchip/clk-rk3188.c > @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] > __initconst = { "aclk_cpu", > "aclk_peri", > "hclk_peri", > + "pclk_cpu", > }; > > static void __init rk3188_common_clk_init(struct device_node *np) no quotes of other mails, like the stuff below. Heiko > > > Hi, > > > > Am Montag, 17. August 2015, 19:38:22 schrieb Michael Niewoehner: > >> gpio clock is getting disabled to save power but pclk_cpu is needed for > >> act8865 regulator > > > > Please refine the commit message a bit :-) . Something along > > > > pclk_cpu needs to keep running and with the recent gpio clock > > handling this is not always the case anymore. So add it to the list > > of critical clocks. > > > > > > and also please add "Linus Walleij <linus.walleij@linaro.org>" to the list > > of recipients. As the gpio clock handling change does go through his > > tree, the matching critical clock handling should also go through him. > > > > > > Heiko > > > >> Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> > >> --- > >> drivers/clk/rockchip/clk-rk3188.c | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/drivers/clk/rockchip/clk-rk3188.c > >> b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 > >> --- a/drivers/clk/rockchip/clk-rk3188.c > >> +++ b/drivers/clk/rockchip/clk-rk3188.c > >> @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] > >> __initconst = { "aclk_cpu", > >> > >> "aclk_peri", > >> "hclk_peri", > >> > >> + "pclk_cpu", > >> }; > >> > >> static void __init rk3188_common_clk_init(struct device_node *np) ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-17 19:37 ` Heiko Stuebner @ 2015-08-17 19:50 ` Michael Niewoehner 2015-08-17 19:55 ` Heiko Stuebner 2015-08-25 18:59 ` Michael Turquette 0 siblings, 2 replies; 10+ messages in thread From: Michael Niewoehner @ 2015-08-17 19:50 UTC (permalink / raw) To: linux-arm-kernel pclk_cpu needs to keep running because it is needed for devices like the act8865 regulator but with the recent gpio clock handling this is not always the case anymore. So add it to the list of critical clocks. Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> --- Changes in v2: - adapt commit message - add Linus Walleij to recipients, as the patch is related to the gpio clock change in the rockchip pinctrl driver it should go through his tree as well drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "aclk_cpu", "aclk_peri", "hclk_peri", + "pclk_cpu", }; static void __init rk3188_common_clk_init(struct device_node *np) -- 2.5.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-17 19:50 ` [PATCH v2] " Michael Niewoehner @ 2015-08-17 19:55 ` Heiko Stuebner 2015-08-25 18:59 ` Michael Turquette 1 sibling, 0 replies; 10+ messages in thread From: Heiko Stuebner @ 2015-08-17 19:55 UTC (permalink / raw) To: linux-arm-kernel Am Montag, 17. August 2015, 21:50:53 schrieb Michael Niewoehner: > pclk_cpu needs to keep running because it is needed for devices like > the act8865 regulator but with the recent gpio clock handling this is > not always the case anymore. So add it to the list of critical clocks. > > Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> Reviewed-by: Heiko Stuebner <heiko@sntech.de> > --- > Changes in v2: > - adapt commit message > - add Linus Walleij to recipients, as the patch is related to the gpio clock > change in the rockchip pinctrl driver it should go through his tree as well > > drivers/clk/rockchip/clk-rk3188.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/rockchip/clk-rk3188.c > b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 > --- a/drivers/clk/rockchip/clk-rk3188.c > +++ b/drivers/clk/rockchip/clk-rk3188.c > @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] > __initconst = { "aclk_cpu", > "aclk_peri", > "hclk_peri", > + "pclk_cpu", > }; > > static void __init rk3188_common_clk_init(struct device_node *np) ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-17 19:50 ` [PATCH v2] " Michael Niewoehner 2015-08-17 19:55 ` Heiko Stuebner @ 2015-08-25 18:59 ` Michael Turquette 2015-08-25 20:17 ` Heiko Stuebner 2015-08-25 20:22 ` [PATCH v3] " Michael Niewoehner 1 sibling, 2 replies; 10+ messages in thread From: Michael Turquette @ 2015-08-25 18:59 UTC (permalink / raw) To: linux-arm-kernel Quoting Michael Niewoehner (2015-08-17 12:50:53) > pclk_cpu needs to keep running because it is needed for devices like > the act8865 regulator but with the recent gpio clock handling this is > not always the case anymore. So add it to the list of critical clocks. > > Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> Patch fails to apply due to a problem with line 15. git format-patch problem? Regards, Mike > --- > Changes in v2: > - adapt commit message > - add Linus Walleij to recipients, as the patch is related to the gpio clock > change in the rockchip pinctrl driver it should go through his tree as well > > drivers/clk/rockchip/clk-rk3188.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c > index e4f9d47..1c93229 100644 > --- a/drivers/clk/rockchip/clk-rk3188.c > +++ b/drivers/clk/rockchip/clk-rk3188.c > @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { > "aclk_cpu", > "aclk_peri", > "hclk_peri", > + "pclk_cpu", > }; > > static void __init rk3188_common_clk_init(struct device_node *np) > -- > 2.5.0 > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-25 18:59 ` Michael Turquette @ 2015-08-25 20:17 ` Heiko Stuebner 2015-08-25 20:22 ` [PATCH v3] " Michael Niewoehner 1 sibling, 0 replies; 10+ messages in thread From: Heiko Stuebner @ 2015-08-25 20:17 UTC (permalink / raw) To: linux-arm-kernel Am Dienstag, 25. August 2015, 11:59:31 schrieb Michael Turquette: > Quoting Michael Niewoehner (2015-08-17 12:50:53) > > > pclk_cpu needs to keep running because it is needed for devices like > > the act8865 regulator but with the recent gpio clock handling this is > > not always the case anymore. So add it to the list of critical clocks. > > > > Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> > > Patch fails to apply due to a problem with line 15. git format-patch > problem? see comment below. We triggered this problem with a change to the pinctrl driver and another clock-entry to the critical clocks already went into Linus' pinctrl tree. So I guess this patch should probably also go through his tree - or just go in through any tree after 4.3-rc1. > > Regards, > Mike > > > --- > > Changes in v2: > > - adapt commit message > > - add Linus Walleij to recipients, as the patch is related to the gpio > > clock> > > change in the rockchip pinctrl driver it should go through his tree as > > well > > > > drivers/clk/rockchip/clk-rk3188.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/clk/rockchip/clk-rk3188.c > > b/drivers/clk/rockchip/clk-rk3188.c index e4f9d47..1c93229 100644 > > --- a/drivers/clk/rockchip/clk-rk3188.c > > +++ b/drivers/clk/rockchip/clk-rk3188.c > > @@ -708,6 +708,7 @@ static const char *const rk3188_critical_clocks[] > > __initconst = {> > > "aclk_cpu", > > "aclk_peri", > > "hclk_peri", > > > > + "pclk_cpu", > > }; > > > > static void __init rk3188_common_clk_init(struct device_node *np) ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v3] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-25 18:59 ` Michael Turquette 2015-08-25 20:17 ` Heiko Stuebner @ 2015-08-25 20:22 ` Michael Niewoehner 2015-08-27 16:52 ` Michael Turquette 1 sibling, 1 reply; 10+ messages in thread From: Michael Niewoehner @ 2015-08-25 20:22 UTC (permalink / raw) To: linux-arm-kernel pclk_cpu needs to keep running because it is needed for devices like the act8865 regulator but with the recent gpio clock handling this is not always the case anymore. So add it to the list of critical clocks. Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> Reviewed-by: Heiko Stuebner <heiko@sntech.de> --- Changes in v3: - fix git format-patch problem Changes in v2: - adapt commit message - add Linus Walleij to recipients, as the patch is related to the gpio clock change in the rockchip pinctrl driver it should go through his tree as well drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index ed02bbc..f63a642 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -716,6 +716,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "aclk_cpu", "aclk_peri", "hclk_peri", + "pclk_cpu", }; static void __init rk3188_common_clk_init(struct device_node *np) -- 2.5.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks 2015-08-25 20:22 ` [PATCH v3] " Michael Niewoehner @ 2015-08-27 16:52 ` Michael Turquette 0 siblings, 0 replies; 10+ messages in thread From: Michael Turquette @ 2015-08-27 16:52 UTC (permalink / raw) To: linux-arm-kernel Quoting Michael Niewoehner (2015-08-25 13:22:07) > pclk_cpu needs to keep running because it is needed for devices like > the act8865 regulator but with the recent gpio clock handling this is > not always the case anymore. So add it to the list of critical clocks. > > Signed-off-by: Michael Niewoehner <linux@mniewoehner.de> > Reviewed-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Michael Turquette <mturquette@baylibre.com> This patch applies cleanly to clk-next, so I guess the patch formatting issues have been resolved ;-) Note that I did NOT apply this to the clk tree, just locally for testing. Regards, Mike > --- > Changes in v3: > - fix git format-patch problem > > Changes in v2: > - adapt commit message > - add Linus Walleij to recipients, as the patch is related to the gpio clock > change in the rockchip pinctrl driver it should go through his tree as well > > drivers/clk/rockchip/clk-rk3188.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c > index ed02bbc..f63a642 100644 > --- a/drivers/clk/rockchip/clk-rk3188.c > +++ b/drivers/clk/rockchip/clk-rk3188.c > @@ -716,6 +716,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { > "aclk_cpu", > "aclk_peri", > "hclk_peri", > + "pclk_cpu", > }; > > static void __init rk3188_common_clk_init(struct device_node *np) > -- > 2.5.0 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-08-27 16:52 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-08-17 17:38 [PATCH] clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks Michael Niewoehner 2015-08-17 18:01 ` Heiko Stuebner 2015-08-17 18:51 ` Michael Niewoehner 2015-08-17 19:37 ` Heiko Stuebner 2015-08-17 19:50 ` [PATCH v2] " Michael Niewoehner 2015-08-17 19:55 ` Heiko Stuebner 2015-08-25 18:59 ` Michael Turquette 2015-08-25 20:17 ` Heiko Stuebner 2015-08-25 20:22 ` [PATCH v3] " Michael Niewoehner 2015-08-27 16:52 ` Michael Turquette
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).