RFC Dove PMU support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pm: domains: quieten down generic pm domains | +0 | 0 replies | |
| 3/5 | ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets | +0 | 0 replies | |
| 3/5 | ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets | +0 | 0 replies | |
| 3/5 | ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets | +0 | 0 replies | |
| 3/5 | ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resetsdrivers/ drivers/ include/ | +28 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Rafael J. Wysocki |
|---|---|
| Series | A-b A-b |
| 1/5 | |
| 3/5 | |
| 3/5 | |
| 3/5 | |
| 3/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RFC 0/5] Dove PMU support
The following series of patches add better PMU support for Dove. This has been developed on the Cubox, and tested in non-DT and DT modes.
This also improves the interrupt handling over the existing code: the existing code ends up calling the interrupt handlers twice for every interrupt raised, because the interrupt clear-down is done at the wrong point - we need to clear down the interrupt in the device first, then clear it down in the controller.
The problem this gives is that it can be racy (see comments in the driver) so we're careful about how we do that to minimise the window.
I've included all patches here - the initial set are targetted towards adding DT support, with the final adding the non-DT support. There is a call to the initialisation function missing for DT mode - I'd like the mvebu people to comment on how that should be handled, as it needs to be done pretty early.
Also included are two PM domain changes: the first I've discussed with Rafael who seems happy with it. The second is necessary because we have no way to know if a generic PM domain is associated with a device or whether something else making use of the PM domain is installed in the dev->pm_domain pointer, so this allows that decision to be made by core PM code.
This is more a "this is where I'm at" with this stuff than a real submission, nevertheless comments on how to get it ready for submission would be welcome. I'd like to get this off my plate ASAP.
arch/arm/Kconfig | 1 + arch/arm/boot/dts/dove.dtsi | 7 + arch/arm/mach-dove/Makefile | 1 + arch/arm/mach-dove/common.c | 2 + arch/arm/mach-dove/common.h | 1 + arch/arm/mach-dove/include/mach/pm.h | 17 -- arch/arm/mach-dove/irq.c | 87 ------ arch/arm/mach-dove/pmu.c | 531 +++++++++++++++++++++++++++++++++++ drivers/base/power/domain.c | 8 +- 9 files changed, 547 insertions(+), 108 deletions(-)
Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly improving, and getting towards what was expected from it.