Skip to contentSkip to conversation

linux-omap3: Add supported kernel recipe for am37x-evm and am3517-evm

PATCH In review [email protected] 3 participants 6 messages Feb 17, 2013 – Feb 26, 2013 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-omap3: Add supported kernel recipe for am37x-evm and am3517-evm

From: Franklin S. Cooper Jr <[email protected]>

---
 ...date-PIO-mode-help-information-in-Kconfig.patch |   44 +
 .../am3517-evm/defconfig                           | 2358 +++++++
 .../omap3/0001-Fix-matrix-suspend.patch            |  111 +
 ...upport-remove-support-for-non-TI-hardware.patch |  130 +
 ...001-am37x-Adding-ABB-Support-for-1GHz-OPP.patch |  319 +
 ...ux-omap3-Add-OCF-support-to-2.6.37-kernel.patch | 7043 ++++++++++++++++++++
 ...nable-clock-pad-register-in-configuration.patch |   29 +
 .../0001-nlcp-sdio-fixes-for-wowlan-support.patch  |   96 +
 ...7evm-Allow-for-NAND-to-really-be-disabled.patch |   48 +
 ...vm-add-support-for-the-WL12xx-WLAN-module.patch |  147 +
 .../0001-omap3evm-add-wake-on-wlan-support.patch   |   49 +
 ...0001-omap_hsmmc-make-default-dto-value-14.patch |   34 +
 ...musb-am35x-set-default-VBUS-timeout-value.patch |   38 +
 ...ecting-WL12XX_PLATFROM_DATA-independently.patch |   37 +
 ...pport-suspend-resume-while-runtime-suspen.patch |   82 +
 ...map3-am3517evm-Update-NOR-partition-table.patch |   58 +
 ...map3_evm_defconfig-add-OCF-driver-support.patch | 2292 +++++++
 ...2-usb-musb-am35x-fix-role-switching-issue.patch |   67 +
 .../0003-AM3517-Add-am3517_evn_nor_defconfig.patch |  256 +
 ...detection-of-nonremovable-cards-on-rescan.patch |   43 +
 .../omap3/0003-mmc_card_keep_power-cleanups.patch  |   69 +
 ...ap3_evm_defconfig-add-WLAN-config-options.patch |  283 +
 ...-not-switch-to-1-bit-mode-if-not-required.patch |   43 +
 ...n-t-reinitialize-nonremovable-powered-res.patch |   77 +
 ...0005-mmc-fix-division-by-zero-in-MMC-core.patch |   41 +
 ...io-don-t-power-up-cards-on-system-suspend.patch |  112 +
 ...icate-insertion-of-mmc_card_keep_power-fu.patch |   30 +
 ...0006-wl12xx-Backport-wl12xx-platform-data.patch |   64 +
 .../omap3/0007-activate-wireless-extensions.patch  |   26 +
 .../omap3/defconfig                                | 2505 +++++++
 .../linux/linux-omap3_2.6.37-psp04.02.00.07.bb     |  100 +
 31 files changed, 16631 insertions(+), 0 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/am3517-evm/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/am3517-evm/defconfig
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-Fix-matrix-suspend.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-OCF-support-remove-support-for-non-TI-hardware.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-am37x-Adding-ABB-Support-for-1GHz-OPP.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-linux-omap3-Add-OCF-support-to-2.6.37-kernel.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-mt9t111-enable-clock-pad-register-in-configuration.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-nlcp-sdio-fixes-for-wowlan-support.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap3-am3517evm-Allow-for-NAND-to-really-be-disabled.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap3evm-add-support-for-the-WL12xx-WLAN-module.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap3evm-add-wake-on-wlan-support.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap_hsmmc-make-default-dto-value-14.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-usb-musb-am35x-set-default-VBUS-timeout-value.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-allow-selecting-WL12XX_PLATFROM_DATA-independently.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-mmc-sdio-support-suspend-resume-while-runtime-suspen.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-omap3-am3517evm-Update-NOR-partition-table.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-omap3_evm_defconfig-add-OCF-driver-support.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-usb-musb-am35x-fix-role-switching-issue.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-AM3517-Add-am3517_evn_nor_defconfig.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-mmc-skip-detection-of-nonremovable-cards-on-rescan.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-mmc_card_keep_power-cleanups.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-omap3_evm_defconfig-add-WLAN-config-options.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0004-mmc-do-not-switch-to-1-bit-mode-if-not-required.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0004-mmc-sdio-don-t-reinitialize-nonremovable-powered-res.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0005-mmc-fix-division-by-zero-in-MMC-core.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0005-mmc-sdio-don-t-power-up-cards-on-system-suspend.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0006-revert-duplicate-insertion-of-mmc_card_keep_power-fu.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0006-wl12xx-Backport-wl12xx-platform-data.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0007-activate-wireless-extensions.patch
 create mode 100644 recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/defconfig
 create mode 100644 recipes-kernel/linux/linux-omap3_2.6.37-psp04.02.00.07.bb
recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/am3517-evm/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch new file +44 -0
new file mode 100644
index 0000000..ff1c430
@@ -0,0 +1,44 @@
+From 10fbd32a96aedd644b6bf38888a2af64cc13a35f Mon Sep 17 00:00:00 2001
+From: Matt Porter <[email protected]>
+Date: Mon, 5 Dec 2011 15:29:35 -0600
+Subject: [PATCH] musb: update PIO mode help information in Kconfig
+
+* Updated the Kconfig help information for the PIO mode for MUSB
+  to make it more clear to the customer when to select this option
+  and which devices currently have issues with this option.
+* This is in accordance with the findings for CPPI4.1 DMA usage
+  for MUSB
+
+Upstream-Status: Submitted
+    * Submitted to the PSP team using the lpr list
+
+Signed-off-by: Matt Porter <[email protected]>
+Signed-off-by: Chase Maupin <[email protected]>
+---
+ drivers/usb/musb/Kconfig |   11 +++++++----
+ 1 files changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
+index ee75cbc..d56f23d 100644
+--- a/drivers/usb/musb/Kconfig
++++ b/drivers/usb/musb/Kconfig
+@@ -107,10 +107,13 @@ config MUSB_PIO_ONLY
+	  All data is copied between memory and FIFO by the CPU.
+	  DMA controllers are ignored.
+
+-	  Do not select 'n' here unless DMA support for your SOC or board
+-	  is unavailable (or unstable).  When DMA is enabled at compile time,
+-	  you can still disable it at run time using the "use_dma=n" module
+-	  parameter.
++	  Select 'y' here if DMA support for your SOC or board
++	  is unavailable (or unstable). On CPPI 4.1 DMA based
++	  systems (AM335x, AM35x, and AM180x) DMA support is
++	  considered unstable and this option should be enabled
++	  in production. When DMA is enabled at compile time,
++	  you can still disable it at run time using the "use_dma=n"
++	  module parameter.
+
+ config USB_UX500_DMA_HW
+	select USB_UX500_DMA
+--
+1.7.0.4
recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/am3517-evm/defconfig new file +2358 -0

2,358 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-Fix-matrix-suspend.patch new file +111 -0

111 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-OCF-support-remove-support-for-non-TI-hardware.patch new file +130 -0

130 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-am37x-Adding-ABB-Support-for-1GHz-OPP.patch new file +319 -0

319 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-linux-omap3-Add-OCF-support-to-2.6.37-kernel.patch new file +7043 -0

38 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-mt9t111-enable-clock-pad-register-in-configuration.patch new file +29 -0
new file mode 100644
index 0000000..d4e6c79

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-nlcp-sdio-fixes-for-wowlan-support.patch new file +96 -0

96 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap3-am3517evm-Allow-for-NAND-to-really-be-disabled.patch new file +48 -0

48 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap3evm-add-support-for-the-WL12xx-WLAN-module.patch new file +147 -0

147 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap3evm-add-wake-on-wlan-support.patch new file +49 -0

49 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-omap_hsmmc-make-default-dto-value-14.patch new file +34 -0
new file mode 100644
index 0000000..d1bd2c3

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0001-usb-musb-am35x-set-default-VBUS-timeout-value.patch new file +38 -0
new file mode 100644
index 0000000..a95419b

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-allow-selecting-WL12XX_PLATFROM_DATA-independently.patch new file +37 -0
new file mode 100644
index 0000000..c4736d2

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-mmc-sdio-support-suspend-resume-while-runtime-suspen.patch new file +82 -0

82 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-omap3-am3517evm-Update-NOR-partition-table.patch new file +58 -0

58 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-omap3_evm_defconfig-add-OCF-driver-support.patch new file +2292 -0

2,292 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0002-usb-musb-am35x-fix-role-switching-issue.patch new file +67 -0

67 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-AM3517-Add-am3517_evn_nor_defconfig.patch new file +256 -0

256 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-mmc-skip-detection-of-nonremovable-cards-on-rescan.patch new file +43 -0

43 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-mmc_card_keep_power-cleanups.patch new file +69 -0

