Another posting of the Dove PMU series
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 7 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 7 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Another posting of the Dove PMU series
Hi Andrew,
Quoted 44 lines · Andrew Lunn
Quoted 2 lines · Russell King - ARM Linux
What it says in the subject. Not hopeful of a successful outcome, so I'm not going to bother wasting time writing stuff here.
Hi Gregory
I took at look at Russell's patches. I rebased them onto -rc1. There were a few minor merge problems, all easy to fix. I added
Signed-off-by: since i did make changes, but 99.9% of the credit for these patches is definitely to Russell.The last patch, which is converting mach-dove to use the new PMU driver however does not build. With
mvebu_v7_defconfigi get:CC
drivers/soc/dove/pmu.odrivers/soc/dove/pmu.c: In functiondove_init_pmu_legacy?:drivers/soc/dove/pmu.c:400:46: error:IRQ_DOVE_PMU_STARTundeclared (first use in this function)
irq_domain_associate_many(pmu->irq_domain,IRQ_DOVE_PMU_START,^
drivers/soc/dove/pmu.c:400:46: note: each undeclared identifier is reported only once for each function it appears inand
dove_defconfig:CC
arch/arm/mach-dove/common.oarch/arm/mach-dove/common.c:381:15: error:PWR_VPU_PWR_DWN_MASKundeclared here (not in a function)
.pwr_mask =PMU_PWR_VPU_PWR_DWN_MASK,^ arch/arm/mach-dove/common.c:382:15: error: PMU_SW_RST_VIDEO_MASK undeclared here (not in a function) .rst_mask = PMU_SW_RST_VIDEO_MASK, ^ arch/arm/mach-dove/common.c:383:15: error: PMU_ISO_VIDEO_MASK undeclared here (not in a function) .iso_mask = PMU_ISO_VIDEO_MASK, ^ arch/arm/mach-dove/common.c:386:15: error: PMU_PWR_GPU_PWR_DWN_MASK undeclared here (not in a function) .pwr_mask = PMU_PWR_GPU_PWR_DWN_MASK, ^ arch/arm/mach-dove/common.c:387:15: error: PMU_SW_RST_GPU_MASK undeclared here (not in a function) .rst_mask = PMU_SW_RST_GPU_MASK, ^
arch/arm/mach-dove/common.c:388:15: error:PMU_ISO_GPU_MASKundeclared here (not in a function)
.iso_mask =PMU_ISO_GPU_MASK,So i've dropped the last patch.
Quoted 8 lines
I boot tested
mvebu_v7_defconfigwith these patches, and ran the rtctest, which shows the RTC interrupt it working. The vpu and gpu power domains are in /sys, but i don't have anything connected to the HDMI port in order to test them.You can find the patches here:
https://github.com/lunn/linux.git v4.2-rc1-dove-pmu
I have merged your branch in mvebu/for-next and if there is no complain then it will be part of the next pull request.
Thanks,
Gregory
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com