• Jon Hunter's avatar
    ARM: OMAP4460/4470: PMU: Enable PMU for OMAP4460/70 · 76a5d9bf
    Jon Hunter authored
    OMAP4460 and OMAP4470 devices have dedicated PMU interrupts and so add these
    interrupts to the MPU HWMOD so we can use these for PMU events on these
    devices. The PMU interrupts need to be the first interrupts in the array of
    interrupts as the ARM PMU driver assumes this.
    
    By using these dedicated interrupts we only need to enable the MPU and DEBUG
    sub-systems for PMU to work. This is different to OMAP4430 that did not have
    dedicated interrupts and required other power domains in addition to the DEBUG
    sub-system to be enabled so we could route the PMU events to the CTI interrupts.
    Hence, OMAP4460 and OMAP4470 devices can use the same list of HWMODs to create
    the PMU device that is using by OMAP3.
    
    Cc: Ming Lei <ming.lei@canonical.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Benoit Cousson <b-cousson@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Signed-off-by: default avatarJon Hunter <jon-hunter@ti.com>
    [paul@pwsan.com: updated to apply]
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    76a5d9bf
pmu.c 2.58 KB