Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1635216
| From | Russell King - ARM Linux <linux@armlinux.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse |
| Date | 2017-05-03 21:00 +0200 |
| Message-ID | <tD7Fg-KV-5@gated-at.bofh.it> (permalink) |
| References | <txtIt-29C-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: > From: Russ Dill <Russ.Dill@ti.com> > > The clock/dpll registers are in the WKUP power domain. Under both RTC-only > suspend and hibernation, these registers are lost. Hence save/restore > them accordingly. This looks like a huge hammer, and I think this will cause problems for some systems, especially where some clocks are on remote devices which need to be controlled via I2C buses. The generic part walks all root clocks in the system, and all children of those clocks. If we have clocks on an I2C device, then we could very well end up with a circular dependency - the I2C controller needs its clocks restored in order for control of the clocks on the I2C device to be accessible. So, I think this needs more thought - clocks are not just about core SoC clocks - and cracking this nut with such a big hammer is likely to cause regressions all over the place. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-05-03 21:00 +0200 Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse Tero Kristo <t-kristo@ti.com> - 2017-05-04 11:00 +0200
csiph-web