• Vaibhav Hiremath's avatar
    ARM: OMAP2+: AM33xx: hwmod: Add missing sysc definition to wdt1 entry · 05cf03b6
    Vaibhav Hiremath authored
    This patch adds sysc definitions to the wdt1 hwmod entry, which in-turn
    makes sure that sysc idle bit-fields are configured to valid state on
    enable/disable callbacks.
    
    With the recent submitted patch from Santosh Shilimkar,
    "ARM: OMAP2+: hwmod: Don't call _init_mpu_rt_base if no sysc"
    (commit: 4a98c2d89), it is required to add sysconf
    information to each valid hwmod entry, else device will not be
    come out from idle state properly and leads to below kernel
    crash  -
    
    [2.190237] Unhandled fault: external abort on non-linefetch (0x1028) at
    0xf9e35034
    [2.198325] Internal error: : 1028 [#1] SMP ARM
    [2.203101] Modules linked in:
    [2.206334] CPU: 0    Not tainted  (3.9.0-rc3-00059-gd114294#1)
    [2.212679] PC is at omap_wdt_disable.clone.5+0xc/0x60
    [2.218090] LR is at omap_wdt_probe+0x184/0x1fc
    Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
    Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Cc: Benoit Cousson <benoit.cousson@linaro.org>
    Cc: Paul Walmsley <paul@pwsan.com>
    05cf03b6
omap_hwmod_33xx_data.c 82.5 KB