From: Shawn Guo Date: Thu, 6 Feb 2014 05:22:02 +0000 (+0800) Subject: ARM: imx6q: support ptp and rmii clock from pad X-Git-Tag: v3.15-rc1~79^2~19^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810c0ca879098a993e2ce0a190d24d11c17df748;p=pandora-kernel.git ARM: imx6q: support ptp and rmii clock from pad 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: Shawn Guo --- Reading git-diff-tree failed