• Vaibhav Hiremath's avatar
    ARM: OMAP2+: control: Add AM33XX control reg & sec clkctrl offset · 2e113c64
    Vaibhav Hiremath authored
    Define AM33XX control register, in order to allow access to
    control register address space, also add CONTROL_SEC_CLK_CTRL
    register offset; both are required in clock tree data,
    for wdt0 and timer0 clock source select configuration.
    
    CONTROL.SEC_CLK_CTRL register is provided to select/configure
    clock input for WDT0 and TIMER0.
    Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Tony Lindgren <tony@atomide.com>
    [paul@pwsan.com: added include of plat/am33xx.h to fix build break;
     added AM33XX_CONTROL_STATUS bitfields that will be needed for the clock
     tree; fixed some control.h whitespace problems while here]
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    2e113c64
control.h 18.8 KB