diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-rp-2.6.26/zaurus-i2c-init.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | openembedded-core-contrib-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-rp-2.6.26/zaurus-i2c-init.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-rp-2.6.26/zaurus-i2c-init.patch | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-rp-2.6.26/zaurus-i2c-init.patch b/meta/recipes-kernel/linux/linux-rp-2.6.26/zaurus-i2c-init.patch new file mode 100644 index 0000000000..e0db0746cd --- /dev/null +++ b/meta/recipes-kernel/linux/linux-rp-2.6.26/zaurus-i2c-init.patch @@ -0,0 +1,99 @@ +Typo in poodle chunk fixed: set_pxa_i2c_info->pxa_set_i2c_info. + +From: Mark Brown <broonie@opensource.wolfsonmicro.com> +To: Richard Purdie <rpurdie@rpsys.net> +Date: Wed, 16 Jul 2008 23:19:36 +0100 +Message-Id: <1216246776-4500-1-git-send-email-broonie@opensource.wolfsonmicro.com> +List-Id: ARM Linux kernel discussions + <linux-arm-kernel.lists.arm.linux.org.uk> + +Both spitz and poodle have audio codecs on their primary I2C bus so need +to call pxa_set_i2c_info() to set it up during init. Tested on spitz by +Stanislav. + +Reported-by: Stanislav Brabec <utx@penguin.cz> +Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> +--- + arch/arm/mach-pxa/corgi.c | 2 ++ + arch/arm/mach-pxa/poodle.c | 2 ++ + arch/arm/mach-pxa/spitz.c | 2 ++ + 3 files changed, 6 insertions(+) + +--- linux-2.6.26.orig/arch/arm/mach-pxa/corgi.c ++++ linux-2.6.26/arch/arm/mach-pxa/corgi.c +@@ -38,10 +38,11 @@ + #include <asm/arch/pxa-regs.h> + #include <asm/arch/pxa2xx-gpio.h> + #include <asm/arch/irda.h> + #include <asm/arch/mmc.h> + #include <asm/arch/udc.h> ++#include <asm/arch/i2c.h> + #include <asm/arch/corgi.h> + #include <asm/arch/sharpsl.h> + + #include <asm/mach/sharpsl_param.h> + #include <asm/hardware/scoop.h> +@@ -529,10 +530,11 @@ static void __init corgi_init(void) + pxa_gpio_mode(CORGI_GPIO_HSYNC | GPIO_IN); + + pxa_set_udc_info(&udc_info); + pxa_set_mci_info(&corgi_mci_platform_data); + pxa_set_ficp_info(&corgi_ficp_platform_data); ++ pxa_set_i2c_info(NULL); + + platform_scoop_config = &corgi_pcmcia_config; + + platform_add_devices(devices, ARRAY_SIZE(devices)); + } +--- linux-2.6.26.orig/arch/arm/mach-pxa/poodle.c ++++ linux-2.6.26/arch/arm/mach-pxa/poodle.c +@@ -33,10 +33,11 @@ + + #include <asm/arch/pxa-regs.h> + #include <asm/arch/pxa2xx-gpio.h> + #include <asm/arch/mmc.h> + #include <asm/arch/udc.h> ++#include <asm/arch/i2c.h> + #include <asm/arch/irda.h> + #include <asm/arch/poodle.h> + #include <asm/arch/pxafb.h> + #include <asm/arch/sharpsl.h> + #include <asm/arch/ssp.h> +@@ -386,10 +387,11 @@ static void __init poodle_init(void) + pxa_gpio_mode(POODLE_GPIO_USB_PULLUP | GPIO_OUT); + pxa_gpio_mode(POODLE_GPIO_IR_ON | GPIO_OUT); + pxa_set_udc_info(&udc_info); + pxa_set_mci_info(&poodle_mci_platform_data); + pxa_set_ficp_info(&poodle_ficp_platform_data); ++ pxa_set_i2c_info(NULL); + + platform_scoop_config = &poodle_pcmcia_config; + + ret = platform_add_devices(devices, ARRAY_SIZE(devices)); + if (ret) { +--- linux-2.6.26.orig/arch/arm/mach-pxa/spitz.c ++++ linux-2.6.26/arch/arm/mach-pxa/spitz.c +@@ -36,10 +36,11 @@ + #include <asm/mach/irq.h> + + #include <asm/arch/pxa-regs.h> + #include <asm/arch/pxa2xx-regs.h> + #include <asm/arch/pxa2xx-gpio.h> ++#include <asm/arch/i2c.h> + #include <asm/arch/irda.h> + #include <asm/arch/mmc.h> + #include <asm/arch/ohci.h> + #include <asm/arch/udc.h> + #include <asm/arch/pxafb.h> +@@ -579,10 +580,11 @@ static void __init common_init(void) + pxa_set_mci_info(&spitz_mci_platform_data); + pxa_set_ohci_info(&spitz_ohci_platform_data); + pxa_set_ficp_info(&spitz_ficp_platform_data); + set_pxa_fb_parent(&spitzssp_device.dev); + set_pxa_fb_info(&spitz_pxafb_info); ++ pxa_set_i2c_info(NULL); + } + + #if defined(CONFIG_MACH_SPITZ) || defined(CONFIG_MACH_BORZOI) + static void spitz_bl_set_intensity(int intensity) + { |