From: Fabio Estevam Date: Sat, 6 Jul 2013 18:33:40 +0000 (+0000) Subject: linux-imx (3.0.35): Update to the latest commit of 4.0.0 branch X-Git-Tag: 2.1~1325 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6abfdfe158b2f9c22c584d904340e19c57f9438e;p=meta-freescale.git linux-imx (3.0.35): Update to the latest commit of 4.0.0 branch Update to commit 36947b7 ("ENGR00269935 Fix the build break"). Remove the arm-mach-mx6-fix-pll4-set_rate-callback.patch file now that this patch is applied into the 4.0.0 branch. Change-Id: Ie900d53c1d3d0397e5cb429b0e00e94597df6559 Signed-off-by: Fabio Estevam --- diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx/arm-mach-mx6-fix-pll4-set_rate-callback.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx/arm-mach-mx6-fix-pll4-set_rate-callback.patch deleted file mode 100644 index a3197fbe..00000000 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx/arm-mach-mx6-fix-pll4-set_rate-callback.patch +++ /dev/null @@ -1,44 +0,0 @@ -From patchwork Wed May 29 12:23:55 2013 -Content-Type: text/plain; charset="utf-8" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: arm/mach-mx6: fix pll4 set_rate callback -Date: Wed, 29 May 2013 12:23:55 -0000 -From: Alexander Smirnov -X-Patchwork-Id: 50693 -Message-Id: <1369830235-8476-2-git-send-email-alex.bluesman.smirnov@gmail.com> -To: meta-freescale@yoctoproject.org -Cc: Alexander Smirnov - -There is single method to set clock-rate for both audio and video pll-s -in i.MX6q clock system implementation. That's possible due to they have -similar set of registers with a different bases. But there is also one -common register: CCM_ANALOG_MISC2, which contains post-dividers. - -In current implementation, independently of whether audio or video clock -is going to be set, the mask 0xc0000000 is applied to MISC2 register. -This means, that if the audio clock rate is changed, the video clock -post-dividers possibly will be corrupted. - -This patch fixes the issue described above. - -Signed-off-by: Alexander Smirnov - ---- -arch/arm/mach-mx6/clock.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c -index 8c590b7..8706c32 100644 ---- a/arch/arm/mach-mx6/clock.c -+++ b/arch/arm/mach-mx6/clock.c -@@ -1023,7 +1023,8 @@ static int _clk_audio_video_set_rate(struct clk *clk, unsigned long rate) - __raw_writel(mfn, pllbase + PLL_NUM_DIV_OFFSET); - __raw_writel(mfd, pllbase + PLL_DENOM_DIV_OFFSET); - -- if (rev >= IMX_CHIP_REVISION_1_1) { -+ if ((rev >= IMX_CHIP_REVISION_1_1) && -+ (pllbase == PLL5_VIDEO_BASE_ADDR)) { - reg = __raw_readl(ANA_MISC2_BASE_ADDR) - & ~ANADIG_ANA_MISC2_CONTROL3_MASK; - reg |= control3 << ANADIG_ANA_MISC2_CONTROL3_OFFSET; diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb index 6ee2247a..245756d3 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb @@ -8,6 +8,6 @@ PR = "${INC_PR}.14" COMPATIBLE_MACHINE = "(mx6)" # Revision of 4.0.0 branch -SRCREV = "572fd62b7e2d70ef83e2ca8fe9895fe6f1531f8a" +SRCREV = "36947b7fbbf84e5bb7c98baed3af2a683e828b94" LOCALVERSION = "-4.0.0+yocto" SRC_URI += "file://arm-mach-mx6-fix-pll4-set_rate-callback.patch"