Skip to contentSkip to conversation

linux-yocto_3.8: move Zaurus patches to the respective subdirs

PATCH Superseded Andrea Adami 2 participants 4 messages Apr 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-yocto_3.8: move Zaurus patches to the respective subdirs

---
 .../linux/linux-yocto-3.8/akita/akita.scc          |   8 +-
 recipes-kernel/linux/linux-yocto-3.8/c7x0/c7x0.scc |   6 +-
 .../linux/linux-yocto-3.8/collie-eraseinfo.patch   |  31 -----
 .../linux/linux-yocto-3.8/collie-jedec-probe.patch |  11 --
 .../linux/linux-yocto-3.8/collie/collie.scc        |   8 +-
 .../linux-yocto-3.8/locomo_kbd_tweak-r2.patch      |  75 ------------
 .../linux/linux-yocto-3.8/mcp-device.patch         |  13 --
 .../patches-locomokbd/locomo_kbd_tweak-r2.patch    |  75 ++++++++++++
 .../patches/patches-mfd/mcp-device.patch           |  13 ++
 .../patches/patches-mtd/collie-eraseinfo.patch     |  31 +++++
 .../patches/patches-mtd/collie-jedec-probe.patch   |  11 ++
 .../patches/patches-pxa/pxa27x-sa1100-rtc.patch    |  34 ++++++
 .../patches/patches-pxa/pxamci-regulator.patch     | 135 +++++++++++++++++++++
 .../patches/patches-pxa/sharpsl_param.patch        |  24 ++++
 .../patches/patches-pxa/spi-pxa2xx-fix-mem.patch   |  34 ++++++
 .../linux/linux-yocto-3.8/poodle/poodle.scc        |   8 +-
 .../linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch  |  34 ------
 .../linux/linux-yocto-3.8/pxamci-regulator.patch   | 135 ---------------------
 .../linux/linux-yocto-3.8/sharpsl_param.patch      |  24 ----
 .../linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch |  34 ------
 .../linux/linux-yocto-3.8/spitz/spitz.scc          |   8 +-
 recipes-kernel/linux/linux-yocto-3.8/tosa/tosa.scc |   6 +-
 22 files changed, 379 insertions(+), 379 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/collie-eraseinfo.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/collie-jedec-probe.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/locomo_kbd_tweak-r2.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/mcp-device.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-mfd/mcp-device.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-eraseinfo.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-jedec-probe.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxa27x-sa1100-rtc.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxamci-regulator.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/sharpsl_param.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/spi-pxa2xx-fix-mem.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/pxamci-regulator.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/sharpsl_param.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch
recipes-kernel/linux/linux-yocto-3.8/akita/akita.scc +4 -4
index b40cb7e..001b11b 100644
@@ -5,7 +5,7 @@ include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 include ../zaurus-usb-host.scc
 
-patch sharpsl_param.patch
-patch pxa27x-sa1100-rtc.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/pxa27x-sa1100-rtc.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/c7x0/c7x0.scc +3 -3
index a732d5e..edb99b6 100644
@@ -3,6 +3,6 @@ kconf hardware c7x0.cfg
 include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 
