Skip to content
  • Suman Anna's avatar
    arm: mach-k3: j721e: Fix clk-data parenting for postdiv PLL clocks · f1a815d0
    Suman Anna authored and Tom Rini's avatar Tom Rini committed
    The TI K3 Fractional PLLs use two programmable POSTDIV1 and POSTDIV2
    divisors to generate the final FOUTPOSTDIV clock. These are in sequence
    with POSTDIV2 following the POSTDIV1 clock. The current J721E clock data
    has the POSTDIV2 clock as the parent for the POSTDIV1 clock, which is
    opposite of the actual implementation. Fix the data by simply adjusting
    the register bit-shifts.
    
    The Main PLL1 POSTDIV clocks were also defined incorrectly using Main PLL0
    register values, fix these as well.
    
    Fixes: 277729ea
    
     ("arm: mach-k3: Add platform data for j721e and j7200")
    Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
    Signed-off-by: default avatarDave Gerlach <d-gerlach@ti.com>
    f1a815d0