69 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0003-omap3_evm_defconfig-add-WLAN-config-options.patch new file +283 -0

283 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0004-mmc-do-not-switch-to-1-bit-mode-if-not-required.patch new file +43 -0

43 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0004-mmc-sdio-don-t-reinitialize-nonremovable-powered-res.patch new file +77 -0

77 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0005-mmc-fix-division-by-zero-in-MMC-core.patch new file +41 -0

41 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0005-mmc-sdio-don-t-power-up-cards-on-system-suspend.patch new file +112 -0

112 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0006-revert-duplicate-insertion-of-mmc_card_keep_power-fu.patch new file +30 -0
new file mode 100644
index 0000000..fc24053

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0006-wl12xx-Backport-wl12xx-platform-data.patch new file +64 -0

64 lines not on this page · raw message

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/0007-activate-wireless-extensions.patch new file +26 -0
new file mode 100644
index 0000000..df13209

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-omap3-2.6.37-psp04.02.00.07/omap3/defconfig new file +2505 -0

2,505 lines not on this page · raw message

recipes-kernel/linux/linux-omap3_2.6.37-psp04.02.00.07.bb new file +100 -0

100 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.4

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 2/2 linux: Add kernel version 3.3.7 for beagleboard

From: Franklin S. Cooper Jr <[email protected]>

---
 ...M-OMAP-Cleanup-Beagleboard-DVI-reset-gpio.patch |  184 +
 ...ART-Fix-incorrect-population-of-default-u.patch |  169 +
 .../linux/linux-3.3.7/beagleboard/defconfig        | 3780 ++++++++++++++++++++
 recipes-kernel/linux/linux_3.3.7.bb                |   41 +
 4 files changed, 4174 insertions(+), 0 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-3.3.7/beagleboard/0001-ARM-OMAP-Cleanup-Beagleboard-DVI-reset-gpio.patch
 create mode 100644 recipes-kernel/linux/linux-3.3.7/beagleboard/0001-ARM-OMAP2-UART-Fix-incorrect-population-of-default-u.patch
 create mode 100644 recipes-kernel/linux/linux-3.3.7/beagleboard/defconfig
 create mode 100644 recipes-kernel/linux/linux_3.3.7.bb