-patch sharpsl_param.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/collie-eraseinfo.patch deleted +0 -31
deleted file mode 100644
index 6aba29e..0000000
@@ -1,31 +0,0 @@
---- a/drivers/mtd/chips/jedec_probe.c
-+++ b/drivers/mtd/chips/jedec_probe.c
-@@ -120,7 +120,7 @@
- #define PM49FL008	0x006A
- 
- /* Sharp */
--#define LH28F640BF	0x00b0
-+#define LH28F640BF	0x00B0
- 
- /* ST - www.st.com */
- #define M29F800AB	0x0058
-@@ -1299,13 +1299,14 @@
- 		.mfr_id		= CFI_MFR_SHARP,
- 		.dev_id		= LH28F640BF,
- 		.name		= "LH28F640BF",
--		.devtypes	= CFI_DEVICETYPE_X8,
-+		.devtypes	= CFI_DEVICETYPE_X16,
- 		.uaddr		= MTD_UADDR_UNNECESSARY,
--		.dev_size	= SIZE_4MiB,
--		.cmd_set	= P_ID_INTEL_STD,
--		.nr_regions	= 1,
-+		.dev_size	= SIZE_8MiB,
-+		.cmd_set	= P_ID_INTEL_EXT,
-+		.nr_regions	= 2,
- 		.regions	= {
--			ERASEINFO(0x40000,16),
-+			ERASEINFO(0x10000, 127),
-+			ERASEINFO(0x02000, 8),
- 		}
- 	}, {
- 		.mfr_id		= CFI_MFR_SST,
recipes-kernel/linux/linux-yocto-3.8/collie-jedec-probe.patch deleted +0 -11
deleted file mode 100644
index 530643e..0000000
@@ -1,11 +0,0 @@
---- a/arch/arm/mach-sa1100/collie.c
-+++ b/arch/arm/mach-sa1100/collie.c
-@@ -289,7 +289,7 @@
- }
- 
- static struct flash_platform_data collie_flash_data = {
--	.map_name	= "cfi_probe",
-+	.map_name	= "jedec_probe",
- 	.init		= collie_flash_init,
- 	.set_vpp	= collie_set_vpp,
- 	.exit		= collie_flash_exit,
recipes-kernel/linux/linux-yocto-3.8/collie/collie.scc +4 -4
index 3f96f24..857586e 100644
@@ -2,7 +2,7 @@ kconf hardware collie.cfg
 
 include ../zaurus-common.scc
 
-patch locomo_kbd_tweak-r2.patch
-patch mcp-device.patch
-patch collie-jedec-probe.patch
-patch collie-eraseinfo.patch
+patch ../patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
+patch ../patches/patches-mfd/mcp-device.patch
+patch ../patches/patches-mtd/collie-jedec-probe.patch
+patch ../patches/patches-mtd/collie-eraseinfo.patch
recipes-kernel/linux/linux-yocto-3.8/locomo_kbd_tweak-r2.patch deleted +0 -75

75 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.8/mcp-device.patch deleted +0 -13
deleted file mode 100644
index 9a0a8ba..0000000
@@ -1,13 +0,0 @@
---- a/include/linux/mfd/mcp.h	2013-02-18 00:14:09.000000000 +0100
-+++ b/include/linux/mfd/mcp.h	2013-02-17 23:55:52.000000000 +0100
-@@ -10,6 +10,8 @@
- #ifndef MCP_H
- #define MCP_H
- 
-+#include <linux/device.h>
-+
- struct mcp_ops;
- 
- struct mcp {
-
-
recipes-kernel/linux/linux-yocto-3.8/patches/patches-locomokbd/locomo_kbd_tweak-r2.patch new file +75 -0

75 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.8/patches/patches-mfd/mcp-device.patch new file +13 -0
new file mode 100644
index 0000000..9a0a8ba
@@ -0,0 +1,13 @@
+--- a/include/linux/mfd/mcp.h	2013-02-18 00:14:09.000000000 +0100
++++ b/include/linux/mfd/mcp.h	2013-02-17 23:55:52.000000000 +0100
+@@ -10,6 +10,8 @@
+ #ifndef MCP_H
+ #define MCP_H
+ 
++#include <linux/device.h>
++
+ struct mcp_ops;
+ 
+ struct mcp {
+
+
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-eraseinfo.patch new file +31 -0
new file mode 100644
index 0000000..6aba29e
@@ -0,0 +1,31 @@
+--- a/drivers/mtd/chips/jedec_probe.c
++++ b/drivers/mtd/chips/jedec_probe.c
+@@ -120,7 +120,7 @@
+ #define PM49FL008	0x006A
+ 
+ /* Sharp */
+-#define LH28F640BF	0x00b0
++#define LH28F640BF	0x00B0
+ 
+ /* ST - www.st.com */
+ #define M29F800AB	0x0058
+@@ -1299,13 +1299,14 @@
+ 		.mfr_id		= CFI_MFR_SHARP,
+ 		.dev_id		= LH28F640BF,
+ 		.name		= "LH28F640BF",
+-		.devtypes	= CFI_DEVICETYPE_X8,
++		.devtypes	= CFI_DEVICETYPE_X16,
+ 		.uaddr		= MTD_UADDR_UNNECESSARY,
+-		.dev_size	= SIZE_4MiB,
+-		.cmd_set	= P_ID_INTEL_STD,
+-		.nr_regions	= 1,
++		.dev_size	= SIZE_8MiB,
++		.cmd_set	= P_ID_INTEL_EXT,
++		.nr_regions	= 2,
+ 		.regions	= {
+-			ERASEINFO(0x40000,16),
++			ERASEINFO(0x10000, 127),
++			ERASEINFO(0x02000, 8),
+ 		}
+ 	}, {
+ 		.mfr_id		= CFI_MFR_SST,
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-jedec-probe.patch new file +11 -0
new file mode 100644
index 0000000..530643e
@@ -0,0 +1,11 @@
+--- a/arch/arm/mach-sa1100/collie.c
++++ b/arch/arm/mach-sa1100/collie.c
+@@ -289,7 +289,7 @@
+ }
+ 
+ static struct flash_platform_data collie_flash_data = {
+-	.map_name	= "cfi_probe",
++	.map_name	= "jedec_probe",
+ 	.init		= collie_flash_init,
+ 	.set_vpp	= collie_set_vpp,
+ 	.exit		= collie_flash_exit,
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxa27x-sa1100-rtc.patch new file +34 -0
new file mode 100644
index 0000000..7cb5385
@@ -0,0 +1,34 @@
+From fcee0050f8ce5296e8007ed7ed17d98f334a8f38 Mon Sep 17 00:00:00 2001
+From: Andrea Adami <[email protected]>
+Date: Fri, 23 Nov 2012 23:07:20 +0100
+Subject: [PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock
+
+* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100.
+* Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1
+* to /dev/rtc according to your requirement.
+
+Signed-off-by: Andrea Adami <[email protected]>
+Acked-by: Robert Jarzmik <[email protected]>
+Signed-off-by: Haojian Zhuang <[email protected]>
+
+Upstream-Status: Accepted. Committed in v3.9-rc1
+with commit id 495b21dc0e488b784ab1d4007d00db1ca2a95c98
+---
+ arch/arm/mach-pxa/pxa27x.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
+index 8047ee0..5970ebc 100644
+--- a/arch/arm/mach-pxa/pxa27x.c
++++ b/arch/arm/mach-pxa/pxa27x.c
+@@ -230,6 +230,7 @@ static struct clk_lookup pxa27x_clkregs[] = {
+ 	INIT_CLKREG(&clk_pxa27x_memc, NULL, "MEMCLK"),
+ 	INIT_CLKREG(&clk_pxa27x_mem, "pxa2xx-pcmcia", NULL),
+ 	INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL),
++	INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL),
+ };
+ 
+ #ifdef CONFIG_PM
+-- 
+1.7.8.6
+
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxamci-regulator.patch new file +135 -0

135 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/sharpsl_param.patch new file +24 -0
new file mode 100644
index 0000000..c626e92
@@ -0,0 +1,24 @@
+Signed-off-by: Marko Katic <dromede.gmail.com>
+
+diff --git a/arch/arm/common/sharpsl_param.c b/arch/arm/common/sharpsl_param.c
+index d56c932..b70b13a 100644
+--- a/arch/arm/common/sharpsl_param.c
++++ b/arch/arm/common/sharpsl_param.c
+@@ -14,6 +14,7 @@
+ #include <linux/kernel.h>
+ #include <linux/module.h>
+ #include <linux/string.h>
++#include <asm/memory.h>
+ #include <asm/mach/sharpsl_param.h>
+ 
+ /*
+@@ -41,7 +42,8 @@ EXPORT_SYMBOL(sharpsl_param);
+ 
+ void sharpsl_save_param(void)
+ {
+-	memcpy(&sharpsl_param, (void *)PARAM_BASE, sizeof(struct sharpsl_param_info));
++	void * param_start = phys_to_virt(PARAM_BASE);
++	memcpy(&sharpsl_param, param_start, sizeof(struct sharpsl_param_info));
+ 
+ 	if (sharpsl_param.comadj_keyword != COMADJ_MAGIC)
+ 		sharpsl_param.comadj=-1;
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/spi-pxa2xx-fix-mem.patch new file +34 -0
new file mode 100644
index 0000000..e20b597
@@ -0,0 +1,34 @@
+diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
+index dc25bee..b25fe27 100644
+--- a/drivers/spi/spi-pxa2xx.c
++++ b/drivers/spi/spi-pxa2xx.c
+@@ -106,6 +106,7 @@ struct driver_data {
+ 	int rx_channel;
+ 	int tx_channel;
+ 	u32 *null_dma_buf;
++	u8 null_dma_buf_unaligned[16];
+ 
+ 	/* SSP register addresses */
+ 	void __iomem *ioaddr;
+@@ -1543,8 +1544,8 @@ static int __devinit pxa2xx_spi_probe(struct platform_device *pdev)
+ 		return -ENODEV;
+ 	}
+ 
+-	/* Allocate master with space for drv_data and null dma buffer */
+-	master = spi_alloc_master(dev, sizeof(struct driver_data) + 16);
++	/* Allocate master with space for drv_data */
++	master = spi_alloc_master(dev, sizeof(struct driver_data));
+ 	if (!master) {
+ 		dev_err(&pdev->dev, "cannot alloc spi_master\n");
+ 		pxa_ssp_free(ssp);
+@@ -1569,8 +1570,8 @@ static int __devinit pxa2xx_spi_probe(struct platform_device *pdev)
+ 	master->transfer = transfer;
+ 
+ 	drv_data->ssp_type = ssp->type;
+-	drv_data->null_dma_buf = (u32 *)ALIGN((u32)(drv_data +
+-						sizeof(struct driver_data)), 8);
++	drv_data->null_dma_buf =
++		(u32 *)PTR_ALIGN(&drv_data->null_dma_buf_unaligned, 8);
+ 
+ 	drv_data->ioaddr = ssp->mmio_base;
+ 	drv_data->ssdr_physical = ssp->phys_base + SSDR;
recipes-kernel/linux/linux-yocto-3.8/poodle/poodle.scc +4 -4
index cfe97be..35f1323 100644
@@ -3,7 +3,7 @@ kconf hardware poodle.cfg
 include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 
-patch locomo_kbd_tweak-r2.patch
-patch sharpsl_param.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch deleted +0 -34
deleted file mode 100644
index 7cb5385..0000000
@@ -1,34 +0,0 @@
-From fcee0050f8ce5296e8007ed7ed17d98f334a8f38 Mon Sep 17 00:00:00 2001
-From: Andrea Adami <[email protected]>
-Date: Fri, 23 Nov 2012 23:07:20 +0100
-Subject: [PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock
-
-* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100.
-* Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1
-* to /dev/rtc according to your requirement.
-
-Signed-off-by: Andrea Adami <[email protected]>
-Acked-by: Robert Jarzmik <[email protected]>
-Signed-off-by: Haojian Zhuang <[email protected]>
-
-Upstream-Status: Accepted. Committed in v3.9-rc1
-with commit id 495b21dc0e488b784ab1d4007d00db1ca2a95c98
----
- arch/arm/mach-pxa/pxa27x.c |    1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
-index 8047ee0..5970ebc 100644
---- a/arch/arm/mach-pxa/pxa27x.c
-+++ b/arch/arm/mach-pxa/pxa27x.c
-@@ -230,6 +230,7 @@ static struct clk_lookup pxa27x_clkregs[] = {
- 	INIT_CLKREG(&clk_pxa27x_memc, NULL, "MEMCLK"),
- 	INIT_CLKREG(&clk_pxa27x_mem, "pxa2xx-pcmcia", NULL),
- 	INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL),
-+	INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL),
- };
- 
- #ifdef CONFIG_PM
--- 
-1.7.8.6
-
recipes-kernel/linux/linux-yocto-3.8/pxamci-regulator.patch deleted +0 -135

135 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.8/sharpsl_param.patch deleted +0 -24
deleted file mode 100644
index c626e92..0000000
@@ -1,24 +0,0 @@
-Signed-off-by: Marko Katic <dromede.gmail.com>
-
-diff --git a/arch/arm/common/sharpsl_param.c b/arch/arm/common/sharpsl_param.c
-index d56c932..b70b13a 100644
---- a/arch/arm/common/sharpsl_param.c
-+++ b/arch/arm/common/sharpsl_param.c
-@@ -14,6 +14,7 @@
- #include <linux/kernel.h>
- #include <linux/module.h>
- #include <linux/string.h>
-+#include <asm/memory.h>
- #include <asm/mach/sharpsl_param.h>
- 
- /*
-@@ -41,7 +42,8 @@ EXPORT_SYMBOL(sharpsl_param);
- 
- void sharpsl_save_param(void)
- {
--	memcpy(&sharpsl_param, (void *)PARAM_BASE, sizeof(struct sharpsl_param_info));
-+	void * param_start = phys_to_virt(PARAM_BASE);
-+	memcpy(&sharpsl_param, param_start, sizeof(struct sharpsl_param_info));
- 
- 	if (sharpsl_param.comadj_keyword != COMADJ_MAGIC)
- 		sharpsl_param.comadj=-1;
recipes-kernel/linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch deleted +0 -34
deleted file mode 100644
index e20b597..0000000
@@ -1,34 +0,0 @@
-diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
-index dc25bee..b25fe27 100644
---- a/drivers/spi/spi-pxa2xx.c
-+++ b/drivers/spi/spi-pxa2xx.c
-@@ -106,6 +106,7 @@ struct driver_data {
- 	int rx_channel;
- 	int tx_channel;
- 	u32 *null_dma_buf;
-+	u8 null_dma_buf_unaligned[16];
- 
- 	/* SSP register addresses */
- 	void __iomem *ioaddr;
-@@ -1543,8 +1544,8 @@ static int __devinit pxa2xx_spi_probe(struct platform_device *pdev)
- 		return -ENODEV;
- 	}
- 
--	/* Allocate master with space for drv_data and null dma buffer */
--	master = spi_alloc_master(dev, sizeof(struct driver_data) + 16);
-+	/* Allocate master with space for drv_data */
-+	master = spi_alloc_master(dev, sizeof(struct driver_data));
- 	if (!master) {
- 		dev_err(&pdev->dev, "cannot alloc spi_master\n");
- 		pxa_ssp_free(ssp);
-@@ -1569,8 +1570,8 @@ static int __devinit pxa2xx_spi_probe(struct platform_device *pdev)
- 	master->transfer = transfer;
- 
- 	drv_data->ssp_type = ssp->type;
--	drv_data->null_dma_buf = (u32 *)ALIGN((u32)(drv_data +
--						sizeof(struct driver_data)), 8);
-+	drv_data->null_dma_buf =
-+		(u32 *)PTR_ALIGN(&drv_data->null_dma_buf_unaligned, 8);
- 
- 	drv_data->ioaddr = ssp->mmio_base;
- 	drv_data->ssdr_physical = ssp->phys_base + SSDR;
recipes-kernel/linux/linux-yocto-3.8/spitz/spitz.scc +4 -4
index be8c470..c47a0c5 100644
@@ -4,7 +4,7 @@ include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 include ../zaurus-usb-host.scc
 
-patch sharpsl_param.patch
-patch pxa27x-sa1100-rtc.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/pxa27x-sa1100-rtc.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/tosa/tosa.scc +3 -3
index b4d6e8e..4d57894 100644
@@ -4,6 +4,6 @@ include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 include ../zaurus-usb-host.scc
 
-patch sharpsl_param.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/2 linux-yocto_3.8: patches: add Upstream-Status and do minor edits

---
 .../patches-locomokbd/locomo_kbd_tweak-r2.patch    |  3 ++
 .../patches/patches-mfd/mcp-device.patch           | 35 ++++++++++++++++++++++
 .../patches/patches-mtd/collie-eraseinfo.patch     | 11 +++++++
 .../patches/patches-mtd/collie-jedec-probe.patch   | 11 +++++++
 .../patches/patches-pxa/pxa27x-sa1100-rtc.patch    |  8 ++---
 .../patches/patches-pxa/pxamci-regulator.patch     |  3 ++
 .../patches/patches-pxa/sharpsl_param.patch        | 14 +++++++++
 .../patches/patches-pxa/spi-pxa2xx-fix-mem.patch   | 13 ++++++++
 8 files changed, 93 insertions(+), 5 deletions(-)
recipes-kernel/linux/linux-yocto-3.8/patches/patches-locomokbd/locomo_kbd_tweak-r2.patch +3 -0
index 5f015f4..0ba313a 100644
@@ -8,6 +8,9 @@ Subject: [PATCH 43/43] locomokbd: apply tweaks for Zaurus
 Signed-off-by: Richard Purdie <[email protected]>
 Signed-off-by: Andrea Adami <[email protected]>
 
+Upstream-Status: Inappropriate [embedded specific]
+[Patch needed for initramfs w/out keymaps like kexecboot]
+
 diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c
 index c94d610..2b978c8 100644
 --- a/drivers/input/keyboard/locomokbd.c
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mfd/mcp-device.patch +35 -0
index 9a0a8ba..9769b2d 100644
@@ -1,3 +1,38 @@
+Initial try to fix compilation error
+
+linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type
+linux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type
+linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type
+linux/drivers/power/collie_battery.c:290:56: error: unknown type name 'pm_message_t'
+linux/drivers/power/collie_battery.c:371:13: error: 'collie_bat_suspend' undeclared here (not in a function)
+| make[4]: *** [drivers/power/collie_battery.o] Error 1
+| make[3]: *** [drivers/power] Error 2
+
+Patch should be refactored following Anton's suggestions.
+"Generally, we don't depend on indirect inclusions. But if it doesn't harm
+anyhow so far, we may not bother with this."
+
+Here the suggestion:
+
+Things are a bit more complex...
+* linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type
+
+You have to add #include <linux/device.h> into mfd/mcp.h. This will add
+struct device and...
+
+* linux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type
+ struct device_driver.
+
+* linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type
+Same here, the file ucb1x00.h needs #include <linux/device.h>.
+
+* linux/drivers/power/collie_battery.c:290:56: error: unknown type name 'pm_message_t'
+#include <linux/pm.h> into collie_battery.c
+
+Signed-off-by: Andrea Adami <[email protected]>
+
+Upstream-Status: Pending
+
 --- a/include/linux/mfd/mcp.h	2013-02-18 00:14:09.000000000 +0100
 +++ b/include/linux/mfd/mcp.h	2013-02-17 23:55:52.000000000 +0100
 @@ -10,6 +10,8 @@
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-eraseinfo.patch +11 -0
index 6aba29e..b5f9916 100644
@@ -1,3 +1,14 @@
+* Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and
+* the LH28F640BFHE-PTTL90.pdf datasheet available on the net shows
+* the exact erasesize and the OTP support.
+* At the moment only jedec_probe can discover the chip and
+* the NOR is mounted read only probably because of wrong vpp
+
+Signed-off-by: Andrea Adami <[email protected]>
+
+Upstream-Status: Submitted
+http://lists.infradead.org/pipermail/linux-mtd/2013-February/045781.html
+
 --- a/drivers/mtd/chips/jedec_probe.c
 +++ b/drivers/mtd/chips/jedec_probe.c
 @@ -120,7 +120,7 @@
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-jedec-probe.patch +11 -0
index 530643e..64f58ce 100644
@@ -1,3 +1,14 @@
+* Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and
+* the LH28F640BFHE-PTTL90.pdf datasheet available on the net shows
+* the exact erasesize and the OTP support.
+* At the moment only jedec_probe can discover the chip and
+* the NOR is mounted read only probably because of wrong vpp
+
+Signed-off-by: Andrea Adami <[email protected]>
+
+Upstream-Status: Submitted
+http://lists.infradead.org/pipermail/linux-mtd/2013-February/045781.html
+
 --- a/arch/arm/mach-sa1100/collie.c
 +++ b/arch/arm/mach-sa1100/collie.c
 @@ -289,7 +289,7 @@
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxa27x-sa1100-rtc.patch +3 -5
index 7cb5385..d878ea1 100644
@@ -11,8 +11,9 @@ Signed-off-by: Andrea Adami <[email protected]>
 Acked-by: Robert Jarzmik <[email protected]>
 Signed-off-by: Haojian Zhuang <[email protected]>
 
-Upstream-Status: Accepted. Committed in v3.9-rc1
-with commit id 495b21dc0e488b784ab1d4007d00db1ca2a95c98
+Upstream-Status: Accepted
+Committed in v3.9-rc1 with commit id
+495b21dc0e488b784ab1d4007d00db1ca2a95c98
 ---
  arch/arm/mach-pxa/pxa27x.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
@@ -29,6 +30,3 @@ index 8047ee0..5970ebc 100644
  };
  
  #ifdef CONFIG_PM
