[oe-commits] org.oe.dev linux-omap2 git: add mux patch for beagleboard and switch to OTG mode for MUSB

koen commit oe at amethyst.openembedded.net
Tue May 27 17:42:53 UTC 2008


linux-omap2 git: add mux patch for beagleboard and switch to OTG mode for MUSB

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: baa0ca21e9eef55a9fd0bbfa74f2f7eda3fd20bb
ViewMTN: http://monotone.openembedded.org/revision/info/baa0ca21e9eef55a9fd0bbfa74f2f7eda3fd20bb
Files:
1
packages/linux/linux-omap2-git/beagleboard/mux.patch
packages/linux/linux-omap2-git/beagleboard/defconfig
packages/linux/linux-omap2_git.bb
Diffs:

#
# mt diff -raa3532e392623f888e4f50c5c63e4f53b8ae02d1 -rbaa0ca21e9eef55a9fd0bbfa74f2f7eda3fd20bb
#
#
#
# add_file "packages/linux/linux-omap2-git/beagleboard/mux.patch"
#  content [b0c6981ec8d920b57fbaac11af083b0859c6a89f]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/defconfig"
#  from [2c7debe2bcbaf6c6bdefa0a63a33254f23ad30d4]
#    to [d4b765c88df0fa2613af71e14012c83c8ecc97ba]
# 
# patch "packages/linux/linux-omap2_git.bb"
#  from [2bf99a7eea2115a72cbcfa13926816fe88ac7e7d]
#    to [4e4b8ac15c6ae6df2894798d615ef4b5ae2b6ff5]
#
============================================================
--- packages/linux/linux-omap2-git/beagleboard/mux.patch	b0c6981ec8d920b57fbaac11af083b0859c6a89f
+++ packages/linux/linux-omap2-git/beagleboard/mux.patch	b0c6981ec8d920b57fbaac11af083b0859c6a89f
@@ -0,0 +1,15 @@
+diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c
+index 7d56516..be6eb3e 100644
+--- a/arch/arm/mach-omap2/mux.c
++++ b/arch/arm/mach-omap2/mux.c
+@@ -253,8 +253,8 @@ MUX_CFG_34XX("Y13_3430_USB1HS_PHY_D7", 0x5e2,
+ 		OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_INPUT_PULLDOWN)
+ 
+ /* PHY - HSUSB: 12-pin ULPI PHY: Port 2*/
+-MUX_CFG_34XX("AA8_3430_USB2HS_PHY_CLK", 0x5f0,
+-		OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT)
++/*KK MUX_CFG_34XX("AA8_3430_USB2HS_PHY_CLK", 0x5f0,
++		OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT)*/
+ MUX_CFG_34XX("AA10_3430_USB2HS_PHY_STP", 0x5f2,
+ 		OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT)
+ MUX_CFG_34XX("AA9_3430_USB2HS_PHY_DIR", 0x5f4,
============================================================
--- packages/linux/linux-omap2-git/beagleboard/defconfig	2c7debe2bcbaf6c6bdefa0a63a33254f23ad30d4
+++ packages/linux/linux-omap2-git/beagleboard/defconfig	d4b765c88df0fa2613af71e14012c83c8ecc97ba
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.26-rc3-omap1
-# Tue May 20 19:38:20 2008
+# Tue May 27 19:21:03 2008
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -179,9 +179,9 @@ CONFIG_OMAP_BOOT_REASON=y
 CONFIG_OMAP_BOOT_REASON=y
 # CONFIG_OMAP_COMPONENT_VERSION is not set
 # CONFIG_OMAP_GPIO_SWITCH is not set
-CONFIG_OMAP_MUX=n
-# CONFIG_OMAP_MUX_DEBUG is not set
-CONFIG_OMAP_MUX_WARNINGS=n
+CONFIG_OMAP_MUX=y
+CONFIG_OMAP_MUX_DEBUG=y
+CONFIG_OMAP_MUX_WARNINGS=y
 CONFIG_OMAP_MCBSP=y
 # CONFIG_OMAP_MMU_FWK is not set
 # CONFIG_OMAP_MBOX_FWK is not set
@@ -1203,7 +1203,7 @@ CONFIG_USB_SUSPEND=y
 CONFIG_USB_DEVICE_CLASS=y
 # CONFIG_USB_DYNAMIC_MINORS is not set
 CONFIG_USB_SUSPEND=y
-# CONFIG_USB_OTG is not set
+CONFIG_USB_OTG=y
 # CONFIG_USB_OTG_WHITELIST is not set
 # CONFIG_USB_OTG_BLACKLIST_HUB is not set
 
@@ -1228,9 +1228,10 @@ CONFIG_USB_MUSB_SOC=y
 # OMAP 343x high speed USB support
 #
 # CONFIG_USB_MUSB_HOST is not set
-CONFIG_USB_MUSB_PERIPHERAL=y
-# CONFIG_USB_MUSB_OTG is not set
+# CONFIG_USB_MUSB_PERIPHERAL is not set
+CONFIG_USB_MUSB_OTG=y
 CONFIG_USB_GADGET_MUSB_HDRC=y
+CONFIG_USB_MUSB_HDRC_HCD=y
 # CONFIG_MUSB_PIO_ONLY is not set
 CONFIG_USB_INVENTRA_DMA=y
 # CONFIG_USB_TI_CPPI_DMA is not set
============================================================
--- packages/linux/linux-omap2_git.bb	2bf99a7eea2115a72cbcfa13926816fe88ac7e7d
+++ packages/linux/linux-omap2_git.bb	4e4b8ac15c6ae6df2894798d615ef4b5ae2b6ff5
@@ -5,18 +5,19 @@ PV = "2.6.25+2.6.26-rc3+git${SRCREV}"
 SRCREV = "41c13615e46ed02a1aaafcc267603be8ea5244e9"
 
 PV = "2.6.25+2.6.26-rc3+git${SRCREV}"
-PR = "r16"
+PR = "r18"
 
 
 SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;protocol=git \
+	   file://defconfig"
+
+SRC_URI_append_beagleboard = " file://no-harry-potter.diff;patch=1 \
            file://00001-mcbsp-transform.patch;patch=1 \
            file://00002-mcbsp-omap1.patch;patch=1 \
            file://00003-mcbsp-omap3-clock.patch;patch=1 \
            file://00004-omap2-mcbsp.patch;patch=1 \
            file://0001-ASoC-OMAP-Add-basic-support-for-OMAP34xx-in-McBSP.patch;patch=1 \
-	   file://defconfig"
-
-SRC_URI_append_beagleboard = " file://no-harry-potter.diff;patch=1 \
+           file://mux.patch;patch=1 \
 "
 
 COMPATIBLE_MACHINE = "omap2430sdp|omap2420h4|beagleboard"






More information about the Openembedded-commits mailing list