• Paul Mundt's avatar
    sh: mach-sdk7786: Detect/configure/propagate EXTAL. · c8098218
    Paul Mundt authored
    This uses the mode pins exposed through the FPGA to work out whether
    we're driven from EXTAL or not and does the appropriate setup and
    propagation through the clock framework.
    
    This will also -EINVAL out for anyone adding in their own oscillators,
    forcing proper configuration with the clock framework instead of
    proceeding on with bogus clock values.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    c8098218
setup.c 5.75 KB