diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2015-04-23 00:26:47 +0200 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2015-04-23 00:32:52 +0200 |
commit | 2fe256495cbc7cc477d67fe5de5693884e8591b6 (patch) | |
tree | 172add987e2a45f9190701c494b6e64b5c722725 /recipes-kernel/linux/linux-handheld-4.0/h1940/0006-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch | |
parent | dd8a5c0df939e8142c10d1aa719f6f1ccd331abe (diff) | |
download | meta-handheld-2fe256495cbc7cc477d67fe5de5693884e8591b6.tar.gz |
linux-handheld_4.0: add ipaq h1940 patches and defconfig
Patches provided and tested by Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.0/h1940/0006-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch')
-rw-r--r-- | recipes-kernel/linux/linux-handheld-4.0/h1940/0006-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.0/h1940/0006-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch b/recipes-kernel/linux/linux-handheld-4.0/h1940/0006-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch new file mode 100644 index 0000000..0de15a4 --- /dev/null +++ b/recipes-kernel/linux/linux-handheld-4.0/h1940/0006-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch @@ -0,0 +1,41 @@ +From 5cba96ec146e83a2e321609e431e047e7b97b6ea Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick <anarsoul@gmail.com> +Date: Thu, 17 Oct 2013 12:15:16 +0300 +Subject: [PATCH 06/15] ARM: s3c24xx: h1940: don't touch UPLLCON + +It's a bit late to modify UPLLCON in board init, +anyway bootloader already puts correct value in it. + +Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> +--- + arch/arm/mach-s3c24xx/mach-h1940.c | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c +index bdb99e5..0f2648c 100644 +--- a/arch/arm/mach-s3c24xx/mach-h1940.c ++++ b/arch/arm/mach-s3c24xx/mach-h1940.c +@@ -747,8 +747,6 @@ static void __init h1940_reserve(void) + + static void __init h1940_init(void) + { +- u32 tmp; +- + s3c24xx_fb_set_platdata(&h1940_fb_info); + s3c24xx_mci_set_platdata(&h1940_mmc_cfg); + s3c24xx_udc_set_platdata(&h1940_udc_cfg); +@@ -763,11 +761,6 @@ static void __init h1940_init(void) + S3C2410_MISCCR_USBSUSPND0 | + S3C2410_MISCCR_USBSUSPND1, 0x0); + +- tmp = (0x78 << S3C24XX_PLL_MDIV_SHIFT) +- | (0x02 << S3C24XX_PLL_PDIV_SHIFT) +- | (0x03 << S3C24XX_PLL_SDIV_SHIFT); +- writel(tmp, S3C2410_UPLLCON); +- + gpio_request(S3C2410_GPC(0), "LCD power"); + gpio_request(S3C2410_GPC(1), "LCD power"); + gpio_request(S3C2410_GPC(4), "LCD power"); +-- +2.3.5 + |