linux-ti33x-psp 3.2: silence useless omap4 hwmod warning
PATCH v2 1/3 linux-ti33x-psp 3.2: silence useless omap4 hwmod warning
This fixes the last remaining debug print shown when booting with 'quiet'
--- .../0044-omap-hwmod-silence-st_shift-error.patch | 33 ++++++++++++++++++++ recipes-kernel/linux/linux-ti33x-psp_3.2.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-omap-hwmod-silence-st_shift-error.patch
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-omap-hwmod-silence-st_shift-error.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 4119ec2ea20b7ae4095049e9f192c751559fbb87 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Wed, 16 May 2012 17:57:31 +0200 +Subject: [PATCH] omap hwmod: silence st_shift error + +During boot the following error is shown: + + [ 0.545227] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift + +Since this PSP tree will never run on omap4 remove the print so people will stop getting scared by it. + +Signed-off-by: Koen Kooi <[email protected]> +--- + arch/arm/mach-omap2/omap_hwmod.c | 3 --- + 1 files changed, 0 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c +index bc14f9f..a050699 100644 +--- a/arch/arm/mach-omap2/omap_hwmod.c ++++ b/arch/arm/mach-omap2/omap_hwmod.c +@@ -1343,9 +1343,6 @@ static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) + * Note: cpu_is_omap34xx is true for am33xx device as well. + */ + if (cpu_is_omap44xx() || cpu_is_am33xx()) { +- if (ohri.st_shift) +- pr_err("omap_hwmod: %s: %s: hwmod data error: OMAP4 does not support st_shift\n", +- oh->name, name); + ret = omap4_prminst_deassert_hardreset(ohri.rst_shift, + oh->clkdm->pwrdm.ptr->prcm_partition, + oh->clkdm->pwrdm.ptr->prcm_offs, +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp_3.2.bb +1 -0
@@ -968,6 +968,7 @@ PATCHES_OVER_PSP = " \ file://beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch \ file://beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch \ file://beaglebone/0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch \ + file://beaglebone/0044-omap-hwmod-silence-st_shift-error.patch \ file://beaglebone/0001-arm-boot-compressed-default-asm-arch-to-armv7-a.patch \ file://beaglebone/0045-cpws-phy_device-demote-PHY-message-to-INFO.patch \ "
Signature · 1 line
1.7.10
PATCH v2 2/3 linux-ti335x-psp 3.2: cape enhancements and patch cleanups
* add support for revision A2 of the 7" Beagleboardtoys cape
* allow capes to disable w1-gpio
* add stub for the Beagleboardtoys camera cape
* Fill in more entries in the am335x mux table
* switch to 4x oversampling in the tsadc driver to reduce jitter (or cursor hula dancing as Gerald describes it)
* Add a function to set the pinmux from the eeprom data instead of the boardfile
* Add support for the Bebopr cape
All beaglebone patches have been rediffed and renumbered to avoid confusion
---
...1-f_rndis-HACK-around-undefined-variables.patch | 8 +-
...2-da8xx-fb-add-DVI-support-for-beaglebone.patch | 8 +-
...rebase-everything-onto-3.2-WARNING-MEGAPA.patch | 8 +-
.../beaglebone/0004-more-beaglebone-merges.patch | 10 +-
.../beaglebone/0005-beaglebone-disable-tsadc.patch | 8 +-
...general-purpose-mode-untested-with-touchs.patch | 6 +-
...dc-Add-board-file-mfd-support-fix-warning.patch | 6 +-
...AM335X-init-tsc-bone-style-for-new-boards.patch | 8 +-
...cadc-make-stepconfig-channel-configurable.patch | 8 +-
.../0010-tscadc-Trigger-through-sysfs.patch | 6 +-
...meta-ti-Remove-debug-messages-for-meta-ti.patch | 8 +-
...c-switch-to-polling-instead-of-interrupts.patch | 8 +-
.../beaglebone/0013-beaglebone-fix-ADC-init.patch | 8 +-
.../beaglebone/0014-AM335x-MUX-add-ehrpwm1A.patch | 8 +-
...enable-PWM-for-lcd-backlight-backlight-is.patch | 8 +-
...Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch | 8 +-
...set-default-brightness-to-50-for-pwm-back.patch | 8 +-
...P-framebuffer-driver-supporting-Adafruit-.patch | 8 +-
...019-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch | 8 +-
...add-support-for-Towertech-TT3201-CAN-cape.patch | 10 +-
...add-more-beagleboardtoys-cape-partnumbers.patch | 8 +-
...add-gpio-keys-for-lcd7-add-notes-for-miss.patch | 8 +-
...23-beaglebone-add-enter-key-for-lcd7-cape.patch | 8 +-
.../0024-beaglebone-add-gpio-keys-for-lcd.patch | 8 +-
...025-beaglebone-fix-direction-of-gpio-keys.patch | 8 +-
.../0026-beaglebone-fix-3.5-lcd-cape-support.patch | 8 +-
...decrease-PWM-frequency-to-old-value-LCD7-.patch | 8 +-
.../0028-beaglebone-fix-ehrpwm-backlight.patch | 8 +-
...0029-beaglebone-also-report-cape-revision.patch | 8 +-
...don-t-compare-undefined-characters-it-mak.patch | 8 +-
.../0031-beaglebone-fix-3.5-cape-support.patch | 8 +-
...-connect-batterycape-GPIO-to-gpio-charger.patch | 8 +-
...lebone-add-support-for-CAN-and-RS232-cape.patch | 10 +-
...glebone-add-support-for-DVI-rev.-A2-capes.patch | 4 +-
...e-enable-LEDs-for-DVI-LCD3-and-LCD7-capes.patch | 4 +-
...036-Beaglebone-Fixed-compiletime-warnings.patch | 4 +-
...Added-missing-termination-record-to-bone_.patch | 4 +-
...xevm.c-Beaglebone-expose-all-pwms-through.patch | 4 +-
...x-Fixed-debugfs-mux-output-always-reporti.patch | 4 +-
...export-SPI2-as-spidev-when-no-capes-are-u.patch | 4 +-
...king-WIP-changes-to-make-DMA-safe-and-ad.patch} | 4 +-
...> 0042-omap-hwmod-silence-st_shift-error.patch} | 4 +-
...sw-phy_device-demote-PHY-message-to-INFO.patch} | 4 +-
...ne-add-support-for-7-LCD-cape-revision-A2.patch | 66 ++++
...beaglebone-allow-capes-to-disable-w1-gpio.patch | 52 +++
...add-stub-for-the-camera-cape-to-disable-w.patch | 30 ++
...y-of-the-missing-signals-to-the-mux-table.patch | 310 +++++++++++++++++
...sed-part-of-LCD-bus.-Added-even-more-miss.patch | 113 ++++++
...c-add-defines-for-4x-and-16x-oversampling.patch | 26 ++
.../0050-ts_tscadc-switch-to-4x-oversampling.patch | 58 ++++
...of-pinmux-data-array-in-EEPROM-data-struc.patch | 27 ++
...-Bone-Cape-configuration-from-EEPROM.-Onl.patch | 363 ++++++++++++++++++++
...nditional-debug-code-by-pr_debug-statemen.patch | 188 ++++++++++
...for-boards-with-mistaken-ASCII-interpreta.patch | 31 ++
...for-EEPROM-contents-blocking-further-I2C-.patch | 30 ++
...-on-EEPROM-revision-to-prevent-interpreti.patch | 60 ++++
recipes-kernel/linux/linux-ti33x-psp_3.2.bb | 25 +-
57 files changed, 1526 insertions(+), 157 deletions(-)
rename recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/{0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch => 0041-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch} (96%)
rename recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/{0044-omap-hwmod-silence-st_shift-error.patch => 0042-omap-hwmod-silence-st_shift-error.patch} (90%)
rename recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/{0045-cpws-phy_device-demote-PHY-message-to-INFO.patch => 0043-cpsw-phy_device-demote-PHY-message-to-INFO.patch} (93%)
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch
create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patchrecipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch +4 -4
@@ -1,12 +1,12 @@ -From 4999df64c677cd0a32e87ccea5c1405331576d3d Mon Sep 17 00:00:00 2001 +From 0a8e60a2f92c5507739e84cdbe5fb3de3f4ee1b6 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Fri, 7 Oct 2011 15:29:28 +0200 -Subject: [PATCH 01/33] f_rndis: HACK around undefined variables +Subject: [PATCH 01/56] f_rndis: HACK around undefined variables Signed-off-by: Koen Kooi <[email protected]> --- drivers/usb/gadget/f_rndis.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c index 6614490..d2f1b6f 100644
@@ -27,5 +27,5 @@ index 6614490..d2f1b6f 100644 * the network link ... which is unavailable to this code * until we're activated via set_alt(). -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch +4 -4
@@ -1,12 +1,12 @@ -From 831a092f5cad298cb9d7d3f2d1a2d08cec82e733 Mon Sep 17 00:00:00 2001 +From 7db7d9b0c2ca8aea0ae522b7fc30c7ac034edfe2 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Thu, 3 Nov 2011 17:35:50 +0100 -Subject: [PATCH 02/33] da8xx-fb: add DVI support for beaglebone +Subject: [PATCH 02/56] da8xx-fb: add DVI support for beaglebone Signed-off-by: Koen Kooi <[email protected]> --- drivers/video/da8xx-fb.c | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) + 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 2e69278..b01f15b 100644
@@ -34,5 +34,5 @@ index 2e69278..b01f15b 100644 /* Enable the Raster Engine of the LCD Controller */ -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch +4 -4
@@ -1,13 +1,13 @@ -From 83111bdeba0ddfd16b409e8c1cacd77a756507c9 Mon Sep 17 00:00:00 2001 +From 8ba62500dc8a2a033099ddcf85fd765b09c47f6d Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 30 Jan 2012 21:30:09 +0100 -Subject: [PATCH 03/33] beaglebone: rebase everything onto 3.2 - WARNING +Subject: [PATCH 03/56] beaglebone: rebase everything onto 3.2 - WARNING MEGAPATCH Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 426 ++++++++++++++++++++++++++++++++- - 1 file changed, 415 insertions(+), 11 deletions(-) + 1 files changed, 415 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 563bdf1..2741431 100644
@@ -559,5 +559,5 @@ index 563bdf1..2741431 100644 /* Beagle Bone has Micro-SD slot which doesn't have Write Protect pin */ am335x_mmc[0].gpio_wp = -EINVAL; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0004-more-beaglebone-merges.patch +5 -5
@@ -1,12 +1,12 @@ -From fda651d1a17eba23bae75e22a811a9f45c96da16 Mon Sep 17 00:00:00 2001 +From b5158f58ced19e39423d3f12b01f67435a1029b0 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 31 Jan 2012 10:04:03 +0100 -Subject: [PATCH 04/33] more beaglebone merges +Subject: [PATCH 04/56] more beaglebone merges Signed-off-by: Koen Kooi <[email protected]> --- - arch/arm/mach-omap2/board-am335xevm.c | 52 +++++++++++++++++++++++++++++++-- - 1 file changed, 50 insertions(+), 2 deletions(-) + arch/arm/mach-omap2/board-am335xevm.c | 52 +++++++++++++++++++++++++++++++- + 1 files changed, 50 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 2741431..ffbecae 100644
@@ -103,5 +103,5 @@ index 2741431..ffbecae 100644 } else if (!strncmp("1.0", config.version, 3)) { gp_evm_revision = GP_EVM_REV_IS_1_0; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch +4 -4
@@ -1,12 +1,12 @@ -From 182bdf186f6dfde9d97faea406bc9d1925f18353 Mon Sep 17 00:00:00 2001 +From 590219f8dedc88345dff5e2fcac3c63501333aba Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 31 Jan 2012 10:09:06 +0100 -Subject: [PATCH 05/33] beaglebone: disable tsadc +Subject: [PATCH 05/56] beaglebone: disable tsadc Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index ffbecae..ba611c0 100644
@@ -27,5 +27,5 @@ index ffbecae..ba611c0 100644 static u8 am335x_iis_serializer_direction1[] = { -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0006-tscadc-Add-general-purpose-mode-untested-with-touchs.patch +3 -3
@@ -1,7 +1,7 @@ -From 9b99753d6e4324b98bedd6289993e57c93dbe59d Mon Sep 17 00:00:00 2001 +From d15ac41429630a7065e409079370efc4cfcb3e65 Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Wed, 30 Nov 2011 15:00:40 +0100 -Subject: [PATCH 06/33] tscadc: Add general purpose mode, untested with +Subject: [PATCH 06/56] tscadc: Add general purpose mode, untested with touchscreen functionality Signed-off-by: Joel A Fernandes <[email protected]>
@@ -402,5 +402,5 @@ index 2c547bb..850cd4b 100644 + int mode; }; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0007-tscadc-Add-board-file-mfd-support-fix-warning.patch +3 -3
@@ -1,7 +1,7 @@ -From 2c10000ff1538c2cfb91ebfb27054b262584ce1c Mon Sep 17 00:00:00 2001 +From 5275f0cc4c9f541711ab49e7e179a153fb61cda5 Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Wed, 30 Nov 2011 15:02:17 +0100 -Subject: [PATCH 07/33] tscadc: Add board file mfd support, fix warning +Subject: [PATCH 07/56] tscadc: Add board file mfd support, fix warning Signed-off-by: Joel A Fernandes <[email protected]>
@@ -40,5 +40,5 @@ index c6dc6f0..b50a08c 100644 int clk_value; int clock_rate, irqenable, ctrl; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0008-AM335X-init-tsc-bone-style-for-new-boards.patch +4 -4
@@ -1,12 +1,12 @@ -From 8b4f4ecc8c831a5bfa87ee66faada2d9d28c5fb4 Mon Sep 17 00:00:00 2001 +From e9aa7ff6f36d532d2268cd3b91555cbeb72fda4f Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Wed, 30 Nov 2011 15:03:59 +0100 -Subject: [PATCH 08/33] AM335X: init tsc bone style for new boards +Subject: [PATCH 08/56] AM335X: init tsc bone style for new boards Signed-off-by: Joel A Fernandes <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 64a0c0a..6b78ae6 100644
@@ -22,5 +22,5 @@ index 64a0c0a..6b78ae6 100644 }; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0009-tscadc-make-stepconfig-channel-configurable.patch +4 -4
@@ -1,12 +1,12 @@ -From fb47de51034c21646d79aef0605a7a84b9fb6dcf Mon Sep 17 00:00:00 2001 +From 7042bb10731908812bc3b248b963899898773c4b Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Mon, 28 Nov 2011 18:18:04 -0600 -Subject: [PATCH 09/33] tscadc: make stepconfig channel-configurable +Subject: [PATCH 09/56] tscadc: make stepconfig channel-configurable Signed-off-by: Joel A Fernandes <[email protected]> --- drivers/input/touchscreen/ti_tscadc.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) + 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c index b50a08c..6083de7 100644
@@ -42,5 +42,5 @@ index b50a08c..6083de7 100644 irqenable = TSCADC_IRQENB_FIFO0THRES; } -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0010-tscadc-Trigger-through-sysfs.patch +3 -3
@@ -1,7 +1,7 @@ -From a45b9634ecd2d8251c86ff2111e7202471f3f842 Mon Sep 17 00:00:00 2001 +From 23f1ea4e1324704d36381cf1a2b6d4578c5f3fb4 Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Mon, 28 Nov 2011 20:55:25 -0600 -Subject: [PATCH 10/33] tscadc: Trigger through sysfs +Subject: [PATCH 10/56] tscadc: Trigger through sysfs Signed-off-by: Joel A Fernandes <[email protected]>
@@ -145,5 +145,5 @@ index 850cd4b..fc239c6 100644 #define TI_TSCADC_TSCMODE 0 #define TI_TSCADC_GENMODE 1 -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0011-meta-ti-Remove-debug-messages-for-meta-ti.patch +4 -4
@@ -1,12 +1,12 @@ -From a893b2486f36716a3196fa58fae5b7d973976b5a Mon Sep 17 00:00:00 2001 +From 44e604188006ae23fb48fe27b68b20cc9e3b20cb Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Mon, 28 Nov 2011 20:56:48 -0600 -Subject: [PATCH 11/33] meta-ti: Remove debug messages for meta-ti +Subject: [PATCH 11/56] meta-ti: Remove debug messages for meta-ti Signed-off-by: Joel A Fernandes <[email protected]> --- drivers/input/touchscreen/ti_tscadc.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c index d6aec8c..da48bcd 100644
@@ -30,5 +30,5 @@ index d6aec8c..da48bcd 100644 for (i = 0; i < fifo1count; i++) { read_sample = tscadc_readl(ts_dev, TSCADC_REG_FIFO0); -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0012-tscadc-switch-to-polling-instead-of-interrupts.patch +4 -4
@@ -1,12 +1,12 @@ -From f0963a18454ca4943c436432300d310b6f4ebd16 Mon Sep 17 00:00:00 2001 +From 04b4ae6caf9912acb99b294ab946ca88146ec6a9 Mon Sep 17 00:00:00 2001 From: Joel A Fernandes <[email protected]> Date: Tue, 29 Nov 2011 09:44:22 -0600 -Subject: [PATCH 12/33] tscadc: switch to polling instead of interrupts +Subject: [PATCH 12/56] tscadc: switch to polling instead of interrupts Signed-off-by: Joel A Fernandes <[email protected]> --- drivers/input/touchscreen/ti_tscadc.c | 16 ++++++++++++++-- - 1 file changed, 14 insertions(+), 2 deletions(-) + 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c index da48bcd..4fd2e18 100644
@@ -50,5 +50,5 @@ index da48bcd..4fd2e18 100644 tscadc_writel(ts_dev, TSCADC_REG_IRQENABLE, irqenable); -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0013-beaglebone-fix-ADC-init.patch +4 -4
@@ -1,12 +1,12 @@ -From a1dabedca0bb4b1e016036368fa1888e21514570 Mon Sep 17 00:00:00 2001 +From 14830f07a752e8c2d643a307ebb5e268008d9c04 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 31 Jan 2012 14:50:55 +0100 -Subject: [PATCH 13/33] beaglebone: fix ADC init +Subject: [PATCH 13/56] beaglebone: fix ADC init Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) + 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 6b78ae6..ffbecae 100644
@@ -43,5 +43,5 @@ index 6b78ae6..ffbecae 100644 }; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0014-AM335x-MUX-add-ehrpwm1A.patch +4 -4
@@ -1,12 +1,12 @@ -From 32868ed9e44bf2cf9193e4bb8a903c20ca5a8d93 Mon Sep 17 00:00:00 2001 +From ae3da1ea2d7c8b915e8eebec7d5f3524f53bf510 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 31 Jan 2012 16:49:52 +0100 -Subject: [PATCH 14/33] AM335x: MUX: add ehrpwm1A +Subject: [PATCH 14/56] AM335x: MUX: add ehrpwm1A Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/mux33xx.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c index 572ed16..0f71646 100644
@@ -22,5 +22,5 @@ index 572ed16..0f71646 100644 "gpmc_a3", "mii2_txd2", "rgmii2_td2", "mmc2_dat2", NULL, NULL, NULL, "gpio1_19"), -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0015-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch +4 -4
@@ -1,13 +1,13 @@ -From 28cbad5cd7338d27e6f440c26b508a171640df85 Mon Sep 17 00:00:00 2001 +From 8930849074cc11163a2f176927d4e76072d4fb80 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 31 Jan 2012 17:02:10 +0100 -Subject: [PATCH 15/33] beaglebone: enable PWM for lcd backlight <- backlight +Subject: [PATCH 15/56] beaglebone: enable PWM for lcd backlight <- backlight is inverted Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 51 +++++++++++++++++++++++++++------ - 1 file changed, 42 insertions(+), 9 deletions(-) + 1 files changed, 42 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index ffbecae..43a83ca 100644
@@ -119,5 +119,5 @@ index ffbecae..43a83ca 100644 } -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0016-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch +4 -4
@@ -1,7 +1,7 @@ -From ba233d60909b0b895c28f88c5714ebcb68b87617 Mon Sep 17 00:00:00 2001 +From e099fdb60eae41faea813fd1098af28b38f050d1 Mon Sep 17 00:00:00 2001 From: Steve Sakoman <[email protected]> Date: Mon, 18 Jul 2011 23:13:41 -0500 -Subject: [PATCH 16/33] omap_hsmmc: Set dto to max value of 14 to avoid SD +Subject: [PATCH 16/56] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts 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 This fix was originally proposed by Sukumar Ghoral of TI. --- drivers/mmc/host/omap_hsmmc.c | 3 +++ - 1 file changed, 3 insertions(+) + 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 1f938d9..ace26f7 100644
@@ -30,5 +30,5 @@ index 1f938d9..ace26f7 100644 reg |= dto << DTO_SHIFT; OMAP_HSMMC_WRITE(host->base, SYSCTL, reg); -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch +4 -4
@@ -1,13 +1,13 @@ -From 2d746bba72e5334bbf6269e1063dea891ad58394 Mon Sep 17 00:00:00 2001 +From 8de8f4d2da1d92847f27babbf3a91ca960afdbc9 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Wed, 1 Feb 2012 14:10:38 +0100 -Subject: [PATCH 17/33] beaglebone: set default brightness to 50% for pwm +Subject: [PATCH 17/56] beaglebone: set default brightness to 50% for pwm backlights Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 43a83ca..97b069f 100644
@@ -23,5 +23,5 @@ index 43a83ca..97b069f 100644 #define PWM_DEVICE_ID "ecap.0" -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0018-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch +4 -4
@@ -1,7 +1,7 @@ -From 5d3a23267ebf757159b1dce032505d0c15683909 Mon Sep 17 00:00:00 2001 +From 4d3af135dec5fcd7119e62c17d5db6d678ad68d5 Mon Sep 17 00:00:00 2001 From: Matt Porter <[email protected]> Date: Mon, 21 Nov 2011 12:55:23 -0500 -Subject: [PATCH 18/33] st7735fb: WIP framebuffer driver supporting Adafruit +Subject: [PATCH 18/56] st7735fb: WIP framebuffer driver supporting Adafruit 1.8" SPI LCD Signed-off-by: Matt Porter <[email protected]>
@@ -11,7 +11,7 @@ Signed-off-by: Koen Kooi <[email protected]> drivers/video/Makefile | 1 + drivers/video/st7735fb.c | 516 ++++++++++++++++++++++++++++++++++++++++++++++ include/video/st7735fb.h | 86 ++++++++ - 4 files changed, 614 insertions(+) + 4 files changed, 614 insertions(+), 0 deletions(-) create mode 100644 drivers/video/st7735fb.c create mode 100644 include/video/st7735fb.h
@@ -664,5 +664,5 @@ index 0000000..250f036 + + -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0019-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch +4 -4
@@ -1,12 +1,12 @@ -From f70a6f936227f65da0e5bff0e72ad59fe2c9b36f Mon Sep 17 00:00:00 2001 +From 6a862f51ac8eca5e4e00acdc13a73db521eb74fa Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 7 Feb 2012 11:01:13 +0100 -Subject: [PATCH 19/33] beaglebone: use P8_6 (gpio1_3) as w1 bus +Subject: [PATCH 19/56] beaglebone: use P8_6 (gpio1_3) as w1 bus Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 31 +++++++++++++++++++++++++++++++ - 1 file changed, 31 insertions(+) + 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 97b069f..3ba4bbc 100644
@@ -79,5 +79,5 @@ index 97b069f..3ba4bbc 100644 }; -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0020-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch +5 -5
@@ -1,13 +1,13 @@ -From 3554b72659f168b6b699a02a57e9d91471ad7c32 Mon Sep 17 00:00:00 2001 +From fc2a970788a0181b495f79a78b35e6bdd6987aa8 Mon Sep 17 00:00:00 2001 From: Alessandro Zummo <[email protected]> Date: Thu, 9 Feb 2012 12:46:52 +0100 -Subject: [PATCH 20/33] beaglebone: add support for Towertech TT3201 CAN cape +Subject: [PATCH 20/56] beaglebone: add support for Towertech TT3201 CAN cape Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 54 ++++++++++++++++++++++++++++++++- - arch/arm/mach-omap2/mux33xx.c | 8 ++--- - drivers/net/can/dev.c | 8 ++--- + arch/arm/mach-omap2/mux33xx.c | 8 ++-- + drivers/net/can/dev.c | 8 ++-- drivers/net/can/mcp251x.c | 47 ++++++++++++++++++++++------ 4 files changed, 98 insertions(+), 19 deletions(-)
@@ -316,5 +316,5 @@ index 330140e..b3e231c 100644 } error_probe: -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0021-beaglebone-add-more-beagleboardtoys-cape-partnumbers.patch +4 -4
@@ -1,12 +1,12 @@ -From 33f4b51e615b9550acdb99de61427e1aa46db4b3 Mon Sep 17 00:00:00 2001 +From b7bcc2d2d68f0683ee25027fa33afd43357912cb Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 19 Mar 2012 12:01:35 +0100 -Subject: [PATCH 21/33] beaglebone: add more beagleboardtoys cape partnumbers +Subject: [PATCH 21/56] beaglebone: add more beagleboardtoys cape partnumbers Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 25 ++++++++++++++++++++++++- - 1 file changed, 24 insertions(+), 1 deletion(-) + 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index a8dfcdf..f854329 100644
@@ -49,5 +49,5 @@ index a8dfcdf..f854329 100644 pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); bone_tsc_init(0,0); -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0022-beaglebone-add-gpio-keys-for-lcd7-add-notes-for-miss.patch +4 -4
@@ -1,13 +1,13 @@ -From 73da74ec5becc06d598a1ddcc435ed9fb277d0ce Mon Sep 17 00:00:00 2001 +From 7d829ebc289c6e311171cb3974e428ed2562c0ad Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 19 Mar 2012 13:32:43 +0100 -Subject: [PATCH 22/33] beaglebone: add gpio-keys for lcd7, add notes for +Subject: [PATCH 22/56] beaglebone: add gpio-keys for lcd7, add notes for missing functionality for other capes Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 79 +++++++++++++++++++++++++++++++++ - 1 file changed, 79 insertions(+) + 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index f854329..9e9cf5b 100644
@@ -126,5 +126,5 @@ index f854329..9e9cf5b 100644 } -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0023-beaglebone-add-enter-key-for-lcd7-cape.patch +4 -4
@@ -1,12 +1,12 @@ -From 47651bc2ba05d4d5f8a7d10a9c55ad915a4e3500 Mon Sep 17 00:00:00 2001 +From d7eecab57e0c72ef16663b45d2e1498368cfe9fe Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 19 Mar 2012 14:26:37 +0100 -Subject: [PATCH 23/33] beaglebone: add enter key for lcd7 cape +Subject: [PATCH 23/56] beaglebone: add enter key for lcd7 cape Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 9 +++++++++ - 1 file changed, 9 insertions(+) + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 9e9cf5b..8c78eb5 100644
@@ -36,5 +36,5 @@ index 9e9cf5b..8c78eb5 100644 static struct gpio_keys_platform_data beaglebone_lcd7_gpio_key_info = { -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0024-beaglebone-add-gpio-keys-for-lcd.patch +4 -4
@@ -1,12 +1,12 @@ -From 555493dc65a5f0ff80bfb8fc60a10bb8c0fef0de Mon Sep 17 00:00:00 2001 +From 15f9d6c3d2ea7b9c932b311e7b615735bb940f01 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 19 Mar 2012 15:15:06 +0100 -Subject: [PATCH 24/33] beaglebone: add gpio-keys for lcd +Subject: [PATCH 24/56] beaglebone: add gpio-keys for lcd Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 82 +++++++++++++++++++++++++++++++-- - 1 file changed, 78 insertions(+), 4 deletions(-) + 1 files changed, 78 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 8c78eb5..5266f78 100644
@@ -109,5 +109,5 @@ index 8c78eb5..5266f78 100644 if (!strncmp("BB-BONE-VGA-01", cape_config.partnumber, 15)) { -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0025-beaglebone-fix-direction-of-gpio-keys.patch +4 -4
@@ -1,12 +1,12 @@ -From c33d25585e467ab54b3db2d3c5b403e071150751 Mon Sep 17 00:00:00 2001 +From 9ae51575e2d99c806ee5caabb4a11a380e5e9b7b Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 26 Mar 2012 20:28:56 +0200 -Subject: [PATCH 25/33] beaglebone: fix direction of gpio-keys +Subject: [PATCH 25/56] beaglebone: fix direction of gpio-keys Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) + 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 5266f78..36b0c85 100644
@@ -103,5 +103,5 @@ index 5266f78..36b0c85 100644 .type = EV_KEY, .wakeup = 1, -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0026-beaglebone-fix-3.5-lcd-cape-support.patch +4 -4
@@ -1,7 +1,7 @@ -From 23c8aaf1d86378c6d4325b88ec85ac7d8130e86a Mon Sep 17 00:00:00 2001 +From 1979148439115875ee92c370e369a28ba3b5f37c Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Wed, 29 Feb 2012 17:25:22 +0100 -Subject: [PATCH 26/33] beaglebone: fix 3.5" lcd cape support +Subject: [PATCH 26/56] beaglebone: fix 3.5" lcd cape support * proper timings * fix gpio conflict
@@ -10,7 +10,7 @@ Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 42 ++++++++++++++++++++++++++++++++- drivers/video/da8xx-fb.c | 14 +++++++++++ - 2 files changed, 55 insertions(+), 1 deletion(-) + 2 files changed, 55 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 36b0c85..127516f 100644
@@ -105,5 +105,5 @@ index b01f15b..86b19ac 100644 /* Enable the Raster Engine of the LCD Controller */ -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0027-beaglebone-decrease-PWM-frequency-to-old-value-LCD7-.patch +4 -4
@@ -1,13 +1,13 @@ -From 91190bb0f7c8b075011701e44daffc0f1a8ca766 Mon Sep 17 00:00:00 2001 +From 07553571e947d49d906d5f12fd0cb4eac6a8c4e5 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 17 Apr 2012 11:25:00 +0200 -Subject: [PATCH 27/33] beaglebone: decrease PWM frequency to old value, LCD7 +Subject: [PATCH 27/56] beaglebone: decrease PWM frequency to old value, LCD7 doesn't like it Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 127516f..4d5238d 100644
@@ -23,5 +23,5 @@ index 127516f..4d5238d 100644 #define PWM_DEVICE_ID "ecap.0" -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch +4 -4
@@ -1,12 +1,12 @@ -From 61314ea39f2f7cbf5e72efa93350820b83b95fd9 Mon Sep 17 00:00:00 2001 +From 1ca68f8e87f5825a54c41f5d1fbf90fc2c09496c Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 17 Apr 2012 12:35:01 +0200 -Subject: [PATCH 28/33] beaglebone: fix ehrpwm backlight +Subject: [PATCH 28/56] beaglebone: fix ehrpwm backlight Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 1 + - 1 file changed, 1 insertion(+) + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 4d5238d..24ed0b6 100644
@@ -21,5 +21,5 @@ index 4d5238d..24ed0b6 100644 /* Setup pwm-backlight for bbtoys7lcd */ -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0029-beaglebone-also-report-cape-revision.patch +4 -4
@@ -1,12 +1,12 @@ -From dc1f8ab451ceb72da5d6d2bf8418dc0b0043723c Mon Sep 17 00:00:00 2001 +From 247ab0d5d63145121e94afaee1b221545d37eb20 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Tue, 17 Apr 2012 12:57:38 +0200 -Subject: [PATCH 29/33] beaglebone: also report cape revision +Subject: [PATCH 29/56] beaglebone: also report cape revision Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) + 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 24ed0b6..a4e113c 100644
@@ -32,5 +32,5 @@ index 24ed0b6..a4e113c 100644 pr_info("BeagleBone cape partnumber: %s\n", tmp); -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0030-beaglebone-don-t-compare-undefined-characters-it-mak.patch +4 -4
@@ -1,13 +1,13 @@ -From 7757a6ad6989fc4baeb7fcd8a1784531cdfc76c8 Mon Sep 17 00:00:00 2001 +From e33f195b5e929944ce6934c38a135821f8206a1a Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Thu, 19 Apr 2012 07:55:55 +0200 -Subject: [PATCH 30/33] beaglebone: don't compare undefined characters, it +Subject: [PATCH 30/56] beaglebone: don't compare undefined characters, it makes strncomp fail Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index a4e113c..f2f03b6 100644
@@ -23,5 +23,5 @@ index a4e113c..f2f03b6 100644 dvi_init(0,0); } -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0031-beaglebone-fix-3.5-cape-support.patch +4 -4
@@ -1,12 +1,12 @@ -From 6114856631437ebac4469713e5b7ec2b1094f536 Mon Sep 17 00:00:00 2001 +From 138b017b71191f87a5f00f94995f144e432b8d9f Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Thu, 19 Apr 2012 14:33:53 +0200 -Subject: [PATCH 31/33] beaglebone: fix 3.5" cape support +Subject: [PATCH 31/56] beaglebone: fix 3.5" cape support Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 42 ++++++++++++++++++++++++++++++++- - 1 file changed, 41 insertions(+), 1 deletion(-) + 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index f2f03b6..3adc4ac 100644
@@ -69,5 +69,5 @@ index f2f03b6..3adc4ac 100644 // we are being stupid and setting pixclock from here instead of da8xx-fb.c if (conf_disp_pll(16000000)) { -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch +4 -4
@@ -1,12 +1,12 @@ -From b81fd612ad4d08415df513e2627b35439cd921e5 Mon Sep 17 00:00:00 2001 +From dbae54fe993315205d8415ef78e83f149c829a9b Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Wed, 25 Apr 2012 12:35:07 +0200 -Subject: [PATCH 32/33] beaglebone: connect batterycape GPIO to gpio-charger +Subject: [PATCH 32/56] beaglebone: connect batterycape GPIO to gpio-charger Signed-off-by: Koen Kooi <[email protected]> --- arch/arm/mach-omap2/board-am335xevm.c | 46 ++++++++++++++++++++++++++++++++- - 1 file changed, 45 insertions(+), 1 deletion(-) + 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 3adc4ac..717bb8c 100644
@@ -80,5 +80,5 @@ index 3adc4ac..717bb8c 100644 if (!strncmp("BB-BONE-SERL", cape_config.partnumber, 12)) { -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch +5 -5
@@ -1,12 +1,12 @@ -From 0bed6db60e5a5bf78931b7da0376676a14bfce6f Mon Sep 17 00:00:00 2001 +From 2345361d8188eb3a946f2a0ab9e648eba2cc9c27 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Fri, 4 May 2012 13:19:45 +0200 -Subject: [PATCH 33/33] beaglebone: add support for CAN and RS232 cape +Subject: [PATCH 33/56] beaglebone: add support for CAN and RS232 cape Signed-off-by: Koen Kooi <[email protected]> --- - arch/arm/mach-omap2/board-am335xevm.c | 36 +++++++++++++++++++++++++++------ - 1 file changed, 30 insertions(+), 6 deletions(-) + arch/arm/mach-omap2/board-am335xevm.c | 36 +++++++++++++++++++++++++++----- + 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 717bb8c..6e7b203 100644
@@ -63,5 +63,5 @@ index 717bb8c..6e7b203 100644 } -- -1.7.10 +1.7.7.6
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0034-beaglebone-add-support-for-DVI-rev.-A2-capes.patch +2 -2
@@ -1,7 +1,7 @@ -From b97227a0f246edd115cba03d8509c2b7460a815b Mon Sep 17 00:00:00 2001 +From 64918c14ce7c12660cdf3b7650d6992a4eb7a69e Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Thu, 19 Apr 2012 14:23:06 +0200 -Subject: [PATCH 34/40] beaglebone: add support for DVI rev. A2 capes +Subject: [PATCH 34/56] beaglebone: add support for DVI rev. A2 capes Signed-off-by: Koen Kooi <[email protected]> ---
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0035-beaglebone-enable-LEDs-for-DVI-LCD3-and-LCD7-capes.patch +2 -2
@@ -1,7 +1,7 @@ -From 080d90fddb1c39a5197b56b3aab0a7701adced75 Mon Sep 17 00:00:00 2001 +From 11a78ddde39b0ae90c718b724426e01b6af3f8e1 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Fri, 11 May 2012 13:08:24 +0200 -Subject: [PATCH 35/40] beaglebone: enable LEDs for DVI, LCD3 and LCD7 capes +Subject: [PATCH 35/56] beaglebone: enable LEDs for DVI, LCD3 and LCD7 capes Signed-off-by: Koen Kooi <[email protected]> ---
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0036-Beaglebone-Fixed-compiletime-warnings.patch +2 -2
@@ -1,7 +1,7 @@ -From 8688e4d9d9bdf1a9ff34b77b9a5b5ac22ca1c548 Mon Sep 17 00:00:00 2001 +From b038926e4aa0feeeb20bbcf5bb24765ae40162f5 Mon Sep 17 00:00:00 2001 From: Bas Laarhoven <[email protected]> Date: Sun, 13 May 2012 18:06:24 +0200 -Subject: [PATCH 36/40] Beaglebone: Fixed compiletime warnings. +Subject: [PATCH 36/56] Beaglebone: Fixed compiletime warnings. Signed-off-by: Bas Laarhoven <[email protected]> ---
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0037-Beaglebone-Added-missing-termination-record-to-bone_.patch +2 -2
@@ -1,7 +1,7 @@ -From f1f19044cff0ac6a145c4f14782e4ddb78bb38cb Mon Sep 17 00:00:00 2001 +From 387e0633f95924f2e70dd48651720c6718e0ff2f Mon Sep 17 00:00:00 2001 From: Bas Laarhoven <[email protected]> Date: Sun, 13 May 2012 18:18:52 +0200 -Subject: [PATCH 37/40] Beaglebone: Added missing termination record to +Subject: [PATCH 37/56] Beaglebone: Added missing termination record to bone_pin_mux data. Signed-off-by: Bas Laarhoven <[email protected]>
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch +2 -2
@@ -1,7 +1,7 @@ -From 557ed6bc4850bcb4610ff1b9e024a4fd13785c27 Mon Sep 17 00:00:00 2001 +From adcb99ec934a692e4bdeb993901f5df89188a32c Mon Sep 17 00:00:00 2001 From: Rob Kellett <[email protected]> Date: Mon, 14 May 2012 09:35:35 +0100 -Subject: [PATCH 38/40] board-am335xevm.c: Beaglebone - expose all pwms +Subject: [PATCH 38/56] board-am335xevm.c: Beaglebone - expose all pwms through sysfs ---
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch +2 -2
@@ -1,7 +1,7 @@ -From b8241eee030b29f23a5792de1eec03830699ae98 Mon Sep 17 00:00:00 2001 +From d38171c24019061250e120d554ad89199c58ad53 Mon Sep 17 00:00:00 2001 From: Bas Laarhoven <[email protected]> Date: Sun, 13 May 2012 18:09:57 +0200 -Subject: [PATCH 39/40] ARM: OMAP: Mux: Fixed debugfs mux output (always +Subject: [PATCH 39/56] ARM: OMAP: Mux: Fixed debugfs mux output (always reporting pins as output) Signed-off-by: Bas Laarhoven <[email protected]>
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch +2 -2
@@ -1,7 +1,7 @@ -From d4527038dac639f1066b529cbcc368de91d2f525 Mon Sep 17 00:00:00 2001 +From b42299b9cd05cb162cd2364fa41e7307515b8a55 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Mon, 14 May 2012 14:23:45 +0200 -Subject: [PATCH 40/40] beaglebone: export SPI2 as spidev when no capes are +Subject: [PATCH 40/56] beaglebone: export SPI2 as spidev when no capes are using SPI Signed-off-by: Koen Kooi <[email protected]>
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0041-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch +2 -2
@@ -1,7 +1,7 @@ -From 783a66842e956b2eb9d7dc379848fbf79a370bc8 Mon Sep 17 00:00:00 2001 +From eef1e8089f452606aa32ee57b6a39783bd26e51f Mon Sep 17 00:00:00 2001 From: Matt Porter <[email protected]> Date: Wed, 28 Mar 2012 23:35:44 -0400 -Subject: [PATCH] st7735fb: Working WIP changes to make DMA safe and add +Subject: [PATCH 41/56] st7735fb: Working WIP changes to make DMA safe and add endian fix This removes the "from the stack" allocation of 1 byte buffers
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0042-omap-hwmod-silence-st_shift-error.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-omap-hwmod-silence-st_shift-error.patch +2 -2
@@ -1,7 +1,7 @@ -From 4119ec2ea20b7ae4095049e9f192c751559fbb87 Mon Sep 17 00:00:00 2001 +From 60182b1efd893c0e8c4c6176d2ce0e766d702abb Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Wed, 16 May 2012 17:57:31 +0200 -Subject: [PATCH] omap hwmod: silence st_shift error +Subject: [PATCH 42/56] omap hwmod: silence st_shift error During boot the following error is shown:
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0043-cpsw-phy_device-demote-PHY-message-to-INFO.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-cpws-phy_device-demote-PHY-message-to-INFO.patch +2 -2
@@ -1,7 +1,7 @@ -From 04924dfd0335b8adca0e7783112827df30e70a5f Mon Sep 17 00:00:00 2001 +From e846fa8a57d5f050fdb382e8d5599d9b0341a111 Mon Sep 17 00:00:00 2001 From: Koen Kooi <[email protected]> Date: Thu, 17 May 2012 10:59:18 +0200 -Subject: [PATCH] cpsw,phy_device: demote PHY message to INFO +Subject: [PATCH 43/56] cpsw,phy_device: demote PHY message to INFO This keeps them from appearing on the screen when booting with 'quiet'
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch new file +66 -0
66 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch new file +52 -0
52 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch new file +30 -0
@@ -0,0 +1,30 @@ +From d338dc3eff341be3e3c038e300e1636c1b667b0c Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Fri, 18 May 2012 12:58:16 +0200 +Subject: [PATCH 46/56] beaglebone: add stub for the camera cape to disable + w1-gpio + +Signed-off-by: Koen Kooi <[email protected]> +--- + arch/arm/mach-omap2/board-am335xevm.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c +index 5c89494..ece4e46 100644 +--- a/arch/arm/mach-omap2/board-am335xevm.c ++++ b/arch/arm/mach-omap2/board-am335xevm.c +@@ -2384,6 +2384,11 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context + pr_info("BeagleBone cape: initializing CAN cape\n"); + tt3201_init(0,0); + } ++ ++ if (!strncmp("BB-BONE-CAM-01", cape_config.partnumber, 14)) { ++ pr_info("BeagleBone cape: recognized Camera cape\n"); ++ beaglebone_w1gpio_free = 0; ++ } + + if ((capecount > 3) && (beaglebone_tsadcpins_free == 1)) { + pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch new file +310 -0
310 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch new file +113 -0
113 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch new file +26 -0
@@ -0,0 +1,26 @@ +From b0977ddac55066159dc227585cf6c682fbb8f1a4 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Sat, 19 May 2012 11:29:14 +0200 +Subject: [PATCH 49/56] ts_tscadc: add defines for 4x and 16x oversampling + +Signed-off-by: Koen Kooi <[email protected]> +--- + drivers/input/touchscreen/ti_tscadc.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c +index 4fd2e18..acb62d1 100644 +--- a/drivers/input/touchscreen/ti_tscadc.c ++++ b/drivers/input/touchscreen/ti_tscadc.c +@@ -83,6 +83,8 @@ static DEVICE_ATTR(ain8, S_IRUGO, do_adc_sample, NULL); + #define TSCADC_STEPCONFIG_MODE_SWCONT 0x1 + #define TSCADC_STEPCONFIG_MODE_SWONESHOT 0x0 + #define TSCADC_STEPCONFIG_2SAMPLES_AVG (1 << 4) ++#define TSCADC_STEPCONFIG_4SAMPLES_AVG (1 << 3) ++#define TSCADC_STEPCONFIG_16SAMPLES_AVG (1 << 2) + #define TSCADC_STEPCONFIG_NO_AVG 0 + #define TSCADC_STEPCONFIG_XPP BIT(5) + #define TSCADC_STEPCONFIG_XNN BIT(6) +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch new file +58 -0
58 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 32fc1a1006035b1c05e45e962b89efe7f9c43182 Mon Sep 17 00:00:00 2001 +From: Bas Laarhoven <[email protected]> +Date: Sun, 13 May 2012 18:07:59 +0200 +Subject: [PATCH 51/56] Fixed size of pinmux data array in EEPROM data struct. + +Signed-off-by: Bas Laarhoven <[email protected]> +Signed-off-by: Koen Kooi <[email protected]> +--- + arch/arm/mach-omap2/board-am335xevm.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c +index ece4e46..c6ec997 100644 +--- a/arch/arm/mach-omap2/board-am335xevm.c ++++ b/arch/arm/mach-omap2/board-am335xevm.c +@@ -483,7 +483,7 @@ struct beaglebone_cape_eeprom_config { + char partnumber[16]; + u16 numpins; + char serial[12]; +- u8 muxdata[170]; ++ u16 muxdata[74]; + u16 current_3v3; + u16 current_vdd5v; + u16 current_sys5v; +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch new file +363 -0
363 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch new file +188 -0
188 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch new file +31 -0
@@ -0,0 +1,31 @@ +From bf49a3539e82539d8d347f7d88626c308662ed62 Mon Sep 17 00:00:00 2001 +From: Bas Laarhoven <[email protected]> +Date: Mon, 14 May 2012 14:36:23 +0200 +Subject: [PATCH 54/56] Workaround for boards with (mistaken) ASCII + interpretation for the numpins field. + +Signed-off-by: Koen Kooi <[email protected]> +--- + arch/arm/mach-omap2/board-am335xevm.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c +index d6a607a..0a1738a 100644 +--- a/arch/arm/mach-omap2/board-am335xevm.c ++++ b/arch/arm/mach-omap2/board-am335xevm.c +@@ -2488,6 +2488,12 @@ static void bone_io_config_from_cape_eeprom( void) + u16* pmuxdata; + char status[ NR_ITEMS( cape_config.muxdata) + 1]; + ++ // Workaround for capes that have encoded this as ASCII ++ if (cnt > 256) { ++ pr_info( "BeagleBone cape: workaround for bad 'numpins' setting\n"); ++ cnt = (cape_config.numpins & 255) - '0'; ++ cnt = 10 * cnt + ((cape_config.numpins >> 8) & 255) - '0'; ++ } + pr_info( "BeagleBone cape: configuring %2d out of %2d signals:\n", + cnt, NR_ITEMS( cape_config.muxdata)); + RULER( NR_ITEMS( cape_config.muxdata)); +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 2dc46dbcb68848a670dbe877f954835980cf8d66 Mon Sep 17 00:00:00 2001 +From: Bas Laarhoven <[email protected]> +Date: Mon, 14 May 2012 15:07:43 +0200 +Subject: [PATCH 55/56] Workaround for EEPROM contents blocking further I2C + bus access. + +Signed-off-by: Koen Kooi <[email protected]> +--- + arch/arm/mach-omap2/board-am335xevm.c | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c +index 0a1738a..0fa8a32 100644 +--- a/arch/arm/mach-omap2/board-am335xevm.c ++++ b/arch/arm/mach-omap2/board-am335xevm.c +@@ -2501,7 +2501,10 @@ static void bone_io_config_from_cape_eeprom( void) + const char* pin_name = cape_pins[ i]; + pin_def pin_setting = { .value = BIG_ENDIAN_16( *pmuxdata) }; + +- if (pin_setting.used) { ++ // Detect broken I2C configuration to prevent bus hangup! ++ if (i >= 9 && i <= 10) { ++ status[ i] = '-'; ++ } else if (pin_setting.used) { + switch (bone_io_config_pin( pin_name, pin_setting)) { + case 0: status[ i] = 'i'; break; + case 1: status[ i] = 'o'; break; +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patch new file +60 -0
60 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp_3.2.bb +20 -5
@@ -12,7 +12,7 @@ MULTI_CONFIG_BASE_SUFFIX = "" BRANCH = "v3.2-staging" SRCREV = "720e07b4c1f687b61b147b31c698cb6816d72f01" -MACHINE_KERNEL_PR_append = "l+gitr${SRCREV}" +MACHINE_KERNEL_PR_append = "m+gitr${SRCREV}" COMPATIBLE_MACHINE = "(ti33x)"
@@ -927,6 +927,9 @@ PATCHES_OVER_PSP = " \ file://3.2.16/0067-drm-radeon-fix-load-detect-on-rn50-with-hardcoded-ED.patch \ file://3.2.16/0068-Linux-3.2.16.patch \ file://led/0001-leds-heartbeat-stop-on-shutdown-reboot-or-panic.patch \ + \ + file://beaglebone/0001-arm-boot-compressed-default-asm-arch-to-armv7-a.patch \ + \ file://beaglebone/0001-f_rndis-HACK-around-undefined-variables.patch \ file://beaglebone/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch \ file://beaglebone/0003-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \
@@ -967,8 +970,20 @@ PATCHES_OVER_PSP = " \ file://beaglebone/0038-board-am335xevm.c-Beaglebone-expose-all-pwms-through.patch \ file://beaglebone/0039-ARM-OMAP-Mux-Fixed-debugfs-mux-output-always-reporti.patch \ file://beaglebone/0040-beaglebone-export-SPI2-as-spidev-when-no-capes-are-u.patch \ - file://beaglebone/0043-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch \ - file://beaglebone/0044-omap-hwmod-silence-st_shift-error.patch \ - file://beaglebone/0001-arm-boot-compressed-default-asm-arch-to-armv7-a.patch \ - file://beaglebone/0045-cpws-phy_device-demote-PHY-message-to-INFO.patch \ + file://beaglebone/0041-st7735fb-Working-WIP-changes-to-make-DMA-safe-and-ad.patch \ + file://beaglebone/0042-omap-hwmod-silence-st_shift-error.patch \ + file://beaglebone/0043-cpsw-phy_device-demote-PHY-message-to-INFO.patch \ + file://beaglebone/0044-beaglebone-add-support-for-7-LCD-cape-revision-A2.patch \ + file://beaglebone/0045-beaglebone-allow-capes-to-disable-w1-gpio.patch \ + file://beaglebone/0046-beaglebone-add-stub-for-the-camera-cape-to-disable-w.patch \ + file://beaglebone/0047-Adding-many-of-the-missing-signals-to-the-mux-table.patch \ + file://beaglebone/0048-Fixed-reversed-part-of-LCD-bus.-Added-even-more-miss.patch \ + file://beaglebone/0049-ts_tscadc-add-defines-for-4x-and-16x-oversampling.patch \ + file://beaglebone/0050-ts_tscadc-switch-to-4x-oversampling.patch \ + file://beaglebone/0051-Fixed-size-of-pinmux-data-array-in-EEPROM-data-struc.patch \ + file://beaglebone/0052-Implemented-Bone-Cape-configuration-from-EEPROM.-Onl.patch \ + file://beaglebone/0053-Replaced-conditional-debug-code-by-pr_debug-statemen.patch \ + file://beaglebone/0054-Workaround-for-boards-with-mistaken-ASCII-interpreta.patch \ + file://beaglebone/0055-Workaround-for-EEPROM-contents-blocking-further-I2C-.patch \ + file://beaglebone/0056-Added-check-on-EEPROM-revision-to-prevent-interpreti.patch \ "
Signature · 1 line
1.7.10
PATCH v2 3/3 linux-ti33x-psp 3.2: merge in 6 musb patches from PSP
In reply to Koen KooiUpdating the SRCREV would require redoing all boardfile patches due to the EVM-SK changes. So cherry-pick the 6 patches we need.
--- ...pi41-revisit-the-teardown-path-to-fix-iso.patch | 103 ++++++++++++++++++++ ...musb-fix-bug-in-data-toggle-sw-workaround.patch | 31 ++++++ ...udc-core-stop-UDC-on-device-initiated-dis.patch | 41 ++++++++ ...udc-core-fix-asymmetric-calls-in-remove_d.patch | 43 ++++++++ ...-usb-gadget-udc-core-fix-wrong-call-order.patch | 33 +++++++ ...udc-core-fix-incompatibility-with-dummy-h.patch | 46 +++++++++ recipes-kernel/linux/linux-ti33x-psp_3.2.bb | 8 +- 7 files changed, 304 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0001-usb-musb-cppi41-revisit-the-teardown-path-to-fix-iso.patch create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0002-usb-musb-fix-bug-in-data-toggle-sw-workaround.patch create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0003-usb-gadget-udc-core-stop-UDC-on-device-initiated-dis.patch create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0004-usb-gadget-udc-core-fix-asymmetric-calls-in-remove_d.patch create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0005-usb-gadget-udc-core-fix-wrong-call-order.patch create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0006-usb-gadget-udc-core-fix-incompatibility-with-dummy-h.patch
recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0001-usb-musb-cppi41-revisit-the-teardown-path-to-fix-iso.patch new file +103 -0
@@ -0,0 +1,103 @@ +From c2746810dc7bcaaae2dec493c501eb7213d14858 Mon Sep 17 00:00:00 2001 +From: Ajay Kumar Gupta <[email protected]> +Date: Tue, 8 May 2012 12:05:47 +0530 +Subject: [PATCH 1/6] usb: musb: cppi41: revisit the teardown path to fix isoc + issue + +Fixes the camera streaming issue when application is stopped and restarted multiple times. +Changes: + - Disable DMAReq of TX/RX endpoints before teardown + - FIFO flush only when RxPktRdy is set + - Clear ReqPkt if in host mode. +--- + drivers/usb/musb/cppi41_dma.c | 42 ++++++++++++++++++++++++---------------- + drivers/usb/musb/musb_host.c | 2 +- + 2 files changed, 26 insertions(+), 18 deletions(-) + +diff --git a/drivers/usb/musb/cppi41_dma.c b/drivers/usb/musb/cppi41_dma.c +index e4d3173..4761acd 100644 +--- a/drivers/usb/musb/cppi41_dma.c ++++ b/drivers/usb/musb/cppi41_dma.c +@@ -1206,6 +1206,11 @@ static int cppi41_channel_abort(struct dma_channel *channel) + if (cppi_ch->transmit) { + dprintk("Tx channel teardown, cppi_ch = %p\n", cppi_ch); + ++ /* disable the DMAreq before teardown */ ++ csr = musb_readw(epio, MUSB_TXCSR); ++ csr &= ~MUSB_TXCSR_DMAENAB; ++ musb_writew(epio, MUSB_TXCSR, csr); ++ + /* Tear down Tx DMA channel */ + usb_tx_ch_teardown(cppi_ch); + +@@ -1223,11 +1228,30 @@ static int cppi41_channel_abort(struct dma_channel *channel) + } else { /* Rx */ + dprintk("Rx channel teardown, cppi_ch = %p\n", cppi_ch); + ++ /* disable the DMAreq and remove reqpkt */ ++ csr = musb_readw(epio, MUSB_RXCSR); ++ dev_dbg(musb->controller, ++ "before rx-teardown: rxcsr %x rxcount %x\n", csr, ++ musb_readw(epio, MUSB_RXCOUNT)); ++ ++ /* For host, clear (just) ReqPkt at end of current packet(s) */ ++ if (is_host_active(cppi->musb)) ++ csr &= ~MUSB_RXCSR_H_REQPKT; ++ ++ csr &= ~MUSB_RXCSR_DMAENAB; ++ musb_writew(epio, MUSB_RXCSR, csr); ++ ++ + /* Flush FIFO of the endpoint */ + csr = musb_readw(epio, MUSB_RXCSR); +- csr |= MUSB_RXCSR_FLUSHFIFO | MUSB_RXCSR_H_WZC_BITS; ++ ++ if (csr & MUSB_RXCSR_RXPKTRDY) ++ csr |= MUSB_RXCSR_FLUSHFIFO; ++ ++ csr |= MUSB_RXCSR_H_WZC_BITS; + musb_writew(epio, MUSB_RXCSR, csr); + musb_writew(epio, MUSB_RXCSR, csr); ++ csr = musb_readw(epio, MUSB_RXCSR); + + /* Issue CPPI FIFO teardown for Rx channel */ + td_reg = musb_readl(reg_base, cppi->teardown_reg_offs); +@@ -1246,22 +1270,6 @@ static int cppi41_channel_abort(struct dma_channel *channel) + + /* For host, ensure ReqPkt is never set again */ + cppi41_autoreq_update(cppi_ch, USB_NO_AUTOREQ); +- +- /* For host, clear (just) ReqPkt at end of current packet(s) */ +- if (is_host_active(cppi->musb)) +- csr &= ~MUSB_RXCSR_H_REQPKT; +- csr |= MUSB_RXCSR_H_WZC_BITS; +- +- /* Clear DMA enable */ +- csr &= ~MUSB_RXCSR_DMAENAB; +- musb_writew(epio, MUSB_RXCSR, csr); +- +- /* Flush the FIFO of endpoint once again */ +- csr = musb_readw(epio, MUSB_RXCSR); +- csr |= MUSB_RXCSR_FLUSHFIFO | MUSB_RXCSR_H_WZC_BITS; +- musb_writew(epio, MUSB_RXCSR, csr); +- +- udelay(50); + } + + /* +diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c +index d805d1b..2195633 100644 +--- a/drivers/usb/musb/musb_host.c ++++ b/drivers/usb/musb/musb_host.c +@@ -2224,7 +2224,7 @@ static int musb_cleanup_urb(struct urb *urb, struct musb_qh *qh) + } + + /* turn off DMA requests, discard state, stop polling ... */ +- if (is_in) { ++ if (is_in && ep->epnum) { + /* giveback saves bulk toggle */ + csr = musb_h_flush_rxfifo(ep, 0); + +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0002-usb-musb-fix-bug-in-data-toggle-sw-workaround.patch new file +31 -0
@@ -0,0 +1,31 @@ +From a9e9e758646ee41289c0030645bbdd43c711e9c1 Mon Sep 17 00:00:00 2001 +From: Ajay Kumar Gupta <[email protected]> +Date: Fri, 18 May 2012 14:51:15 +0530 +Subject: [PATCH 2/6] usb: musb: fix bug in data toggle sw workaround + +Data toggle software workaround for extra IN issue introduced a bug for PIO mode +as data toggle is getting updated even for PIO mode which should not be done. + +Merge to: +usb: musb: cppi41: correct data toggle mismatch to fix extra IN token issue +--- + drivers/usb/musb/musb_host.c | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c +index 2195633..80d83bd 100644 +--- a/drivers/usb/musb/musb_host.c ++++ b/drivers/usb/musb/musb_host.c +@@ -359,7 +359,8 @@ static inline void musb_save_toggle(struct musb_qh *qh, int is_in, + curr_toggle = csr ? 1 : 0; + + /* check if data toggle has gone out of sync */ +- if (curr_toggle == qh->hw_ep->prev_toggle) { ++ if (is_dma_capable() && qh->hw_ep->rx_channel && ++ curr_toggle == qh->hw_ep->prev_toggle) { + dev_dbg(musb->controller, + "Data toggle same as previous (=%d) on ep%d\n", + curr_toggle, qh->hw_ep->epnum); +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0003-usb-gadget-udc-core-stop-UDC-on-device-initiated-dis.patch new file +41 -0
41 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0004-usb-gadget-udc-core-fix-asymmetric-calls-in-remove_d.patch new file +43 -0
43 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0005-usb-gadget-udc-core-fix-wrong-call-order.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 7a0dcaac06bfffd4df4bf7a006c601b31acc7cb7 Mon Sep 17 00:00:00 2001 +From: Felipe Balbi <[email protected]> +Date: Fri, 27 Apr 2012 11:02:15 +0300 +Subject: [PATCH 5/6] usb: gadget: udc-core: fix wrong call order + +commit 6d258a4 (usb: gadget: udc-core: stop UDC on device-initiated +disconnect) introduced another case of asymmetric calls when issuing +a device-initiated disconnect. Fix it. + +Reported-by: Ben Hutchings <[email protected]> +Signed-off-by: Felipe Balbi <[email protected]> +--- + drivers/usb/gadget/udc-core.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/usb/gadget/udc-core.c b/drivers/usb/gadget/udc-core.c +index ec02ed0..3ea783d 100644 +--- a/drivers/usb/gadget/udc-core.c ++++ b/drivers/usb/gadget/udc-core.c +@@ -363,9 +363,9 @@ static ssize_t usb_udc_softconn_store(struct device *dev, + usb_gadget_udc_start(udc->gadget, udc->driver); + usb_gadget_connect(udc->gadget); + } else if (sysfs_streq(buf, "disconnect")) { ++ usb_gadget_disconnect(udc->gadget); + if (udc_is_newstyle(udc)) + usb_gadget_udc_stop(udc->gadget, udc->driver); +- usb_gadget_disconnect(udc->gadget); + } else { + dev_err(dev, "unsupported command '%s'\n", buf); + return -EINVAL; +-- +1.7.7.6 +
recipes-kernel/linux/linux-ti33x-psp-3.2/usb/0006-usb-gadget-udc-core-fix-incompatibility-with-dummy-h.patch new file +46 -0
46 lines not on this page · raw message
recipes-kernel/linux/linux-ti33x-psp_3.2.bb +7 -1
@@ -12,7 +12,7 @@ MULTI_CONFIG_BASE_SUFFIX = "" BRANCH = "v3.2-staging" SRCREV = "720e07b4c1f687b61b147b31c698cb6816d72f01" -MACHINE_KERNEL_PR_append = "m+gitr${SRCREV}" +MACHINE_KERNEL_PR_append = "n+gitr${SRCREV}" COMPATIBLE_MACHINE = "(ti33x)"
@@ -29,6 +29,12 @@ do_compile_prepend() { } PATCHES_OVER_PSP = " \ + file://usb/0001-usb-musb-cppi41-revisit-the-teardown-path-to-fix-iso.patch \ + file://usb/0002-usb-musb-fix-bug-in-data-toggle-sw-workaround.patch \ + file://usb/0003-usb-gadget-udc-core-stop-UDC-on-device-initiated-dis.patch \ + file://usb/0004-usb-gadget-udc-core-fix-asymmetric-calls-in-remove_d.patch \ + file://usb/0005-usb-gadget-udc-core-fix-wrong-call-order.patch \ + file://usb/0006-usb-gadget-udc-core-fix-incompatibility-with-dummy-h.patch \ file://3.2.1/0001-MAINTAINERS-stable-Update-address.patch \ file://3.2.1/0002-Documentation-Update-stable-address.patch \ file://3.2.1/0003-firmware-Fix-an-oops-on-reading-fw_priv-fw-in-sysfs-.patch \
Signature · 1 line
1.7.10