• Tony Prisk's avatar
    serial: vt8500: UART uses gated clock rather than 24Mhz reference · 12faa35a
    Tony Prisk authored
    UART modules on Wondermedia SoCs are connected via a gated clock
    source, rather than directly to the 24Mhz reference clock. While
    uboot enables UART0 for debugging, other UART ports are unavailable
    until the clock is enabled.
    
    This patch checks that a valid clock is actually passed from devicetree,
    enables the clock in probe. This change removes the fallback when a
    clock was not specified as it doesn't apply any longer (and would only
    work if the UART clock was already enabled).
    
    DTSI files are updated for VT8500, WM8505 and WM8650.
    Signed-off-by: default avatarTony Prisk <linux@prisktech.co.nz>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    12faa35a
wm8505.dtsi 3.69 KB