--- 
-1.7.8.6
-
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxamci-regulator.patch +3 -0
index 8e7c521..daf086a 100644
@@ -55,6 +55,9 @@ support to be more modular, to do more checks and to always fall back
 to platform data.
 
 Signed-off-by: Marko Katic <[email protected]>
+
+Upstream-Status: Submitted
+https://patchwork.kernel.org/patch/1875561/
 ---
  drivers/mmc/host/pxamci.c |   37 ++++++++++++++++++++++++-------------
  1 file changed, 24 insertions(+), 13 deletions(-)
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/sharpsl_param.patch +14 -0
index c626e92..720a87c 100644
@@ -1,5 +1,19 @@
+* Unbreak kernel boot (tested with kexecboot)
+* Patch was sent twice upstrream:
+* http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137284.html
+*
+* Devices that call sharpsl_save_param() will hang on boot due to
+* a memcpy call that uses a physical address that is no longer
+* accessible. Fix this by converting the physical address into a virtual one.
+
 Signed-off-by: Marko Katic <dromede.gmail.com>
 
+Upstream-Status: Submitted
+https://patchwork.kernel.org/patch/1818681/
+---
+ arch/arm/common/sharpsl_param.c |    4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
 diff --git a/arch/arm/common/sharpsl_param.c b/arch/arm/common/sharpsl_param.c
 index d56c932..b70b13a 100644
 --- a/arch/arm/common/sharpsl_param.c
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/spi-pxa2xx-fix-mem.patch +13 -0
index e20b597..7fbc14c 100644
@@ -1,3 +1,16 @@
+pxa2xx_spi_probe allocates struct driver_data and null_dma_buf
+at same time via spi_alloc_master(), but then calculates
+null_dma_buf pointer incorrectly, and it causes memory corruption
+later if DMA usage is enabled.
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+
+Upstream-Status: Submitted
+https://patchwork.kernel.org/patch/1657911/
+---
+ drivers/spi/spi-pxa2xx.c | 9 +++++----
+  1 file changed, 5 insertions(+), 4 deletions(-)
+
 diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
 index dc25bee..b25fe27 100644
 --- a/drivers/spi/spi-pxa2xx.c
