Skip to contentSkip to conversation

linux-yocto_3.14: add patches and defconfig for ipaq h1940

PATCH New Andrea Adami 1 participant 3 messages May 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 linux-yocto_3.14: add patches and defconfig for ipaq h1940

---
 .../h1940/0001-rfkill-add-IR-type.patch            |  59 +++
 ...-Remove-S3C24XX_DMA-dependency-from-S3C24.patch |  30 ++
 ...4xx-add-dma_coherent_mask-for-DMA-devices.patch |  35 ++
 ...s3c24xx-Add-DMA-resources-for-SDI-and-I2S.patch |  34 ++
 ...xx-drop-RFKILL-driver-for-H1940-bluetooth.patch | 202 ++++++++
 .../0006-ARM-s3c24xx-h1940-Add-nand-device.patch   | 126 +++++
 ...007-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch |  41 ++
 ...008-ARM-s3c24xx-h1940-unlock-reset-button.patch |  52 +++
 ...3c24xx-h1940-add-bluetooth-RF-kill-switch.patch | 100 ++++
 .../0010-ARM-s3c24xx-h1940-add-IR-switch.patch     |  73 +++
 ...s3c24xx-h1940-increase-oversampling-shift.patch |  29 ++
 .../0012-ARM-s3c24xx-h1940-Add-DMA-device.patch    |  27 ++
 ...engine-s3c24xx-dma-Process-whole-SG-chain.patch |  27 ++
 ...e-s3c24xx-dma-Add-cyclic-transfer-support.patch | 183 ++++++++
 ...015-s3cmci-port-DMA-code-to-dmaengine-API.patch | 370 +++++++++++++++
 ...g-s3c24-xx-12-i2s-port-to-use-generic-dma.patch | 385 +++++++++++++++
 ...g-drop-support-for-legacy-S3C24XX-DMA-API.patch | 515 +++++++++++++++++++++
 .../linux/linux-yocto-3.14/h1940/defconfig         | 200 ++++++++
 recipes-kernel/linux/linux-yocto_3.14.bbappend     |  27 +-
 19 files changed, 2514 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0001-rfkill-add-IR-type.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0002-ARM-s3c24xx-Remove-S3C24XX_DMA-dependency-from-S3C24.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0003-ARM-s3c24xx-add-dma_coherent_mask-for-DMA-devices.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0004-ARM-s3c24xx-Add-DMA-resources-for-SDI-and-I2S.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0005-ARM-s3c24xx-drop-RFKILL-driver-for-H1940-bluetooth.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0006-ARM-s3c24xx-h1940-Add-nand-device.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0007-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0008-ARM-s3c24xx-h1940-unlock-reset-button.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0009-ARM-s3c24xx-h1940-add-bluetooth-RF-kill-switch.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0011-ARM-s3c24xx-h1940-increase-oversampling-shift.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0012-ARM-s3c24xx-h1940-Add-DMA-device.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0013-dmaengine-s3c24xx-dma-Process-whole-SG-chain.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0014-dmaengine-s3c24xx-dma-Add-cyclic-transfer-support.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0015-s3cmci-port-DMA-code-to-dmaengine-API.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0016-ASoC-samsung-s3c24-xx-12-i2s-port-to-use-generic-dma.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/0017-ASoC-samsung-drop-support-for-legacy-S3C24XX-DMA-API.patch
 create mode 100644 recipes-kernel/linux/linux-yocto-3.14/h1940/defconfig
