diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-09 20:21:24 +0100 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2012-02-10 21:32:46 -0500 |
| commit | 263dac0f942f43b1afe55817f5f12e069f86f957 (patch) | |
| tree | 6d01fbda249393be142a6ad692c8ddd8c8ec94d5 | |
| parent | 2405c4176760e9659d1748362a83ce07d650e495 (diff) | |
| download | meta-ti-263dac0f942f43b1afe55817f5f12e069f86f957.tar.gz | |
linux-ti33x-psp 3.2: rebase patches onto latest v3.2-staging branch
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0002-f_rndis-HACK-around-undefined-variables.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0001-f_rndis-HACK-around-undefined-variables.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch | 30 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0003-da8xx-fb-add-DVI-support-for-beaglebone.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0005-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch) | 77 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch | 92 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0005-more-beaglebone-merges.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0006-more-beaglebone-merges.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0006-beaglebone-disable-tsadc.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch) | 9 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-board-file-mfd-support-fix-warning.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0009-tscadc-Add-board-file-mfd-support-fix-warning.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0009-AM335X-init-tsc-bone-style-for-new-boards.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0010-AM335X-init-tsc-bone-style-for-new-boards.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0010-tscadc-make-stepconfig-channel-configurable.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-make-stepconfig-channel-configurable.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-Trigger-through-sysfs.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0012-tscadc-Trigger-through-sysfs.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0012-meta-ti-Remove-debug-messages-for-meta-ti.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0013-meta-ti-Remove-debug-messages-for-meta-ti.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0013-tscadc-switch-to-polling-instead-of-interrupts.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0014-tscadc-switch-to-polling-instead-of-interrupts.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0014-beaglebone-fix-ADC-init.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0015-beaglebone-fix-ADC-init.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0015-AM335x-MUX-add-ehrpwm1A.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0016-AM335x-MUX-add-ehrpwm1A.patch) | 8 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch) | 11 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch) | 7 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch) | 7 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch) | 7 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch) | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch (renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch) | 32 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp_3.2.bb | 46 |
23 files changed, 146 insertions, 252 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0001-f_rndis-HACK-around-undefined-variables.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0002-f_rndis-HACK-around-undefined-variables.patch index ce08a5d2..997d74bf 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0001-f_rndis-HACK-around-undefined-variables.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0002-f_rndis-HACK-around-undefined-variables.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From b3f548e71f6b8b568e1b683b1585406c942d1d3d Mon Sep 17 00:00:00 2001 | 1 | From ce48c5fa02f48ba304a28209fef934faa99d81f0 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/21] f_rndis: HACK around undefined variables | 4 | Subject: [PATCH 02/21] 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 | --- |
| @@ -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.2.5 | 30 | 1.7.7.4 |
| 31 | 31 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch deleted file mode 100644 index bbcb03b4..00000000 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From 3a58d6b8a90793dd793265b09219871b53aaf63a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Tue, 31 Jan 2012 10:21:32 +0100 | ||
| 4 | Subject: [PATCH 03/21] arm:omap:mux33xx: Add i2c2 pin mux | ||
| 5 | |||
| 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 7 | --- | ||
| 8 | arch/arm/mach-omap2/mux33xx.c | 4 ++-- | ||
| 9 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | ||
| 12 | index 81a657e..36bb10a 100644 | ||
| 13 | --- a/arch/arm/mach-omap2/mux33xx.c | ||
| 14 | +++ b/arch/arm/mach-omap2/mux33xx.c | ||
| 15 | @@ -312,10 +312,10 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | ||
| 16 | "uart0_txd", "spi1_cs1", "d_can0_rx", NULL, | ||
| 17 | NULL, NULL, NULL, "gpio1_11"), | ||
| 18 | _AM33XX_MUXENTRY(UART1_CTSN, 0, | ||
| 19 | - "uart1_ctsn", NULL, NULL, NULL, | ||
| 20 | + "uart1_ctsn", NULL, "d_can0_tx", "i2c2_sda", | ||
| 21 | "spi1_cs0", NULL, NULL, "gpio0_12"), | ||
| 22 | _AM33XX_MUXENTRY(UART1_RTSN, 0, | ||
| 23 | - "uart1_rtsn", NULL, NULL, NULL, | ||
| 24 | + "uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl", | ||
| 25 | "spi1_cs1", NULL, NULL, "gpio0_13"), | ||
| 26 | _AM33XX_MUXENTRY(UART1_RXD, 0, | ||
| 27 | "uart1_rxd", "mmc1_sdwp", NULL, NULL, | ||
| 28 | -- | ||
| 29 | 1.7.2.5 | ||
| 30 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0003-da8xx-fb-add-DVI-support-for-beaglebone.patch index c6a63cca..a7e7486c 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0003-da8xx-fb-add-DVI-support-for-beaglebone.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 72c2e6a521c288a0620f5ec7420f27899d1f519d Mon Sep 17 00:00:00 2001 | 1 | From 1030700d88f2f55dc6116d8112e31df49201c56d 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/21] da8xx-fb: add DVI support for beaglebone | 4 | Subject: [PATCH 03/21] 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 | --- |
| @@ -34,5 +34,5 @@ index 85eda33..dea8936 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.2.5 | 37 | 1.7.7.4 |
| 38 | 38 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0005-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch index ab8b39a5..3519968b 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0005-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch | |||
| @@ -1,14 +1,15 @@ | |||
| 1 | From 788e842835e3ecb2d218ab11381e9c9dea4fa91c Mon Sep 17 00:00:00 2001 | 1 | From 8ec756a80947ee8bb0f24e4016d594f8eb6c2896 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 05/21] beaglebone: rebase everything onto 3.2 - WARNING MEGAPATCH | 4 | Subject: [PATCH 04/21] beaglebone: rebase everything onto 3.2 - WARNING |
| 5 | MEGAPATCH | ||
| 5 | 6 | ||
| 6 | --- | 7 | --- |
| 7 | arch/arm/mach-omap2/board-am335xevm.c | 429 ++++++++++++++++++++++++++++++++- | 8 | arch/arm/mach-omap2/board-am335xevm.c | 425 ++++++++++++++++++++++++++++++++- |
| 8 | 1 files changed, 427 insertions(+), 2 deletions(-) | 9 | 1 files changed, 414 insertions(+), 11 deletions(-) |
| 9 | 10 | ||
| 10 | 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 |
| 11 | index 4c09cc9..e0c20c5 100644 | 12 | index 8aa7e10..e0c20c5 100644 |
| 12 | --- a/arch/arm/mach-omap2/board-am335xevm.c | 13 | --- a/arch/arm/mach-omap2/board-am335xevm.c |
| 13 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | 14 | +++ b/arch/arm/mach-omap2/board-am335xevm.c |
| 14 | @@ -19,6 +19,7 @@ | 15 | @@ -19,6 +19,7 @@ |
| @@ -225,22 +226,19 @@ index 4c09cc9..e0c20c5 100644 | |||
| 225 | {"vrefp.vrefp", OMAP_MUX_MODE0 | AM33XX_INPUT_EN}, | 226 | {"vrefp.vrefp", OMAP_MUX_MODE0 | AM33XX_INPUT_EN}, |
| 226 | {"vrefn.vrefn", OMAP_MUX_MODE0 | AM33XX_INPUT_EN}, | 227 | {"vrefn.vrefn", OMAP_MUX_MODE0 | AM33XX_INPUT_EN}, |
| 227 | {NULL, 0}, | 228 | {NULL, 0}, |
| 228 | @@ -541,6 +718,14 @@ static struct pinmux_config i2c1_pin_mux[] = { | 229 | @@ -543,9 +720,9 @@ static struct pinmux_config i2c1_pin_mux[] = { |
| 229 | {NULL, 0}, | ||
| 230 | }; | ||
| 231 | 230 | ||
| 232 | +static struct pinmux_config i2c2_pin_mux[] = { | 231 | static struct pinmux_config i2c2_pin_mux[] = { |
| 233 | + {"uart1_ctsn.i2c2_sda", OMAP_MUX_MODE3 | AM33XX_SLEWCTRL_SLOW | | 232 | {"uart1_ctsn.i2c2_sda", OMAP_MUX_MODE3 | AM33XX_SLEWCTRL_SLOW | |
| 233 | - AM33XX_PULL_UP | AM33XX_INPUT_EN}, | ||
| 234 | + AM33XX_PIN_INPUT_PULLUP}, | 234 | + AM33XX_PIN_INPUT_PULLUP}, |
| 235 | + {"uart1_rtsn.i2c2_scl", OMAP_MUX_MODE3 | AM33XX_SLEWCTRL_SLOW | | 235 | {"uart1_rtsn.i2c2_scl", OMAP_MUX_MODE3 | AM33XX_SLEWCTRL_SLOW | |
| 236 | - AM33XX_PULL_UP | AM33XX_INPUT_EN}, | ||
| 236 | + AM33XX_PIN_INPUT_PULLUP}, | 237 | + AM33XX_PIN_INPUT_PULLUP}, |
| 237 | + {NULL, 0}, | 238 | {NULL, 0}, |
| 238 | +}; | 239 | }; |
| 239 | + | 240 | |
| 240 | /* Module pin mux for mcasp1 */ | 241 | @@ -823,6 +1000,64 @@ static struct pinmux_config profibus_pin_mux[] = { |
| 241 | static struct pinmux_config mcasp1_pin_mux[] = { | ||
| 242 | {"mii1_crs.mcasp1_aclkx", OMAP_MUX_MODE4 | AM33XX_PIN_INPUT_PULLDOWN}, | ||
| 243 | @@ -815,6 +1000,64 @@ static struct pinmux_config profibus_pin_mux[] = { | ||
| 244 | {NULL, 0}, | 242 | {NULL, 0}, |
| 245 | }; | 243 | }; |
| 246 | 244 | ||
| @@ -305,7 +303,7 @@ index 4c09cc9..e0c20c5 100644 | |||
| 305 | /* Module pin mux for eCAP0 */ | 303 | /* Module pin mux for eCAP0 */ |
| 306 | static struct pinmux_config ecap0_pin_mux[] = { | 304 | static struct pinmux_config ecap0_pin_mux[] = { |
| 307 | {"ecap0_in_pwm0_out.ecap0_in_pwm0_out", | 305 | {"ecap0_in_pwm0_out.ecap0_in_pwm0_out", |
| 308 | @@ -924,6 +1167,51 @@ static void lcdc_init(int evm_id, int profile) | 306 | @@ -932,6 +1167,51 @@ static void lcdc_init(int evm_id, int profile) |
| 309 | return; | 307 | return; |
| 310 | } | 308 | } |
| 311 | 309 | ||
| @@ -357,7 +355,7 @@ index 4c09cc9..e0c20c5 100644 | |||
| 357 | static void tsc_init(int evm_id, int profile) | 355 | static void tsc_init(int evm_id, int profile) |
| 358 | { | 356 | { |
| 359 | int err; | 357 | int err; |
| 360 | @@ -931,16 +1219,48 @@ static void tsc_init(int evm_id, int profile) | 358 | @@ -939,16 +1219,48 @@ static void tsc_init(int evm_id, int profile) |
| 361 | if (gp_evm_revision == GP_EVM_REV_IS_1_1A) { | 359 | if (gp_evm_revision == GP_EVM_REV_IS_1_1A) { |
| 362 | am335x_touchscreen_data.analog_input = 1; | 360 | am335x_touchscreen_data.analog_input = 1; |
| 363 | pr_info("TSC connected to beta GP EVM\n"); | 361 | pr_info("TSC connected to beta GP EVM\n"); |
| @@ -407,7 +405,7 @@ index 4c09cc9..e0c20c5 100644 | |||
| 407 | static void rgmii1_init(int evm_id, int profile) | 405 | static void rgmii1_init(int evm_id, int profile) |
| 408 | { | 406 | { |
| 409 | setup_pin_mux(rgmii1_pin_mux); | 407 | setup_pin_mux(rgmii1_pin_mux); |
| 410 | @@ -1350,6 +1670,106 @@ static void i2c1_init(int evm_id, int profile) | 408 | @@ -1358,18 +1670,106 @@ static void i2c1_init(int evm_id, int profile) |
| 411 | return; | 409 | return; |
| 412 | } | 410 | } |
| 413 | 411 | ||
| @@ -443,7 +441,8 @@ index 4c09cc9..e0c20c5 100644 | |||
| 443 | + pr_info("BeagleBone cape: %s %s\n", manufacturer, name); | 441 | + pr_info("BeagleBone cape: %s %s\n", manufacturer, name); |
| 444 | + snprintf(tmp, sizeof(cape_config.partnumber) + 1, "%s", cape_config.partnumber); | 442 | + snprintf(tmp, sizeof(cape_config.partnumber) + 1, "%s", cape_config.partnumber); |
| 445 | + pr_info("BeagleBone cape partnumber: %s\n", tmp); | 443 | + pr_info("BeagleBone cape partnumber: %s\n", tmp); |
| 446 | + | 444 | |
| 445 | -static struct i2c_board_info am335x_i2c_boardinfo2[] = { | ||
| 447 | + if (!strncmp("BB-BONE-DVID-01", cape_config.partnumber, 5)) { | 446 | + if (!strncmp("BB-BONE-DVID-01", cape_config.partnumber, 5)) { |
| 448 | + pr_info("BeagleBone cape: initializing DVI cape\n"); | 447 | + pr_info("BeagleBone cape: initializing DVI cape\n"); |
| 449 | + dvi_init(0,0); | 448 | + dvi_init(0,0); |
| @@ -500,41 +499,47 @@ index 4c09cc9..e0c20c5 100644 | |||
| 500 | + I2C_BOARD_INFO("24c256", 0x57), | 499 | + I2C_BOARD_INFO("24c256", 0x57), |
| 501 | + .platform_data = &cape_eeprom_info, | 500 | + .platform_data = &cape_eeprom_info, |
| 502 | + }, | 501 | + }, |
| 503 | +}; | 502 | }; |
| 504 | + | 503 | |
| 505 | +static void i2c2_init(int evm_id, int profile) | 504 | static void i2c2_init(int evm_id, int profile) |
| 506 | +{ | 505 | { |
| 506 | - setup_pin_mux(i2c2_pin_mux); | ||
| 507 | - omap_register_i2c_bus(3, 100, am335x_i2c_boardinfo2, | ||
| 508 | - ARRAY_SIZE(am335x_i2c_boardinfo2)); | ||
| 509 | - return; | ||
| 507 | + setup_pin_mux(i2c2_pin_mux); | 510 | + setup_pin_mux(i2c2_pin_mux); |
| 508 | + omap_register_i2c_bus(3, 100, cape_i2c_boardinfo, | 511 | + omap_register_i2c_bus(3, 100, cape_i2c_boardinfo, |
| 509 | + ARRAY_SIZE(cape_i2c_boardinfo)); | 512 | + ARRAY_SIZE(cape_i2c_boardinfo)); |
| 510 | + return; | 513 | + return; |
| 511 | +} | 514 | } |
| 512 | + | 515 | |
| 513 | + | 516 | + |
| 514 | /* Setup McASP 1 */ | 517 | /* Setup McASP 1 */ |
| 515 | static void mcasp1_init(int evm_id, int profile) | 518 | static void mcasp1_init(int evm_id, int profile) |
| 516 | { | 519 | { |
| 517 | @@ -1703,7 +2123,9 @@ static struct evm_dev_cfg beaglebone_old_dev_cfg[] = { | 520 | @@ -1723,8 +2123,9 @@ static struct evm_dev_cfg beaglebone_old_dev_cfg[] = { |
| 518 | {rmii1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 521 | {rmii1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 519 | {usb0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 522 | {usb0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 520 | {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 523 | {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 521 | + {i2c2_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 524 | - {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 522 | {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 525 | {i2c2_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 526 | + {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | ||
| 523 | + {boneleds_init, DEV_ON_BASEBOARD, PROFILE_ALL}, | 527 | + {boneleds_init, DEV_ON_BASEBOARD, PROFILE_ALL}, |
| 524 | {NULL, 0, 0}, | 528 | {NULL, 0, 0}, |
| 525 | }; | 529 | }; |
| 526 | 530 | ||
| 527 | @@ -1713,7 +2135,9 @@ static struct evm_dev_cfg beaglebone_dev_cfg[] = { | 531 | @@ -1734,8 +2135,9 @@ static struct evm_dev_cfg beaglebone_dev_cfg[] = { |
| 528 | {mii1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 532 | {mii1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 529 | {usb0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 533 | {usb0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 530 | {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 534 | {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 531 | + {i2c2_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 535 | - {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 532 | {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | 536 | {i2c2_init, DEV_ON_BASEBOARD, PROFILE_NONE}, |
| 537 | + {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE}, | ||
| 533 | + {boneleds_init, DEV_ON_BASEBOARD, PROFILE_ALL}, | 538 | + {boneleds_init, DEV_ON_BASEBOARD, PROFILE_ALL}, |
| 534 | {NULL, 0, 0}, | 539 | {NULL, 0, 0}, |
| 535 | }; | 540 | }; |
| 536 | 541 | ||
| 537 | @@ -1800,6 +2224,7 @@ static void setup_beaglebone_old(void) | 542 | @@ -1822,6 +2224,7 @@ static void setup_beaglebone_old(void) |
| 538 | static void setup_beaglebone(void) | 543 | static void setup_beaglebone(void) |
| 539 | { | 544 | { |
| 540 | pr_info("The board is a AM335x Beaglebone.\n"); | 545 | pr_info("The board is a AM335x Beaglebone.\n"); |
| @@ -543,5 +548,5 @@ index 4c09cc9..e0c20c5 100644 | |||
| 543 | /* Beagle Bone has Micro-SD slot which doesn't have Write Protect pin */ | 548 | /* Beagle Bone has Micro-SD slot which doesn't have Write Protect pin */ |
| 544 | am335x_mmc[0].gpio_wp = -EINVAL; | 549 | am335x_mmc[0].gpio_wp = -EINVAL; |
| 545 | -- | 550 | -- |
| 546 | 1.7.2.5 | 551 | 1.7.7.4 |
| 547 | 552 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch deleted file mode 100644 index bb2871b8..00000000 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch +++ /dev/null | |||
| @@ -1,92 +0,0 @@ | |||
| 1 | From 4ed424e6817669025702b1ea5bfa6b798a811b6d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Wed, 16 Nov 2011 07:23:37 -0600 | ||
| 4 | Subject: [PATCH 04/21] omap:hwmod:33xx: Add support for third i2c bus | ||
| 5 | |||
| 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 7 | --- | ||
| 8 | arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 54 ++++++++++++++++++++++++++++ | ||
| 9 | 1 files changed, 54 insertions(+), 0 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c | ||
| 12 | index 9b15ffe..f9b91fa 100644 | ||
| 13 | --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c | ||
| 14 | +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c | ||
| 15 | @@ -62,6 +62,7 @@ static struct omap_hwmod am33xx_gpio2_hwmod; | ||
| 16 | static struct omap_hwmod am33xx_gpio3_hwmod; | ||
| 17 | static struct omap_hwmod am33xx_i2c1_hwmod; | ||
| 18 | static struct omap_hwmod am33xx_i2c2_hwmod; | ||
| 19 | +static struct omap_hwmod am33xx_i2c3_hwmod; | ||
| 20 | static struct omap_hwmod am33xx_usbss_hwmod; | ||
| 21 | static struct omap_hwmod am33xx_mmc0_hwmod; | ||
| 22 | static struct omap_hwmod am33xx_mmc1_hwmod; | ||
| 23 | @@ -1084,6 +1085,58 @@ static struct omap_hwmod am33xx_i2c2_hwmod = { | ||
| 24 | .class = &i2c_class, | ||
| 25 | }; | ||
| 26 | |||
| 27 | +/* i2c3 */ | ||
| 28 | +/* l4 per -> i2c3 */ | ||
| 29 | +static struct omap_hwmod_addr_space am33xx_i2c3_addr_space[] = { | ||
| 30 | + { | ||
| 31 | + .pa_start = AM33XX_I2C2_BASE, | ||
| 32 | + .pa_end = AM33XX_I2C2_BASE + SZ_4K - 1, | ||
| 33 | + .flags = ADDR_TYPE_RT | ||
| 34 | + }, | ||
| 35 | + { } | ||
| 36 | +}; | ||
| 37 | + | ||
| 38 | +static struct omap_hwmod_ocp_if am335_l4_per_i2c3 = { | ||
| 39 | + .master = &am33xx_l4per_hwmod, | ||
| 40 | + .slave = &am33xx_i2c3_hwmod, | ||
| 41 | + .addr = am33xx_i2c3_addr_space, | ||
| 42 | + .user = OCP_USER_MPU, | ||
| 43 | +}; | ||
| 44 | + | ||
| 45 | +static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = { | ||
| 46 | + { .irq = AM33XX_IRQ_MSHSI2COCP2 }, | ||
| 47 | + { .irq = -1 } | ||
| 48 | +}; | ||
| 49 | + | ||
| 50 | +static struct omap_hwmod_dma_info i2c3_edma_reqs[] = { | ||
| 51 | + { .name = "tx", .dma_req = 0, }, | ||
| 52 | + { .name = "rx", .dma_req = 0, }, | ||
| 53 | + { .dma_req = -1 } | ||
| 54 | +}; | ||
| 55 | + | ||
| 56 | +static struct omap_hwmod_ocp_if *am33xx_i2c3_slaves[] = { | ||
| 57 | + &am335_l4_per_i2c3, | ||
| 58 | +}; | ||
| 59 | + | ||
| 60 | +static struct omap_hwmod am33xx_i2c3_hwmod = { | ||
| 61 | + .name = "i2c3", | ||
| 62 | + .mpu_irqs = i2c3_mpu_irqs, | ||
| 63 | + .sdma_reqs = i2c3_edma_reqs, | ||
| 64 | + .main_clk = "i2c3_fck", | ||
| 65 | + .clkdm_name = "l4ls_clkdm", | ||
| 66 | + .prcm = { | ||
| 67 | + .omap4 = { | ||
| 68 | + .clkctrl_offs = AM33XX_CM_PER_I2C2_CLKCTRL_OFFSET, | ||
| 69 | + .modulemode = MODULEMODE_SWCTRL, | ||
| 70 | + }, | ||
| 71 | + }, | ||
| 72 | + .flags = HWMOD_16BIT_REG, | ||
| 73 | + .dev_attr = &i2c_dev_attr, | ||
| 74 | + .slaves = am33xx_i2c3_slaves, | ||
| 75 | + .slaves_cnt = ARRAY_SIZE(am33xx_i2c3_slaves), | ||
| 76 | + .class = &i2c_class, | ||
| 77 | +}; | ||
| 78 | + | ||
| 79 | /* 'icss' class */ | ||
| 80 | static struct omap_hwmod_class am33xx_icss_hwmod_class = { | ||
| 81 | .name = "icss", | ||
| 82 | @@ -3001,6 +3054,7 @@ static __initdata struct omap_hwmod *am33xx_hwmods[] = { | ||
| 83 | /* i2c class */ | ||
| 84 | &am33xx_i2c1_hwmod, | ||
| 85 | &am33xx_i2c2_hwmod, | ||
| 86 | + &am33xx_i2c3_hwmod, | ||
| 87 | /* icss class */ | ||
| 88 | &am33xx_icss_hwmod, | ||
| 89 | /* ieee5000 class */ | ||
| 90 | -- | ||
| 91 | 1.7.2.5 | ||
| 92 | |||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0006-more-beaglebone-merges.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0005-more-beaglebone-merges.patch index 04f9e2b4..80ec68b5 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0006-more-beaglebone-merges.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0005-more-beaglebone-merges.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 2e5a948c8a5bcd6ac904ec5e6feb44eaa8085dce Mon Sep 17 00:00:00 2001 | 1 | From 723b8183fe5fbd584eabed3e88557ac7f76f2703 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 06/21] more beaglebone merges | 4 | Subject: [PATCH 05/21] 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 | --- |
| @@ -121,5 +121,5 @@ index e0c20c5..177ab9e 100644 | |||
| 121 | } else if (!strncmp("1.0", config.version, 3)) { | 121 | } else if (!strncmp("1.0", config.version, 3)) { |
| 122 | gp_evm_revision = GP_EVM_REV_IS_1_0; | 122 | gp_evm_revision = GP_EVM_REV_IS_1_0; |
| 123 | -- | 123 | -- |
| 124 | 1.7.2.5 | 124 | 1.7.7.4 |
| 125 | 125 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0006-beaglebone-disable-tsadc.patch index af37d280..6a0d4198 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0006-beaglebone-disable-tsadc.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 418ca67a6e1bc3009b63587b0d65d064fa9c6e1a Mon Sep 17 00:00:00 2001 | 1 | From b424eb3338204b799bd49a490c90d0ebbe7b77cb 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 07/21] beaglebone: disable tsadc | 4 | Subject: [PATCH 06/21] 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 | --- |
| @@ -27,5 +27,5 @@ index 177ab9e..87ccf14 100644 | |||
| 27 | 27 | ||
| 28 | static struct platform_device tsc_device = { | 28 | static struct platform_device tsc_device = { |
| 29 | -- | 29 | -- |
| 30 | 1.7.2.5 | 30 | 1.7.7.4 |
| 31 | 31 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch index bff0cbf6..ede104c7 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | From 0a97d120ca4b129c763c420b4c85e71f68286704 Mon Sep 17 00:00:00 2001 | 1 | From c733e3990004292c4e144c78a77bd279b7e140be 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 08/21] tscadc: Add general purpose mode, untested with touchscreen functionality | 4 | Subject: [PATCH 07/21] tscadc: Add general purpose mode, untested with |
| 5 | touchscreen functionality | ||
| 5 | 6 | ||
| 6 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> | 7 | Signed-off-by: Joel A Fernandes <joelagnel@ti.com> |
| 7 | 8 | ||
| @@ -38,7 +39,7 @@ index 87ccf14..c7bb091 100644 | |||
| 38 | }; | 39 | }; |
| 39 | 40 | ||
| 40 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | 41 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c |
| 41 | index 36bb10a..e4cd407 100644 | 42 | index 8df8fa9..14ef129 100644 |
| 42 | --- a/arch/arm/mach-omap2/mux33xx.c | 43 | --- a/arch/arm/mach-omap2/mux33xx.c |
| 43 | +++ b/arch/arm/mach-omap2/mux33xx.c | 44 | +++ b/arch/arm/mach-omap2/mux33xx.c |
| 44 | @@ -584,6 +584,18 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | 45 | @@ -584,6 +584,18 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { |
| @@ -406,5 +407,5 @@ index 2c547bb..850cd4b 100644 | |||
| 406 | + int mode; | 407 | + int mode; |
| 407 | }; | 408 | }; |
| 408 | -- | 409 | -- |
| 409 | 1.7.2.5 | 410 | 1.7.7.4 |
| 410 | 411 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0009-tscadc-Add-board-file-mfd-support-fix-warning.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-board-file-mfd-support-fix-warning.patch index 3cfb7332..78b6fa68 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0009-tscadc-Add-board-file-mfd-support-fix-warning.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-board-file-mfd-support-fix-warning.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 7858340efc39a1b098e3d291ab8bb1ba553e08da Mon Sep 17 00:00:00 2001 | 1 | From 4c5e21f822dc058eb63b45300037759f485df6b6 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 09/21] tscadc: Add board file mfd support, fix warning | 4 | Subject: [PATCH 08/21] 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 699503d..f813564 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.2.5 | 43 | 1.7.7.4 |
| 44 | 44 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0010-AM335X-init-tsc-bone-style-for-new-boards.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0009-AM335X-init-tsc-bone-style-for-new-boards.patch index 72f0290c..04ed3b9a 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0010-AM335X-init-tsc-bone-style-for-new-boards.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0009-AM335X-init-tsc-bone-style-for-new-boards.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From a43c57a49ba30d4bb6087a6bb4f6200c785905c5 Mon Sep 17 00:00:00 2001 | 1 | From 79d0c41d98e7121ff7278b79ff57b0de8a0c9377 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 10/21] AM335X: init tsc bone style for new boards | 4 | Subject: [PATCH 09/21] 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 | --- |
| @@ -22,5 +22,5 @@ index 17705b3..ac4f78f 100644 | |||
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | -- | 24 | -- |
| 25 | 1.7.2.5 | 25 | 1.7.7.4 |
| 26 | 26 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-make-stepconfig-channel-configurable.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0010-tscadc-make-stepconfig-channel-configurable.patch index bf5d08f4..ed243c78 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-make-stepconfig-channel-configurable.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0010-tscadc-make-stepconfig-channel-configurable.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 6fdcca153f70cad5438d682987d6eae16aeb2ea7 Mon Sep 17 00:00:00 2001 | 1 | From 1588794b88cf7de787433f23d1fff8053a163f74 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 11/21] tscadc: make stepconfig channel-configurable | 4 | Subject: [PATCH 10/21] 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 | --- |
| @@ -42,5 +42,5 @@ index f813564..0b91bdc 100644 | |||
| 42 | irqenable = TSCADC_IRQENB_FIFO0THRES; | 42 | irqenable = TSCADC_IRQENB_FIFO0THRES; |
| 43 | } | 43 | } |
| 44 | -- | 44 | -- |
| 45 | 1.7.2.5 | 45 | 1.7.7.4 |
| 46 | 46 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0012-tscadc-Trigger-through-sysfs.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-Trigger-through-sysfs.patch index 4daca0ab..dad8caa2 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0012-tscadc-Trigger-through-sysfs.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-Trigger-through-sysfs.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From aa9aa700a94ecef9726c46346a9503d473894f75 Mon Sep 17 00:00:00 2001 | 1 | From 0b3d50a459b9414aa57739f8595ccfb7808f2db4 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 12/21] tscadc: Trigger through sysfs | 4 | Subject: [PATCH 11/21] 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 | ||
| @@ -143,5 +143,5 @@ index 850cd4b..fc239c6 100644 | |||
| 143 | #define TI_TSCADC_TSCMODE 0 | 143 | #define TI_TSCADC_TSCMODE 0 |
| 144 | #define TI_TSCADC_GENMODE 1 | 144 | #define TI_TSCADC_GENMODE 1 |
| 145 | -- | 145 | -- |
| 146 | 1.7.2.5 | 146 | 1.7.7.4 |
| 147 | 147 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0013-meta-ti-Remove-debug-messages-for-meta-ti.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0012-meta-ti-Remove-debug-messages-for-meta-ti.patch index 78691be7..4890adff 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0013-meta-ti-Remove-debug-messages-for-meta-ti.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0012-meta-ti-Remove-debug-messages-for-meta-ti.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From a0828509fefd049bc014e850366f6e39196e4e2f Mon Sep 17 00:00:00 2001 | 1 | From 51a1a0fe527d34be13d788bc50063127b9bcbe25 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 13/21] meta-ti: Remove debug messages for meta-ti | 4 | Subject: [PATCH 12/21] 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 | --- |
| @@ -30,5 +30,5 @@ index a74d9ba..1f9cbf5 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.2.5 | 33 | 1.7.7.4 |
| 34 | 34 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0014-tscadc-switch-to-polling-instead-of-interrupts.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0013-tscadc-switch-to-polling-instead-of-interrupts.patch index 38cc4144..2dd73866 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0014-tscadc-switch-to-polling-instead-of-interrupts.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0013-tscadc-switch-to-polling-instead-of-interrupts.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 55f39df40bf9efe2576f39e8c0bd0e1390145b46 Mon Sep 17 00:00:00 2001 | 1 | From 888913aadadaccf759c4d1fc7c329243764012f1 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 14/21] tscadc: switch to polling instead of interrupts | 4 | Subject: [PATCH 13/21] 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 | --- |
| @@ -50,5 +50,5 @@ index 1f9cbf5..8e2a994 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.2.5 | 53 | 1.7.7.4 |
| 54 | 54 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0015-beaglebone-fix-ADC-init.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0014-beaglebone-fix-ADC-init.patch index 47f89dba..cf3bee65 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0015-beaglebone-fix-ADC-init.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0014-beaglebone-fix-ADC-init.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From baaf9182087ab02092c028f9a7d0c8a89c9cd4e2 Mon Sep 17 00:00:00 2001 | 1 | From 7bb1a67ac428c3a5b13411972bb74c0071eaa0d1 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 15/21] beaglebone: fix ADC init | 4 | Subject: [PATCH 14/21] 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 | --- |
| @@ -43,5 +43,5 @@ index ac4f78f..177ab9e 100644 | |||
| 43 | }; | 43 | }; |
| 44 | 44 | ||
| 45 | -- | 45 | -- |
| 46 | 1.7.2.5 | 46 | 1.7.7.4 |
| 47 | 47 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0016-AM335x-MUX-add-ehrpwm1A.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0015-AM335x-MUX-add-ehrpwm1A.patch index fca0fdf7..24f5658e 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0016-AM335x-MUX-add-ehrpwm1A.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0015-AM335x-MUX-add-ehrpwm1A.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 8fc518e3bc8d60b01f1d94942bd733cebb9a0a0e Mon Sep 17 00:00:00 2001 | 1 | From a6b5dbf7cd70d996f7d8a058633efc69bc5248e1 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 16/21] AM335x: MUX: add ehrpwm1A | 4 | Subject: [PATCH 15/21] 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 | --- |
| @@ -9,7 +9,7 @@ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | |||
| 9 | 1 files changed, 1 insertions(+), 1 deletions(-) | 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 e4cd407..0a06241 100644 | 12 | index 14ef129..fcb81ec 100644 |
| 13 | --- a/arch/arm/mach-omap2/mux33xx.c | 13 | --- a/arch/arm/mach-omap2/mux33xx.c |
| 14 | +++ b/arch/arm/mach-omap2/mux33xx.c | 14 | +++ b/arch/arm/mach-omap2/mux33xx.c |
| 15 | @@ -85,7 +85,7 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | 15 | @@ -85,7 +85,7 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { |
| @@ -22,5 +22,5 @@ index e4cd407..0a06241 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.2.5 | 25 | 1.7.7.4 |
| 26 | 26 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch index b21c0ed6..f3c93f46 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | From cf8d37c600dbe0d13e55874db46d385db435d6dc Mon Sep 17 00:00:00 2001 | 1 | From 69cea1f60bd1b22f382093feabf7fdec69f10f70 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 17/21] beaglebone: enable PWM for lcd backlight <- backlight is inverted | 4 | Subject: [PATCH 16/21] beaglebone: enable PWM for lcd backlight <- backlight |
| 5 | is inverted | ||
| 5 | 6 | ||
| 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
| 7 | --- | 8 | --- |
| @@ -137,10 +138,10 @@ index 177ab9e..6a77194 100644 | |||
| 137 | } | 138 | } |
| 138 | 139 | ||
| 139 | diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c | 140 | diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c |
| 140 | index 4b137e9..33291ae 100644 | 141 | index 198df7b..8cd2523 100644 |
| 141 | --- a/arch/arm/mach-omap2/devices.c | 142 | --- a/arch/arm/mach-omap2/devices.c |
| 142 | +++ b/arch/arm/mach-omap2/devices.c | 143 | +++ b/arch/arm/mach-omap2/devices.c |
| 143 | @@ -1277,6 +1277,19 @@ void register_ehrpwm(int max_freq) | 144 | @@ -1278,6 +1278,19 @@ void register_ehrpwm(int max_freq) |
| 144 | platform_device_register(&am335x_epwm2_device); | 145 | platform_device_register(&am335x_epwm2_device); |
| 145 | } | 146 | } |
| 146 | 147 | ||
| @@ -172,5 +173,5 @@ index e086839..5161eb4 100644 | |||
| 172 | 173 | ||
| 173 | #endif | 174 | #endif |
| 174 | -- | 175 | -- |
| 175 | 1.7.2.5 | 176 | 1.7.7.4 |
| 176 | 177 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch index edd293e7..786ed1c7 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | From 05698cd9793d58226c5d5a986537aaf906433851 Mon Sep 17 00:00:00 2001 | 1 | From 1e36791b2e956275e4165928fb0c65908029a693 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 18/21] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts | 4 | Subject: [PATCH 17/21] omap_hsmmc: Set dto to max value of 14 to avoid SD |
| 5 | Card timeouts | ||
| 5 | 6 | ||
| 6 | 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 |
| 7 | to set dto to 14 by Jason Kridner and Steven Kipisz | 8 | to set dto to 14 by Jason Kridner and Steven Kipisz |
| @@ -29,5 +30,5 @@ index 703013c..554237f 100644 | |||
| 29 | reg |= dto << DTO_SHIFT; | 30 | reg |= dto << DTO_SHIFT; |
| 30 | OMAP_HSMMC_WRITE(host->base, SYSCTL, reg); | 31 | OMAP_HSMMC_WRITE(host->base, SYSCTL, reg); |
| 31 | -- | 32 | -- |
| 32 | 1.7.2.5 | 33 | 1.7.7.4 |
| 33 | 34 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch index 878bc224..39052cd9 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | From 29f8dc540ea4b5ad963be07555d6ce9906b54dd4 Mon Sep 17 00:00:00 2001 | 1 | From 27e32a289edc6da85dbaa94926f3bbdd55185340 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 19/21] beaglebone: set default brightness to 50% for pwm backlights | 4 | Subject: [PATCH 18/21] beaglebone: set default brightness to 50% for pwm |
| 5 | backlights | ||
| 5 | 6 | ||
| 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
| 7 | --- | 8 | --- |
| @@ -22,5 +23,5 @@ index 6a77194..c31c0aa 100644 | |||
| 22 | 23 | ||
| 23 | #define PWM_DEVICE_ID "ecap.0" | 24 | #define PWM_DEVICE_ID "ecap.0" |
| 24 | -- | 25 | -- |
| 25 | 1.7.2.5 | 26 | 1.7.7.4 |
| 26 | 27 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch index be807d92..e93bed3f 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | From 4f8bf35db23976bbc4705ba57ae9e0df4b8442ab Mon Sep 17 00:00:00 2001 | 1 | From aba244518f8afad62e0113cc7f08fbf27d7a2c34 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 20/21] st7735fb: WIP framebuffer driver supporting Adafruit 1.8" SPI LCD | 4 | Subject: [PATCH 19/21] st7735fb: WIP framebuffer driver supporting Adafruit |
| 5 | 1.8" SPI LCD | ||
| 5 | 6 | ||
| 6 | Signed-off-by: Matt Porter <mporter@ti.com> | 7 | Signed-off-by: Matt Porter <mporter@ti.com> |
| 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 8 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
| @@ -663,5 +664,5 @@ index 0000000..250f036 | |||
| 663 | + | 664 | + |
| 664 | + | 665 | + |
| 665 | -- | 666 | -- |
| 666 | 1.7.2.5 | 667 | 1.7.7.4 |
| 667 | 668 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch index fa4aaa31..568b2418 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 4428744c852ed5f9d5a7dfa9c5d0a783e6134582 Mon Sep 17 00:00:00 2001 | 1 | From b3a428ac863b594fc5538d94e6d706b230a29da7 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 21/21] beaglebone: use P8_6 (gpio1_3) as w1 bus | 4 | Subject: [PATCH 20/21] 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 | --- |
| @@ -79,5 +79,5 @@ index c31c0aa..538466d 100644 | |||
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | -- | 81 | -- |
| 82 | 1.7.2.5 | 82 | 1.7.7.4 |
| 83 | 83 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch index 086ace97..2c1c40c5 100644 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch | |||
| @@ -1,15 +1,15 @@ | |||
| 1 | From af31b4d5a2d52284b169633b9a601c39c7300300 Mon Sep 17 00:00:00 2001 | 1 | From 7a669d97dae9aa8b7404a9dbe6d559c422971566 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 22/22] beaglebone: add support for Towertech TT3201 CAN cape | 4 | Subject: [PATCH 21/21] 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 | 4 +- | 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, 96 insertions(+), 17 deletions(-) | 12 | 4 files changed, 98 insertions(+), 19 deletions(-) |
| 13 | 13 | ||
| 14 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | 14 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c |
| 15 | index 538466d..36efca1 100644 | 15 | index 538466d..36efca1 100644 |
| @@ -98,19 +98,27 @@ index 538466d..36efca1 100644 | |||
| 98 | pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); | 98 | pr_info("BeagleBone cape: exporting ADC pins to sysfs\n"); |
| 99 | bone_tsc_init(0,0); | 99 | bone_tsc_init(0,0); |
| 100 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c | 100 | diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c |
| 101 | index 0a06241..e4f3bd9 100644 | 101 | index fcb81ec..2de76e3 100644 |
| 102 | --- a/arch/arm/mach-omap2/mux33xx.c | 102 | --- a/arch/arm/mach-omap2/mux33xx.c |
| 103 | +++ b/arch/arm/mach-omap2/mux33xx.c | 103 | +++ b/arch/arm/mach-omap2/mux33xx.c |
| 104 | @@ -318,10 +318,10 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { | 104 | @@ -312,16 +312,16 @@ static struct omap_mux __initdata am33xx_muxmodes[] = { |
| 105 | "uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl", | 105 | "uart0_txd", "spi1_cs1", "d_can0_rx", "i2c2_scl", |
| 106 | NULL, NULL, NULL, "gpio1_11"), | ||
| 107 | _AM33XX_MUXENTRY(UART1_CTSN, 0, | ||
| 108 | - "uart1_ctsn", NULL, NULL, "i2c2_sda", | ||
| 109 | + "uart1_ctsn", NULL, "d_can0_tx", "i2c2_sda", | ||
| 110 | "spi1_cs0", NULL, NULL, "gpio0_12"), | ||
| 111 | _AM33XX_MUXENTRY(UART1_RTSN, 0, | ||
| 112 | - "uart1_rtsn", NULL, NULL, "i2c2_scl", | ||
| 113 | + "uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl", | ||
| 106 | "spi1_cs1", NULL, NULL, "gpio0_13"), | 114 | "spi1_cs1", NULL, NULL, "gpio0_13"), |
| 107 | _AM33XX_MUXENTRY(UART1_RXD, 0, | 115 | _AM33XX_MUXENTRY(UART1_RXD, 0, |
| 108 | - "uart1_rxd", "mmc1_sdwp", NULL, NULL, | 116 | - "uart1_rxd", "mmc1_sdwp", NULL, "i2c1_sda", |
| 109 | + "uart1_rxd", "mmc1_sdwp", "d_can1_tx", NULL, | 117 | + "uart1_rxd", "mmc1_sdwp", "d_can1_tx", "i2c1_sda", |
| 110 | NULL, "pr1_uart0_rxd_mux1", NULL, "gpio0_14"), | 118 | NULL, "pr1_uart0_rxd_mux1", NULL, "gpio0_14"), |
| 111 | _AM33XX_MUXENTRY(UART1_TXD, 0, | 119 | _AM33XX_MUXENTRY(UART1_TXD, 0, |
| 112 | - "uart1_txd", "mmc2_sdwp", NULL, NULL, | 120 | - "uart1_txd", "mmc2_sdwp", NULL, "i2c1_scl", |
| 113 | + "uart1_txd", "mmc2_sdwp", "d_can1_rx", NULL, | 121 | + "uart1_txd", "mmc2_sdwp", "d_can1_rx", "i2c1_scl", |
| 114 | NULL, "pr1_uart0_txd_mux1", NULL, "gpio0_15"), | 122 | NULL, "pr1_uart0_txd_mux1", NULL, "gpio0_15"), |
| 115 | _AM33XX_MUXENTRY(I2C0_SDA, 0, | 123 | _AM33XX_MUXENTRY(I2C0_SDA, 0, |
| 116 | "i2c0_sda", NULL, NULL, NULL, | 124 | "i2c0_sda", NULL, NULL, NULL, |
| @@ -308,5 +316,5 @@ index 330140e..b3e231c 100644 | |||
| 308 | } | 316 | } |
| 309 | error_probe: | 317 | error_probe: |
| 310 | -- | 318 | -- |
| 311 | 1.7.2.5 | 319 | 1.7.7.4 |
| 312 | 320 | ||
diff --git a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb index 682fa8cd..a25d5037 100644 --- a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb +++ b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb | |||
| @@ -10,8 +10,8 @@ S = "${WORKDIR}/git" | |||
| 10 | MULTI_CONFIG_BASE_SUFFIX = "" | 10 | MULTI_CONFIG_BASE_SUFFIX = "" |
| 11 | 11 | ||
| 12 | BRANCH = "v3.2-staging" | 12 | BRANCH = "v3.2-staging" |
| 13 | SRCREV = "83d907e1b05dabc44f3bb64532d7b58d059a14c0" | 13 | SRCREV = "21ef5e1fa530eb8f23bfe18650e3915d7c291ca9" |
| 14 | MACHINE_KERNEL_PR_append = "d+gitr${SRCREV}" | 14 | MACHINE_KERNEL_PR_append = "e+gitr${SRCREV}" |
| 15 | 15 | ||
| 16 | COMPATIBLE_MACHINE = "(ti33x)" | 16 | COMPATIBLE_MACHINE = "(ti33x)" |
| 17 | 17 | ||
| @@ -25,28 +25,26 @@ SRC_URI += "git://arago-project.org/git/projects/linux-am33x.git;protocol=http;b | |||
| 25 | file://defconfig" | 25 | file://defconfig" |
| 26 | 26 | ||
| 27 | PATCHES_OVER_PSP = " \ | 27 | PATCHES_OVER_PSP = " \ |
| 28 | file://0001-f_rndis-HACK-around-undefined-variables.patch \ | 28 | file://0002-f_rndis-HACK-around-undefined-variables.patch \ |
| 29 | file://0002-da8xx-fb-add-DVI-support-for-beaglebone.patch \ | 29 | file://0003-da8xx-fb-add-DVI-support-for-beaglebone.patch \ |
| 30 | file://0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch \ | 30 | file://0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \ |
| 31 | file://0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch \ | 31 | file://0005-more-beaglebone-merges.patch \ |
| 32 | file://0005-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \ | 32 | file://0006-beaglebone-disable-tsadc.patch \ |
| 33 | file://0006-more-beaglebone-merges.patch \ | 33 | file://0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch \ |
| 34 | file://0007-beaglebone-disable-tsadc.patch \ | 34 | file://0008-tscadc-Add-board-file-mfd-support-fix-warning.patch \ |
| 35 | file://0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch \ | 35 | file://0009-AM335X-init-tsc-bone-style-for-new-boards.patch \ |
| 36 | file://0009-tscadc-Add-board-file-mfd-support-fix-warning.patch \ | 36 | file://0010-tscadc-make-stepconfig-channel-configurable.patch \ |
| 37 | file://0010-AM335X-init-tsc-bone-style-for-new-boards.patch \ | 37 | file://0011-tscadc-Trigger-through-sysfs.patch \ |
| 38 | file://0011-tscadc-make-stepconfig-channel-configurable.patch \ | 38 | file://0012-meta-ti-Remove-debug-messages-for-meta-ti.patch \ |
| 39 | file://0012-tscadc-Trigger-through-sysfs.patch \ | 39 | file://0013-tscadc-switch-to-polling-instead-of-interrupts.patch \ |
| 40 | file://0013-meta-ti-Remove-debug-messages-for-meta-ti.patch \ | 40 | file://0014-beaglebone-fix-ADC-init.patch \ |
| 41 | file://0014-tscadc-switch-to-polling-instead-of-interrupts.patch \ | 41 | file://0015-AM335x-MUX-add-ehrpwm1A.patch \ |
| 42 | file://0015-beaglebone-fix-ADC-init.patch \ | 42 | file://0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch \ |
| 43 | file://0016-AM335x-MUX-add-ehrpwm1A.patch \ | 43 | file://0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch \ |
| 44 | file://0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch \ | 44 | file://0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch \ |
| 45 | file://0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch \ | 45 | file://0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch \ |
| 46 | file://0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch \ | 46 | file://0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch \ |
| 47 | file://0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch \ | 47 | file://0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch \ |
| 48 | file://0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch \ | ||
| 49 | file://0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch \ | ||
| 50 | " | 48 | " |
| 51 | 49 | ||
| 52 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}" | 50 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}" |