Signature · 1 line
1.8.1.5
#2 lore raw
In reply to Andrea Adami
Quoted 33 lines · Andrea Adami
---
 .../linux/linux-yocto-3.8/akita/akita.scc          |   8 +-
 recipes-kernel/linux/linux-yocto-3.8/c7x0/c7x0.scc |   6 +-
 .../linux/linux-yocto-3.8/collie-eraseinfo.patch   |  31 -----
 .../linux/linux-yocto-3.8/collie-jedec-probe.patch |  11 --
 .../linux/linux-yocto-3.8/collie/collie.scc        |   8 +-
 .../linux-yocto-3.8/locomo_kbd_tweak-r2.patch      |  75 ------------
 .../linux/linux-yocto-3.8/mcp-device.patch         |  13 --
 .../patches-locomokbd/locomo_kbd_tweak-r2.patch    |  75 ++++++++++++
 .../patches/patches-mfd/mcp-device.patch           |  13 ++
 .../patches/patches-mtd/collie-eraseinfo.patch     |  31 +++++
 .../patches/patches-mtd/collie-jedec-probe.patch   |  11 ++
 .../patches/patches-pxa/pxa27x-sa1100-rtc.patch    |  34 ++++++
 .../patches/patches-pxa/pxamci-regulator.patch     | 135 +++++++++++++++++++++
 .../patches/patches-pxa/sharpsl_param.patch        |  24 ++++
 .../patches/patches-pxa/spi-pxa2xx-fix-mem.patch   |  34 ++++++
 .../linux/linux-yocto-3.8/poodle/poodle.scc        |   8 +-
 .../linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch  |  34 ------
 .../linux/linux-yocto-3.8/pxamci-regulator.patch   | 135 ---------------------
 .../linux/linux-yocto-3.8/sharpsl_param.patch      |  24 ----
 .../linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch |  34 ------
 .../linux/linux-yocto-3.8/spitz/spitz.scc          |   8 +-
 recipes-kernel/linux/linux-yocto-3.8/tosa/tosa.scc |   6 +-
 22 files changed, 379 insertions(+), 379 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/collie-eraseinfo.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/collie-jedec-probe.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/locomo_kbd_tweak-r2.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/mcp-device.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-mfd/mcp-device.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-eraseinfo.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-jedec-probe.patch
