linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ARM: da850: fix pll0 rate setting
@ 2016-12-05 10:09 Bartosz Golaszewski
  2016-12-05 10:09 ` [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate() Bartosz Golaszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Bartosz Golaszewski @ 2016-12-05 10:09 UTC (permalink / raw)
  To: Kevin Hilman, Michael Turquette, Sekhar Nori, Peter Ujfalusi,
	Russell King, Viresh Kumar, Boris Brezillon, Rafael J. Wysocki,
	Richard Weinberger, David Woodhouse, Brian Norris, Marek Vasut,
	Cyrille Pitchen
  Cc: LKML, arm-soc, linux-pm, Bartosz Golaszewski

While trying to set the pll0 rate from the kernel I noticed there are
two issues with da850 clocks. The first patch fixes an infinite loop
in propagate_rate(). The third fixes an oops in da850_set_pll0rate().
The second patch is just a coding style fix, while we're at it.

v1 -> v2:
- change the approach in 1/3: create a new clock for nand inheriting
  the rate from the aemif clock (verified that nand still works on
  da850-lcdk)
- patch 3/3: also update the davinci_cpufreq driver - the only
  (indirect) user of da850_set_pll0rate()
- s/requested_rate/rate in 3/3

v2 -> v3:
- 1/3: keep the "aemif" connector id for the nand clock
- 3/3: instead of multiplying freq->frequency, divide rate by 1000
- retested both davinci_nand and clk_set_rate() for pll0

Bartosz Golaszewski (3):
  ARM: da850: fix infinite loop in clk_set_rate()
  ARM: da850: coding style fix
  ARM: da850: fix da850_set_pll0rate()

 arch/arm/mach-davinci/da850.c     | 29 +++++++++++++++++++++++------
 drivers/cpufreq/davinci-cpufreq.c |  2 +-
 2 files changed, 24 insertions(+), 7 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2016-12-07  6:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-05 10:09 [PATCH v3 0/3] ARM: da850: fix pll0 rate setting Bartosz Golaszewski
2016-12-05 10:09 ` [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate() Bartosz Golaszewski
2016-12-05 10:15   ` Sekhar Nori
2016-12-05 10:32     ` Bartosz Golaszewski
2016-12-05 10:41       ` Sekhar Nori
2016-12-06 11:58     ` Bartosz Golaszewski
2016-12-06 12:19       ` Sekhar Nori
2016-12-07  1:54   ` David Lechner
2016-12-07  6:30     ` Sekhar Nori
2016-12-05 10:09 ` [PATCH v3 2/3] ARM: da850: coding style fix Bartosz Golaszewski
2016-12-05 10:09 ` [PATCH v3 3/3] ARM: da850: fix da850_set_pll0rate() Bartosz Golaszewski
2016-12-05 10:43   ` Sekhar Nori
2016-12-07  2:00   ` David Lechner

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).