recipes-kernel/linux/linux-yocto-3.14/h1940/0001-rfkill-add-IR-type.patch new file +59 -0
new file mode 100644
index 0000000..0045cf2
@@ -0,0 +1,59 @@
+From 674eef7154d529886d5e9fe77914e9bc77e549b0 Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Thu, 17 Oct 2013 12:19:47 +0300
+Subject: [PATCH 01/17] rfkill: add IR type
+
+Infrared receivers/transmitters can also be disabled,
+so add IR type to rfkill subsystem
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ include/uapi/linux/rfkill.h | 2 ++
+ net/rfkill/core.c           | 4 +++-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/include/uapi/linux/rfkill.h b/include/uapi/linux/rfkill.h
+index 058757f..d4ae526 100644
+--- a/include/uapi/linux/rfkill.h
++++ b/include/uapi/linux/rfkill.h
+@@ -38,6 +38,7 @@
+  * @RFKILL_TYPE_GPS: switch is on a GPS device.
+  * @RFKILL_TYPE_FM: switch is on a FM radio device.
+  * @RFKILL_TYPE_NFC: switch is on an NFC device.
++ * @RFKILL_TYPE_IR: switch is on an IR device.
+  * @NUM_RFKILL_TYPES: number of defined rfkill types
+  */
+ enum rfkill_type {
+@@ -50,6 +51,7 @@ enum rfkill_type {
+ 	RFKILL_TYPE_GPS,
+ 	RFKILL_TYPE_FM,
+ 	RFKILL_TYPE_NFC,
++	RFKILL_TYPE_IR,
+ 	NUM_RFKILL_TYPES,
+ };
+ 
+diff --git a/net/rfkill/core.c b/net/rfkill/core.c
+index ed7e0b4..4c4abb6 100644
+--- a/net/rfkill/core.c
++++ b/net/rfkill/core.c
+@@ -585,7 +585,7 @@ static DEVICE_ATTR_RO(name);
+ 
+ static const char *rfkill_get_type_str(enum rfkill_type type)
+ {
+-	BUILD_BUG_ON(NUM_RFKILL_TYPES != RFKILL_TYPE_NFC + 1);
++	BUILD_BUG_ON(NUM_RFKILL_TYPES != RFKILL_TYPE_IR + 1);
+ 
+ 	switch (type) {
+ 	case RFKILL_TYPE_WLAN:
+@@ -604,6 +604,8 @@ static const char *rfkill_get_type_str(enum rfkill_type type)
+ 		return "fm";
+ 	case RFKILL_TYPE_NFC:
+ 		return "nfc";
++	case RFKILL_TYPE_IR:
++		return "ir";
+ 	default:
+ 		BUG();
+ 	}
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0002-ARM-s3c24xx-Remove-S3C24XX_DMA-dependency-from-S3C24.patch new file +30 -0
new file mode 100644
index 0000000..0a2f0df
@@ -0,0 +1,30 @@
+From 43403f1d4744e0d71ef360655f44b489b57f443e Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Sun, 18 May 2014 12:43:35 +0300
+Subject: [PATCH 02/17] ARM: s3c24xx: Remove S3C24XX_DMA dependency from
+ S3C2410_DMA
+
+S3C24XX_DMA enables legacy DMA driver, and since we want to
+move to introduced generic dmaengine s3c24xx-dma driver,
+it's necessary to remove this redundant dependency.
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ arch/arm/mach-s3c24xx/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
+index d876431..3be853c 100644
+--- a/arch/arm/mach-s3c24xx/Kconfig
++++ b/arch/arm/mach-s3c24xx/Kconfig
+@@ -149,7 +149,6 @@ config S3C2410_DMA_DEBUG
+ 
+ config S3C2410_DMA
+ 	bool
+-	depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
+ 	help
+ 	  DMA device selection for S3C2410 and compatible CPUs
+ 
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0003-ARM-s3c24xx-add-dma_coherent_mask-for-DMA-devices.patch new file +35 -0
new file mode 100644
index 0000000..5372b93
@@ -0,0 +1,35 @@
+From acdc541821464171954cbd1a4e1a34f3e743e043 Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Sun, 18 May 2014 12:44:52 +0300
+Subject: [PATCH 03/17] ARM: s3c24xx: add dma_coherent_mask for DMA devices
+
+Otherwise dma_alloc_coherent() fails.
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ arch/arm/mach-s3c24xx/common.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c
+index 4adaa4b..d61f611 100644
+--- a/arch/arm/mach-s3c24xx/common.c
++++ b/arch/arm/mach-s3c24xx/common.c
+@@ -383,6 +383,7 @@ struct platform_device s3c2410_device_dma = {
+ 	.resource	= s3c2410_dma_resource,
+ 	.dev	= {
+ 		.platform_data	= &s3c2410_dma_platdata,
++		.coherent_dma_mask = ~0,
+ 	},
+ };
+ #endif
+@@ -480,6 +481,7 @@ struct platform_device s3c2440_device_dma = {
+ 	.resource	= s3c2410_dma_resource,
+ 	.dev	= {
+ 		.platform_data	= &s3c2440_dma_platdata,
++		.coherent_dma_mask = ~0,
+ 	},
+ };
+ #endif
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0004-ARM-s3c24xx-Add-DMA-resources-for-SDI-and-I2S.patch new file +34 -0
new file mode 100644
index 0000000..9a25241
@@ -0,0 +1,34 @@
+From e62096b744e4fa4376f0fe10bbe72dc0cae32b0d Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Sun, 18 May 2014 12:45:39 +0300
+Subject: [PATCH 04/17] ARM: s3c24xx: Add DMA resources for SDI and I2S
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ arch/arm/plat-samsung/devs.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
+index ac07e87..a0575d5 100644
+--- a/arch/arm/plat-samsung/devs.c
++++ b/arch/arm/plat-samsung/devs.c
+@@ -787,6 +787,8 @@ void __init s5p_hdmi_set_platdata(struct i2c_board_info *hdmiphy_info,
+ #ifdef CONFIG_PLAT_S3C24XX
+ static struct resource s3c_iis_resource[] = {
+ 	[0] = DEFINE_RES_MEM(S3C24XX_PA_IIS, S3C24XX_SZ_IIS),
++	[1] = DEFINE_RES_DMA(DMACH_I2S_OUT),
++	[2] = DEFINE_RES_DMA(DMACH_I2S_IN),
+ };
+ 
+ struct platform_device s3c_device_iis = {
+@@ -1153,6 +1155,7 @@ struct platform_device s3c_device_rtc = {
+ static struct resource s3c_sdi_resource[] = {
+ 	[0] = DEFINE_RES_MEM(S3C24XX_PA_SDI, S3C24XX_SZ_SDI),
+ 	[1] = DEFINE_RES_IRQ(IRQ_SDI),
++	[2] = DEFINE_RES_DMA(DMACH_SDI),
+ };
+ 
+ struct platform_device s3c_device_sdi = {
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0005-ARM-s3c24xx-drop-RFKILL-driver-for-H1940-bluetooth.patch new file +202 -0

202 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0006-ARM-s3c24xx-h1940-Add-nand-device.patch new file +126 -0

126 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0007-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch new file +41 -0

41 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0008-ARM-s3c24xx-h1940-unlock-reset-button.patch new file +52 -0

52 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0009-ARM-s3c24xx-h1940-add-bluetooth-RF-kill-switch.patch new file +100 -0

100 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch new file +73 -0

73 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0011-ARM-s3c24xx-h1940-increase-oversampling-shift.patch new file +29 -0
new file mode 100644
index 0000000..93479fe
@@ -0,0 +1,29 @@
+From 9b3fda3f079093bda68fab588da54ae305035cb9 Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Sun, 18 Dec 2011 11:47:03 +0300
+Subject: [PATCH 11/17] ARM: s3c24xx: h1940: increase oversampling shift
+
+4 samples seems to be not enough for touchscreen driver
+to work accurately
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ arch/arm/mach-s3c24xx/mach-h1940.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c
+index df0e89f..15e1039 100644
+--- a/arch/arm/mach-s3c24xx/mach-h1940.c
++++ b/arch/arm/mach-s3c24xx/mach-h1940.c
+@@ -182,7 +182,7 @@ static struct s3c2410_udc_mach_info h1940_udc_cfg __initdata = {
+ static struct s3c2410_ts_mach_info h1940_ts_cfg __initdata = {
+ 		.delay = 10000,
+ 		.presc = 49,
+-		.oversampling_shift = 2,
++		.oversampling_shift = 5,
+ 		.cfg_gpio = s3c24xx_ts_cfg_gpio,
+ };
+ 
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0012-ARM-s3c24xx-h1940-Add-DMA-device.patch new file +27 -0
new file mode 100644
index 0000000..8858529
@@ -0,0 +1,27 @@
+From e6cc75e785cab181a29a9b97c9e37b7614e132f1 Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Sun, 18 May 2014 12:46:09 +0300
+Subject: [PATCH 12/17] ARM: s3c24xx: h1940: Add DMA device
+
+To use new s3c24xx-dma driver we need to add appropriate platform device.
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ arch/arm/mach-s3c24xx/mach-h1940.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c
+index 15e1039..3a082f3 100644
+--- a/arch/arm/mach-s3c24xx/mach-h1940.c
++++ b/arch/arm/mach-s3c24xx/mach-h1940.c
+@@ -743,6 +743,7 @@ static struct gpiod_lookup_table ir_gpio_lookup = {
+ 
+ static struct platform_device *h1940_devices[] __initdata = {
+ 	&h1940_dev_buttons,
++	&s3c2410_device_dma,
+ 	&s3c_device_ohci,
+ 	&s3c_device_lcd,
+ 	&s3c_device_wdt,
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0013-dmaengine-s3c24xx-dma-Process-whole-SG-chain.patch new file +27 -0
new file mode 100644
index 0000000..051efca
@@ -0,0 +1,27 @@
+From ad9763daaad79c35803732ac9ffd21f714363ebd Mon Sep 17 00:00:00 2001
+From: Vasily Khoruzhick <[email protected]>
+Date: Sun, 18 May 2014 11:42:10 +0300
+Subject: [PATCH 13/17] dmaengine: s3c24xx-dma: Process whole SG chain
+
+Due to redundant 'break' in loop driver processed only first chunk.
+
+Signed-off-by: Vasily Khoruzhick <[email protected]>
+---
+ drivers/dma/s3c24xx-dma.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
+index 4eddedb..2167608 100644
+--- a/drivers/dma/s3c24xx-dma.c
++++ b/drivers/dma/s3c24xx-dma.c
+@@ -961,7 +961,6 @@ static struct dma_async_tx_descriptor *s3c24xx_dma_prep_slave_sg(
+ 			dsg->src_addr = slave_addr;
+ 			dsg->dst_addr = sg_dma_address(sg);
+ 		}
+-		break;
+ 	}
+ 
+ 	return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags);
+-- 
+1.9.3
+
recipes-kernel/linux/linux-yocto-3.14/h1940/0014-dmaengine-s3c24xx-dma-Add-cyclic-transfer-support.patch new file +183 -0

183 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0015-s3cmci-port-DMA-code-to-dmaengine-API.patch new file +370 -0

370 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0016-ASoC-samsung-s3c24-xx-12-i2s-port-to-use-generic-dma.patch new file +385 -0

385 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/0017-ASoC-samsung-drop-support-for-legacy-S3C24XX-DMA-API.patch new file +515 -0

515 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-3.14/h1940/defconfig new file +200 -0

200 lines not on this page · raw message

recipes-kernel/linux/linux-yocto_3.14.bbappend +26 -1
index 335fe27..12f910a 100644
@@ -1,11 +1,12 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.14:${THISDIR}/${PN}:"
 
 # Declare more compatible machines
-COMPATIBLE_MACHINE .= "|akita|c7x0|collie|h3600|hx4700|poodle|spitz|tosa"
+COMPATIBLE_MACHINE .= "|akita|c7x0|collie|h1940|h3600|hx4700|poodle|spitz|tosa"
 
 KERNEL_EXTRA_FEATURES_akita ?= ""
 KERNEL_EXTRA_FEATURES_c7x0 ?= ""
 KERNEL_EXTRA_FEATURES_collie ?= ""
+KERNEL_EXTRA_FEATURES_h1940 ?= ""
 KERNEL_EXTRA_FEATURES_h3600 ?= ""
 KERNEL_EXTRA_FEATURES_hx4700 ?= ""
 KERNEL_EXTRA_FEATURES_poodle ?= ""
@@ -15,6 +16,7 @@ KERNEL_EXTRA_FEATURES_tosa ?= ""
 KMACHINE_akita = "akita"
 KMACHINE_c7x0 = "c7x0"
 KMACHINE_collie = "collie"
+KMACHINE_h1940 = "h1940"
 KMACHINE_h3600 = "h3600"
 KMACHINE_hx4700 = "hx4700"
 KMACHINE_poodle = "poodle"
@@ -26,6 +28,7 @@ KMACHINE_tosa = "tosa"
 KCONFIG_MODE_akita = "--alldefconfig"
 KCONFIG_MODE_c7x0 = "--alldefconfig"
 KCONFIG_MODE_collie = "--alldefconfig"
+KCONFIG_MODE_h1940 = "--alldefconfig"
 KCONFIG_MODE_h3600 = "--alldefconfig"
 KCONFIG_MODE_hx4700 = "--alldefconfig"
 KCONFIG_MODE_poodle = "--alldefconfig"
@@ -69,6 +72,28 @@ SRC_URI_append_collie = " \
            \
            "
 
+SRC_URI_append_h1940 = " \
+           file://defconfig \
+           file://OE-qvga-logo.patch \
+           file://0001-rfkill-add-IR-type.patch \
+           file://0002-ARM-s3c24xx-Remove-S3C24XX_DMA-dependency-from-S3C24.patch \
+           file://0003-ARM-s3c24xx-add-dma_coherent_mask-for-DMA-devices.patch \
+           file://0004-ARM-s3c24xx-Add-DMA-resources-for-SDI-and-I2S.patch \
+           file://0005-ARM-s3c24xx-drop-RFKILL-driver-for-H1940-bluetooth.patch \
+           file://0006-ARM-s3c24xx-h1940-Add-nand-device.patch \
+           file://0007-ARM-s3c24xx-h1940-don-t-touch-UPLLCON.patch \
+           file://0008-ARM-s3c24xx-h1940-unlock-reset-button.patch \
+           file://0009-ARM-s3c24xx-h1940-add-bluetooth-RF-kill-switch.patch \
+           file://0010-ARM-s3c24xx-h1940-add-IR-switch.patch \
+           file://0011-ARM-s3c24xx-h1940-increase-oversampling-shift.patch \
+           file://0012-ARM-s3c24xx-h1940-Add-DMA-device.patch \
+           file://0013-dmaengine-s3c24xx-dma-Process-whole-SG-chain.patch \
+           file://0014-dmaengine-s3c24xx-dma-Add-cyclic-transfer-support.patch \
+           file://0015-s3cmci-port-DMA-code-to-dmaengine-API.patch \
+           file://0016-ASoC-samsung-s3c24-xx-12-i2s-port-to-use-generic-dma.patch \
+           file://0017-ASoC-samsung-drop-support-for-legacy-S3C24XX-DMA-API.patch \
+           "
+
 SRC_URI_append_h3600 = " \
            file://defconfig \
            file://OE-qvga-logo.patch \
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/3 h1940: prefer linux-yocto kernel

h1940 was using linux-yocto-dev, waiting for inclusion in linux-yocto_3.14. Support is now present so we can switch back to the standard kernel provider.

---
 conf/machine/h1940.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/h1940.conf +1 -1
index 5945363..7a6b5a2 100644
@@ -9,7 +9,7 @@
 require conf/machine/include/tune-arm920t.inc
 
 # Set preferred providers
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
 
 KERNEL_IMAGETYPE = "uImage"
 UBOOT_LOADADDRESS = "0x30108000"
Signature · 1 line
1.9.1
#2 lore raw

PATCH 3/3 linux-yocto-dev: remove development 3.14 kernel recipe

In reply to Andrea Adami

The machines using it before are now preferring linux-yocto.

---
 recipes-kernel/linux/linux-yocto-dev.bbappend      |  37 --
 ...-s3c24xx-DMA-don-t-use-autoreload-feature.patch | 683 ---------------------
 .../h1940/0002-s3cmci-minor-fixups.patch           |  40 --
 ...10-drop-RFKILL-driver-for-H1940-bluetooth.patch | 200 ------
 ...mtd-nand-s3c2410-add-iPAQ-specific-layout.patch |  28 -
 ...005-ARM-s3c2410-Add-nand-device-for-h1940.patch | 114 ----
 ...006-ARM-s3c2410-h1940-don-t-touch-UPLLCON.patch |  41 --
 ...-ARM-s3c2410-unlock-reset-button-on-H1940.patch |  49 --
 ...08-ARM-h1940-add-bluetooth-RF-kill-switch.patch |  75 ---
 .../h1940/0009-rfkill-add-IR-type.patch            |  51 --
 ...fkill_gpio-add-support-for-inverted-GPIOs.patch |  59 --
 .../h1940/0011-ARM-h1940-add-IR-switch.patch       |  61 --
 ...012-ARM-h1940-increase-oversampling-shift.patch |  29 -
 .../linux/linux-yocto-dev/h1940/defconfig          | 200 ------
 14 files changed, 1667 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev.bbappend
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0001-s3c24xx-DMA-don-t-use-autoreload-feature.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0002-s3cmci-minor-fixups.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0003-ARM-s3c2410-drop-RFKILL-driver-for-H1940-bluetooth.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0004-mtd-nand-s3c2410-add-iPAQ-specific-layout.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0005-ARM-s3c2410-Add-nand-device-for-h1940.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0006-ARM-s3c2410-h1940-don-t-touch-UPLLCON.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0007-ARM-s3c2410-unlock-reset-button-on-H1940.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0008-ARM-h1940-add-bluetooth-RF-kill-switch.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0009-rfkill-add-IR-type.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0010-rfkill_gpio-add-support-for-inverted-GPIOs.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0011-ARM-h1940-add-IR-switch.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/0012-ARM-h1940-increase-oversampling-shift.patch
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev/h1940/defconfig
recipes-kernel/linux/linux-yocto-dev.bbappend deleted +0 -37
deleted file mode 100644
index 4594c6d..0000000
@@ -1,37 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-dev:${THISDIR}/${PN}:${THISDIR}/files:"
-
-COMPATIBLE_MACHINE .= "|h1940"
-
-# Override kernel features
-#KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
-
-KERNEL_EXTRA_FEATURES_h1940 ?= ""
-KMACHINE_h1940 = "h1940"
-
-# Note: Providing "defconfig" we bypass the linux-yocto processing
-# re-expand the defconfig produced by "make_savedefconfig"
-KCONFIG_MODE_h1940 = "--alldefconfig"
-
-SRC_URI_append_h1940 = " \
-           file://defconfig \
-           file://0001-s3c24xx-DMA-don-t-use-autoreload-feature.patch \
-           file://0002-s3cmci-minor-fixups.patch \
-           file://0003-ARM-s3c2410-drop-RFKILL-driver-for-H1940-bluetooth.patch \
-           file://0008-ARM-h1940-add-bluetooth-RF-kill-switch.patch \
-           file://0004-mtd-nand-s3c2410-add-iPAQ-specific-layout.patch \
-           file://0005-ARM-s3c2410-Add-nand-device-for-h1940.patch \
-           file://0006-ARM-s3c2410-h1940-don-t-touch-UPLLCON.patch \
-           file://0009-rfkill-add-IR-type.patch \
-           file://0007-ARM-s3c2410-unlock-reset-button-on-H1940.patch \
-           file://0010-rfkill_gpio-add-support-for-inverted-GPIOs.patch \
-           file://0011-ARM-h1940-add-IR-switch.patch \
-           file://0012-ARM-h1940-increase-oversampling-shift.patch \
-           file://qvga/logo_linux_clut224.ppm.bz2 \
-           "
-
-do_configure_prepend() {
-
-    if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then
-        install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm ${WORKDIR}/linux/drivers/video/logo/logo_linux_clut224.ppm
-    fi
-}
recipes-kernel/linux/linux-yocto-dev/h1940/0001-s3c24xx-DMA-don-t-use-autoreload-feature.patch deleted +0 -683

683 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0002-s3cmci-minor-fixups.patch deleted +0 -40
deleted file mode 100644
index 7bf0163..0000000
@@ -1,40 +0,0 @@
-From ecbeff382c24f958c2451694041165779312638d Mon Sep 17 00:00:00 2001
-From: Vasily Khoruzhick <[email protected]>
-Date: Fri, 13 Aug 2010 20:01:53 +0300
-Subject: [PATCH 02/12] s3cmci: minor fixups
-
-- It's not necessary to start DMA op manually, as we have
-autostart feature enabled
-- Restore prescaler before DMA operation, otherwise it
-takes ages to complete DMA op.
-
-Signed-off-by: Vasily Khoruzhick <[email protected]>
----
- drivers/mmc/host/s3cmci.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
-index 8d6794c..d9b11d8 100644
---- a/drivers/mmc/host/s3cmci.c
-+++ b/drivers/mmc/host/s3cmci.c
-@@ -1184,6 +1184,8 @@ static int s3cmci_prepare_dma(struct s3cmci_host *host, struct mmc_data *data)
- 		    sg_dma_address(&data->sg[i]),
- 		    sg_dma_len(&data->sg[i]));
- 
-+		/* Restore prescaler value */
-+		writel(host->prescaler, host->base + S3C2410_SDIPRE);
- 		res = s3c2410_dma_enqueue(host->dma, host,
- 					  sg_dma_address(&data->sg[i]),
- 					  sg_dma_len(&data->sg[i]));
-@@ -1194,8 +1196,6 @@ static int s3cmci_prepare_dma(struct s3cmci_host *host, struct mmc_data *data)
- 		}
- 	}
- 
--	s3c2410_dma_ctrl(host->dma, S3C2410_DMAOP_START);
--
- 	return 0;
- }
- 
--- 
-1.8.4
-
recipes-kernel/linux/linux-yocto-dev/h1940/0003-ARM-s3c2410-drop-RFKILL-driver-for-H1940-bluetooth.patch deleted +0 -200

200 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0004-mtd-nand-s3c2410-add-iPAQ-specific-layout.patch deleted +0 -28
deleted file mode 100644
index 229baf4..0000000
@@ -1,28 +0,0 @@
-From f89a1a53b00b258aeb44a8511fb4adc657108423 Mon Sep 17 00:00:00 2001
-From: Vasily Khoruzhick <[email protected]>
-Date: Sun, 18 Dec 2011 11:48:46 +0300
-Subject: [PATCH 04/12] mtd: nand: s3c2410: add iPAQ specific layout
-
-Signed-off-by: Vasily Khoruzhick <[email protected]>
----
- drivers/mtd/nand/s3c2410.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
-index d65cbe9..0806e46 100644
---- a/drivers/mtd/nand/s3c2410.c
-+++ b/drivers/mtd/nand/s3c2410.c
-@@ -54,8 +54,8 @@
- 
- static struct nand_ecclayout nand_hw_eccoob = {
- 	.eccbytes = 3,
--	.eccpos = {0, 1, 2},
--	.oobfree = {{8, 8}}
-+	.eccpos = {8, 9, 10},
-+	.oobfree = {{2, 6}, {11, 5}}
- };
- 
- /* controller and mtd information */
--- 
-1.8.4
-
recipes-kernel/linux/linux-yocto-dev/h1940/0005-ARM-s3c2410-Add-nand-device-for-h1940.patch deleted +0 -114

114 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0006-ARM-s3c2410-h1940-don-t-touch-UPLLCON.patch deleted +0 -41

41 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0007-ARM-s3c2410-unlock-reset-button-on-H1940.patch deleted +0 -49

49 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0008-ARM-h1940-add-bluetooth-RF-kill-switch.patch deleted +0 -75

75 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0009-rfkill-add-IR-type.patch deleted +0 -51

51 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0010-rfkill_gpio-add-support-for-inverted-GPIOs.patch deleted +0 -59

59 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0011-ARM-h1940-add-IR-switch.patch deleted +0 -61

61 lines not on this page · raw message

recipes-kernel/linux/linux-yocto-dev/h1940/0012-ARM-h1940-increase-oversampling-shift.patch deleted +0 -29
deleted file mode 100644
index b5f9fc0..0000000
@@ -1,29 +0,0 @@
-From e54bcd58d416162f8cb1b191c7cff81ecd660137 Mon Sep 17 00:00:00 2001
-From: Vasily Khoruzhick <[email protected]>
-Date: Sun, 18 Dec 2011 11:47:03 +0300
-Subject: [PATCH 12/12] ARM: h1940: increase oversampling shift
-
-4 samples seems to be not enough for touchscreen driver
-to work accurately
-
-Signed-off-by: Vasily Khoruzhick <[email protected]>
----
- arch/arm/mach-s3c24xx/mach-h1940.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c
-index 6b45688..ca54dea 100644
---- a/arch/arm/mach-s3c24xx/mach-h1940.c
-+++ b/arch/arm/mach-s3c24xx/mach-h1940.c
-@@ -181,7 +181,7 @@ static struct s3c2410_udc_mach_info h1940_udc_cfg __initdata = {
- static struct s3c2410_ts_mach_info h1940_ts_cfg __initdata = {
- 		.delay = 10000,
- 		.presc = 49,
--		.oversampling_shift = 2,
-+		.oversampling_shift = 5,
- 		.cfg_gpio = s3c24xx_ts_cfg_gpio,
- };
- 
--- 
-1.8.4
-
recipes-kernel/linux/linux-yocto-dev/h1940/defconfig deleted +0 -200

200 lines not on this page · raw message

Signature · 1 line
1.9.1