ARM: OMAP2+: Fix AM335x RTC External Abort
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Tero Kristo |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] ARM: OMAP2+: Fix AM335x RTC External Abort
Quoted 9 lines · Dave Gerlach
Hi,
With next-20160711 there is an external abort during boot on am335x platforms from the RTC which is caused by commit183e2077d007("ARM:
AM33xx: fixmodule_wait_readywithout clkctrl register"), log is here [1]. The RTC hwmod is unique in that it has aclkctrl_offsof 0 which is invalid normally, all other hwmods have non-zero offsets. Because of this, we need to flag the hwmod so 0 actually gets used for the offset instead of the just returning 0 and doing nothing.
Quoted 5 lines
This series adds a
HWMOD_OMAP4_ZERO_CLKCTRL_OFFSETflag and moves the check for validity of theclkctrl_offsvalue to theomap_hwmodcode so that we are able to check both the flag andclkctrl_offsvalues. This code is shared by all OMAP4+ platforms but shoudl have no affect for anything but RTC on am335x but still boot tested on the following platforms:
Series looks good to me, so:
-Tero
Quoted 26 lines
AM335x GP EVM: Pass http://pastebin.ubuntu.com/19186160/
Beaglebone Black: Pass http://pastebin.ubuntu.com/19186862/
AM437x GP EVM: Pass http://pastebin.ubuntu.com/19186555/
OMAP4 Panda ES: Pass http://pastebin.ubuntu.com/19186711/
OMAP5 uEVM: Pass http://pastebin.ubuntu.com/19186925/Regards,
DaveDave Gerlach (4):
ARM: OMAP4+: hwmod: Add hwmod flag forHWMOD_OMAP4_ZERO_CLKCTRL_OFFSET
ARM: OMAP2+: AM33XX: AddHWMOD_OMAP4_ZERO_CLKCTRL_OFFSETflag to rtc
hwmod
ARM: OMAP4+: Have _omap4_wait_target_* check for validclkctrl_offs
ARM: OMAP4+: CM: Remove redundant checks forclkctrl_offsof zeroarch/arm/mach-omap2/cm33xx.c | 6 ------ arch/arm/mach-omap2/cminst44xx.c | 6 ------ arch/arm/mach-omap2/omap_hwmod.c | 8 ++++++++ arch/arm/mach-omap2/omap_hwmod.h | 4 ++++ arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 2 ++ 5 files changed, 14 insertions(+), 12 deletions(-)