diff options
Diffstat (limited to 'recipes-kernel')
57 files changed, 1526 insertions, 157 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch index 9045bb6a..a76d5c11 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 4999df64c677cd0a32e87ccea5c1405331576d3d Mon Sep 17 00:00:00 2001 | 1 | From 0a8e60a2f92c5507739e84cdbe5fb3de3f4ee1b6 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Fri, 7 Oct 2011 15:29:28 +0200 | 3 | Date: Fri, 7 Oct 2011 15:29:28 +0200 |
4 | Subject: [PATCH 01/33] f_rndis: HACK around undefined variables | 4 | Subject: [PATCH 01/56] f_rndis: HACK around undefined variables |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | drivers/usb/gadget/f_rndis.c | 4 ++-- | 8 | drivers/usb/gadget/f_rndis.c | 4 ++-- |
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | 9 | 1 files changed, 2 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c | 11 | diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c |
12 | index 6614490..d2f1b6f 100644 | 12 | index 6614490..d2f1b6f 100644 |
@@ -27,5 +27,5 @@ index 6614490..d2f1b6f 100644 | |||
27 | * the network link ... which is unavailable to this code | 27 | * the network link ... which is unavailable to this code |
28 | * until we're activated via set_alt(). | 28 | * until we're activated via set_alt(). |
29 | -- | 29 | -- |
30 | 1.7.10 | 30 | 1.7.7.6 |
31 | 31 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch index 9414a32e..b227e644 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 831a092f5cad298cb9d7d3f2d1a2d08cec82e733 Mon Sep 17 00:00:00 2001 | 1 | From 7db7d9b0c2ca8aea0ae522b7fc30c7ac034edfe2 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Thu, 3 Nov 2011 17:35:50 +0100 | 3 | Date: Thu, 3 Nov 2011 17:35:50 +0100 |
4 | Subject: [PATCH 02/33] da8xx-fb: add DVI support for beaglebone | 4 | Subject: [PATCH 02/56] da8xx-fb: add DVI support for beaglebone |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | drivers/video/da8xx-fb.c | 14 ++++++++++++++ | 8 | drivers/video/da8xx-fb.c | 14 ++++++++++++++ |
9 | 1 file changed, 14 insertions(+) | 9 | 1 files changed, 14 insertions(+), 0 deletions(-) |
10 | 10 | ||
11 | diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c | 11 | diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c |
12 | index 2e69278..b01f15b 100644 | 12 | index 2e69278..b01f15b 100644 |
@@ -34,5 +34,5 @@ index 2e69278..b01f15b 100644 | |||
34 | 34 | ||
35 | /* Enable the Raster Engine of the LCD Controller */ | 35 | /* Enable the Raster Engine of the LCD Controller */ |
36 | -- | 36 | -- |
37 | 1.7.10 | 37 | 1.7.7.6 |
38 | 38 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch index c29cfa70..680fa6af 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 83111bdeba0ddfd16b409e8c1cacd77a756507c9 Mon Sep 17 00:00:00 2001 | 1 | From 8ba62500dc8a2a033099ddcf85fd765b09c47f6d Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 30 Jan 2012 21:30:09 +0100 | 3 | Date: Mon, 30 Jan 2012 21:30:09 +0100 |
4 | Subject: [PATCH 03/33] beaglebone: rebase everything onto 3.2 - WARNING | 4 | Subject: [PATCH 03/56] beaglebone: rebase everything onto 3.2 - WARNING |
5 | MEGAPATCH | 5 | MEGAPATCH |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
8 | --- | 8 | --- |
9 | arch/arm/mach-omap2/board-am335xevm.c | 426 ++++++++++++++++++++++++++++++++- | 9 | arch/arm/mach-omap2/board-am335xevm.c | 426 ++++++++++++++++++++++++++++++++- |
10 | 1 file changed, 415 insertions(+), 11 deletions(-) | 10 | 1 files changed, 415 insertions(+), 11 deletions(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
13 | index 563bdf1..2741431 100644 | 13 | index 563bdf1..2741431 100644 |
@@ -559,5 +559,5 @@ index 563bdf1..2741431 100644 | |||
559 | /* Beagle Bone has Micro-SD slot which doesn't have Write Protect pin */ | 559 | /* Beagle Bone has Micro-SD slot which doesn't have Write Protect pin */ |
560 | am335x_mmc[0].gpio_wp = -EINVAL; | 560 | am335x_mmc[0].gpio_wp = -EINVAL; |
561 | -- | 561 | -- |
562 | 1.7.10 | 562 | 1.7.7.6 |
563 | 563 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0004-more-beaglebone-merges.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0004-more-beaglebone-merges.patch index 3b4b05cc..1672a11b 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0004-more-beaglebone-merges.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0004-more-beaglebone-merges.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From fda651d1a17eba23bae75e22a811a9f45c96da16 Mon Sep 17 00:00:00 2001 | 1 | From b5158f58ced19e39423d3f12b01f67435a1029b0 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 31 Jan 2012 10:04:03 +0100 | 3 | Date: Tue, 31 Jan 2012 10:04:03 +0100 |
4 | Subject: [PATCH 04/33] more beaglebone merges | 4 | Subject: [PATCH 04/56] more beaglebone merges |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 52 +++++++++++++++++++++++++++++++-- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 52 +++++++++++++++++++++++++++++++- |
9 | 1 file changed, 50 insertions(+), 2 deletions(-) | 9 | 1 files changed, 50 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 2741431..ffbecae 100644 | 12 | index 2741431..ffbecae 100644 |
@@ -103,5 +103,5 @@ index 2741431..ffbecae 100644 | |||
103 | } else if (!strncmp("1.0", config.version, 3)) { | 103 | } else if (!strncmp("1.0", config.version, 3)) { |
104 | gp_evm_revision = GP_EVM_REV_IS_1_0; | 104 | gp_evm_revision = GP_EVM_REV_IS_1_0; |
105 | -- | 105 | -- |
106 | 1.7.10 | 106 | 1.7.7.6 |
107 | 107 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch index dc8843fc..6d8fdb8a 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 182bdf186f6dfde9d97faea406bc9d1925f18353 Mon Sep 17 00:00:00 2001 | 1 | From 590219f8dedc88345dff5e2fcac3c63501333aba Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 31 Jan 2012 10:09:06 +0100 | 3 | Date: Tue, 31 Jan 2012 10:09:06 +0100 |
4 | Subject: [PATCH 05/33] beaglebone: disable tsadc | 4 | Subject: [PATCH 05/56] beaglebone: disable tsadc |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 4 ++-- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 4 ++-- |
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | 9 | 1 files changed, 2 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index ffbecae..ba611c0 100644 | 12 | index ffbecae..ba611c0 100644 |
@@ -27,5 +27,5 @@ index ffbecae..ba611c0 100644 | |||
27 | 27 | ||
28 | static u8 am335x_iis_serializer_direction1[] = { | 28 | static u8 am335x_iis_serializer_direction1[] = { |
29 | -- | 29 | -- |
30 | 1.7.10 | 30 | 1.7.7.6 |
31 | 31 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0006-tscadc-Add-general-purpose-mode-untested-with-touchs.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0006-tscadc-Add-general-purpose-mode-untested-with-touchs.patch index 720dc180..3dbd5d19 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0006-tscadc-Add-general-purpose-mode-untested-with-touchs.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0006-tscadc-Add-general-purpose-mode-untested-with-touchs.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 9b99753d6e4324b98bedd6289993e57c93dbe59d Mon Sep 17 00:00:00 2001 | 1 | From d15ac41429630a7065e409079370efc4cfcb3e65 Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Wed, 30 Nov 2011 15:00:40 +0100 | 3 | Date: Wed, 30 Nov 2011 15:00:40 +0100 |
4 | Subject: [PATCH 06/33] tscadc: Add general purpose mode, untested with | 4 | Subject: [PATCH 06/56] tscadc: Add general purpose mode, untested with |
5 | touchscreen functionality | 5 | touchscreen functionality |
6 | 6 | ||
7 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 7 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
@@ -402,5 +402,5 @@ index 2c547bb..850cd4b 100644 | |||
402 | + int mode; | 402 | + int mode; |
403 | }; | 403 | }; |
404 | -- | 404 | -- |
405 | 1.7.10 | 405 | 1.7.7.6 |
406 | 406 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0007-tscadc-Add-board-file-mfd-support-fix-warning.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0007-tscadc-Add-board-file-mfd-support-fix-warning.patch index 3b747f80..6852fc63 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0007-tscadc-Add-board-file-mfd-support-fix-warning.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0007-tscadc-Add-board-file-mfd-support-fix-warning.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2c10000ff1538c2cfb91ebfb27054b262584ce1c Mon Sep 17 00:00:00 2001 | 1 | From 5275f0cc4c9f541711ab49e7e179a153fb61cda5 Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Wed, 30 Nov 2011 15:02:17 +0100 | 3 | Date: Wed, 30 Nov 2011 15:02:17 +0100 |
4 | Subject: [PATCH 07/33] tscadc: Add board file mfd support, fix warning | 4 | Subject: [PATCH 07/56] tscadc: Add board file mfd support, fix warning |
5 | 5 | ||
6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
7 | 7 | ||
@@ -40,5 +40,5 @@ index c6dc6f0..b50a08c 100644 | |||
40 | int clk_value; | 40 | int clk_value; |
41 | int clock_rate, irqenable, ctrl; | 41 | int clock_rate, irqenable, ctrl; |
42 | -- | 42 | -- |
43 | 1.7.10 | 43 | 1.7.7.6 |
44 | 44 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0008-AM335X-init-tsc-bone-style-for-new-boards.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0008-AM335X-init-tsc-bone-style-for-new-boards.patch index 023b6ab7..fe1db5c1 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0008-AM335X-init-tsc-bone-style-for-new-boards.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0008-AM335X-init-tsc-bone-style-for-new-boards.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 8b4f4ecc8c831a5bfa87ee66faada2d9d28c5fb4 Mon Sep 17 00:00:00 2001 | 1 | From e9aa7ff6f36d532d2268cd3b91555cbeb72fda4f Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Wed, 30 Nov 2011 15:03:59 +0100 | 3 | Date: Wed, 30 Nov 2011 15:03:59 +0100 |
4 | Subject: [PATCH 08/33] AM335X: init tsc bone style for new boards | 4 | Subject: [PATCH 08/56] AM335X: init tsc bone style for new boards |
5 | 5 | ||
6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 9 | 1 files changed, 1 insertions(+), 1 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 64a0c0a..6b78ae6 100644 | 12 | index 64a0c0a..6b78ae6 100644 |
@@ -22,5 +22,5 @@ index 64a0c0a..6b78ae6 100644 | |||
22 | }; | 22 | }; |
23 | 23 | ||
24 | -- | 24 | -- |
25 | 1.7.10 | 25 | 1.7.7.6 |
26 | 26 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0009-tscadc-make-stepconfig-channel-configurable.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0009-tscadc-make-stepconfig-channel-configurable.patch index f100a6dd..8d736374 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0009-tscadc-make-stepconfig-channel-configurable.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0009-tscadc-make-stepconfig-channel-configurable.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From fb47de51034c21646d79aef0605a7a84b9fb6dcf Mon Sep 17 00:00:00 2001 | 1 | From 7042bb10731908812bc3b248b963899898773c4b Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Mon, 28 Nov 2011 18:18:04 -0600 | 3 | Date: Mon, 28 Nov 2011 18:18:04 -0600 |
4 | Subject: [PATCH 09/33] tscadc: make stepconfig channel-configurable | 4 | Subject: [PATCH 09/56] tscadc: make stepconfig channel-configurable |
5 | 5 | ||
6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
7 | --- | 7 | --- |
8 | drivers/input/touchscreen/ti_tscadc.c | 8 +++++--- | 8 | drivers/input/touchscreen/ti_tscadc.c | 8 +++++--- |
9 | 1 file changed, 5 insertions(+), 3 deletions(-) | 9 | 1 files changed, 5 insertions(+), 3 deletions(-) |
10 | 10 | ||
11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c | 11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c |
12 | index b50a08c..6083de7 100644 | 12 | index b50a08c..6083de7 100644 |
@@ -42,5 +42,5 @@ index b50a08c..6083de7 100644 | |||
42 | irqenable = TSCADC_IRQENB_FIFO0THRES; | 42 | irqenable = TSCADC_IRQENB_FIFO0THRES; |
43 | } | 43 | } |
44 | -- | 44 | -- |
45 | 1.7.10 | 45 | 1.7.7.6 |
46 | 46 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0010-tscadc-Trigger-through-sysfs.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0010-tscadc-Trigger-through-sysfs.patch index 50407fae..27052fc3 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0010-tscadc-Trigger-through-sysfs.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0010-tscadc-Trigger-through-sysfs.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a45b9634ecd2d8251c86ff2111e7202471f3f842 Mon Sep 17 00:00:00 2001 | 1 | From 23f1ea4e1324704d36381cf1a2b6d4578c5f3fb4 Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Mon, 28 Nov 2011 20:55:25 -0600 | 3 | Date: Mon, 28 Nov 2011 20:55:25 -0600 |
4 | Subject: [PATCH 10/33] tscadc: Trigger through sysfs | 4 | Subject: [PATCH 10/56] tscadc: Trigger through sysfs |
5 | 5 | ||
6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
7 | 7 | ||
@@ -145,5 +145,5 @@ index 850cd4b..fc239c6 100644 | |||
145 | #define TI_TSCADC_TSCMODE 0 | 145 | #define TI_TSCADC_TSCMODE 0 |
146 | #define TI_TSCADC_GENMODE 1 | 146 | #define TI_TSCADC_GENMODE 1 |
147 | -- | 147 | -- |
148 | 1.7.10 | 148 | 1.7.7.6 |
149 | 149 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0011-meta-ti-Remove-debug-messages-for-meta-ti.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0011-meta-ti-Remove-debug-messages-for-meta-ti.patch index 5ecb48c1..d6d6a8f4 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0011-meta-ti-Remove-debug-messages-for-meta-ti.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0011-meta-ti-Remove-debug-messages-for-meta-ti.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From a893b2486f36716a3196fa58fae5b7d973976b5a Mon Sep 17 00:00:00 2001 | 1 | From 44e604188006ae23fb48fe27b68b20cc9e3b20cb Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Mon, 28 Nov 2011 20:56:48 -0600 | 3 | Date: Mon, 28 Nov 2011 20:56:48 -0600 |
4 | Subject: [PATCH 11/33] meta-ti: Remove debug messages for meta-ti | 4 | Subject: [PATCH 11/56] meta-ti: Remove debug messages for meta-ti |
5 | 5 | ||
6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
7 | --- | 7 | --- |
8 | drivers/input/touchscreen/ti_tscadc.c | 4 ++-- | 8 | drivers/input/touchscreen/ti_tscadc.c | 4 ++-- |
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | 9 | 1 files changed, 2 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c | 11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c |
12 | index d6aec8c..da48bcd 100644 | 12 | index d6aec8c..da48bcd 100644 |
@@ -30,5 +30,5 @@ index d6aec8c..da48bcd 100644 | |||
30 | for (i = 0; i < fifo1count; i++) { | 30 | for (i = 0; i < fifo1count; i++) { |
31 | read_sample = tscadc_readl(ts_dev, TSCADC_REG_FIFO0); | 31 | read_sample = tscadc_readl(ts_dev, TSCADC_REG_FIFO0); |
32 | -- | 32 | -- |
33 | 1.7.10 | 33 | 1.7.7.6 |
34 | 34 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0012-tscadc-switch-to-polling-instead-of-interrupts.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0012-tscadc-switch-to-polling-instead-of-interrupts.patch index 92375cc5..86ef82ef 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0012-tscadc-switch-to-polling-instead-of-interrupts.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0012-tscadc-switch-to-polling-instead-of-interrupts.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From f0963a18454ca4943c436432300d310b6f4ebd16 Mon Sep 17 00:00:00 2001 | 1 | From 04b4ae6caf9912acb99b294ab946ca88146ec6a9 Mon Sep 17 00:00:00 2001 |
2 | From: Joel A Fernandes <joelagnel@ti.com> | 2 | From: Joel A Fernandes <joelagnel@ti.com> |
3 | Date: Tue, 29 Nov 2011 09:44:22 -0600 | 3 | Date: Tue, 29 Nov 2011 09:44:22 -0600 |
4 | Subject: [PATCH 12/33] tscadc: switch to polling instead of interrupts | 4 | Subject: [PATCH 12/56] tscadc: switch to polling instead of interrupts |
5 | 5 | ||
6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
7 | --- | 7 | --- |
8 | drivers/input/touchscreen/ti_tscadc.c | 16 ++++++++++++++-- | 8 | drivers/input/touchscreen/ti_tscadc.c | 16 ++++++++++++++-- |
9 | 1 file changed, 14 insertions(+), 2 deletions(-) | 9 | 1 files changed, 14 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c | 11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c |
12 | index da48bcd..4fd2e18 100644 | 12 | index da48bcd..4fd2e18 100644 |
@@ -50,5 +50,5 @@ index da48bcd..4fd2e18 100644 | |||
50 | tscadc_writel(ts_dev, TSCADC_REG_IRQENABLE, irqenable); | 50 | tscadc_writel(ts_dev, TSCADC_REG_IRQENABLE, irqenable); |
51 | 51 | ||
52 | -- | 52 | -- |
53 | 1.7.10 | 53 | 1.7.7.6 |
54 | 54 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0013-beaglebone-fix-ADC-init.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0013-beaglebone-fix-ADC-init.patch index 6e3a9ce9..b15e894e 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0013-beaglebone-fix-ADC-init.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0013-beaglebone-fix-ADC-init.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From a1dabedca0bb4b1e016036368fa1888e21514570 Mon Sep 17 00:00:00 2001 | 1 | From 14830f07a752e8c2d643a307ebb5e268008d9c04 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 31 Jan 2012 14:50:55 +0100 | 3 | Date: Tue, 31 Jan 2012 14:50:55 +0100 |
4 | Subject: [PATCH 13/33] beaglebone: fix ADC init | 4 | Subject: [PATCH 13/56] beaglebone: fix ADC init |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 6 ++---- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 6 ++---- |
9 | 1 file changed, 2 insertions(+), 4 deletions(-) | 9 | 1 files changed, 2 insertions(+), 4 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 6b78ae6..ffbecae 100644 | 12 | index 6b78ae6..ffbecae 100644 |
@@ -43,5 +43,5 @@ index 6b78ae6..ffbecae 100644 | |||
43 | }; | 43 | }; |
44 | 44 | ||
45 | -- | 45 | -- |
46 | 1.7.10 | 46 | 1.7.7.6 |
47 | 47 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0014-AM335x-MUX-add-ehrpwm1A.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0014-AM335x-MUX-add-ehrpwm1A.patch index d50acc22..3fec0920 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0014-AM335x-MUX-add-ehrpwm1A.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0014-AM335x-MUX-add-ehrpwm1A.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 32868ed9e44bf2cf9193e4bb8a903c20ca5a8d93 Mon Sep 17 00:00:00 2001 | 1 | From ae3da1ea2d7c8b915e8eebec7d5f3524f53bf510 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 31 Jan 2012 16:49:52 +0100 | 3 | Date: Tue, 31 Jan 2012 16:49:52 +0100 |
4 | Subject: [PATCH 14/33] AM335x: MUX: add ehrpwm1A | 4 | Subject: [PATCH 14/56] AM335x: MUX: add ehrpwm1A |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/mux33xx.c | 2 +- | 8 | arch/arm/mach-omap2/mux33xx.c | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 9 | 1 files changed, 1 insertions(+), 1 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | 11 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c |
12 | index 572ed16..0f71646 100644 | 12 | index 572ed16..0f71646 100644 |
@@ -22,5 +22,5 @@ index 572ed16..0f71646 100644 | |||
22 | "gpmc_a3", "mii2_txd2", "rgmii2_td2", "mmc2_dat2", | 22 | "gpmc_a3", "mii2_txd2", "rgmii2_td2", "mmc2_dat2", |
23 | NULL, NULL, NULL, "gpio1_19"), | 23 | NULL, NULL, NULL, "gpio1_19"), |
24 | -- | 24 | -- |
25 | 1.7.10 | 25 | 1.7.7.6 |
26 | 26 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0015-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0015-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch index f70e8980..e20d3208 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0015-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0015-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 28cbad5cd7338d27e6f440c26b508a171640df85 Mon Sep 17 00:00:00 2001 | 1 | From 8930849074cc11163a2f176927d4e76072d4fb80 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 31 Jan 2012 17:02:10 +0100 | 3 | Date: Tue, 31 Jan 2012 17:02:10 +0100 |
4 | Subject: [PATCH 15/33] beaglebone: enable PWM for lcd backlight <- backlight | 4 | Subject: [PATCH 15/56] beaglebone: enable PWM for lcd backlight <- backlight |
5 | is inverted | 5 | is inverted |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
8 | --- | 8 | --- |
9 | arch/arm/mach-omap2/board-am335xevm.c | 51 +++++++++++++++++++++++++++------ | 9 | arch/arm/mach-omap2/board-am335xevm.c | 51 +++++++++++++++++++++++++++------ |
10 | 1 file changed, 42 insertions(+), 9 deletions(-) | 10 | 1 files changed, 42 insertions(+), 9 deletions(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
13 | index ffbecae..43a83ca 100644 | 13 | index ffbecae..43a83ca 100644 |
@@ -119,5 +119,5 @@ index ffbecae..43a83ca 100644 | |||
119 | } | 119 | } |
120 | 120 | ||
121 | -- | 121 | -- |
122 | 1.7.10 | 122 | 1.7.7.6 |
123 | 123 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0016-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0016-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch index d3e8e0ef..0ef109c1 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0016-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0016-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From ba233d60909b0b895c28f88c5714ebcb68b87617 Mon Sep 17 00:00:00 2001 | 1 | From e099fdb60eae41faea813fd1098af28b38f050d1 Mon Sep 17 00:00:00 2001 |
2 | From: Steve Sakoman <steve@sakoman.com> | 2 | From: Steve Sakoman <steve@sakoman.com> |
3 | Date: Mon, 18 Jul 2011 23:13:41 -0500 | 3 | Date: Mon, 18 Jul 2011 23:13:41 -0500 |
4 | Subject: [PATCH 16/33] omap_hsmmc: Set dto to max value of 14 to avoid SD | 4 | Subject: [PATCH 16/56] omap_hsmmc: Set dto to max value of 14 to avoid SD |
5 | Card timeouts | 5 | Card timeouts |
6 | 6 | ||
7 | This fixes MMC errors due to timeouts on certain SD Cards following suggestions | 7 | This fixes MMC errors due to timeouts on certain SD Cards following suggestions |
@@ -13,7 +13,7 @@ http://talk.maemo.org/showthread.php?p=1000707#post1000707 | |||
13 | This fix was originally proposed by Sukumar Ghoral of TI. | 13 | This fix was originally proposed by Sukumar Ghoral of TI. |
14 | --- | 14 | --- |
15 | drivers/mmc/host/omap_hsmmc.c | 3 +++ | 15 | drivers/mmc/host/omap_hsmmc.c | 3 +++ |
16 | 1 file changed, 3 insertions(+) | 16 | 1 files changed, 3 insertions(+), 0 deletions(-) |
17 | 17 | ||
18 | diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c | 18 | diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c |
19 | index 1f938d9..ace26f7 100644 | 19 | index 1f938d9..ace26f7 100644 |
@@ -30,5 +30,5 @@ index 1f938d9..ace26f7 100644 | |||
30 | reg |= dto << DTO_SHIFT; | 30 | reg |= dto << DTO_SHIFT; |
31 | OMAP_HSMMC_WRITE(host->base, SYSCTL, reg); | 31 | OMAP_HSMMC_WRITE(host->base, SYSCTL, reg); |
32 | -- | 32 | -- |
33 | 1.7.10 | 33 | 1.7.7.6 |
34 | 34 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch index 2c2c4554..3ad8b520 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 2d746bba72e5334bbf6269e1063dea891ad58394 Mon Sep 17 00:00:00 2001 | 1 | From 8de8f4d2da1d92847f27babbf3a91ca960afdbc9 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Wed, 1 Feb 2012 14:10:38 +0100 | 3 | Date: Wed, 1 Feb 2012 14:10:38 +0100 |
4 | Subject: [PATCH 17/33] beaglebone: set default brightness to 50% for pwm | 4 | Subject: [PATCH 17/56] beaglebone: set default brightness to 50% for pwm |
5 | backlights | 5 | backlights |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
8 | --- | 8 | --- |
9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- | 9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 files changed, 1 insertions(+), 1 deletions(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
13 | index 43a83ca..97b069f 100644 | 13 | index 43a83ca..97b069f 100644 |
@@ -23,5 +23,5 @@ index 43a83ca..97b069f 100644 | |||
23 | 23 | ||
24 | #define PWM_DEVICE_ID "ecap.0" | 24 | #define PWM_DEVICE_ID "ecap.0" |
25 | -- | 25 | -- |
26 | 1.7.10 | 26 | 1.7.7.6 |
27 | 27 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0018-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0018-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch index 46fafa06..d6a06f1a 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0018-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0018-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 5d3a23267ebf757159b1dce032505d0c15683909 Mon Sep 17 00:00:00 2001 | 1 | From 4d3af135dec5fcd7119e62c17d5db6d678ad68d5 Mon Sep 17 00:00:00 2001 |
2 | From: Matt Porter <mporter@ti.com> | 2 | From: Matt Porter <mporter@ti.com> |
3 | Date: Mon, 21 Nov 2011 12:55:23 -0500 | 3 | Date: Mon, 21 Nov 2011 12:55:23 -0500 |
4 | Subject: [PATCH 18/33] st7735fb: WIP framebuffer driver supporting Adafruit | 4 | Subject: [PATCH 18/56] st7735fb: WIP framebuffer driver supporting Adafruit |
5 | 1.8" SPI LCD | 5 | 1.8" SPI LCD |
6 | 6 | ||
7 | Signed-off-by: Matt Porter <mporter@ti.com> | 7 | Signed-off-by: Matt Porter <mporter@ti.com> |
@@ -11,7 +11,7 @@ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | |||
11 | drivers/video/Makefile | 1 + | 11 | drivers/video/Makefile | 1 + |
12 | drivers/video/st7735fb.c | 516 ++++++++++++++++++++++++++++++++++++++++++++++ | 12 | drivers/video/st7735fb.c | 516 ++++++++++++++++++++++++++++++++++++++++++++++ |
13 | include/video/st7735fb.h | 86 ++++++++ | 13 | include/video/st7735fb.h | 86 ++++++++ |
14 | 4 files changed, 614 insertions(+) | 14 | 4 files changed, 614 insertions(+), 0 deletions(-) |
15 | create mode 100644 drivers/video/st7735fb.c | 15 | create mode 100644 drivers/video/st7735fb.c |
16 | create mode 100644 include/video/st7735fb.h | 16 | create mode 100644 include/video/st7735fb.h |
17 | 17 | ||
@@ -664,5 +664,5 @@ index 0000000..250f036 | |||
664 | + | 664 | + |
665 | + | 665 | + |
666 | -- | 666 | -- |
667 | 1.7.10 | 667 | 1.7.7.6 |
668 | 668 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0019-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0019-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch index d5b6a276..96390aa4 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0019-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0019-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From f70a6f936227f65da0e5bff0e72ad59fe2c9b36f Mon Sep 17 00:00:00 2001 | 1 | From 6a862f51ac8eca5e4e00acdc13a73db521eb74fa Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 7 Feb 2012 11:01:13 +0100 | 3 | Date: Tue, 7 Feb 2012 11:01:13 +0100 |
4 | Subject: [PATCH 19/33] beaglebone: use P8_6 (gpio1_3) as w1 bus | 4 | Subject: [PATCH 19/56] beaglebone: use P8_6 (gpio1_3) as w1 bus |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 31 +++++++++++++++++++++++++++++++ | 8 | arch/arm/mach-omap2/board-am335xevm.c | 31 +++++++++++++++++++++++++++++++ |
9 | 1 file changed, 31 insertions(+) | 9 | 1 files changed, 31 insertions(+), 0 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 97b069f..3ba4bbc 100644 | 12 | index 97b069f..3ba4bbc 100644 |
@@ -79,5 +79,5 @@ index 97b069f..3ba4bbc 100644 | |||
79 | }; | 79 | }; |
80 | 80 | ||
81 | -- | 81 | -- |
82 | 1.7.10 | 82 | 1.7.7.6 |
83 | 83 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0020-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0020-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch index 313d140e..80e2b1e5 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0020-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0020-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 3554b72659f168b6b699a02a57e9d91471ad7c32 Mon Sep 17 00:00:00 2001 | 1 | From fc2a970788a0181b495f79a78b35e6bdd6987aa8 Mon Sep 17 00:00:00 2001 |
2 | From: Alessandro Zummo <a.zummo@towertech.it> | 2 | From: Alessandro Zummo <a.zummo@towertech.it> |
3 | Date: Thu, 9 Feb 2012 12:46:52 +0100 | 3 | Date: Thu, 9 Feb 2012 12:46:52 +0100 |
4 | Subject: [PATCH 20/33] beaglebone: add support for Towertech TT3201 CAN cape | 4 | Subject: [PATCH 20/56] beaglebone: add support for Towertech TT3201 CAN cape |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 54 ++++++++++++++++++++++++++++++++- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 54 ++++++++++++++++++++++++++++++++- |
9 | arch/arm/mach-omap2/mux33xx.c | 8 ++--- | 9 | arch/arm/mach-omap2/mux33xx.c | 8 ++-- |
10 | drivers/net/can/dev.c | 8 ++--- | 10 | drivers/net/can/dev.c | 8 ++-- |
11 | drivers/net/can/mcp251x.c | 47 ++++++++++++++++++++++------ | 11 | drivers/net/can/mcp251x.c | 47 ++++++++++++++++++++++------ |
12 | 4 files changed, 98 insertions(+), 19 deletions(-) | 12 | 4 files changed, 98 insertions(+), 19 deletions(-) |
13 | 13 | ||
@@ -316,5 +316,5 @@ index 330140e..b3e231c 100644 | |||
316 | } | 316 | } |
317 | error_probe: | 317 | error_probe: |
318 | -- | 318 | -- |
319 | 1.7.10 | 319 | 1.7.7.6 |
320 | 320 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0021-beaglebone-add-more-beagleboardtoys-cape-partnumbers.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0021-beaglebone-add-more-beagleboardtoys-cape-partnumbers.patch index 937c03ae..b2427890 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0021-beaglebone-add-more-beagleboardtoys-cape-partnumbers.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0021-beaglebone-add-more-beagleboardtoys-cape-partnumbers.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 33f4b51e615b9550acdb99de61427e1aa46db4b3 Mon Sep 17 00:00:00 2001 | 1 | From b7bcc2d2d68f0683ee25027fa33afd43357912cb Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 19 Mar 2012 12:01:35 +0100 | 3 | Date: Mon, 19 Mar 2012 12:01:35 +0100 |
4 | Subject: [PATCH 21/33] beaglebone: add more beagleboardtoys cape partnumbers | 4 | Subject: [PATCH 21/56] beaglebone: add more beagleboardtoys cape partnumbers |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 25 ++++++++++++++++++++++++- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 25 ++++++++++++++++++++++++- |
9 | 1 file changed, 24 insertions(+), 1 deletion(-) | 9 | 1 files changed, 24 insertions(+), 1 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index a8dfcdf..f854329 100644 | 12 | index a8dfcdf..f854329 100644 |
@@ -49,5 +49,5 @@ index a8dfcdf..f854329 100644 | |||
49 | pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); | 49 | pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); |
50 | bone_tsc_init(0,0); | 50 | bone_tsc_init(0,0); |
51 | -- | 51 | -- |
52 | 1.7.10 | 52 | 1.7.7.6 |
53 | 53 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0022-beaglebone-add-gpio-keys-for-lcd7-add-notes-for-miss.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0022-beaglebone-add-gpio-keys-for-lcd7-add-notes-for-miss.patch index d219f97c..e29a568d 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0022-beaglebone-add-gpio-keys-for-lcd7-add-notes-for-miss.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0022-beaglebone-add-gpio-keys-for-lcd7-add-notes-for-miss.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 73da74ec5becc06d598a1ddcc435ed9fb277d0ce Mon Sep 17 00:00:00 2001 | 1 | From 7d829ebc289c6e311171cb3974e428ed2562c0ad Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 19 Mar 2012 13:32:43 +0100 | 3 | Date: Mon, 19 Mar 2012 13:32:43 +0100 |
4 | Subject: [PATCH 22/33] beaglebone: add gpio-keys for lcd7, add notes for | 4 | Subject: [PATCH 22/56] beaglebone: add gpio-keys for lcd7, add notes for |
5 | missing functionality for other capes | 5 | missing functionality for other capes |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
8 | --- | 8 | --- |
9 | arch/arm/mach-omap2/board-am335xevm.c | 79 +++++++++++++++++++++++++++++++++ | 9 | arch/arm/mach-omap2/board-am335xevm.c | 79 +++++++++++++++++++++++++++++++++ |
10 | 1 file changed, 79 insertions(+) | 10 | 1 files changed, 79 insertions(+), 0 deletions(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
13 | index f854329..9e9cf5b 100644 | 13 | index f854329..9e9cf5b 100644 |
@@ -126,5 +126,5 @@ index f854329..9e9cf5b 100644 | |||
126 | } | 126 | } |
127 | 127 | ||
128 | -- | 128 | -- |
129 | 1.7.10 | 129 | 1.7.7.6 |
130 | 130 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0023-beaglebone-add-enter-key-for-lcd7-cape.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0023-beaglebone-add-enter-key-for-lcd7-cape.patch index 6d0d3d38..4b8faef5 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0023-beaglebone-add-enter-key-for-lcd7-cape.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0023-beaglebone-add-enter-key-for-lcd7-cape.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 47651bc2ba05d4d5f8a7d10a9c55ad915a4e3500 Mon Sep 17 00:00:00 2001 | 1 | From d7eecab57e0c72ef16663b45d2e1498368cfe9fe Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 19 Mar 2012 14:26:37 +0100 | 3 | Date: Mon, 19 Mar 2012 14:26:37 +0100 |
4 | Subject: [PATCH 23/33] beaglebone: add enter key for lcd7 cape | 4 | Subject: [PATCH 23/56] beaglebone: add enter key for lcd7 cape |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 9 +++++++++ | 8 | arch/arm/mach-omap2/board-am335xevm.c | 9 +++++++++ |
9 | 1 file changed, 9 insertions(+) | 9 | 1 files changed, 9 insertions(+), 0 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 9e9cf5b..8c78eb5 100644 | 12 | index 9e9cf5b..8c78eb5 100644 |
@@ -36,5 +36,5 @@ index 9e9cf5b..8c78eb5 100644 | |||
36 | 36 | ||
37 | static struct gpio_keys_platform_data beaglebone_lcd7_gpio_key_info = { | 37 | static struct gpio_keys_platform_data beaglebone_lcd7_gpio_key_info = { |
38 | -- | 38 | -- |
39 | 1.7.10 | 39 | 1.7.7.6 |
40 | 40 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0024-beaglebone-add-gpio-keys-for-lcd.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0024-beaglebone-add-gpio-keys-for-lcd.patch index 7de222e2..3fb1d9d0 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0024-beaglebone-add-gpio-keys-for-lcd.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0024-beaglebone-add-gpio-keys-for-lcd.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 555493dc65a5f0ff80bfb8fc60a10bb8c0fef0de Mon Sep 17 00:00:00 2001 | 1 | From 15f9d6c3d2ea7b9c932b311e7b615735bb940f01 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 19 Mar 2012 15:15:06 +0100 | 3 | Date: Mon, 19 Mar 2012 15:15:06 +0100 |
4 | Subject: [PATCH 24/33] beaglebone: add gpio-keys for lcd | 4 | Subject: [PATCH 24/56] beaglebone: add gpio-keys for lcd |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 82 +++++++++++++++++++++++++++++++-- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 82 +++++++++++++++++++++++++++++++-- |
9 | 1 file changed, 78 insertions(+), 4 deletions(-) | 9 | 1 files changed, 78 insertions(+), 4 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 8c78eb5..5266f78 100644 | 12 | index 8c78eb5..5266f78 100644 |
@@ -109,5 +109,5 @@ index 8c78eb5..5266f78 100644 | |||
109 | 109 | ||
110 | if (!strncmp("BB-BONE-VGA-01", cape_config.partnumber, 15)) { | 110 | if (!strncmp("BB-BONE-VGA-01", cape_config.partnumber, 15)) { |
111 | -- | 111 | -- |
112 | 1.7.10 | 112 | 1.7.7.6 |
113 | 113 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0025-beaglebone-fix-direction-of-gpio-keys.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0025-beaglebone-fix-direction-of-gpio-keys.patch index 4edc4c87..39f255b7 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0025-beaglebone-fix-direction-of-gpio-keys.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0025-beaglebone-fix-direction-of-gpio-keys.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From c33d25585e467ab54b3db2d3c5b403e071150751 Mon Sep 17 00:00:00 2001 | 1 | From 9ae51575e2d99c806ee5caabb4a11a380e5e9b7b Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 26 Mar 2012 20:28:56 +0200 | 3 | Date: Mon, 26 Mar 2012 20:28:56 +0200 |
4 | Subject: [PATCH 25/33] beaglebone: fix direction of gpio-keys | 4 | Subject: [PATCH 25/56] beaglebone: fix direction of gpio-keys |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 20 ++++++++++---------- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 20 ++++++++++---------- |
9 | 1 file changed, 10 insertions(+), 10 deletions(-) | 9 | 1 files changed, 10 insertions(+), 10 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 5266f78..36b0c85 100644 | 12 | index 5266f78..36b0c85 100644 |
@@ -103,5 +103,5 @@ index 5266f78..36b0c85 100644 | |||
103 | .type = EV_KEY, | 103 | .type = EV_KEY, |
104 | .wakeup = 1, | 104 | .wakeup = 1, |
105 | -- | 105 | -- |
106 | 1.7.10 | 106 | 1.7.7.6 |
107 | 107 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0026-beaglebone-fix-3.5-lcd-cape-support.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0026-beaglebone-fix-3.5-lcd-cape-support.patch index 60ea0554..879920dd 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0026-beaglebone-fix-3.5-lcd-cape-support.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0026-beaglebone-fix-3.5-lcd-cape-support.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 23c8aaf1d86378c6d4325b88ec85ac7d8130e86a Mon Sep 17 00:00:00 2001 | 1 | From 1979148439115875ee92c370e369a28ba3b5f37c Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Wed, 29 Feb 2012 17:25:22 +0100 | 3 | Date: Wed, 29 Feb 2012 17:25:22 +0100 |
4 | Subject: [PATCH 26/33] beaglebone: fix 3.5" lcd cape support | 4 | Subject: [PATCH 26/56] beaglebone: fix 3.5" lcd cape support |
5 | 5 | ||
6 | * proper timings | 6 | * proper timings |
7 | * fix gpio conflict | 7 | * fix gpio conflict |
@@ -10,7 +10,7 @@ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | |||
10 | --- | 10 | --- |
11 | arch/arm/mach-omap2/board-am335xevm.c | 42 ++++++++++++++++++++++++++++++++- | 11 | arch/arm/mach-omap2/board-am335xevm.c | 42 ++++++++++++++++++++++++++++++++- |
12 | drivers/video/da8xx-fb.c | 14 +++++++++++ | 12 | drivers/video/da8xx-fb.c | 14 +++++++++++ |
13 | 2 files changed, 55 insertions(+), 1 deletion(-) | 13 | 2 files changed, 55 insertions(+), 1 deletions(-) |
14 | 14 | ||
15 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 15 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
16 | index 36b0c85..127516f 100644 | 16 | index 36b0c85..127516f 100644 |
@@ -105,5 +105,5 @@ index b01f15b..86b19ac 100644 | |||
105 | 105 | ||
106 | /* Enable the Raster Engine of the LCD Controller */ | 106 | /* Enable the Raster Engine of the LCD Controller */ |
107 | -- | 107 | -- |
108 | 1.7.10 | 108 | 1.7.7.6 |
109 | 109 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0027-beaglebone-decrease-PWM-frequency-to-old-value-LCD7-.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0027-beaglebone-decrease-PWM-frequency-to-old-value-LCD7-.patch index 0b99d3bc..414a9584 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0027-beaglebone-decrease-PWM-frequency-to-old-value-LCD7-.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0027-beaglebone-decrease-PWM-frequency-to-old-value-LCD7-.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 91190bb0f7c8b075011701e44daffc0f1a8ca766 Mon Sep 17 00:00:00 2001 | 1 | From 07553571e947d49d906d5f12fd0cb4eac6a8c4e5 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 17 Apr 2012 11:25:00 +0200 | 3 | Date: Tue, 17 Apr 2012 11:25:00 +0200 |
4 | Subject: [PATCH 27/33] beaglebone: decrease PWM frequency to old value, LCD7 | 4 | Subject: [PATCH 27/56] beaglebone: decrease PWM frequency to old value, LCD7 |
5 | doesn't like it | 5 | doesn't like it |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
8 | --- | 8 | --- |
9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- | 9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 files changed, 1 insertions(+), 1 deletions(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
13 | index 127516f..4d5238d 100644 | 13 | index 127516f..4d5238d 100644 |
@@ -23,5 +23,5 @@ index 127516f..4d5238d 100644 | |||
23 | #define PWM_DEVICE_ID "ecap.0" | 23 | #define PWM_DEVICE_ID "ecap.0" |
24 | 24 | ||
25 | -- | 25 | -- |
26 | 1.7.10 | 26 | 1.7.7.6 |
27 | 27 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch index 3d725d04..42e945f4 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 61314ea39f2f7cbf5e72efa93350820b83b95fd9 Mon Sep 17 00:00:00 2001 | 1 | From 1ca68f8e87f5825a54c41f5d1fbf90fc2c09496c Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 17 Apr 2012 12:35:01 +0200 | 3 | Date: Tue, 17 Apr 2012 12:35:01 +0200 |
4 | Subject: [PATCH 28/33] beaglebone: fix ehrpwm backlight | 4 | Subject: [PATCH 28/56] beaglebone: fix ehrpwm backlight |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 1 + | 8 | arch/arm/mach-omap2/board-am335xevm.c | 1 + |
9 | 1 file changed, 1 insertion(+) | 9 | 1 files changed, 1 insertions(+), 0 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 4d5238d..24ed0b6 100644 | 12 | index 4d5238d..24ed0b6 100644 |
@@ -21,5 +21,5 @@ index 4d5238d..24ed0b6 100644 | |||
21 | 21 | ||
22 | /* Setup pwm-backlight for bbtoys7lcd */ | 22 | /* Setup pwm-backlight for bbtoys7lcd */ |
23 | -- | 23 | -- |
24 | 1.7.10 | 24 | 1.7.7.6 |
25 | 25 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0029-beaglebone-also-report-cape-revision.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0029-beaglebone-also-report-cape-revision.patch index 86db3fce..6dc4a4b9 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0029-beaglebone-also-report-cape-revision.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0029-beaglebone-also-report-cape-revision.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From dc1f8ab451ceb72da5d6d2bf8418dc0b0043723c Mon Sep 17 00:00:00 2001 | 1 | From 247ab0d5d63145121e94afaee1b221545d37eb20 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Tue, 17 Apr 2012 12:57:38 +0200 | 3 | Date: Tue, 17 Apr 2012 12:57:38 +0200 |
4 | Subject: [PATCH 29/33] beaglebone: also report cape revision | 4 | Subject: [PATCH 29/56] beaglebone: also report cape revision |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 4 +++- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 4 +++- |
9 | 1 file changed, 3 insertions(+), 1 deletion(-) | 9 | 1 files changed, 3 insertions(+), 1 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 24ed0b6..a4e113c 100644 | 12 | index 24ed0b6..a4e113c 100644 |
@@ -32,5 +32,5 @@ index 24ed0b6..a4e113c 100644 | |||
32 | pr_info("BeagleBone cape partnumber: %s\n", tmp); | 32 | pr_info("BeagleBone cape partnumber: %s\n", tmp); |
33 | 33 | ||
34 | -- | 34 | -- |
35 | 1.7.10 | 35 | 1.7.7.6 |
36 | 36 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0030-beaglebone-don-t-compare-undefined-characters-it-mak.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0030-beaglebone-don-t-compare-undefined-characters-it-mak.patch index 7e4168fb..7af30730 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0030-beaglebone-don-t-compare-undefined-characters-it-mak.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0030-beaglebone-don-t-compare-undefined-characters-it-mak.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | From 7757a6ad6989fc4baeb7fcd8a1784531cdfc76c8 Mon Sep 17 00:00:00 2001 | 1 | From e33f195b5e929944ce6934c38a135821f8206a1a Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Thu, 19 Apr 2012 07:55:55 +0200 | 3 | Date: Thu, 19 Apr 2012 07:55:55 +0200 |
4 | Subject: [PATCH 30/33] beaglebone: don't compare undefined characters, it | 4 | Subject: [PATCH 30/56] beaglebone: don't compare undefined characters, it |
5 | makes strncomp fail | 5 | makes strncomp fail |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
8 | --- | 8 | --- |
9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- | 9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 files changed, 1 insertions(+), 1 deletions(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
13 | index a4e113c..f2f03b6 100644 | 13 | index a4e113c..f2f03b6 100644 |
@@ -23,5 +23,5 @@ index a4e113c..f2f03b6 100644 | |||
23 | dvi_init(0,0); | 23 | dvi_init(0,0); |
24 | } | 24 | } |
25 | -- | 25 | -- |
26 | 1.7.10 | 26 | 1.7.7.6 |
27 | 27 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0031-beaglebone-fix-3.5-cape-support.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0031-beaglebone-fix-3.5-cape-support.patch index 72df38cf..f7e47de8 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0031-beaglebone-fix-3.5-cape-support.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0031-beaglebone-fix-3.5-cape-support.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 6114856631437ebac4469713e5b7ec2b1094f536 Mon Sep 17 00:00:00 2001 | 1 | From 138b017b71191f87a5f00f94995f144e432b8d9f Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Thu, 19 Apr 2012 14:33:53 +0200 | 3 | Date: Thu, 19 Apr 2012 14:33:53 +0200 |
4 | Subject: [PATCH 31/33] beaglebone: fix 3.5" cape support | 4 | Subject: [PATCH 31/56] beaglebone: fix 3.5" cape support |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 42 ++++++++++++++++++++++++++++++++- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 42 ++++++++++++++++++++++++++++++++- |
9 | 1 file changed, 41 insertions(+), 1 deletion(-) | 9 | 1 files changed, 41 insertions(+), 1 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index f2f03b6..3adc4ac 100644 | 12 | index f2f03b6..3adc4ac 100644 |
@@ -69,5 +69,5 @@ index f2f03b6..3adc4ac 100644 | |||
69 | // we are being stupid and setting pixclock from here instead of da8xx-fb.c | 69 | // we are being stupid and setting pixclock from here instead of da8xx-fb.c |
70 | if (conf_disp_pll(16000000)) { | 70 | if (conf_disp_pll(16000000)) { |
71 | -- | 71 | -- |
72 | 1.7.10 | 72 | 1.7.7.6 |
73 | 73 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch index 8eb42339..7f922d87 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From b81fd612ad4d08415df513e2627b35439cd921e5 Mon Sep 17 00:00:00 2001 | 1 | From dbae54fe993315205d8415ef78e83f149c829a9b Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Wed, 25 Apr 2012 12:35:07 +0200 | 3 | Date: Wed, 25 Apr 2012 12:35:07 +0200 |
4 | Subject: [PATCH 32/33] beaglebone: connect batterycape GPIO to gpio-charger | 4 | Subject: [PATCH 32/56] beaglebone: connect batterycape GPIO to gpio-charger |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 46 ++++++++++++++++++++++++++++++++- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 46 ++++++++++++++++++++++++++++++++- |
9 | 1 file changed, 45 insertions(+), 1 deletion(-) | 9 | 1 files changed, 45 insertions(+), 1 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 3adc4ac..717bb8c 100644 | 12 | index 3adc4ac..717bb8c 100644 |
@@ -80,5 +80,5 @@ index 3adc4ac..717bb8c 100644 | |||
80 | 80 | ||
81 | if (!strncmp("BB-BONE-SERL", cape_config.partnumber, 12)) { | 81 | if (!strncmp("BB-BONE-SERL", cape_config.partnumber, 12)) { |
82 | -- | 82 | -- |
83 | 1.7.10 | 83 | 1.7.7.6 |
84 | 84 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch index e70ebd4a..6d8b646c 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 0bed6db60e5a5bf78931b7da0376676a14bfce6f Mon Sep 17 00:00:00 2001 | 1 | From 2345361d8188eb3a946f2a0ab9e648eba2cc9c27 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Fri, 4 May 2012 13:19:45 +0200 | 3 | Date: Fri, 4 May 2012 13:19:45 +0200 |
4 | Subject: [PATCH 33/33] beaglebone: add support for CAN and RS232 cape | 4 | Subject: [PATCH 33/56] beaglebone: add support for CAN and RS232 cape |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
8 | arch/arm/mach-omap2/board-am335xevm.c | 36 +++++++++++++++++++++++++++------ | 8 | arch/arm/mach-omap2/board-am335xevm.c | 36 +++++++++++++++++++++++++++----- |
9 | 1 file changed, 30 insertions(+), 6 deletions(-) | 9 | 1 files changed, 30 insertions(+), 6 deletions(-) |
10 | 10 | ||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
12 | index 717bb8c..6e7b203 100644 | 12 | index 717bb8c..6e7b203 100644 |
@@ -63,5 +63,5 @@ index 717bb8c..6e7b203 100644 | |||
63 | } | 63 | } |
64 | 64 | ||
65 | -- | 65 | -- |
66 | 1.7.10 | 66 | 1.7.7.6 |
67 | 67 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0034-beaglebone-add-support-for-DVI-rev.-A2-capes.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0034-beaglebone-add-support-for-DVI-rev.-A2-capes.patch index cd04c5e8..14e7cd66 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0034-beaglebone-add-support-for-DVI-rev.-A2-capes.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0034-beaglebone-add-support-for-DVI-rev.-A2-capes.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b97227a0f246edd115cba03d8509c2b7460a815b Mon Sep 17 00:00:00 2001 | 1 | From 64918c14ce7c12660cdf3b7650d6992a4eb7a69e Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Thu, 19 Apr 2012 14:23:06 +0200 | 3 | Date: Thu, 19 Apr 2012 14:23:06 +0200 |
4 | Subject: [PATCH 34/40] beaglebone: add support for DVI rev. A2 capes | 4 | Subject: [PATCH 34/56] beaglebone: add support for DVI rev. A2 capes |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0035-beaglebone-enable-LEDs-for-DVI-LCD3-and-LCD7-capes.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0035-beaglebone-enable-LEDs-for-DVI-LCD3-and-LCD7-capes.patch index f50bdf60..3d05376a 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0035-beaglebone-enable-LEDs-for-DVI-LCD3-and-LCD7-capes.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0035-beaglebone-enable-LEDs-for-DVI-LCD3-and-LCD7-capes.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 080d90fddb1c39a5197b56b3aab0a7701adced75 Mon Sep 17 00:00:00 2001 | 1 | From 11a78ddde39b0ae90c718b724426e01b6af3f8e1 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Fri, 11 May 2012 13:08:24 +0200 | 3 | Date: Fri, 11 May 2012 13:08:24 +0200 |
4 | Subject: [PATCH 35/40] beaglebone: enable LEDs for DVI, LCD3 and LCD7 capes | 4 | Subject: [PATCH 35/56] beaglebone: enable LEDs for DVI, LCD3 and LCD7 capes |
5 | 5 | ||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
7 | --- | 7 | --- |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0036-Beaglebone-Fixed-compiletime-warnings.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0036-Beaglebone-Fixed-compiletime-warnings.patch index 8e82e1f7..c5766823 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0036-Beaglebone-Fixed-compiletime-warnings.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0036-Beaglebone-Fixed-compiletime-warnings.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 8688e4d9d9bdf1a9ff34b77b9a5b5ac22ca1c548 Mon Sep 17 00:00:00 2001 | 1 | From b038926e4aa0feeeb20bbcf5bb24765ae40162f5 Mon Sep 17 00:00:00 2001 |
2 | From: Bas Laarhoven <sjml@xs4all.nl> | 2 | From: Bas Laarhoven <sjml@xs4all.nl> |
3 | Date: Sun, 13 May 2012 18:06:24 +0200 | 3 | Date: Sun, 13 May 2012 18:06:24 +0200 |
4 | Subject: [PATCH 36/40] Beaglebone: Fixed compiletime warnings. | 4 | Subject: [PATCH 36/56] Beaglebone: Fixed compiletime warnings. |
5 | 5 | ||
6 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> | 6 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> |
7 | --- | 7 | --- |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0037-Beaglebone-Added-missing-termination-record-to-bone_.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0037-Beaglebone-Added-missing-termination-record-to-bone_.patch index dcef3aa9..e40cd632 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0037-Beaglebone-Added-missing-termination-record-to-bone_.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0037-Beaglebone-Added-missing-termination-record-to-bone_.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f1f19044cff0ac6a145c4f14782e4ddb78bb38cb Mon Sep 17 00:00:00 2001 | 1 | From 387e0633f95924f2e70dd48651720c6718e0ff2f Mon Sep 17 00:00:00 2001 |
2 | From: Bas Laarhoven <sjml@xs4all.nl> | 2 | From: Bas Laarhoven <sjml@xs4all.nl> |
3 | Date: Sun, 13 May 2012 18:18:52 +0200 | 3 | Date: Sun, 13 May 2012 18:18:52 +0200 |
4 | Subject: [PATCH 37/40] Beaglebone: Added missing termination record to | 4 | Subject: [PATCH 37/56] Beaglebone: Added missing termination record to |
5 | bone_pin_mux data. | 5 | bone_pin_mux data. |
6 | 6 | ||
7 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> | 7 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch index 0607be32..cf0730e8 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 557ed6bc4850bcb4610ff1b9e024a4fd13785c27 Mon Sep 17 00:00:00 2001 | 1 | From adcb99ec934a692e4bdeb993901f5df89188a32c Mon Sep 17 00:00:00 2001 |
2 | From: Rob Kellett <r-kellett@ti.com> | 2 | From: Rob Kellett <r-kellett@ti.com> |
3 | Date: Mon, 14 May 2012 09:35:35 +0100 | 3 | Date: Mon, 14 May 2012 09:35:35 +0100 |
4 | Subject: [PATCH 38/40] board-am335xevm.c: Beaglebone - expose all pwms | 4 | Subject: [PATCH 38/56] board-am335xevm.c: Beaglebone - expose all pwms |
5 | through sysfs | 5 | through sysfs |
6 | 6 | ||
7 | --- | 7 | --- |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch index 7df5c205..d4240cf0 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b8241eee030b29f23a5792de1eec03830699ae98 Mon Sep 17 00:00:00 2001 | 1 | From d38171c24019061250e120d554ad89199c58ad53 Mon Sep 17 00:00:00 2001 |
2 | From: Bas Laarhoven <sjml@xs4all.nl> | 2 | From: Bas Laarhoven <sjml@xs4all.nl> |
3 | Date: Sun, 13 May 2012 18:09:57 +0200 | 3 | Date: Sun, 13 May 2012 18:09:57 +0200 |
4 | Subject: [PATCH 39/40] ARM: OMAP: Mux: Fixed debugfs mux output (always | 4 | Subject: [PATCH 39/56] ARM: OMAP: Mux: Fixed debugfs mux output (always |
5 | reporting pins as output) | 5 | reporting pins as output) |
6 | 6 | ||
7 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> | 7 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch index 4a004d7a..3fe08e40 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d4527038dac639f1066b529cbcc368de91d2f525 Mon Sep 17 00:00:00 2001 | 1 | From b42299b9cd05cb162cd2364fa41e7307515b8a55 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Mon, 14 May 2012 14:23:45 +0200 | 3 | Date: Mon, 14 May 2012 14:23:45 +0200 |
4 | Subject: [PATCH 40/40] beaglebone: export SPI2 as spidev when no capes are | 4 | Subject: [PATCH 40/56] beaglebone: export SPI2 as spidev when no capes are |
5 | using SPI | 5 | using SPI |
6 | 6 | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0041-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch index 5e4b6b35..da872b11 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0041-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 783a66842e956b2eb9d7dc379848fbf79a370bc8 Mon Sep 17 00:00:00 2001 | 1 | From eef1e8089f452606aa32ee57b6a39783bd26e51f Mon Sep 17 00:00:00 2001 |
2 | From: Matt Porter <mporter@ti.com> | 2 | From: Matt Porter <mporter@ti.com> |
3 | Date: Wed, 28 Mar 2012 23:35:44 -0400 | 3 | Date: Wed, 28 Mar 2012 23:35:44 -0400 |
4 | Subject: [PATCH] st7735fb: Working WIP changes to make DMA safe and add | 4 | Subject: [PATCH 41/56] st7735fb: Working WIP changes to make DMA safe and add |
5 | endian fix | 5 | endian fix |
6 | 6 | ||
7 | This removes the "from the stack" allocation of 1 byte buffers | 7 | This removes the "from the stack" allocation of 1 byte buffers |
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-omap-hwmod-silence-st_shift-error.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0042-omap-hwmod-silence-st_shift-error.patch index 7991f0af..d29624c6 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-omap-hwmod-silence-st_shift-error.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0042-omap-hwmod-silence-st_shift-error.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4119ec2ea20b7ae4095049e9f192c751559fbb87 Mon Sep 17 00:00:00 2001 | 1 | From 60182b1efd893c0e8c4c6176d2ce0e766d702abb Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Wed, 16 May 2012 17:57:31 +0200 | 3 | Date: Wed, 16 May 2012 17:57:31 +0200 |
4 | Subject: [PATCH] omap hwmod: silence st_shift error | 4 | Subject: [PATCH 42/56] omap hwmod: silence st_shift error |
5 | 5 | ||
6 | During boot the following error is shown: | 6 | During boot the following error is shown: |
7 | 7 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-cpws-phy_device-demote-PHY-message-to-INFO.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0043-cpsw-phy_device-demote-PHY-message-to-INFO.patch index 2aed6469..09160baa 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-cpws-phy_device-demote-PHY-message-to-INFO.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0043-cpsw-phy_device-demote-PHY-message-to-INFO.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 04924dfd0335b8adca0e7783112827df30e70a5f Mon Sep 17 00:00:00 2001 | 1 | From e846fa8a57d5f050fdb382e8d5599d9b0341a111 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
3 | Date: Thu, 17 May 2012 10:59:18 +0200 | 3 | Date: Thu, 17 May 2012 10:59:18 +0200 |
4 | Subject: [PATCH] cpsw,phy_device: demote PHY message to INFO | 4 | Subject: [PATCH 43/56] cpsw,phy_device: demote PHY message to INFO |
5 | 5 | ||
6 | This keeps them from appearing on the screen when booting with 'quiet' | 6 | This keeps them from appearing on the screen when booting with 'quiet' |
7 | 7 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch new file mode 100644 index 00000000..c3697bc7 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch | |||
@@ -0,0 +1,66 @@ | |||
1 | From 994f87a816d1bd28483e34df8dfa68950eb70c72 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 18 May 2012 12:17:12 +0200 | ||
4 | Subject: [PATCH 44/56] beaglebone: add support for 7" LCD cape revision A2 | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | arch/arm/mach-omap2/board-am335xevm.c | 24 +++++++++++++++++++++--- | ||
9 | 1 files changed, 21 insertions(+), 3 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
12 | index a0fa53a..5bb71b1 100644 | ||
13 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
14 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | @@ -629,6 +629,14 @@ static struct pinmux_config bbtoys7_pin_mux[] = { | ||
16 | {NULL, 0}, | ||
17 | }; | ||
18 | |||
19 | +/* Module pin mux for Beagleboardtoys 7" LCD cape */ | ||
20 | +static struct pinmux_config bbtoys7a2_pin_mux[] = { | ||
21 | + {"gpmc_csn2.gpio1_31", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, // AVDD_EN | ||
22 | + {"gpmc_a2.ehrpwm1A", OMAP_MUX_MODE6 | AM33XX_PIN_OUTPUT}, // Backlight | ||
23 | + {NULL, 0}, | ||
24 | +}; | ||
25 | + | ||
26 | + | ||
27 | static struct pinmux_config w1_gpio_pin_mux[] = { | ||
28 | {"gpmc_ad3.gpio1_3", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP}, | ||
29 | {NULL, 0}, | ||
30 | @@ -1595,13 +1603,11 @@ static void lcdc_init(int evm_id, int profile) | ||
31 | } | ||
32 | |||
33 | #define BEAGLEBONE_LCD_AVDD_EN GPIO_TO_PIN(0, 7) | ||
34 | +#define BEAGLEBONE_LCD7A2_AVDD_EN GPIO_TO_PIN(1, 31) | ||
35 | |||
36 | static void bbtoys7lcd_init(int evm_id, int profile) | ||
37 | { | ||
38 | setup_pin_mux(lcdc16_pin_mux); | ||
39 | - setup_pin_mux(bbtoys7_pin_mux); | ||
40 | - gpio_request(BEAGLEBONE_LCD_AVDD_EN, "BONE_LCD_AVDD_EN"); | ||
41 | - gpio_direction_output(BEAGLEBONE_LCD_AVDD_EN, 1); | ||
42 | |||
43 | // we are being stupid and setting pixclock from here instead of da8xx-fb.c | ||
44 | if (conf_disp_pll(300000000)) { | ||
45 | @@ -2292,6 +2298,18 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context | ||
46 | } | ||
47 | if (!strncmp("BB-BONE-LCD7-01", cape_config.partnumber, 15)) { | ||
48 | pr_info("BeagleBone cape: initializing LCD cape\n"); | ||
49 | + | ||
50 | + if (!strncmp("00A2", cape_config.version, 4)) { | ||
51 | + setup_pin_mux(bbtoys7a2_pin_mux); | ||
52 | + gpio_request(BEAGLEBONE_LCD7A2_AVDD_EN, "BONE_LCD_AVDD_EN"); | ||
53 | + gpio_direction_output(BEAGLEBONE_LCD7A2_AVDD_EN, 1); | ||
54 | + } else { | ||
55 | + setup_pin_mux(bbtoys7_pin_mux); | ||
56 | + gpio_request(BEAGLEBONE_LCD_AVDD_EN, "BONE_LCD_AVDD_EN"); | ||
57 | + gpio_direction_output(BEAGLEBONE_LCD_AVDD_EN, 1); | ||
58 | + bbtoys7lcd_init(0,0); | ||
59 | + } | ||
60 | + | ||
61 | bbtoys7lcd_init(0,0); | ||
62 | pr_info("BeagleBone cape: initializing LCD cape touchscreen\n"); | ||
63 | tsc_init(0,0); | ||
64 | -- | ||
65 | 1.7.7.6 | ||
66 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch new file mode 100644 index 00000000..7d121725 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | From bddb03181fef4172d529717ff1c613a1770d737c Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 18 May 2012 12:39:25 +0200 | ||
4 | Subject: [PATCH 45/56] beaglebone: allow capes to disable w1-gpio | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | arch/arm/mach-omap2/board-am335xevm.c | 7 +++++-- | ||
9 | 1 files changed, 5 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
12 | index 5bb71b1..5c89494 100644 | ||
13 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
14 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | @@ -498,7 +498,7 @@ static int capecount = 0; | ||
16 | static bool beaglebone_tsadcpins_free = 1; | ||
17 | static bool beaglebone_leds_free = 1; | ||
18 | static bool beaglebone_spi1_free = 1; | ||
19 | - | ||
20 | +static bool beaglebone_w1gpio_free = 1; | ||
21 | |||
22 | #define GP_EVM_REV_IS_1_0 0x1 | ||
23 | #define GP_EVM_REV_IS_1_0A 0x1 | ||
24 | @@ -1727,6 +1727,7 @@ static void lcd7leds_init(int evm_id, int profile ) | ||
25 | |||
26 | static void bonew1_gpio_init(int evm_id, int profile ) | ||
27 | { | ||
28 | + beaglebone_w1gpio_free = 0; | ||
29 | int err; | ||
30 | setup_pin_mux(w1_gpio_pin_mux); | ||
31 | err = platform_device_register(&bone_w1_device); | ||
32 | @@ -2258,6 +2259,9 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context | ||
33 | setup_pin_mux(spi1_pin_mux); | ||
34 | spi_register_board_info(bone_spidev2_info, ARRAY_SIZE(bone_spidev2_info)); | ||
35 | } | ||
36 | + if(beaglebone_w1gpio_free == 1) { | ||
37 | + bonew1_gpio_init(0,0); | ||
38 | + } | ||
39 | } | ||
40 | return; | ||
41 | } | ||
42 | @@ -2831,7 +2835,6 @@ static struct evm_dev_cfg beaglebone_dev_cfg[] = { | ||
43 | {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | ||
44 | {i2c2_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | ||
45 | {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | ||
46 | - {bonew1_gpio_init, DEV_ON_BASEBOARD, PROFILE_ALL}, | ||
47 | {NULL, 0, 0}, | ||
48 | }; | ||
49 | |||
50 | -- | ||
51 | 1.7.7.6 | ||
52 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch new file mode 100644 index 00000000..5726f2f0 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From d338dc3eff341be3e3c038e300e1636c1b667b0c Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 18 May 2012 12:58:16 +0200 | ||
4 | Subject: [PATCH 46/56] beaglebone: add stub for the camera cape to disable | ||
5 | w1-gpio | ||
6 | |||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | arch/arm/mach-omap2/board-am335xevm.c | 5 +++++ | ||
10 | 1 files changed, 5 insertions(+), 0 deletions(-) | ||
11 | |||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
13 | index 5c89494..ece4e46 100644 | ||
14 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
16 | @@ -2384,6 +2384,11 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context | ||
17 | pr_info("BeagleBone cape: initializing CAN cape\n"); | ||
18 | tt3201_init(0,0); | ||
19 | } | ||
20 | + | ||
21 | + if (!strncmp("BB-BONE-CAM-01", cape_config.partnumber, 14)) { | ||
22 | + pr_info("BeagleBone cape: recognized Camera cape\n"); | ||
23 | + beaglebone_w1gpio_free = 0; | ||
24 | + } | ||
25 | |||
26 | if ((capecount > 3) && (beaglebone_tsadcpins_free == 1)) { | ||
27 | pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); | ||
28 | -- | ||
29 | 1.7.7.6 | ||
30 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch new file mode 100644 index 00000000..f20aa6c9 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch | |||
@@ -0,0 +1,310 @@ | |||
1 | From 6d5deaa1b63e1b6fc5c72c98cf44bcc5bd919974 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Sun, 13 May 2012 18:16:34 +0200 | ||
4 | Subject: [PATCH 47/56] Adding many of the missing signals to the mux table. | ||
5 | |||
6 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> | ||
7 | --- | ||
8 | arch/arm/mach-omap2/mux33xx.c | 197 +++++++++++++++++++++-------------------- | ||
9 | 1 files changed, 101 insertions(+), 96 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | ||
12 | index 25dcedb..26ecd66 100644 | ||
13 | --- a/arch/arm/mach-omap2/mux33xx.c | ||
14 | +++ b/arch/arm/mach-omap2/mux33xx.c | ||
15 | @@ -28,6 +28,11 @@ | ||
16 | } | ||
17 | |||
18 | /* AM33XX pin mux super set */ | ||
19 | +/* 20120513 - SJL added a lot of missing signals using datasheet rev. C. | ||
20 | + * Converted all names to lower case, except for the A and B | ||
21 | + * channel suffixes, as that seems to be the rule. | ||
22 | + * Marked lines with completed spec by leading empty comment. | ||
23 | + */ | ||
24 | static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
25 | _AM33XX_MUXENTRY(GPMC_AD0, 0, | ||
26 | "gpmc_ad0", "mmc1_dat0", NULL, NULL, | ||
27 | @@ -53,21 +58,21 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
28 | _AM33XX_MUXENTRY(GPMC_AD7, 0, | ||
29 | "gpmc_ad7", "mmc1_dat7", NULL, NULL, | ||
30 | NULL, NULL, NULL, "gpio1_7"), | ||
31 | - _AM33XX_MUXENTRY(GPMC_AD8, 0, | ||
32 | +/**/ _AM33XX_MUXENTRY(GPMC_AD8, 0, | ||
33 | "gpmc_ad8", "lcd_data16", "mmc1_dat0", "mmc2_dat4", | ||
34 | - NULL, NULL, NULL, "gpio0_22"), | ||
35 | - _AM33XX_MUXENTRY(GPMC_AD9, 0, | ||
36 | + "ehrpwm2A", "pr1_mii_mt0_clk", NULL, "gpio0_22"), | ||
37 | +/**/ _AM33XX_MUXENTRY(GPMC_AD9, 0, | ||
38 | "gpmc_ad9", "lcd_data17", "mmc1_dat1", "mmc2_dat5", | ||
39 | - "ehrpwm2B", NULL, NULL, "gpio0_23"), | ||
40 | - _AM33XX_MUXENTRY(GPMC_AD10, 0, | ||
41 | + "ehrpwm2B", "pr1_mii0_col", NULL, "gpio0_23"), | ||
42 | +/**/ _AM33XX_MUXENTRY(GPMC_AD10, 0, | ||
43 | "gpmc_ad10", "lcd_data18", "mmc1_dat2", "mmc2_dat6", | ||
44 | - NULL, NULL, NULL, "gpio0_26"), | ||
45 | - _AM33XX_MUXENTRY(GPMC_AD11, 0, | ||
46 | + "ehrpwm2_tripzone_input", "pr1_mii0_txen", NULL, "gpio0_26"), | ||
47 | +/**/ _AM33XX_MUXENTRY(GPMC_AD11, 0, | ||
48 | "gpmc_ad11", "lcd_data19", "mmc1_dat3", "mmc2_dat7", | ||
49 | - NULL, NULL, NULL, "gpio0_27"), | ||
50 | - _AM33XX_MUXENTRY(GPMC_AD12, 0, | ||
51 | + "ehrpwm0_synco", "pr1_mii0_txd3", NULL, "gpio0_27"), | ||
52 | +/**/ _AM33XX_MUXENTRY(GPMC_AD12, 0, | ||
53 | "gpmc_ad12", "lcd_data20", "mmc1_dat4", "mmc2_dat0", | ||
54 | - NULL, NULL, NULL, "gpio1_12"), | ||
55 | + "eqep2a_in", "pr1_mii0_txd2", "pr1_pru0_pru_r30_14", "gpio1_12"), | ||
56 | _AM33XX_MUXENTRY(GPMC_AD13, 0, | ||
57 | "gpmc_ad13", "lcd_data21", "mmc1_dat5", "mmc2_dat1", | ||
58 | NULL, NULL, NULL, "gpio1_13"), | ||
59 | @@ -77,33 +82,33 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
60 | _AM33XX_MUXENTRY(GPMC_AD15, 0, | ||
61 | "gpmc_ad15", "lcd_data23", "mmc1_dat7", "mmc2_dat3", | ||
62 | NULL, NULL, NULL, "gpio1_15"), | ||
63 | - _AM33XX_MUXENTRY(GPMC_A0, 0, | ||
64 | - "gpmc_a0", "mii2_txen", "rgmii2_tctl", "rmii2_txen", | ||
65 | - NULL, NULL, NULL, "gpio1_16"), | ||
66 | - _AM33XX_MUXENTRY(GPMC_A1, 0, | ||
67 | - "gpmc_a1", "mii2_rxdv", "rgmii2_rctl", "mmc2_dat0", | ||
68 | - NULL, NULL, NULL, "gpio1_17"), | ||
69 | - _AM33XX_MUXENTRY(GPMC_A2, 0, | ||
70 | - "gpmc_a2", "mii2_txd3", "rgmii2_td3", "mmc2_dat1", | ||
71 | - NULL, NULL, "ehrpwm1A", "gpio1_18"), | ||
72 | - _AM33XX_MUXENTRY(GPMC_A3, 0, | ||
73 | - "gpmc_a3", "mii2_txd2", "rgmii2_td2", "mmc2_dat2", | ||
74 | - NULL, NULL, NULL, "gpio1_19"), | ||
75 | - _AM33XX_MUXENTRY(GPMC_A4, 0, | ||
76 | - "gpmc_a4", "mii2_txd1", "rgmii2_td1", "rmii2_txd1", | ||
77 | - "gpmc_a20", NULL, NULL, "gpio1_20"), | ||
78 | - _AM33XX_MUXENTRY(GPMC_A5, 0, | ||
79 | - "gpmc_a5", "mii2_txd0", "rgmii2_td0", "rmii2_txd0", | ||
80 | - "gpmc_a21", NULL, NULL, "gpio1_21"), | ||
81 | - _AM33XX_MUXENTRY(GPMC_A6, 0, | ||
82 | - "gpmc_a6", "mii2_txclk", "rgmii2_tclk", "mmc2_dat4", | ||
83 | - "gpmc_a22", NULL, NULL, "gpio1_22"), | ||
84 | - _AM33XX_MUXENTRY(GPMC_A7, 0, | ||
85 | - "gpmc_a7", "mii2_rxclk", "rgmii2_rclk", "mmc2_dat5", | ||
86 | - NULL, NULL, NULL, "gpio1_23"), | ||
87 | - _AM33XX_MUXENTRY(GPMC_A8, 0, | ||
88 | - "gpmc_a8", "mii2_rxd3", "rgmii2_rd3", "mmc2_dat6", | ||
89 | - NULL, NULL, "mcasp0_aclkx", "gpio1_24"), | ||
90 | +/**/ _AM33XX_MUXENTRY(GPMC_A0, 0, | ||
91 | + "gpmc_a0", "gmii2_txen", "rgmii2_tctl", "rmii2_txen", | ||
92 | + "gpmc_a16", "pr1_mii_mt1_clk", "ehrpwm1_tripzone_input", "gpio1_16"), | ||
93 | +/**/ _AM33XX_MUXENTRY(GPMC_A1, 0, | ||
94 | + "gpmc_a1", "gmii2_rxdv", "rgmii2_rctl", "mmc2_dat0", | ||
95 | + "gpmc_a17", "pr1_mii1_txd3", "ehrpwm0_synco", "gpio1_17"), | ||
96 | +/**/ _AM33XX_MUXENTRY(GPMC_A2, 0, | ||
97 | + "gpmc_a2", "gmii2_txd3", "rgmii2_td3", "mmc2_dat1", | ||
98 | + "gpmc_a18", "pr1_mii1_txd2", "ehrpwm1A", "gpio1_18"), | ||
99 | +/**/ _AM33XX_MUXENTRY(GPMC_A3, 0, | ||
100 | + "gpmc_a3", "gmii2_txd2", "rgmii2_td2", "mmc2_dat2", | ||
101 | + "gpmc_a19", "pr1_mii1_txd1", "ehrpwm1B", "gpio1_19"), | ||
102 | +/**/ _AM33XX_MUXENTRY(GPMC_A4, 0, | ||
103 | + "gpmc_a4", "gmii2_txd1", "rgmii2_td1", "rmii2_txd1", | ||
104 | + "gpmc_a20", "pr1_mii1_txd0", "eqep1a_in", "gpio1_20"), | ||
105 | +/**/ _AM33XX_MUXENTRY(GPMC_A5, 0, | ||
106 | + "gpmc_a5", "gmii2_txd0", "rgmii2_td0", "rmii2_txd0", | ||
107 | + "gpmc_a21", "pr1_mii1_rxd3", "eqep1b_in", "gpio1_21"), | ||
108 | +/**/ _AM33XX_MUXENTRY(GPMC_A6, 0, | ||
109 | + "gpmc_a6", "gmii2_txclk", "rgmii2_tclk", "mmc2_dat4", | ||
110 | + "gpmc_a22", "pr1_mii1_rxd2", "eqep1_index", "gpio1_22"), | ||
111 | +/**/ _AM33XX_MUXENTRY(GPMC_A7, 0, | ||
112 | + "gpmc_a7", "gmii2_rxclk", "rgmii2_rclk", "mmc2_dat5", | ||
113 | + "gpmc_a23", "pr1_mii1_rxd1", "eqep1_strobe", "gpio1_23"), | ||
114 | +/**/ _AM33XX_MUXENTRY(GPMC_A8, 0, | ||
115 | + "gpmc_a8", "gmii2_rxd3", "rgmii2_rd3", "mmc2_dat6", | ||
116 | + "gpmc_a24", "pr1_mii1_rxd0", "mcasp0_aclkx", "gpio1_24"), | ||
117 | _AM33XX_MUXENTRY(GPMC_A9, 0, | ||
118 | "gpmc_a9", "mii2_rxd2", "rgmii2_rd2", "mmc2_dat7", | ||
119 | NULL, NULL, "mcasp0_fsx", "gpio1_25"), | ||
120 | @@ -122,18 +127,18 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
121 | _AM33XX_MUXENTRY(GPMC_BEN1, 0, | ||
122 | "gpmc_ben1", "mii2_col", NULL, "mmc2_dat3", | ||
123 | NULL, NULL, "mcasp0_aclkr", "gpio1_28"), | ||
124 | - _AM33XX_MUXENTRY(GPMC_CSN0, 0, | ||
125 | +/**/ _AM33XX_MUXENTRY(GPMC_CSN0, 0, | ||
126 | "gpmc_csn0", NULL, NULL, NULL, | ||
127 | NULL, NULL, NULL, "gpio1_29"), | ||
128 | - _AM33XX_MUXENTRY(GPMC_CSN1, 0, | ||
129 | - "gpmc_csn1", NULL, "mmc1_clk", NULL, | ||
130 | - NULL, NULL, NULL, "gpio1_30"), | ||
131 | - _AM33XX_MUXENTRY(GPMC_CSN2, 0, | ||
132 | - "gpmc_csn2", NULL, "mmc1_cmd", NULL, | ||
133 | - NULL, NULL, NULL, "gpio1_31"), | ||
134 | - _AM33XX_MUXENTRY(GPMC_CSN3, 0, | ||
135 | +/**/ _AM33XX_MUXENTRY(GPMC_CSN1, 0, | ||
136 | + "gpmc_csn1", "gpmc_clk", "mmc1_clk", "pr1_edio_data_in6", | ||
137 | + "pr1_edio_data_out6", "pr1_pru1_pru_r30_12", "pr1_pru1_pru_r31_12", "gpio1_30"), | ||
138 | +/**/ _AM33XX_MUXENTRY(GPMC_CSN2, 0, | ||
139 | + "gpmc_csn2", "gpmc_be1n", "mmc1_cmd", "pr1_edio_data_in7", | ||
140 | + "pr1_edio_data_out7", "pr1_pru1_pru_r30_13", "pr1_pru1_pru_r31_13", "gpio1_31"), | ||
141 | +/**/ _AM33XX_MUXENTRY(GPMC_CSN3, 0, | ||
142 | "gpmc_csn3", NULL, NULL, "mmc2_cmd", | ||
143 | - NULL, NULL, NULL, "gpio2_0"), | ||
144 | + "pr1_mii0_crs", "pr1_mdio_data", "EMU4", "gpio2_0"), | ||
145 | _AM33XX_MUXENTRY(GPMC_CLK, 0, | ||
146 | "gpmc_clk", "lcd_memory_clk_mux", NULL, "mmc2_clk", | ||
147 | NULL, NULL, "mcasp0_fsr", "gpio2_1"), | ||
148 | @@ -155,33 +160,33 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
149 | _AM33XX_MUXENTRY(LCD_DATA1, 0, | ||
150 | "lcd_data1", "gpmc_a1", NULL, NULL, | ||
151 | NULL, NULL, NULL, "gpio2_7"), | ||
152 | - _AM33XX_MUXENTRY(LCD_DATA2, 0, | ||
153 | - "lcd_data2", "gpmc_a2", NULL, NULL, | ||
154 | - NULL, NULL, NULL, "gpio2_8"), | ||
155 | - _AM33XX_MUXENTRY(LCD_DATA3, 0, | ||
156 | - "lcd_data3", "gpmc_a3", NULL, NULL, | ||
157 | - NULL, NULL, NULL, "gpio2_9"), | ||
158 | - _AM33XX_MUXENTRY(LCD_DATA4, 0, | ||
159 | - "lcd_data4", "gpmc_a4", NULL, NULL, | ||
160 | - NULL, NULL, NULL, "gpio2_10"), | ||
161 | - _AM33XX_MUXENTRY(LCD_DATA5, 0, | ||
162 | - "lcd_data5", "gpmc_a5", NULL, NULL, | ||
163 | - NULL, NULL, NULL, "gpio2_11"), | ||
164 | - _AM33XX_MUXENTRY(LCD_DATA6, 0, | ||
165 | - "lcd_data6", "gpmc_a6", NULL, NULL, | ||
166 | - NULL, NULL, NULL, "gpio2_12"), | ||
167 | - _AM33XX_MUXENTRY(LCD_DATA7, 0, | ||
168 | - "lcd_data7", "gpmc_a7", NULL, NULL, | ||
169 | - NULL, NULL, NULL, "gpio2_13"), | ||
170 | +/**/ _AM33XX_MUXENTRY(LCD_DATA2, 0, | ||
171 | + "lcd_data2", "gpmc_a2", "pr1_mii0_txd3", "ehrpwm2_tripzone_input", | ||
172 | + NULL, "pr1_pru1_pru_r30_2", "pr1_pru1_pru_r31_2", "gpio2_8"), | ||
173 | +/**/ _AM33XX_MUXENTRY(LCD_DATA3, 0, | ||
174 | + "lcd_data3", "gpmc_a3", "pr1_mii0_txd2","ehrpwm0_synco", | ||
175 | + NULL, "pr1_pru1_pru_r30_3", "pr1_pru1_pru_r31_3", "gpio2_9"), | ||
176 | +/**/ _AM33XX_MUXENTRY(LCD_DATA4, 0, | ||
177 | + "lcd_data4", "gpmc_a4", "pr1_mii0_txd1", "eQEP2A_in", | ||
178 | + NULL, "pr1_pru1_pru_r30_4", "pr1_pru1_pru_r31_4", "gpio2_10"), | ||
179 | +/**/ _AM33XX_MUXENTRY(LCD_DATA5, 0, | ||
180 | + "lcd_data5", "gpmc_a5", "pr1_mii0_txd0", "eqep2b_in", | ||
181 | + NULL, "pr1_pru1_pru_r30_5", "pr1_pru1_pru_r31_5", "gpio2_11"), | ||
182 | +/**/ _AM33XX_MUXENTRY(LCD_DATA6, 0, | ||
183 | + "lcd_data6", "gpmc_a6", "pr1_edio_data_in6", "eqep2_index", | ||
184 | + "pr1_edio_data_out6", "pr1_pru1_pru_r30_6", "pr1_pru1_pru_r31_6", "gpio2_12"), | ||
185 | +/**/ _AM33XX_MUXENTRY(LCD_DATA7, 0, | ||
186 | + "lcd_data7", "gpmc_a7", "pr1_edio_data_in7", "eqep2_strobe", | ||
187 | + "pr1_pru1_pru_r30_7", "pr1_pru_pru1_r30_7", "pr1_pru1_pru_r31_7", "gpio2_13"), | ||
188 | _AM33XX_MUXENTRY(LCD_DATA8, 0, | ||
189 | "lcd_data8", "gpmc_a12", NULL, "mcasp0_aclkx", | ||
190 | NULL, NULL, "uart2_ctsn", "gpio2_14"), | ||
191 | _AM33XX_MUXENTRY(LCD_DATA9, 0, | ||
192 | "lcd_data9", "gpmc_a13", NULL, "mcasp0_fsx", | ||
193 | NULL, NULL, "uart2_rtsn", "gpio2_15"), | ||
194 | - _AM33XX_MUXENTRY(LCD_DATA10, 0, | ||
195 | - "lcd_data10", "gpmc_a14", NULL, "mcasp0_axr0", | ||
196 | - NULL, NULL, NULL, "gpio2_16"), | ||
197 | +/**/ _AM33XX_MUXENTRY(LCD_DATA10, 0, | ||
198 | + "lcd_data10", "gpmc_a14", "ehrpwm1A", "mcasp0_axr0", | ||
199 | + "mcasp0_axr0", "pr1_mii0_rxd1", "uart3_ctsn", "gpio2_16"), | ||
200 | _AM33XX_MUXENTRY(LCD_DATA11, 0, | ||
201 | "lcd_data11", "gpmc_a15", NULL, "mcasp0_ahclkr", | ||
202 | "mcasp0_axr2", NULL, NULL, "gpio2_17"), | ||
203 | @@ -197,18 +202,18 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
204 | _AM33XX_MUXENTRY(LCD_DATA15, 0, | ||
205 | "lcd_data15", "gpmc_a19", NULL, "mcasp0_ahclkx", | ||
206 | "mcasp0_axr3", NULL, NULL, "gpio0_11"), | ||
207 | - _AM33XX_MUXENTRY(LCD_VSYNC, 0, | ||
208 | - "lcd_vsync", NULL, NULL, NULL, | ||
209 | - NULL, NULL, NULL, "gpio2_22"), | ||
210 | - _AM33XX_MUXENTRY(LCD_HSYNC, 0, | ||
211 | - "lcd_hsync", NULL, NULL, NULL, | ||
212 | - NULL, NULL, NULL, "gpio2_23"), | ||
213 | - _AM33XX_MUXENTRY(LCD_PCLK, 0, | ||
214 | - "lcd_pclk", NULL, NULL, NULL, | ||
215 | - NULL, NULL, NULL, "gpio2_24"), | ||
216 | - _AM33XX_MUXENTRY(LCD_AC_BIAS_EN, 0, | ||
217 | - "lcd_ac_bias_en", NULL, NULL, NULL, | ||
218 | - NULL, NULL, NULL, "gpio2_25"), | ||
219 | +/**/ _AM33XX_MUXENTRY(LCD_VSYNC, 0, | ||
220 | + "lcd_vsync", "gpmc_a8", NULL, "pr1_edio_data_in2", | ||
221 | + "pr1_edio_data_out2", "pr1_pru1_pru_r30_8", "pr1_pru1_pru_r31_8", "gpio2_22"), | ||
222 | +/**/ _AM33XX_MUXENTRY(LCD_HSYNC, 0, | ||
223 | + "lcd_hsync", "gpmc_a9", NULL, "pr1_edio_data_in3", | ||
224 | + "pr1_edio_data_out3", "pr1_pru1_pru_r30_9", "pr1_pru1_pru_r31_9", "gpio2_23"), | ||
225 | +/**/ _AM33XX_MUXENTRY(LCD_PCLK, 0, | ||
226 | + "lcd_pclk", "gpmc_a10", "pr1_mii0_crs", "pr1_edio_data_in4", | ||
227 | + "pr1_edio_data_out4", "pr1_pru1_pru_r30_10", "pr1_pru1_pru_r31_10", "gpio2_24"), | ||
228 | +/**/ _AM33XX_MUXENTRY(LCD_AC_BIAS_EN, 0, | ||
229 | + "lcd_ac_bias_en", "gpmc_a11", "pr1_mii1_crs", "pr1_edio_data_in5", | ||
230 | + "pr1_edio_data_out5", "pr1_pru1_pru_r30_11", "pr1_pru1_pru_r31_11", "gpio2_25"), | ||
231 | _AM33XX_MUXENTRY(MMC0_DAT3, 0, | ||
232 | "mmc0_dat3", NULL, NULL, NULL, | ||
233 | NULL, NULL, NULL, "gpio2_26"), | ||
234 | @@ -296,9 +301,9 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
235 | _AM33XX_MUXENTRY(SPI0_CS1, 0, | ||
236 | "spi0_cs1", "uart3_rxd", NULL, "mmc0_pow", | ||
237 | NULL, "mmc0_sdcd", NULL, "gpio0_6"), | ||
238 | - _AM33XX_MUXENTRY(ECAP0_IN_PWM0_OUT, 0, | ||
239 | - "ecap0_in_pwm0_out", "uart3_txd", "spi1_cs1", NULL, | ||
240 | - "spi1_sclk", "mmc0_sdwp", NULL, "gpio0_7"), | ||
241 | +/**/ _AM33XX_MUXENTRY(ECAP0_IN_PWM0_OUT, 0, | ||
242 | + "ecap0_in_pwm0_out", "uart3_txd", "spi1_cs1", "pr1_ecap0_ecap_capin_apwm_o", | ||
243 | + "spi1_sclk", "mmc0_sdwp", "xdma_event_intr2", "gpio0_7"), | ||
244 | _AM33XX_MUXENTRY(UART0_CTSN, 0, | ||
245 | "uart0_ctsn", NULL, "d_can1_tx", "i2c1_sda", | ||
246 | "spi1_d0", NULL, NULL, "gpio1_8"), | ||
247 | @@ -389,11 +394,11 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
248 | _AM33XX_MUXENTRY(TRSTN, 0, | ||
249 | NULL, NULL, NULL, NULL, | ||
250 | NULL, NULL, NULL, NULL), | ||
251 | - _AM33XX_MUXENTRY(EMU0, 0, | ||
252 | - NULL, NULL, NULL, NULL, | ||
253 | +/**/ _AM33XX_MUXENTRY(EMU0, 0, | ||
254 | + "emu0", NULL, NULL, NULL, | ||
255 | NULL, NULL, NULL, "gpio3_7"), | ||
256 | - _AM33XX_MUXENTRY(EMU1, 0, | ||
257 | - NULL, NULL, NULL, NULL, | ||
258 | +/**/ _AM33XX_MUXENTRY(EMU1, 0, | ||
259 | + "emu1", NULL, NULL, NULL, | ||
260 | NULL, NULL, NULL, "gpio3_8"), | ||
261 | _AM33XX_MUXENTRY(RTC_XTALIN, 0, | ||
262 | NULL, NULL, NULL, NULL, | ||
263 | @@ -572,34 +577,34 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
264 | _AM33XX_MUXENTRY(DDR_VTP, 0, | ||
265 | NULL, NULL, NULL, NULL, | ||
266 | NULL, NULL, NULL, NULL), | ||
267 | - _AM33XX_MUXENTRY(AIN0, 0, | ||
268 | +/**/ _AM33XX_MUXENTRY(AIN0, 0, | ||
269 | "ain0", NULL, NULL, NULL, | ||
270 | NULL, NULL, NULL, NULL), | ||
271 | - _AM33XX_MUXENTRY(AIN1, 0, | ||
272 | +/**/ _AM33XX_MUXENTRY(AIN1, 0, | ||
273 | "ain1", NULL, NULL, NULL, | ||
274 | NULL, NULL, NULL, NULL), | ||
275 | - _AM33XX_MUXENTRY(AIN2, 0, | ||
276 | +/**/ _AM33XX_MUXENTRY(AIN2, 0, | ||
277 | "ain2", NULL, NULL, NULL, | ||
278 | NULL, NULL, NULL, NULL), | ||
279 | - _AM33XX_MUXENTRY(AIN3, 0, | ||
280 | +/**/ _AM33XX_MUXENTRY(AIN3, 0, | ||
281 | "ain3", NULL, NULL, NULL, | ||
282 | NULL, NULL, NULL, NULL), | ||
283 | - _AM33XX_MUXENTRY(AIN4, 0, | ||
284 | +/**/ _AM33XX_MUXENTRY(AIN4, 0, | ||
285 | "ain4", NULL, NULL, NULL, | ||
286 | NULL, NULL, NULL, NULL), | ||
287 | - _AM33XX_MUXENTRY(AIN5, 0, | ||
288 | +/**/ _AM33XX_MUXENTRY(AIN5, 0, | ||
289 | "ain5", NULL, NULL, NULL, | ||
290 | NULL, NULL, NULL, NULL), | ||
291 | - _AM33XX_MUXENTRY(AIN6, 0, | ||
292 | +/**/ _AM33XX_MUXENTRY(AIN6, 0, | ||
293 | "ain6", NULL, NULL, NULL, | ||
294 | NULL, NULL, NULL, NULL), | ||
295 | - _AM33XX_MUXENTRY(AIN7, 0, | ||
296 | +/**/ _AM33XX_MUXENTRY(AIN7, 0, | ||
297 | "ain7", NULL, NULL, NULL, | ||
298 | NULL, NULL, NULL, NULL), | ||
299 | - _AM33XX_MUXENTRY(VREFP, 0, | ||
300 | +/**/ _AM33XX_MUXENTRY(VREFP, 0, | ||
301 | "vrefp", NULL, NULL, NULL, | ||
302 | NULL, NULL, NULL, NULL), | ||
303 | - _AM33XX_MUXENTRY(VREFN, 0, | ||
304 | +/**/ _AM33XX_MUXENTRY(VREFN, 0, | ||
305 | "vrefn", NULL, NULL, NULL, | ||
306 | NULL, NULL, NULL, NULL), | ||
307 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
308 | -- | ||
309 | 1.7.7.6 | ||
310 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch new file mode 100644 index 00000000..a82c17f0 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch | |||
@@ -0,0 +1,113 @@ | |||
1 | From 122136b42459ab34853157fb5de1691e890f8f88 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Mon, 14 May 2012 18:26:12 +0200 | ||
4 | Subject: [PATCH 48/56] Fixed reversed part of LCD bus. Added even more | ||
5 | missing entries (TBC). | ||
6 | |||
7 | --- | ||
8 | arch/arm/mach-omap2/mux33xx.c | 56 ++++++++++++++++++++-------------------- | ||
9 | 1 files changed, 28 insertions(+), 28 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | ||
12 | index 26ecd66..72ac899 100644 | ||
13 | --- a/arch/arm/mach-omap2/mux33xx.c | ||
14 | +++ b/arch/arm/mach-omap2/mux33xx.c | ||
15 | @@ -34,54 +34,54 @@ | ||
16 | * Marked lines with completed spec by leading empty comment. | ||
17 | */ | ||
18 | static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
19 | - _AM33XX_MUXENTRY(GPMC_AD0, 0, | ||
20 | +/**/ _AM33XX_MUXENTRY(GPMC_AD0, 0, | ||
21 | "gpmc_ad0", "mmc1_dat0", NULL, NULL, | ||
22 | NULL, NULL, NULL, "gpio1_0"), | ||
23 | - _AM33XX_MUXENTRY(GPMC_AD1, 0, | ||
24 | +/**/ _AM33XX_MUXENTRY(GPMC_AD1, 0, | ||
25 | "gpmc_ad1", "mmc1_dat1", NULL, NULL, | ||
26 | NULL, NULL, NULL, "gpio1_1"), | ||
27 | - _AM33XX_MUXENTRY(GPMC_AD2, 0, | ||
28 | +/**/ _AM33XX_MUXENTRY(GPMC_AD2, 0, | ||
29 | "gpmc_ad2", "mmc1_dat2", NULL, NULL, | ||
30 | NULL, NULL, NULL, "gpio1_2"), | ||
31 | - _AM33XX_MUXENTRY(GPMC_AD3, 0, | ||
32 | +/**/ _AM33XX_MUXENTRY(GPMC_AD3, 0, | ||
33 | "gpmc_ad3", "mmc1_dat3", NULL, NULL, | ||
34 | NULL, NULL, NULL, "gpio1_3"), | ||
35 | - _AM33XX_MUXENTRY(GPMC_AD4, 0, | ||
36 | +/**/ _AM33XX_MUXENTRY(GPMC_AD4, 0, | ||
37 | "gpmc_ad4", "mmc1_dat4", NULL, NULL, | ||
38 | NULL, NULL, NULL, "gpio1_4"), | ||
39 | - _AM33XX_MUXENTRY(GPMC_AD5, 0, | ||
40 | +/**/ _AM33XX_MUXENTRY(GPMC_AD5, 0, | ||
41 | "gpmc_ad5", "mmc1_dat5", NULL, NULL, | ||
42 | NULL, NULL, NULL, "gpio1_5"), | ||
43 | - _AM33XX_MUXENTRY(GPMC_AD6, 0, | ||
44 | +/**/ _AM33XX_MUXENTRY(GPMC_AD6, 0, | ||
45 | "gpmc_ad6", "mmc1_dat6", NULL, NULL, | ||
46 | NULL, NULL, NULL, "gpio1_6"), | ||
47 | - _AM33XX_MUXENTRY(GPMC_AD7, 0, | ||
48 | +/**/ _AM33XX_MUXENTRY(GPMC_AD7, 0, | ||
49 | "gpmc_ad7", "mmc1_dat7", NULL, NULL, | ||
50 | NULL, NULL, NULL, "gpio1_7"), | ||
51 | /**/ _AM33XX_MUXENTRY(GPMC_AD8, 0, | ||
52 | - "gpmc_ad8", "lcd_data16", "mmc1_dat0", "mmc2_dat4", | ||
53 | + "gpmc_ad8", "lcd_data23", "mmc1_dat0", "mmc2_dat4", | ||
54 | "ehrpwm2A", "pr1_mii_mt0_clk", NULL, "gpio0_22"), | ||
55 | /**/ _AM33XX_MUXENTRY(GPMC_AD9, 0, | ||
56 | - "gpmc_ad9", "lcd_data17", "mmc1_dat1", "mmc2_dat5", | ||
57 | + "gpmc_ad9", "lcd_data22", "mmc1_dat1", "mmc2_dat5", | ||
58 | "ehrpwm2B", "pr1_mii0_col", NULL, "gpio0_23"), | ||
59 | /**/ _AM33XX_MUXENTRY(GPMC_AD10, 0, | ||
60 | - "gpmc_ad10", "lcd_data18", "mmc1_dat2", "mmc2_dat6", | ||
61 | + "gpmc_ad10", "lcd_data21", "mmc1_dat2", "mmc2_dat6", | ||
62 | "ehrpwm2_tripzone_input", "pr1_mii0_txen", NULL, "gpio0_26"), | ||
63 | /**/ _AM33XX_MUXENTRY(GPMC_AD11, 0, | ||
64 | - "gpmc_ad11", "lcd_data19", "mmc1_dat3", "mmc2_dat7", | ||
65 | + "gpmc_ad11", "lcd_data20", "mmc1_dat3", "mmc2_dat7", | ||
66 | "ehrpwm0_synco", "pr1_mii0_txd3", NULL, "gpio0_27"), | ||
67 | /**/ _AM33XX_MUXENTRY(GPMC_AD12, 0, | ||
68 | - "gpmc_ad12", "lcd_data20", "mmc1_dat4", "mmc2_dat0", | ||
69 | + "gpmc_ad12", "lcd_data19", "mmc1_dat4", "mmc2_dat0", | ||
70 | "eqep2a_in", "pr1_mii0_txd2", "pr1_pru0_pru_r30_14", "gpio1_12"), | ||
71 | - _AM33XX_MUXENTRY(GPMC_AD13, 0, | ||
72 | - "gpmc_ad13", "lcd_data21", "mmc1_dat5", "mmc2_dat1", | ||
73 | - NULL, NULL, NULL, "gpio1_13"), | ||
74 | - _AM33XX_MUXENTRY(GPMC_AD14, 0, | ||
75 | - "gpmc_ad14", "lcd_data22", "mmc1_dat6", "mmc2_dat2", | ||
76 | - NULL, NULL, NULL, "gpio1_14"), | ||
77 | - _AM33XX_MUXENTRY(GPMC_AD15, 0, | ||
78 | - "gpmc_ad15", "lcd_data23", "mmc1_dat7", "mmc2_dat3", | ||
79 | - NULL, NULL, NULL, "gpio1_15"), | ||
80 | +/**/ _AM33XX_MUXENTRY(GPMC_AD13, 0, | ||
81 | + "gpmc_ad13", "lcd_data18", "mmc1_dat5", "mmc2_dat1", | ||
82 | + "eqep2B_in", "pr1_mii0_txd", "pr1_pru0_pru_r30_15", "gpio1_13"), | ||
83 | +/**/ _AM33XX_MUXENTRY(GPMC_AD14, 0, | ||
84 | + "gpmc_ad14", "lcd_data17", "mmc1_dat6", "mmc2_dat2", | ||
85 | + "eqep2_index", "pr1_mii0_txd0", "pr1_pru0_pru_r31_14", "gpio1_14"), | ||
86 | +/**/ _AM33XX_MUXENTRY(GPMC_AD15, 0, | ||
87 | + "gpmc_ad15", "lcd_data16", "mmc1_dat7", "mmc2_dat3", | ||
88 | + "eqep2_strobe", "pr1_ecap0_ecap_capin_apwm_o", "pr1_pru0_pru_r31_15", "gpio1_15"), | ||
89 | /**/ _AM33XX_MUXENTRY(GPMC_A0, 0, | ||
90 | "gpmc_a0", "gmii2_txen", "rgmii2_tctl", "rmii2_txen", | ||
91 | "gpmc_a16", "pr1_mii_mt1_clk", "ehrpwm1_tripzone_input", "gpio1_16"), | ||
92 | @@ -154,12 +154,12 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
93 | _AM33XX_MUXENTRY(GPMC_BEN0_CLE, 0, | ||
94 | "gpmc_ben0_cle", NULL, NULL, NULL, | ||
95 | NULL, NULL, NULL, "gpio2_5"), | ||
96 | - _AM33XX_MUXENTRY(LCD_DATA0, 0, | ||
97 | - "lcd_data0", "gpmc_a0", NULL, NULL, | ||
98 | - NULL, NULL, NULL, "gpio2_6"), | ||
99 | - _AM33XX_MUXENTRY(LCD_DATA1, 0, | ||
100 | - "lcd_data1", "gpmc_a1", NULL, NULL, | ||
101 | - NULL, NULL, NULL, "gpio2_7"), | ||
102 | +/**/ _AM33XX_MUXENTRY(LCD_DATA0, 0, | ||
103 | + "lcd_data0", "gpmc_a0", "pr1_mii_mt0_clk", "ehrpwm2A", | ||
104 | + NULL, "pr1_pru1_pru_r30_0", "pr1_pru1_pru_r31_0", "gpio2_6"), | ||
105 | +/**/ _AM33XX_MUXENTRY(LCD_DATA1, 0, | ||
106 | + "lcd_data1", "gpmc_a1", "pr1_mii0_txen", "ehrpwm2B", | ||
107 | + NULL, "pr1_pru1_pru_r30_1", "pr1_pru1_pru_r31_1", "gpio2_7"), | ||
108 | /**/ _AM33XX_MUXENTRY(LCD_DATA2, 0, | ||
109 | "lcd_data2", "gpmc_a2", "pr1_mii0_txd3", "ehrpwm2_tripzone_input", | ||
110 | NULL, "pr1_pru1_pru_r30_2", "pr1_pru1_pru_r31_2", "gpio2_8"), | ||
111 | -- | ||
112 | 1.7.7.6 | ||
113 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch new file mode 100644 index 00000000..96aae363 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From b0977ddac55066159dc227585cf6c682fbb8f1a4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Sat, 19 May 2012 11:29:14 +0200 | ||
4 | Subject: [PATCH 49/56] ts_tscadc: add defines for 4x and 16x oversampling | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | drivers/input/touchscreen/ti_tscadc.c | 2 ++ | ||
9 | 1 files changed, 2 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c | ||
12 | index 4fd2e18..acb62d1 100644 | ||
13 | --- a/drivers/input/touchscreen/ti_tscadc.c | ||
14 | +++ b/drivers/input/touchscreen/ti_tscadc.c | ||
15 | @@ -83,6 +83,8 @@ static DEVICE_ATTR(ain8, S_IRUGO, do_adc_sample, NULL); | ||
16 | #define TSCADC_STEPCONFIG_MODE_SWCONT 0x1 | ||
17 | #define TSCADC_STEPCONFIG_MODE_SWONESHOT 0x0 | ||
18 | #define TSCADC_STEPCONFIG_2SAMPLES_AVG (1 << 4) | ||
19 | +#define TSCADC_STEPCONFIG_4SAMPLES_AVG (1 << 3) | ||
20 | +#define TSCADC_STEPCONFIG_16SAMPLES_AVG (1 << 2) | ||
21 | #define TSCADC_STEPCONFIG_NO_AVG 0 | ||
22 | #define TSCADC_STEPCONFIG_XPP BIT(5) | ||
23 | #define TSCADC_STEPCONFIG_XNN BIT(6) | ||
24 | -- | ||
25 | 1.7.7.6 | ||
26 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch new file mode 100644 index 00000000..8c562fd9 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch | |||
@@ -0,0 +1,58 @@ | |||
1 | From fb76db075eb565d152d99b734e3fe9d84b4fe495 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Sat, 19 May 2012 11:37:21 +0200 | ||
4 | Subject: [PATCH 50/56] ts_tscadc: switch to 4x oversampling | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | drivers/input/touchscreen/ti_tscadc.c | 10 +++++----- | ||
9 | 1 files changed, 5 insertions(+), 5 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c | ||
12 | index acb62d1..7df7bb2 100644 | ||
13 | --- a/drivers/input/touchscreen/ti_tscadc.c | ||
14 | +++ b/drivers/input/touchscreen/ti_tscadc.c | ||
15 | @@ -157,11 +157,11 @@ static void tsc_adc_step_config(struct tscadc *ts_dev, int channel) | ||
16 | /* | ||
17 | * Step Configuration | ||
18 | * software-enabled continous mode | ||
19 | - * 2 sample averaging | ||
20 | + * 4 sample averaging | ||
21 | * sample channel 1 (SEL_INP mux bits = 0) | ||
22 | */ | ||
23 | stepconfig = TSCADC_STEPCONFIG_MODE_SWONESHOT | | ||
24 | - TSCADC_STEPCONFIG_2SAMPLES_AVG | | ||
25 | + TSCADC_STEPCONFIG_4SAMPLES_AVG | | ||
26 | ((channel-1) << 19); | ||
27 | |||
28 | delay = TSCADC_STEPCONFIG_SAMPLEDLY | TSCADC_STEPCONFIG_OPENDLY; | ||
29 | @@ -242,7 +242,7 @@ static void tsc_step_config(struct tscadc *ts_dev) | ||
30 | delay = TSCADC_STEPCONFIG_SAMPLEDLY | TSCADC_STEPCONFIG_OPENDLY; | ||
31 | |||
32 | stepconfigx = TSCADC_STEPCONFIG_MODE_HWSYNC | | ||
33 | - TSCADC_STEPCONFIG_2SAMPLES_AVG | TSCADC_STEPCONFIG_XPP; | ||
34 | + TSCADC_STEPCONFIG_4SAMPLES_AVG | TSCADC_STEPCONFIG_XPP; | ||
35 | |||
36 | switch (ts_dev->wires) { | ||
37 | case 4: | ||
38 | @@ -279,7 +279,7 @@ static void tsc_step_config(struct tscadc *ts_dev) | ||
39 | } | ||
40 | |||
41 | stepconfigy = TSCADC_STEPCONFIG_MODE_HWSYNC | | ||
42 | - TSCADC_STEPCONFIG_2SAMPLES_AVG | TSCADC_STEPCONFIG_YNN | | ||
43 | + TSCADC_STEPCONFIG_4SAMPLES_AVG | TSCADC_STEPCONFIG_YNN | | ||
44 | TSCADC_STEPCONFIG_INM | TSCADC_STEPCONFIG_FIFO1; | ||
45 | switch (ts_dev->wires) { | ||
46 | case 4: | ||
47 | @@ -324,7 +324,7 @@ static void tsc_step_config(struct tscadc *ts_dev) | ||
48 | |||
49 | /* Configure to calculate pressure */ | ||
50 | stepconfigz1 = TSCADC_STEPCONFIG_MODE_HWSYNC | | ||
51 | - TSCADC_STEPCONFIG_2SAMPLES_AVG | | ||
52 | + TSCADC_STEPCONFIG_4SAMPLES_AVG | | ||
53 | TSCADC_STEPCONFIG_XNP | | ||
54 | TSCADC_STEPCONFIG_YPN | TSCADC_STEPCONFIG_INM; | ||
55 | stepconfigz2 = stepconfigz1 | TSCADC_STEPCONFIG_Z1 | | ||
56 | -- | ||
57 | 1.7.7.6 | ||
58 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch new file mode 100644 index 00000000..aba0afa8 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 32fc1a1006035b1c05e45e962b89efe7f9c43182 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Sun, 13 May 2012 18:07:59 +0200 | ||
4 | Subject: [PATCH 51/56] Fixed size of pinmux data array in EEPROM data struct. | ||
5 | |||
6 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> | ||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | arch/arm/mach-omap2/board-am335xevm.c | 2 +- | ||
10 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
13 | index ece4e46..c6ec997 100644 | ||
14 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
16 | @@ -483,7 +483,7 @@ struct beaglebone_cape_eeprom_config { | ||
17 | char partnumber[16]; | ||
18 | u16 numpins; | ||
19 | char serial[12]; | ||
20 | - u8 muxdata[170]; | ||
21 | + u16 muxdata[74]; | ||
22 | u16 current_3v3; | ||
23 | u16 current_vdd5v; | ||
24 | u16 current_sys5v; | ||
25 | -- | ||
26 | 1.7.7.6 | ||
27 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch new file mode 100644 index 00000000..f0a3b770 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch | |||
@@ -0,0 +1,363 @@ | |||
1 | From ef6c0767e7c4337f45080906cda46a2c05e000f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Sun, 13 May 2012 18:14:22 +0200 | ||
4 | Subject: [PATCH 52/56] Implemented Bone Cape configuration from EEPROM. Only | ||
5 | used for BEBOPR cape for now. | ||
6 | |||
7 | Signed-off-by: Bas Laarhoven <sjml@xs4all.nl> | ||
8 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
9 | --- | ||
10 | arch/arm/mach-omap2/board-am335xevm.c | 304 +++++++++++++++++++++++++++++++++ | ||
11 | arch/arm/mach-omap2/mux33xx.c | 14 ++ | ||
12 | 2 files changed, 318 insertions(+), 0 deletions(-) | ||
13 | |||
14 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | index c6ec997..7fb8295 100644 | ||
16 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
17 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
18 | @@ -2231,6 +2231,304 @@ static void tt3201_init(int evm_id, int profile) | ||
19 | |||
20 | am33xx_d_can_init(1); | ||
21 | } | ||
22 | + | ||
23 | +static const char* cape_pins[] = { | ||
24 | +/* | ||
25 | + From SRM RevA5.0.1: | ||
26 | +*/ | ||
27 | + /* offset 88 - P9-22 */ "uart2_rxd", | ||
28 | + /* offset 90 - P9-21 */ "uart2_txd", | ||
29 | + /* offset 92 - P9-18 */ "spi0_d1", | ||
30 | + /* offset 94 - P9-17 */ "spi0_cs0", | ||
31 | + /* offset 96 - P9-42 */ "ecap0_in_pwm0_out", | ||
32 | + /* offset 98 - P8-35 */ "lcd_data12", | ||
33 | + /* offset 100 - P8-33 */ "lcd_data13", | ||
34 | + /* offset 102 - P8-31 */ "lcd_data14", | ||
35 | + /* offset 104 - P8-32 */ "lcd_data15", | ||
36 | + /* offset 106 - P9-19 */ "uart1_rtsn", | ||
37 | + /* offset 108 - P9-20 */ "uart1_ctsn", | ||
38 | + /* offset 110 - P9-26 */ "uart1_rxd", | ||
39 | + /* offset 112 - P9-24 */ "uart1_txd", | ||
40 | + /* offset 114 - P9-41 */ "xdma_event_intr1", | ||
41 | + /* offset 116 - P8-19 */ "gpmc_ad8", | ||
42 | + /* offset 118 - P8-13 */ "gpmc_ad9", | ||
43 | + /* offset 120 - P8-14 */ "gpmc_ad10", | ||
44 | + /* offset 122 - P8-17 */ "gpmc_ad12", | ||
45 | + /* offset 124 - P9-11 */ "gpmc_wait0", | ||
46 | + /* offset 126 - P9-13 */ "gpmc_wpn", | ||
47 | + /* offset 128 - P8-25 */ "gpmc_ad0", | ||
48 | + /* offset 130 - P8-24 */ "gpmc_ad1", | ||
49 | + /* offset 132 - P8- 5 */ "gpmc_ad2", | ||
50 | + /* offset 134 - P8- 6 */ "gpmc_ad3", | ||
51 | + /* offset 136 - P8-23 */ "gpmc_ad4", | ||
52 | + /* offset 138 - P8-22 */ "gpmc_ad5", | ||
53 | + /* offset 140 - P8- 3 */ "gpmc_ad6", | ||
54 | + /* offset 142 - P8- 4 */ "gpmc_ad7", | ||
55 | + /* offset 144 - P8-12 */ "gpmc_ad12", | ||
56 | + /* offset 146 - P8-11 */ "gpmc_ad13", | ||
57 | + /* offset 148 - P8-16 */ "gpmc_ad14", | ||
58 | + /* offset 150 - P8-15 */ "gpmc_ad15", | ||
59 | + /* offset 152 - P9-15 */ "gpmc_a0", | ||
60 | + /* offset 154 - P9-23 */ "gpmc_a1", | ||
61 | + /* offset 156 - P9-14 */ "gpmc_a2", | ||
62 | + /* offset 158 - P9-16 */ "gpmc_a3", | ||
63 | + /* offset 160 - P9-12 */ "gpmc_be1n", | ||
64 | + /* offset 162 - P8-26 */ "gpmc_csn0", | ||
65 | + /* offset 164 - P8-21 */ "gpmc_csn1", | ||
66 | + /* offset 166 - P8-20 */ "gpmc_csn2", | ||
67 | + /* offset 168 - P8-18 */ "gpmc_clk", | ||
68 | + /* offset 170 - P8-7 */ "gpmc_advn_ale", | ||
69 | + /* offset 172 - P8-9 */ "gpmc_ben0_cle", | ||
70 | + /* offset 174 - P8-10 */ "gpmc_wen", | ||
71 | + /* offset 176 - P8-8 */ "gpmc_csn3", | ||
72 | + /* offset 178 - P8-45 */ "lcd_data0", | ||
73 | + /* offset 180 - P8-46 */ "lcd_data1", | ||
74 | + /* offset 182 - P8-43 */ "lcd_data2", | ||
75 | + /* offset 184 - P8-44 */ "lcd_data3", | ||
76 | + /* offset 186 - P8-41 */ "lcd_data4", | ||
77 | + /* offset 188 - P8-42 */ "lcd_data5", | ||
78 | + /* offset 190 - P8-39 */ "lcd_data6", | ||
79 | + /* offset 192 - P8-40 */ "lcd_data7", | ||
80 | + /* offset 194 - P8-37 */ "lcd_data8", | ||
81 | + /* offset 196 - P8-38 */ "lcd_data9", | ||
82 | + /* offset 198 - P8-36 */ "lcd_data10", | ||
83 | + /* offset 200 - P8-34 */ "lcd_data11", | ||
84 | + /* offset 202 - P8-27 */ "lcd_vsync", | ||
85 | + /* offset 204 - P8-29 */ "lcd_hsync", | ||
86 | + /* offset 206 - P8-28 */ "lcd_pclk", | ||
87 | + /* offset 208 - P8-30 */ "lcd_ac_bias_en", | ||
88 | + /* offset 210 - P9-29 */ "mcasp0_fsx", | ||
89 | + /* offset 212 - P9-30 */ "mcasp0_axr0", | ||
90 | + /* offset 214 - P9-28 */ "mcasp0_ahclkr", | ||
91 | + /* offset 216 - P9-27 */ "mcasp0_fsr", | ||
92 | + /* offset 218 - P9-31 */ "mcasp0_aclkx", | ||
93 | + /* offset 220 - P9-25 */ "mcasp0_ahclkx", | ||
94 | + /* offset 222 - P9-39 */ "ain0", | ||
95 | + /* offset 224 - P9-40 */ "ain1", | ||
96 | + /* offset 226 - P9-37 */ "ain2", | ||
97 | + /* offset 228 - P9-38 */ "ain3", | ||
98 | + /* offset 230 - P9-33 */ "ain4", | ||
99 | + /* offset 232 - P9-36 */ "ain5", | ||
100 | + /* offset 234 - P9-35 */ "ain6", | ||
101 | +}; | ||
102 | + | ||
103 | +#define BIG_ENDIAN_16( i) ( ((i & 255) << 8) | ((i >> 8) & 255) ) | ||
104 | +#define NR_ITEMS( x) (sizeof( (x)) / sizeof( *(x))) | ||
105 | + | ||
106 | +extern int am33xx_mux_get_entry( int index, struct omap_mux** mux); | ||
107 | + | ||
108 | +typedef union { | ||
109 | +/* | ||
110 | + From SRM RevA5.0.1: | ||
111 | + Bit 15 Pin is used or not: 0=Unused by Cape 1=Used by Cape | ||
112 | + Bit 14-13 Pin Direction: 10=Output 01=Input 11=BDIR | ||
113 | + Bit 12-7 Reserved | ||
114 | + Bit 6 Slew Rate: 0=Fast 1=Slow | ||
115 | + Bit 5 Rx Enable: 0=Disabled 1=Enabled | ||
116 | + Bit 4 Pull Up/Dn Select: 0=Pulldown 1=PullUp | ||
117 | + Bit 3 Pull Up/DN enabled: 0=Enabled 1=Disabled | ||
118 | + Bit 2-0 Mux Mode Selection: Mode 0-7 | ||
119 | +*/ | ||
120 | + struct { | ||
121 | + uint16_t mux : 3; | ||
122 | + uint16_t pull_enable : 1; | ||
123 | + uint16_t pull_up : 1; | ||
124 | + uint16_t rx_enable : 1; | ||
125 | + uint16_t slew_rate : 1; | ||
126 | + uint16_t reserved : 6; | ||
127 | + uint16_t direction : 2; | ||
128 | + uint16_t used : 1; | ||
129 | + }; | ||
130 | + uint16_t value; | ||
131 | +} pin_def; | ||
132 | + | ||
133 | +#define DEBUG_EEPROM_CONFIG 0 | ||
134 | + | ||
135 | +static int bone_io_get_mux_setting( pin_def setting) | ||
136 | +{ | ||
137 | + int pin_setting; | ||
138 | + | ||
139 | + switch (setting.direction) { | ||
140 | + case 1: | ||
141 | + /* input */ | ||
142 | + if (setting.pull_enable) { | ||
143 | + if (setting.pull_up) { | ||
144 | + pin_setting = AM33XX_PIN_INPUT_PULLUP; | ||
145 | + } else { | ||
146 | + pin_setting = AM33XX_PIN_INPUT_PULLDOWN; | ||
147 | + } | ||
148 | + } else { | ||
149 | + pin_setting = AM33XX_PIN_INPUT; | ||
150 | + } | ||
151 | + if (!setting.rx_enable) { | ||
152 | +#if DEBUG_EEPROM_CONFIG | ||
153 | + pr_warning( " pin is set as input but the receiver is not enabled!\n"); | ||
154 | +#endif | ||
155 | + } | ||
156 | + break; | ||
157 | + case 2: | ||
158 | + /* output */ | ||
159 | + pin_setting = AM33XX_PIN_OUTPUT; | ||
160 | + break; | ||
161 | + case 3: | ||
162 | + /* bi-dir */ | ||
163 | + default: | ||
164 | + /* reserved */ | ||
165 | +#if DEBUG_EEPROM_CONFIG | ||
166 | + pr_warning( " pin ignored because it uses an unsupported mode: 0x%04x\n", | ||
167 | + setting.direction); | ||
168 | +#endif | ||
169 | + return -1; | ||
170 | + } | ||
171 | +#if DEBUG_EEPROM_CONFIG | ||
172 | + pr_info(" pin is configured as %s\n", | ||
173 | + (pin_setting & AM33XX_PIN_INPUT) ? "input" : "output"); | ||
174 | +#endif | ||
175 | + switch (setting.mux) { | ||
176 | + case 0: pin_setting |= OMAP_MUX_MODE0; break; | ||
177 | + case 1: pin_setting |= OMAP_MUX_MODE1; break; | ||
178 | + case 2: pin_setting |= OMAP_MUX_MODE2; break; | ||
179 | + case 3: pin_setting |= OMAP_MUX_MODE3; break; | ||
180 | + case 4: pin_setting |= OMAP_MUX_MODE4; break; | ||
181 | + case 5: pin_setting |= OMAP_MUX_MODE5; break; | ||
182 | + case 6: pin_setting |= OMAP_MUX_MODE6; break; | ||
183 | + case 7: pin_setting |= OMAP_MUX_MODE7; break; | ||
184 | + } | ||
185 | + return pin_setting; | ||
186 | +} | ||
187 | + | ||
188 | +static struct omap_mux* bone_io_pin_lookup( const char* pin_name) | ||
189 | +{ | ||
190 | + int index = 0; | ||
191 | + struct omap_mux* mux; | ||
192 | + | ||
193 | + for (;;) { | ||
194 | + if (am33xx_mux_get_entry( index, &mux) < 0) { | ||
195 | + /* no more entries */ | ||
196 | +#if DEBUG_EEPROM_CONFIG | ||
197 | + pr_warning( " configuration error, pin '%s' not found in mux database\n", | ||
198 | + pin_name); | ||
199 | +#endif | ||
200 | + return NULL; | ||
201 | + } | ||
202 | + if (mux != NULL && | ||
203 | + mux->muxnames[ 0] != NULL && | ||
204 | + strcmp( mux->muxnames[ 0], pin_name) == 0) | ||
205 | + { | ||
206 | + /* entry found */ | ||
207 | +#if DEBUG_EEPROM_CONFIG | ||
208 | + pr_info( " found pin '%s' at index %d in mux database'\n", | ||
209 | + pin_name, index); | ||
210 | +#endif | ||
211 | + return mux; | ||
212 | + } | ||
213 | + ++index; | ||
214 | + } | ||
215 | +} | ||
216 | + | ||
217 | +static int bone_io_config_pin( const char* pin_name, pin_def eeprom_setting) | ||
218 | +{ | ||
219 | + struct omap_mux* mux; | ||
220 | + char* signal_name; | ||
221 | + int pin_setting = bone_io_get_mux_setting( eeprom_setting); | ||
222 | + int l1, l2; | ||
223 | + char full_name[ 50]; | ||
224 | + | ||
225 | + if (pin_setting < 0) { | ||
226 | + return -1; | ||
227 | + } | ||
228 | + | ||
229 | + mux = bone_io_pin_lookup( pin_name); | ||
230 | + | ||
231 | + if (mux == NULL) { | ||
232 | + return -1; | ||
233 | + } | ||
234 | + | ||
235 | + signal_name = mux->muxnames[ eeprom_setting.mux]; | ||
236 | + | ||
237 | + if (signal_name == NULL) { | ||
238 | +#if DEBUG_EEPROM_CONFIG | ||
239 | + pr_warning( " Configuration error, no signal found for pin '%s' in mode %d\n", | ||
240 | + pin_name, eeprom_setting.mux); | ||
241 | +#endif | ||
242 | + return -1; | ||
243 | + } | ||
244 | + | ||
245 | +#if DEBUG_EEPROM_CONFIG | ||
246 | + pr_info( " setting pin '%s' to signal '%s'\n", | ||
247 | + pin_name, signal_name); | ||
248 | +#endif | ||
249 | + l1 = strlen( pin_name); | ||
250 | + l2 = strlen( signal_name); | ||
251 | + | ||
252 | + if (l1 + 1 + l2 + 1 > sizeof( full_name)) { | ||
253 | +#if DEBUG_EEPROM_CONFIG | ||
254 | + pr_warning( " Internal error, combined signal name too long\n"); | ||
255 | +#endif | ||
256 | + return -1; | ||
257 | + } else { | ||
258 | + memcpy( full_name, pin_name, l1); | ||
259 | + full_name[ l1] = '.'; | ||
260 | + memcpy( full_name + l1 + 1, signal_name, l2); | ||
261 | + full_name[ l1 + 1 + l2] = '\0'; | ||
262 | + if (omap_mux_init_signal( full_name, pin_setting) < 0) { | ||
263 | + return -1; | ||
264 | + } | ||
265 | +#if DEBUG_EEPROM_CONFIG | ||
266 | + pr_info( " mux '%s' was set to mode 0x%04x\n", | ||
267 | + full_name, pin_setting); | ||
268 | +#endif | ||
269 | + } | ||
270 | + // return 0 for input, 1 for output | ||
271 | + return (pin_setting & AM33XX_PIN_INPUT) ? 0 : 1; | ||
272 | +} | ||
273 | + | ||
274 | +#define RULER( x) \ | ||
275 | + do { \ | ||
276 | + char* p = status; \ | ||
277 | + int i = 0; \ | ||
278 | + int cnt = x; \ | ||
279 | + status[ cnt] = '\0'; \ | ||
280 | + while (cnt--) { \ | ||
281 | + if (++i == 10) { \ | ||
282 | + *p++ = '+'; \ | ||
283 | + i = 0; \ | ||
284 | + } else { \ | ||
285 | + *p++ = '-'; \ | ||
286 | + } \ | ||
287 | + } \ | ||
288 | + pr_info( "+%s+\n", status); \ | ||
289 | + } while (0) | ||
290 | + | ||
291 | +static void bone_io_config_from_cape_eeprom( void) | ||
292 | +{ | ||
293 | + int i; | ||
294 | + int cnt = BIG_ENDIAN_16( cape_config.numpins); | ||
295 | + u16* pmuxdata; | ||
296 | + char status[ NR_ITEMS( cape_config.muxdata) + 1]; | ||
297 | + | ||
298 | + pr_info( "BeagleBone cape: configuring %2d out of %2d signals:\n", | ||
299 | + cnt, NR_ITEMS( cape_config.muxdata)); | ||
300 | + RULER( NR_ITEMS( cape_config.muxdata)); | ||
301 | + for (i = 0, pmuxdata = cape_config.muxdata ; i < NR_ITEMS( cape_config.muxdata) ; ++i, ++pmuxdata) { | ||
302 | + const char* pin_name = cape_pins[ i]; | ||
303 | + pin_def pin_setting = { .value = BIG_ENDIAN_16( *pmuxdata) }; | ||
304 | + | ||
305 | + if (pin_setting.used) { | ||
306 | + switch (bone_io_config_pin( pin_name, pin_setting)) { | ||
307 | + case 0: status[ i] = 'i'; break; | ||
308 | + case 1: status[ i] = 'o'; break; | ||
309 | + default: status[ i] = '#'; break; | ||
310 | + } | ||
311 | + } else { | ||
312 | + status[ i] = ' '; | ||
313 | + } | ||
314 | + } | ||
315 | + status[ NR_ITEMS( cape_config.muxdata)] = '\0'; | ||
316 | + pr_info( "|%s|\n", status); | ||
317 | + RULER( NR_ITEMS( cape_config.muxdata)); | ||
318 | +} | ||
319 | + | ||
320 | static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context) | ||
321 | { | ||
322 | int ret; | ||
323 | @@ -2280,6 +2578,12 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context | ||
324 | snprintf(tmp, sizeof(cape_config.partnumber) + 1, "%s", cape_config.partnumber); | ||
325 | pr_info("BeagleBone cape partnumber: %s\n", tmp); | ||
326 | |||
327 | + if (!strncmp( "BEBOPR", cape_config.name, 6)) { | ||
328 | + pr_info( "BeagleBone cape: initializing BEBOPR cape\n"); | ||
329 | + bone_io_config_from_cape_eeprom(); | ||
330 | + return; // if configured from eeprom, skip all other initialization | ||
331 | + } | ||
332 | + | ||
333 | if (!strncmp("BB-BONE-DVID-01", cape_config.partnumber, 15)) { | ||
334 | pr_info("BeagleBone cape: initializing DVI cape\n"); | ||
335 | |||
336 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | ||
337 | index 72ac899..43c8989 100644 | ||
338 | --- a/arch/arm/mach-omap2/mux33xx.c | ||
339 | +++ b/arch/arm/mach-omap2/mux33xx.c | ||
340 | @@ -616,6 +616,20 @@ int __init am33xx_mux_init(struct omap_board_mux *board_subset) | ||
341 | AM33XX_CONTROL_PADCONF_MUX_SIZE, am33xx_muxmodes, | ||
342 | NULL, board_subset, NULL); | ||
343 | } | ||
344 | + | ||
345 | +#define NR_ITEMS( x) (sizeof( (x)) / sizeof( *(x))) | ||
346 | + | ||
347 | +int am33xx_mux_get_entry( int index, struct omap_mux** mux) | ||
348 | +{ | ||
349 | + if (index >= 0 && index < NR_ITEMS( am33xx_muxmodes)) { | ||
350 | + *mux = &am33xx_muxmodes[ index]; | ||
351 | + return 0; | ||
352 | + } else { | ||
353 | + *mux = NULL; | ||
354 | + return -1; | ||
355 | + } | ||
356 | +} | ||
357 | + | ||
358 | #else | ||
359 | int __init am33xx_mux_init(struct omap_board_mux *board_subset) | ||
360 | { | ||
361 | -- | ||
362 | 1.7.7.6 | ||
363 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch new file mode 100644 index 00000000..175468f7 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch | |||
@@ -0,0 +1,188 @@ | |||
1 | From 3df22c4c4db479f189d892bcbf009102855bbd05 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Mon, 14 May 2012 14:31:37 +0200 | ||
4 | Subject: [PATCH 53/56] Replaced conditional debug code by pr_debug statements | ||
5 | for cleaner code. | ||
6 | |||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | arch/arm/mach-omap2/board-am335xevm.c | 91 +++++++++++++-------------------- | ||
10 | 1 files changed, 36 insertions(+), 55 deletions(-) | ||
11 | |||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
13 | index 7fb8295..d6a607a 100644 | ||
14 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
16 | @@ -2323,23 +2323,23 @@ typedef union { | ||
17 | Bit 15 Pin is used or not: 0=Unused by Cape 1=Used by Cape | ||
18 | Bit 14-13 Pin Direction: 10=Output 01=Input 11=BDIR | ||
19 | Bit 12-7 Reserved | ||
20 | - Bit 6 Slew Rate: 0=Fast 1=Slow | ||
21 | - Bit 5 Rx Enable: 0=Disabled 1=Enabled | ||
22 | - Bit 4 Pull Up/Dn Select: 0=Pulldown 1=PullUp | ||
23 | - Bit 3 Pull Up/DN enabled: 0=Enabled 1=Disabled | ||
24 | + Bit 6 Slew Rate: 0=Fast 1=Slow | ||
25 | + Bit 5 Rx Enable: 0=Disabled 1=Enabled | ||
26 | + Bit 4 Pull Up/Dn Select: 0=Pulldown 1=PullUp | ||
27 | + Bit 3 Pull Up/DN enabled: 0=Enabled 1=Disabled | ||
28 | Bit 2-0 Mux Mode Selection: Mode 0-7 | ||
29 | */ | ||
30 | struct { | ||
31 | - uint16_t mux : 3; | ||
32 | - uint16_t pull_enable : 1; | ||
33 | - uint16_t pull_up : 1; | ||
34 | - uint16_t rx_enable : 1; | ||
35 | - uint16_t slew_rate : 1; | ||
36 | - uint16_t reserved : 6; | ||
37 | - uint16_t direction : 2; | ||
38 | - uint16_t used : 1; | ||
39 | + uint16_t mux : 3; | ||
40 | + uint16_t pull_enable : 1; | ||
41 | + uint16_t pull_up : 1; | ||
42 | + uint16_t rx_enable : 1; | ||
43 | + uint16_t slew_rate : 1; | ||
44 | + uint16_t reserved : 6; | ||
45 | + uint16_t direction : 2; | ||
46 | + uint16_t used : 1; | ||
47 | }; | ||
48 | - uint16_t value; | ||
49 | + uint16_t value; | ||
50 | } pin_def; | ||
51 | |||
52 | #define DEBUG_EEPROM_CONFIG 0 | ||
53 | @@ -2351,39 +2351,33 @@ static int bone_io_get_mux_setting( pin_def setting) | ||
54 | switch (setting.direction) { | ||
55 | case 1: | ||
56 | /* input */ | ||
57 | - if (setting.pull_enable) { | ||
58 | + if (setting.pull_enable) { | ||
59 | if (setting.pull_up) { | ||
60 | - pin_setting = AM33XX_PIN_INPUT_PULLUP; | ||
61 | + pin_setting = AM33XX_PIN_INPUT_PULLUP; | ||
62 | } else { | ||
63 | - pin_setting = AM33XX_PIN_INPUT_PULLDOWN; | ||
64 | + pin_setting = AM33XX_PIN_INPUT_PULLDOWN; | ||
65 | } | ||
66 | } else { | ||
67 | - pin_setting = AM33XX_PIN_INPUT; | ||
68 | + pin_setting = AM33XX_PIN_INPUT; | ||
69 | } | ||
70 | if (!setting.rx_enable) { | ||
71 | -#if DEBUG_EEPROM_CONFIG | ||
72 | - pr_warning( " pin is set as input but the receiver is not enabled!\n"); | ||
73 | -#endif | ||
74 | + pr_debug( " pin is set as input but the receiver is not enabled!\n"); | ||
75 | } | ||
76 | break; | ||
77 | case 2: | ||
78 | /* output */ | ||
79 | - pin_setting = AM33XX_PIN_OUTPUT; | ||
80 | + pin_setting = AM33XX_PIN_OUTPUT; | ||
81 | break; | ||
82 | case 3: | ||
83 | /* bi-dir */ | ||
84 | default: | ||
85 | /* reserved */ | ||
86 | -#if DEBUG_EEPROM_CONFIG | ||
87 | - pr_warning( " pin ignored because it uses an unsupported mode: 0x%04x\n", | ||
88 | - setting.direction); | ||
89 | -#endif | ||
90 | + pr_debug( " pin ignored because it uses an unsupported mode: 0x%04x\n", | ||
91 | + setting.direction); | ||
92 | return -1; | ||
93 | } | ||
94 | -#if DEBUG_EEPROM_CONFIG | ||
95 | - pr_info(" pin is configured as %s\n", | ||
96 | + pr_debug(" pin is configured as %s\n", | ||
97 | (pin_setting & AM33XX_PIN_INPUT) ? "input" : "output"); | ||
98 | -#endif | ||
99 | switch (setting.mux) { | ||
100 | case 0: pin_setting |= OMAP_MUX_MODE0; break; | ||
101 | case 1: pin_setting |= OMAP_MUX_MODE1; break; | ||
102 | @@ -2404,11 +2398,9 @@ static struct omap_mux* bone_io_pin_lookup( const char* pin_name) | ||
103 | |||
104 | for (;;) { | ||
105 | if (am33xx_mux_get_entry( index, &mux) < 0) { | ||
106 | - /* no more entries */ | ||
107 | -#if DEBUG_EEPROM_CONFIG | ||
108 | - pr_warning( " configuration error, pin '%s' not found in mux database\n", | ||
109 | - pin_name); | ||
110 | -#endif | ||
111 | + /* no more entries */ | ||
112 | + pr_debug( " configuration error, pin '%s' not found in mux database\n", | ||
113 | + pin_name); | ||
114 | return NULL; | ||
115 | } | ||
116 | if (mux != NULL && | ||
117 | @@ -2416,10 +2408,8 @@ static struct omap_mux* bone_io_pin_lookup( const char* pin_name) | ||
118 | strcmp( mux->muxnames[ 0], pin_name) == 0) | ||
119 | { | ||
120 | /* entry found */ | ||
121 | -#if DEBUG_EEPROM_CONFIG | ||
122 | - pr_info( " found pin '%s' at index %d in mux database'\n", | ||
123 | - pin_name, index); | ||
124 | -#endif | ||
125 | + pr_debug( " found pin '%s' at index %d in mux database'\n", | ||
126 | + pin_name, index); | ||
127 | return mux; | ||
128 | } | ||
129 | ++index; | ||
130 | @@ -2447,37 +2437,28 @@ static int bone_io_config_pin( const char* pin_name, pin_def eeprom_setting) | ||
131 | signal_name = mux->muxnames[ eeprom_setting.mux]; | ||
132 | |||
133 | if (signal_name == NULL) { | ||
134 | -#if DEBUG_EEPROM_CONFIG | ||
135 | - pr_warning( " Configuration error, no signal found for pin '%s' in mode %d\n", | ||
136 | - pin_name, eeprom_setting.mux); | ||
137 | -#endif | ||
138 | + pr_debug( " Configuration error, no signal found for pin '%s' in mode %d\n", | ||
139 | + pin_name, eeprom_setting.mux); | ||
140 | return -1; | ||
141 | } | ||
142 | - | ||
143 | -#if DEBUG_EEPROM_CONFIG | ||
144 | - pr_info( " setting pin '%s' to signal '%s'\n", | ||
145 | + pr_debug( " setting pin '%s' to signal '%s'\n", | ||
146 | pin_name, signal_name); | ||
147 | -#endif | ||
148 | - l1 = strlen( pin_name); | ||
149 | + l1 = strlen( pin_name); | ||
150 | l2 = strlen( signal_name); | ||
151 | |||
152 | if (l1 + 1 + l2 + 1 > sizeof( full_name)) { | ||
153 | -#if DEBUG_EEPROM_CONFIG | ||
154 | - pr_warning( " Internal error, combined signal name too long\n"); | ||
155 | -#endif | ||
156 | + pr_debug( " Internal error, combined signal name too long\n"); | ||
157 | return -1; | ||
158 | } else { | ||
159 | - memcpy( full_name, pin_name, l1); | ||
160 | + memcpy( full_name, pin_name, l1); | ||
161 | full_name[ l1] = '.'; | ||
162 | memcpy( full_name + l1 + 1, signal_name, l2); | ||
163 | full_name[ l1 + 1 + l2] = '\0'; | ||
164 | if (omap_mux_init_signal( full_name, pin_setting) < 0) { | ||
165 | return -1; | ||
166 | } | ||
167 | -#if DEBUG_EEPROM_CONFIG | ||
168 | - pr_info( " mux '%s' was set to mode 0x%04x\n", | ||
169 | + pr_debug( " mux '%s' was set to mode 0x%04x\n", | ||
170 | full_name, pin_setting); | ||
171 | -#endif | ||
172 | } | ||
173 | // return 0 for input, 1 for output | ||
174 | return (pin_setting & AM33XX_PIN_INPUT) ? 0 : 1; | ||
175 | @@ -2516,8 +2497,8 @@ static void bone_io_config_from_cape_eeprom( void) | ||
176 | |||
177 | if (pin_setting.used) { | ||
178 | switch (bone_io_config_pin( pin_name, pin_setting)) { | ||
179 | - case 0: status[ i] = 'i'; break; | ||
180 | - case 1: status[ i] = 'o'; break; | ||
181 | + case 0: status[ i] = 'i'; break; | ||
182 | + case 1: status[ i] = 'o'; break; | ||
183 | default: status[ i] = '#'; break; | ||
184 | } | ||
185 | } else { | ||
186 | -- | ||
187 | 1.7.7.6 | ||
188 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch new file mode 100644 index 00000000..028fe816 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From bf49a3539e82539d8d347f7d88626c308662ed62 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Mon, 14 May 2012 14:36:23 +0200 | ||
4 | Subject: [PATCH 54/56] Workaround for boards with (mistaken) ASCII | ||
5 | interpretation for the numpins field. | ||
6 | |||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | arch/arm/mach-omap2/board-am335xevm.c | 6 ++++++ | ||
10 | 1 files changed, 6 insertions(+), 0 deletions(-) | ||
11 | |||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
13 | index d6a607a..0a1738a 100644 | ||
14 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
16 | @@ -2488,6 +2488,12 @@ static void bone_io_config_from_cape_eeprom( void) | ||
17 | u16* pmuxdata; | ||
18 | char status[ NR_ITEMS( cape_config.muxdata) + 1]; | ||
19 | |||
20 | + // Workaround for capes that have encoded this as ASCII | ||
21 | + if (cnt > 256) { | ||
22 | + pr_info( "BeagleBone cape: workaround for bad 'numpins' setting\n"); | ||
23 | + cnt = (cape_config.numpins & 255) - '0'; | ||
24 | + cnt = 10 * cnt + ((cape_config.numpins >> 8) & 255) - '0'; | ||
25 | + } | ||
26 | pr_info( "BeagleBone cape: configuring %2d out of %2d signals:\n", | ||
27 | cnt, NR_ITEMS( cape_config.muxdata)); | ||
28 | RULER( NR_ITEMS( cape_config.muxdata)); | ||
29 | -- | ||
30 | 1.7.7.6 | ||
31 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch new file mode 100644 index 00000000..fa23ece2 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 2dc46dbcb68848a670dbe877f954835980cf8d66 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Mon, 14 May 2012 15:07:43 +0200 | ||
4 | Subject: [PATCH 55/56] Workaround for EEPROM contents blocking further I2C | ||
5 | bus access. | ||
6 | |||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | arch/arm/mach-omap2/board-am335xevm.c | 5 ++++- | ||
10 | 1 files changed, 4 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
13 | index 0a1738a..0fa8a32 100644 | ||
14 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
16 | @@ -2501,7 +2501,10 @@ static void bone_io_config_from_cape_eeprom( void) | ||
17 | const char* pin_name = cape_pins[ i]; | ||
18 | pin_def pin_setting = { .value = BIG_ENDIAN_16( *pmuxdata) }; | ||
19 | |||
20 | - if (pin_setting.used) { | ||
21 | + // Detect broken I2C configuration to prevent bus hangup! | ||
22 | + if (i >= 9 && i <= 10) { | ||
23 | + status[ i] = '-'; | ||
24 | + } else if (pin_setting.used) { | ||
25 | switch (bone_io_config_pin( pin_name, pin_setting)) { | ||
26 | case 0: status[ i] = 'i'; break; | ||
27 | case 1: status[ i] = 'o'; break; | ||
28 | -- | ||
29 | 1.7.7.6 | ||
30 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patch new file mode 100644 index 00000000..239e9933 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patch | |||
@@ -0,0 +1,60 @@ | |||
1 | From 8c79cdf0bbe2bff8043cf81da7b8793c21f64f17 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bas Laarhoven <sjml@xs4all.nl> | ||
3 | Date: Tue, 15 May 2012 10:00:47 +0200 | ||
4 | Subject: [PATCH 56/56] Added check on EEPROM revision to prevent interpreting | ||
5 | unknown formats. | ||
6 | |||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | arch/arm/mach-omap2/board-am335xevm.c | 16 +++++++++++++--- | ||
10 | 1 files changed, 13 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
13 | index 0fa8a32..68ddfe2 100644 | ||
14 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
16 | @@ -2481,12 +2481,21 @@ static int bone_io_config_pin( const char* pin_name, pin_def eeprom_setting) | ||
17 | pr_info( "+%s+\n", status); \ | ||
18 | } while (0) | ||
19 | |||
20 | -static void bone_io_config_from_cape_eeprom( void) | ||
21 | +static int bone_io_config_from_cape_eeprom( void) | ||
22 | { | ||
23 | int i; | ||
24 | int cnt = BIG_ENDIAN_16( cape_config.numpins); | ||
25 | u16* pmuxdata; | ||
26 | char status[ NR_ITEMS( cape_config.muxdata) + 1]; | ||
27 | + char revision[ NR_ITEMS( cape_config.format_revision) + 1]; | ||
28 | + | ||
29 | + strncpy( revision, cape_config.format_revision, NR_ITEMS( revision) - 1); | ||
30 | + revision[ NR_ITEMS( revision) - 1] = '\0'; | ||
31 | + if (strcmp( revision, "A0") != 0) { | ||
32 | + pr_warn( "BeagleBone cape: configuration revision '%s' is not supported\n", | ||
33 | + revision); | ||
34 | + return -1; | ||
35 | + } | ||
36 | |||
37 | // Workaround for capes that have encoded this as ASCII | ||
38 | if (cnt > 256) { | ||
39 | @@ -2494,8 +2503,8 @@ static void bone_io_config_from_cape_eeprom( void) | ||
40 | cnt = (cape_config.numpins & 255) - '0'; | ||
41 | cnt = 10 * cnt + ((cape_config.numpins >> 8) & 255) - '0'; | ||
42 | } | ||
43 | - pr_info( "BeagleBone cape: configuring %2d out of %2d signals:\n", | ||
44 | - cnt, NR_ITEMS( cape_config.muxdata)); | ||
45 | + pr_info( "BeagleBone cape: revision %s format, configuring %2d out of %2d signals:\n", | ||
46 | + revision, cnt, NR_ITEMS( cape_config.muxdata)); | ||
47 | RULER( NR_ITEMS( cape_config.muxdata)); | ||
48 | for (i = 0, pmuxdata = cape_config.muxdata ; i < NR_ITEMS( cape_config.muxdata) ; ++i, ++pmuxdata) { | ||
49 | const char* pin_name = cape_pins[ i]; | ||
50 | @@ -2517,6 +2526,7 @@ static void bone_io_config_from_cape_eeprom( void) | ||
51 | status[ NR_ITEMS( cape_config.muxdata)] = '\0'; | ||
52 | pr_info( "|%s|\n", status); | ||
53 | RULER( NR_ITEMS( cape_config.muxdata)); | ||
54 | + return 0; | ||
55 | } | ||
56 | |||
57 | static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context) | ||
58 | -- | ||
59 | 1.7.7.6 | ||
60 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb index 0fe3d4f0..888c7a3d 100644 --- a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb +++ b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb | |||
@@ -12,7 +12,7 @@ MULTI_CONFIG_BASE_SUFFIX = "" | |||
12 | 12 | ||
13 | BRANCH = "v3.2-staging" | 13 | BRANCH = "v3.2-staging" |
14 | SRCREV = "720e07b4c1f687b61b147b31c698cb6816d72f01" | 14 | SRCREV = "720e07b4c1f687b61b147b31c698cb6816d72f01" |
15 | MACHINE_KERNEL_PR_append = "l+gitr${SRCREV}" | 15 | MACHINE_KERNEL_PR_append = "m+gitr${SRCREV}" |
16 | 16 | ||
17 | COMPATIBLE_MACHINE = "(ti33x)" | 17 | COMPATIBLE_MACHINE = "(ti33x)" |
18 | 18 | ||
@@ -927,6 +927,9 @@ PATCHES_OVER_PSP = " \ | |||
927 | file://3.2.16/0067-drm-radeon-fix-load-detect-on-rn50-with-hardcoded-ED.patch \ | 927 | file://3.2.16/0067-drm-radeon-fix-load-detect-on-rn50-with-hardcoded-ED.patch \ |
928 | file://3.2.16/0068-Linux-3.2.16.patch \ | 928 | file://3.2.16/0068-Linux-3.2.16.patch \ |
929 | file://led/0001-leds-heartbeat-stop-on-shutdown-reboot-or-panic.patch \ | 929 | file://led/0001-leds-heartbeat-stop-on-shutdown-reboot-or-panic.patch \ |
930 | \ | ||
931 | file://beaglebone/0001-arm-boot-compressed-default-asm-arch-to-armv7-a.patch \ | ||
932 | \ | ||
930 | file://beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch \ | 933 | file://beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch \ |
931 | file://beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch \ | 934 | file://beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch \ |
932 | file://beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \ | 935 | file://beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \ |
@@ -967,8 +970,20 @@ PATCHES_OVER_PSP = " \ | |||
967 | file://beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch \ | 970 | file://beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch \ |
968 | file://beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch \ | 971 | file://beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch \ |
969 | file://beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch \ | 972 | file://beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch \ |
970 | file://beaglebone/0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch \ | 973 | file://beaglebone/0041-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch \ |
971 | file://beaglebone/0044-omap-hwmod-silence-st_shift-error.patch \ | 974 | file://beaglebone/0042-omap-hwmod-silence-st_shift-error.patch \ |
972 | file://beaglebone/0001-arm-boot-compressed-default-asm-arch-to-armv7-a.patch \ | 975 | file://beaglebone/0043-cpsw-phy_device-demote-PHY-message-to-INFO.patch \ |
973 | file://beaglebone/0045-cpws-phy_device-demote-PHY-message-to-INFO.patch \ | 976 | file://beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch \ |
977 | file://beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch \ | ||
978 | file://beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch \ | ||
979 | file://beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch \ | ||
980 | file://beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch \ | ||
981 | file://beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch \ | ||
982 | file://beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch \ | ||
983 | file://beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch \ | ||
984 | file://beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch \ | ||
985 | file://beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch \ | ||
986 | file://beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch \ | ||
987 | file://beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch \ | ||
988 | file://beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patch \ | ||
974 | " | 989 | " |