Skip to content

ARM: OMAP2+: Fix AM335x RTC External Abort

Tony Lindgren linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 4 patches 0 repliesNew

1 of 4 patches is in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/4ARM: OMAP4+: Have _omap4_wait_target_* check for valid clkctrl_offs+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ARM: OMAP2+: Fix AM335x RTC External Abort
Quoted 16 lines · Tero Kristo
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 commit 183e2077d007 ("ARM:
AM33xx: fix module_wait_ready without clkctrl register"), log is here [1]. The RTC hwmod is unique in that it has a clkctrl_offs of 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_OFFSET flag and moves the check for validity of the clkctrl_offs value to the omap_hwmod code so that we are able to check both the flag and clkctrl_offs values. 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:

Quoted 3 lines

Series looks good to me, so:

Applying these into omap-for-v4,8/soc.

Regards,

Tony