linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/6] ARM: sa1100: use clock api to get cpu freq in fb and pcmcia drivers
@ 2014-11-24 23:05 Dmitry Eremin-Solenikov
  2014-11-24 23:05 ` [PATCH V2 1/6] ARM: sa1100: add cpu clock Dmitry Eremin-Solenikov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2014-11-24 23:05 UTC (permalink / raw)
  To: linux-arm-kernel

[Changes since V1:
- reorder patches to add sa1100 and sa1111 clocks before using them
  in sa1100 pcmcia driver.
- Fix error returns in case clk_get returns an error.
- Call clk_prepare_enable/clk_disable_unprepare for the proper API
  usage.]

On SA-1100 framebuffer and PCMCIA drivers make use of cpufreq_get(0)
function call to determine the cpu frequency. Russell's commit
1937f5b91833e2e8e53bcc821fc7a5fbe6ccb9b5 (ARM: fix sa1100 build) fixed
the build issues, but broke two devices (Collie and Jornada720). For
those two boards the cpufreq code gets compiled but is not enabled (as
board files do not provide timing information for the CPUFREQ driver).
Thus cpufreq_get(0) returns incorrect value and incorrect timings get
programmed into the hardware.

PXA2xx (the very similar platform) uses Clock API to determine CPU
frequency both in framebuffer and PCMCIA drivers. These patches make
similar changes to StrongARM drivers.

--
With best wishes
Dmitry


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

end of thread, other threads:[~2014-11-24 23:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 23:05 [PATCH V2 0/6] ARM: sa1100: use clock api to get cpu freq in fb and pcmcia drivers Dmitry Eremin-Solenikov
2014-11-24 23:05 ` [PATCH V2 1/6] ARM: sa1100: add cpu clock Dmitry Eremin-Solenikov
2014-11-24 23:05 ` [PATCH V2 2/6] ARM: sa1100: add a clock alias for sa1111 pcmcia device Dmitry Eremin-Solenikov
2014-11-24 23:05 ` [PATCH V2 3/6] fbdev: sa1100fb: make use of device clock Dmitry Eremin-Solenikov
2014-11-24 23:05 ` [PATCH V2 4/6] pcmcia: soc-common: enable/disable socket clocks Dmitry Eremin-Solenikov
2014-11-24 23:05 ` [PATCH V2 5/6] pcmcia: sa1111: provide device clock Dmitry Eremin-Solenikov
2014-11-24 23:05 ` [PATCH V2 6/6] pcmcia: sa1100: make use of " Dmitry Eremin-Solenikov

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