diff options
author | Jan Kobler <eng1@koblersystems.de> | 2011-03-01 14:01:38 +0100 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-03-01 11:26:09 -0700 |
commit | 1840fd720b423ed4245a4fdb511170ae33dfde80 (patch) | |
tree | 92ec149ed37bf1981debf236649546c96c1024e4 /recipes/linux/linux-2.6.31/pcm043/0010-i.MX35-Fix-audmux-clock.patch | |
parent | affc152bd4df73fd3892eb09cab0a331fd282866 (diff) | |
download | openembedded-1840fd720b423ed4245a4fdb511170ae33dfde80.tar.gz |
linux-2.6.31 config and patch files for pcm043
These config and patch files are from the Phytec Linux BSP for phyCORE-i.MX35 PD10.1.1.
They were taken from the archive
ftp://ftp.phytec.de/pub/Products/phyCORE-iMX350/Linux/PD10.1.1/OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.1.tar.gz
The patch files are from the folder in this archive
OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.1/configs/phyCORE-i.MX35-2010.08.0/patches/linux-2.6.31.6/generic
The patch files have been shipped for linux-2.6.31.6 and are used here on linux-2.6.31.12. Because it seems to work,
pcm043 is added to linux-2.6.31.bb.
The sequence of the patches for pcm043 in linux-2.6.31.bb is derived from the file
OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.1/configs/phyCORE-i.MX35-2010.08.0/patches/linux-2.6.31.6/generic/series
The defconfig file is the file
OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.1/configs/phyCORE-i.MX35-2010.08.0/kernelconfig
These patch files from the folder
OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.1/configs/phyCORE-i.MX35-2010.08.0/patches/linux-2.6.31.6/generic
are NOT used:
0063-add-generic-platform-bus-based-sja1000-driver.patch
0076-mx3fb-pretty-printing-update.patch
0078-sja1000-driver-Fix-net-device-stats.patch
patch-2.6.31.6-rt19.gz
because they are not referenced by the file
OSELAS.BSP-Phytec-phyCORE-i.MX35-PD10.1.1/configs/phyCORE-i.MX35-2010.08.0/patches/linux-2.6.31.6/generic/series
Signed-off-by: Jan Kobler <eng1@koblersystems.de>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/linux/linux-2.6.31/pcm043/0010-i.MX35-Fix-audmux-clock.patch')
-rw-r--r-- | recipes/linux/linux-2.6.31/pcm043/0010-i.MX35-Fix-audmux-clock.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.31/pcm043/0010-i.MX35-Fix-audmux-clock.patch b/recipes/linux/linux-2.6.31/pcm043/0010-i.MX35-Fix-audmux-clock.patch new file mode 100644 index 0000000000..765c783442 --- /dev/null +++ b/recipes/linux/linux-2.6.31/pcm043/0010-i.MX35-Fix-audmux-clock.patch @@ -0,0 +1,52 @@ +From 4e3f4ad37028ae59f910cff4cf9ce2f1acc62d66 Mon Sep 17 00:00:00 2001 +From: Sascha Hauer <s.hauer@pengutronix.de> +Date: Mon, 2 Nov 2009 09:49:41 +0100 +Subject: [PATCH 10/28] i.MX35: Fix audmux clock + +Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> +--- + arch/arm/mach-mx3/clock-imx35.c | 7 +++---- + 1 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/arch/arm/mach-mx3/clock-imx35.c b/arch/arm/mach-mx3/clock-imx35.c +index 02b2507..9c0ec17 100644 +--- a/arch/arm/mach-mx3/clock-imx35.c ++++ b/arch/arm/mach-mx3/clock-imx35.c +@@ -322,7 +322,7 @@ static void clk_cgr_disable(struct clk *clk) + + DEFINE_CLOCK(asrc_clk, 0, CCM_CGR0, 0, NULL, NULL); + DEFINE_CLOCK(ata_clk, 0, CCM_CGR0, 2, get_rate_ipg, NULL); +-DEFINE_CLOCK(audmux_clk, 0, CCM_CGR0, 4, NULL, NULL); ++/* DEFINE_CLOCK(audmux_clk, 0, CCM_CGR0, 4, NULL, NULL); */ + DEFINE_CLOCK(can1_clk, 0, CCM_CGR0, 6, get_rate_ipg, NULL); + DEFINE_CLOCK(can2_clk, 1, CCM_CGR0, 8, get_rate_ipg, NULL); + DEFINE_CLOCK(cspi1_clk, 0, CCM_CGR0, 10, get_rate_ipg, NULL); +@@ -368,7 +368,7 @@ DEFINE_CLOCK(uart3_clk, 2, CCM_CGR2, 20, get_rate_uart, NULL); + DEFINE_CLOCK(usbotg_clk, 0, CCM_CGR2, 22, NULL, NULL); + DEFINE_CLOCK(wdog_clk, 0, CCM_CGR2, 24, NULL, NULL); + DEFINE_CLOCK(max_clk, 0, CCM_CGR2, 26, NULL, NULL); +-DEFINE_CLOCK(admux_clk, 0, CCM_CGR2, 30, NULL, NULL); ++DEFINE_CLOCK(audmux_clk, 0, CCM_CGR2, 30, NULL, NULL); + + DEFINE_CLOCK(csi_clk, 0, CCM_CGR3, 0, get_rate_csi, NULL); + DEFINE_CLOCK(iim_clk, 0, CCM_CGR3, 2, NULL, NULL); +@@ -384,7 +384,6 @@ DEFINE_CLOCK(gpu2d_clk, 0, CCM_CGR3, 4, NULL, NULL); + static struct clk_lookup lookups[] = { + _REGISTER_CLOCK(NULL, "asrc", asrc_clk) + _REGISTER_CLOCK(NULL, "ata", ata_clk) +- _REGISTER_CLOCK(NULL, "audmux", audmux_clk) + _REGISTER_CLOCK(NULL, "can", can1_clk) + _REGISTER_CLOCK(NULL, "can", can2_clk) + _REGISTER_CLOCK("spi_imx.0", NULL, cspi1_clk) +@@ -429,7 +428,7 @@ static struct clk_lookup lookups[] = { + _REGISTER_CLOCK(NULL, "usbotg", usbotg_clk) + _REGISTER_CLOCK("mxc_wdt.0", NULL, wdog_clk) + _REGISTER_CLOCK(NULL, "max", max_clk) +- _REGISTER_CLOCK(NULL, "admux", admux_clk) ++ _REGISTER_CLOCK(NULL, "audmux", audmux_clk) + _REGISTER_CLOCK(NULL, "csi", csi_clk) + _REGISTER_CLOCK(NULL, "iim", iim_clk) + _REGISTER_CLOCK(NULL, "gpu2d", gpu2d_clk) +-- +1.6.5.2 + |