• S
    omap4: prcm: Fix the CPUx clockdomain offsets · 51c404b2
    Santosh Shilimkar 提交于
    CPU0 and CPU1 clockdomain is at the offset of 0x18 from the LPRM base.
    The header file has set it wrongly to 0x0. Offset 0x0 is for CPUx power
    domain control register
    
    Fix the same.
    
    The autogen scripts is fixed thanks to Benoit Cousson
    
    With the old value, the clockdomain code would access the
    *_PWRSTCTRL.POWERSTATE field when it thought it was accessing the
    *_CLKSTCTRL.CLKTRCTRL field.  In the worst case, this could cause
    system power management to behave incorrectly.
    Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Rajendra Nayak <rnayak@ti.com>
    Cc: Benoit Cousson <b-cousson@ti.com>
    [paul@pwsan.com: added second paragraph to commit message]
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    51c404b2
prcm_mpu44xx.h 4.7 KB