• Shawn Guo's avatar
    ARM: imx6q: support ptp and rmii clock from pad · 810c0ca8
    Shawn Guo authored
    On imx6qdl, the ENET RMII and PTP clock can come from either internal
    ANATOP/CCM or external clock source through pad GPIO_16.  But in case
    of the external clock source, bit IOMUXC_GPR1[21] needs to be cleared.
    
    The patch adds the support for systems that use an external clock source
    and distinguishes above two cases by checking if the PTP clock specified
    in device tree is the one coming from the internal ANATOP/CCM.
    Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
    810c0ca8
clk-imx6q.c 31.7 KB