Quoted 8 lines
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxa27x-sa1100-rtc.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxamci-regulator.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/sharpsl_param.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/spi-pxa2xx-fix-mem.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/pxamci-regulator.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/sharpsl_param.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch

Would be nice to send this with -M.

#3 lore raw

PATCH v2 1/2 linux-yocto_3.8: move Zaurus patches to the respective subdirs

In reply to Andrea Adami
---
 recipes-kernel/linux/linux-yocto-3.8/akita/akita.scc              | 8 ++++----
 recipes-kernel/linux/linux-yocto-3.8/c7x0/c7x0.scc                | 6 +++---
 recipes-kernel/linux/linux-yocto-3.8/collie/collie.scc            | 8 ++++----
 .../{ => patches/patches-locomokbd}/locomo_kbd_tweak-r2.patch     | 0
 .../linux-yocto-3.8/{ => patches/patches-mfd}/mcp-device.patch    | 0
 .../{ => patches/patches-mtd}/collie-eraseinfo.patch              | 0
 .../{ => patches/patches-mtd}/collie-jedec-probe.patch            | 0
 .../{ => patches/patches-pxa}/pxa27x-sa1100-rtc.patch             | 0
 .../{ => patches/patches-pxa}/pxamci-regulator.patch              | 0
 .../linux-yocto-3.8/{ => patches/patches-pxa}/sharpsl_param.patch | 0
 .../{ => patches/patches-pxa}/spi-pxa2xx-fix-mem.patch            | 0
 recipes-kernel/linux/linux-yocto-3.8/poodle/poodle.scc            | 8 ++++----
 recipes-kernel/linux/linux-yocto-3.8/spitz/spitz.scc              | 8 ++++----
 recipes-kernel/linux/linux-yocto-3.8/tosa/tosa.scc                | 6 +++---
 14 files changed, 22 insertions(+), 22 deletions(-)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-locomokbd}/locomo_kbd_tweak-r2.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-mfd}/mcp-device.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-mtd}/collie-eraseinfo.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-mtd}/collie-jedec-probe.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-pxa}/pxa27x-sa1100-rtc.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-pxa}/pxamci-regulator.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-pxa}/sharpsl_param.patch (100%)
 rename recipes-kernel/linux/linux-yocto-3.8/{ => patches/patches-pxa}/spi-pxa2xx-fix-mem.patch (100%)