recipes-kernel/linux/linux-3.3.7/beagleboard/0001-ARM-OMAP-Cleanup-Beagleboard-DVI-reset-gpio.patch new file +184 -0
new file mode 100644
index 0000000..06db87e
@@ -0,0 +1,184 @@
+From 457318d7eff18258b4ef11fb4e4b924d2b5b5bb0 Mon Sep 17 00:00:00 2001
+From: Russ Dill <[email protected]>
+Date: Tue, 8 May 2012 19:49:06 -0700
+Subject: [PATCH] ARM: OMAP: Cleanup Beagleboard DVI reset gpio
+
+This removes several boot warnings from board-omap3beagle.c:
+
+ - gpio_request: gpio--22 (DVI reset) status -22
+ - Unable to get DVI reset GPIO
+
+There is a combination of leftover code and revision confusion.
+Additionally, xM support is currently a hack.
+
+For original Beagleboard this removes the double initialization of GPIO
+170, properly configures it as an output, and wraps the initialization
+in an if block so that xM does not attempt to request it.
+
+For Beagleboard xM it removes reference to GPIO 129 which was part
+of rev A1 and A2 designs, but never functioned. It then properly assigns
+beagle_dvi_device.reset_gpio in beagle_twl_gpio_setup and removes the
+hack of initializing it high. Additionally, it uses
+gpio_set_value_cansleep since this GPIO is connected through i2c.
+
+Unfortunately, there is no way to tell the difference between xM A2 and
+A3. However, GPIO 129 does not function on rev A1 and A2, and the TWL
+GPIO used on A3 and beyond is not used on rev A1 and A2, there are no
+problems created by this fix.
+
+v3
+ - Change patch title to include 'ARM: OMAP:'
+ - Actually rename reset_gpio to dvi_reset_gpio
+
+v2
+ - Rename reset_gpio to dvi_reset_gpio to self document
+ - Use gpio_set_value_cansleep since TWL gpio can sleep
+ - Use gpio_is_valid instead of -EINVAL check
+
+Tested on Beagleboard-xM Rev C1 and Beagleboard Rev B4.
+
+Upstream-Status: Submitted
+    * This patch has been submitted for the 3.5 kernel and is
+      being reworked for upstream acceptance.
+
+Signed-off-by: Russ Dill <[email protected]>
+---
+ arch/arm/mach-omap2/board-omap3beagle.c |   49 ++++++++++++++++--------------
+ 1 files changed, 26 insertions(+), 23 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index 7ffcd28..c9322ac 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -81,12 +81,12 @@ static u8 omap3_beagle_version;
+ static struct {
+ 	int mmc1_gpio_wp;
+ 	int usb_pwr_level;
+-	int reset_gpio;
++	int dvi_reset_gpio;
+ 	int usr_button_gpio;
+ } beagle_config = {
+ 	.mmc1_gpio_wp = -EINVAL,
+ 	.usb_pwr_level = GPIOF_OUT_INIT_LOW,
+-	.reset_gpio = 129,
++	.dvi_reset_gpio = -EINVAL,
+ 	.usr_button_gpio = 4,
+ };
+ 
+@@ -124,21 +124,21 @@ static void __init omap3_beagle_init_rev(void)
+ 		printk(KERN_INFO "OMAP3 Beagle Rev: Ax/Bx\n");
+ 		omap3_beagle_version = OMAP3BEAGLE_BOARD_AXBX;
+ 		beagle_config.mmc1_gpio_wp = 29;
+-		beagle_config.reset_gpio = 170;
++		beagle_config.dvi_reset_gpio = 170;
+ 		beagle_config.usr_button_gpio = 7;
+ 		break;
+ 	case 6:
+ 		printk(KERN_INFO "OMAP3 Beagle Rev: C1/C2/C3\n");
+ 		omap3_beagle_version = OMAP3BEAGLE_BOARD_C1_3;
+ 		beagle_config.mmc1_gpio_wp = 23;
+-		beagle_config.reset_gpio = 170;
++		beagle_config.dvi_reset_gpio = 170;
+ 		beagle_config.usr_button_gpio = 7;
+ 		break;
+ 	case 5:
+ 		printk(KERN_INFO "OMAP3 Beagle Rev: C4\n");
+ 		omap3_beagle_version = OMAP3BEAGLE_BOARD_C4;
+ 		beagle_config.mmc1_gpio_wp = 23;
+-		beagle_config.reset_gpio = 170;
++		beagle_config.dvi_reset_gpio = 170;
+ 		beagle_config.usr_button_gpio = 7;
+ 		break;
+ 	case 0:
+@@ -192,7 +192,7 @@ static struct mtd_partition omap3beagle_nand_partitions[] = {
+ static int beagle_enable_dvi(struct omap_dss_device *dssdev)
+ {
+ 	if (gpio_is_valid(dssdev->reset_gpio))
+-		gpio_set_value(dssdev->reset_gpio, 1);
++		gpio_set_value_cansleep(dssdev->reset_gpio, 1);
+ 
+ 	return 0;
+ }
+@@ -200,7 +200,7 @@ static int beagle_enable_dvi(struct omap_dss_device *dssdev)
+ static void beagle_disable_dvi(struct omap_dss_device *dssdev)
+ {
+ 	if (gpio_is_valid(dssdev->reset_gpio))
+-		gpio_set_value(dssdev->reset_gpio, 0);
++		gpio_set_value_cansleep(dssdev->reset_gpio, 0);
+ }
+ 
+ static struct panel_dvi_platform_data dvi_panel = {
+@@ -238,12 +238,17 @@ static struct omap_dss_board_info beagle_dss_data = {
+ 
+ static void __init beagle_display_init(void)
+ {
+-	int r;
+-
+-	r = gpio_request_one(beagle_dvi_device.reset_gpio, GPIOF_OUT_INIT_LOW,
+-			     "DVI reset");
+-	if (r < 0)
+-		printk(KERN_ERR "Unable to get DVI reset GPIO\n");
++	if (gpio_is_valid(beagle_config.dvi_reset_gpio)) {
++		int r;
++
++		omap_mux_init_gpio(beagle_config.dvi_reset_gpio, OMAP_PIN_OUTPUT);
++		r = gpio_request_one(beagle_config.dvi_reset_gpio,
++				     GPIOF_OUT_INIT_LOW, "DVI reset");
++		if (r < 0)
++			printk(KERN_ERR "Unable to get DVI reset GPIO\n");
++		else
++			beagle_dvi_device.reset_gpio = beagle_config.dvi_reset_gpio;
++	}
+ }
+ 
+ #include "sdram-micron-mt46h32m32lf-6.h"
+@@ -272,7 +277,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
+ {
+ 	int r;
+ 
+-	if (beagle_config.mmc1_gpio_wp != -EINVAL)
++	if (gpio_is_valid(beagle_config.mmc1_gpio_wp))
+ 		omap_mux_init_gpio(beagle_config.mmc1_gpio_wp, OMAP_PIN_INPUT);
+ 	mmc[0].gpio_wp = beagle_config.mmc1_gpio_wp;
+ 	/* gpio + 0 is "mmc0_cd" (input/IRQ) */
+@@ -297,11 +302,14 @@ static int beagle_twl_gpio_setup(struct device *dev,
+ 		if (r)
+ 			pr_err("%s: unable to configure nDVI_PWR_EN\n",
+ 				__func__);
+-		r = gpio_request_one(gpio + 2, GPIOF_OUT_INIT_HIGH,
+-				     "DVI_LDO_EN");
++
++		r = gpio_request_one(gpio + 2, GPIOF_OUT_INIT_LOW,
++				     "DVI_PU");
+ 		if (r)
+-			pr_err("%s: unable to configure DVI_LDO_EN\n",
+-				__func__);
++			pr_err("%s: unable to get DVI_PU GPIO\n", __func__);
++		else
++			beagle_dvi_device.reset_gpio = gpio + 2;
++
+ 	} else {
+ 		/*
+ 		 * REVISIT: need ehci-omap hooks for external VBUS
+@@ -310,7 +318,6 @@ static int beagle_twl_gpio_setup(struct device *dev,
+ 		if (gpio_request_one(gpio + 1, GPIOF_IN, "EHCI_nOC"))
+ 			pr_err("%s: unable to configure EHCI_nOC\n", __func__);
+ 	}
+-	beagle_dvi_device.reset_gpio = beagle_config.reset_gpio;
+ 
+ 	gpio_request_one(gpio + TWL4030_GPIO_MAX, beagle_config.usb_pwr_level,
+ 			"nEN_USB_PWR");
+@@ -532,10 +539,6 @@ static void __init omap3_beagle_init(void)
+ 	omap_sdrc_init(mt46h32m32lf6_sdrc_params,
+ 				  mt46h32m32lf6_sdrc_params);
+ 
+-	omap_mux_init_gpio(170, OMAP_PIN_INPUT);
+-	/* REVISIT leave DVI powered down until it's needed ... */
+-	gpio_request_one(170, GPIOF_OUT_INIT_HIGH, "DVI_nPD");
+-
+ 	usb_musb_init(NULL);
+ 	usbhs_init(&usbhs_bdata);
+ 	omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions,
+-- 
+1.7.0.4
+
recipes-kernel/linux/linux-3.3.7/beagleboard/0001-ARM-OMAP2-UART-Fix-incorrect-population-of-default-u.patch new file +169 -0

169 lines not on this page · raw message

recipes-kernel/linux/linux-3.3.7/beagleboard/defconfig new file +3780 -0

2,647 lines not on this page · raw message

recipes-kernel/linux/linux_3.3.7.bb new file +41 -0

41 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.4

Part of the diff is not shown here. View the raw message.

#3 lore raw

Glancing at your recipe it looks the same.

I must of missed your version. The kernel hasn't changed so they should be identical. Let me double check with a quick diff

Quoted 13 lines · Denys
Quoted 1 line · On Sun, Feb 17, 2013 at 04:00:31PM -0600, [email protected] wrote:

From: Franklin S. Cooper Jr <[email protected]>

So, how is it different from this:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/?id=53dcf7977a86714cbd27f919a473dac8f6f16434

Signature · 5 lines
Denys
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#4 lore raw
Quoted 4 lines · Franklin

Glancing at your recipe it looks the same.

I must of missed your version. The kernel hasn't changed so they should be identical. Let me double check with a quick diff

Please do. I only see minor diffs (commit ID vs. tag, some order diff etc).

Signature · 1 line
Denys
#5 lore raw

Your right. The recipes are almost identical. Only tweaks I would make is switching the commit id and replacing the require linux.inc with a simple inherit kernel. You can revert my patch if you like and I can make tweaks to the current recipe or you can delete your version. Whichever approach you prefer is fine with me.

Quoted 18 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, February 25, 2013 8:19 PM
To: Cooper Jr., Franklin
Cc: [email protected]; [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] linux-omap3: Add supported kernel recipe for am37x-evm and am3517-evm

Quoted 4 lines · Franklin

Glancing at your recipe it looks the same.

I must of missed your version. The kernel hasn't changed so they should be identical. Let me double check with a quick diff

Please do. I only see minor diffs (commit ID vs. tag, some order diff etc).

--
Denys