recipes-kernel/linux/linux-yocto-3.8/akita/akita.scc +4 -4
index b40cb7e..001b11b 100644
@@ -5,7 +5,7 @@ include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 include ../zaurus-usb-host.scc
 
-patch sharpsl_param.patch
-patch pxa27x-sa1100-rtc.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/pxa27x-sa1100-rtc.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/c7x0/c7x0.scc +3 -3
index a732d5e..edb99b6 100644
@@ -3,6 +3,6 @@ kconf hardware c7x0.cfg
 include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 
-patch sharpsl_param.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/collie/collie.scc +4 -4
index 3f96f24..857586e 100644
@@ -2,7 +2,7 @@ kconf hardware collie.cfg
 
 include ../zaurus-common.scc
 
-patch locomo_kbd_tweak-r2.patch
-patch mcp-device.patch
-patch collie-jedec-probe.patch
-patch collie-eraseinfo.patch
+patch ../patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
+patch ../patches/patches-mfd/mcp-device.patch
+patch ../patches/patches-mtd/collie-jedec-probe.patch
+patch ../patches/patches-mtd/collie-eraseinfo.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-locomokbd/locomo_kbd_tweak-r2.patch renamed from recipes-kernel/linux/linux-yocto-3.8/locomo_kbd_tweak-r2.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/locomo_kbd_tweak-r2.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mfd/mcp-device.patch renamed from recipes-kernel/linux/linux-yocto-3.8/mcp-device.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/mcp-device.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-mfd/mcp-device.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-eraseinfo.patch renamed from recipes-kernel/linux/linux-yocto-3.8/collie-eraseinfo.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/collie-eraseinfo.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-eraseinfo.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-jedec-probe.patch renamed from recipes-kernel/linux/linux-yocto-3.8/collie-jedec-probe.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/collie-jedec-probe.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-mtd/collie-jedec-probe.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxa27x-sa1100-rtc.patch renamed from recipes-kernel/linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/pxa27x-sa1100-rtc.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxa27x-sa1100-rtc.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxamci-regulator.patch renamed from recipes-kernel/linux/linux-yocto-3.8/pxamci-regulator.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/pxamci-regulator.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/sharpsl_param.patch renamed from recipes-kernel/linux/linux-yocto-3.8/sharpsl_param.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/sharpsl_param.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/sharpsl_param.patch
recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/spi-pxa2xx-fix-mem.patch renamed from recipes-kernel/linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch
rename to recipes-kernel/linux/linux-yocto-3.8/patches/patches-pxa/spi-pxa2xx-fix-mem.patch
recipes-kernel/linux/linux-yocto-3.8/poodle/poodle.scc +4 -4
index cfe97be..35f1323 100644
@@ -3,7 +3,7 @@ kconf hardware poodle.cfg
 include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 
-patch locomo_kbd_tweak-r2.patch
-patch sharpsl_param.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-locomokbd/locomo_kbd_tweak-r2.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/spitz/spitz.scc +4 -4
index be8c470..c47a0c5 100644
@@ -4,7 +4,7 @@ include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 include ../zaurus-usb-host.scc
 
-patch sharpsl_param.patch
-patch pxa27x-sa1100-rtc.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/pxa27x-sa1100-rtc.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
recipes-kernel/linux/linux-yocto-3.8/tosa/tosa.scc +3 -3
index b4d6e8e..4d57894 100644
@@ -4,6 +4,6 @@ include ../zaurus-pxa-only.scc
 include ../zaurus-common.scc
 include ../zaurus-usb-host.scc
 
-patch sharpsl_param.patch
-patch spi-pxa2xx-fix-mem.patch
-patch pxamci-regulator.patch
+patch ../patches/patches-pxa/sharpsl_param.patch
+patch ../patches/patches-pxa/spi-pxa2xx-fix-mem.patch
+patch ../patches/patches-pxa/pxamci-regulator.patch
Signature · 1 line
1.8.1.5