Skip to contentSkip to conversation

[RFC: WL1271 DC supprot on OMAP3EVM 0/5]

RFC In review csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org 6 participants 10 messages Oct 13, 2010 2 messages not in the archive

Subsystems (9)
lore
Share & tools
lore
#0 lore raw

cover [RFC: WL1271 DC supprot on OMAP3EVM 0/5]

From: Sanjay Kumar Champati <csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org>

Sanjay Kumar Champati (5):
ARM: Supported MMC 2 features for OMAP3EVM
ARM: Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC
ARM: Supported for BT enable on OMAP3EVM for WL1271 DC
ARM: Added ALSA audio support for WL1271 DC over the PCM interface

    (OMAP37XX)

Supported BT and WLAN configuration for WL1271 over the OMAP37XX

 arch/arm/configs/omap3_evm_defconfig |   27 +++++++-
 arch/arm/mach-omap2/board-omap3evm.c |   28 ++++++++-
 arch/arm/mach-omap2/mmc-twl4030.c    |    1 +
 arch/arm/mach-omap2/mmc-twl4030.h    |    2 +
 drivers/bluetooth/Kconfig            |    7 ++
 drivers/char/tty_io.c                |  110 ++++++++++++++++++++++++++++++++++
 drivers/mmc/core/sdio_ops.c          |    7 ++-
 drivers/net/wireless/Kconfig         |   11 ++++
 sound/soc/omap/Kconfig               |    6 ++
 sound/soc/omap/Makefile              |    2 +
 sound/soc/omap/omap3evm.c            |   81 ++++++++++++++++++++++++-
 sound/soc/omap/wl1271bt.c            |   59 ++++++++++++++++++
 sound/soc/omap/wl1271bt.h            |   16 +++++
 13 files changed, 350 insertions(+), 7 deletions(-)
 create mode 100644 sound/soc/omap/wl1271bt.c
 create mode 100644 sound/soc/omap/wl1271bt.h

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1286967439-705-1-git-send-email-csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org

#2 lore raw

RFC 2/5 ARM: Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC

From: Sanjay Kumar Champati <csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org>

* Apply MMC2 support patch before apply this patch
* Modified the "Kconfig" and "board-omap3evm.c" files to support standard SDIO driver for WL1271 DC

---
 arch/arm/mach-omap2/board-omap3evm.c |   13 ++++++++++++-
 drivers/mmc/core/sdio_ops.c          |    7 ++++++-
 drivers/net/wireless/Kconfig         |   11 +++++++++++
 3 files changed, 29 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/board-omap3evm.c +12 -1
index 6b45b6e..06fab2e 100644
@@ -79,6 +79,10 @@
 #define OMAP3EVM_ETHR_ID_REV	0x50
 #define OMAP3EVM_ETHR_GPIO_IRQ	176
 #define OMAP3EVM_SMSC911X_CS	5
+#ifdef CONFIG_WL1271_WLAN
+#define OMAP3EVM_WLAN_EN	150
+#define OMAP3EVM_WLAN_IRQ	149
+#endif
 
 extern struct regulator_consumer_supply twl4030_vmmc1_supply;
 extern struct regulator_consumer_supply twl4030_vsim_supply;
@@ -749,7 +753,14 @@ static int omap3evm_twl_gpio_setup(struct device *dev,
 	twl4030_vmmc1_supply.dev = mmc[0].dev;
 	twl4030_vsim_supply.dev = mmc[0].dev;
 	twl4030_vmmc2_supply.dev = mmc[1].dev;
-
+#ifdef CONFIG_WL1271_WLAN
+	omap_mux_init_gpio(OMAP3EVM_WLAN_EN, OMAP_PIN_OUTPUT);
+	if (gpio_request(OMAP3EVM_WLAN_EN, "WLAN_ENABLE"))
+		printk(KERN_ERR "Fail to get WLAN Enable GPIO\n");
+	gpio_direction_output(OMAP3EVM_WLAN_EN, 1);
+	mdelay(100);
+	omap_mux_init_gpio(OMAP3EVM_WLAN_IRQ, OMAP_PIN_INPUT);
+#endif
 	/*
 	 * Most GPIOs are for USB OTG.  Some are mostly sent to
 	 * the P2 connector; notably LEDA for the LCD backlight.
drivers/mmc/core/sdio_ops.c +6 -1
index 4eb7825..4213ee0 100644
@@ -114,6 +114,9 @@ int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn,
 
 	return 0;
 }
+#ifdef CONFIG_WL1271_WLAN
+EXPORT_SYMBOL(mmc_io_rw_direct);
+#endif
 
 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
 	unsigned addr, int incr_addr, u8 *buf, unsigned blocks, unsigned blksz)
@@ -181,4 +184,6 @@ int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
 
 	return 0;
 }
-
+#ifdef CONFIG_WL1271_WLAN
+EXPORT_SYMBOL(mmc_io_rw_extended);
+#endif
drivers/net/wireless/Kconfig +11 -0
index 56dd665..dc319b7 100644
@@ -31,6 +31,17 @@ config PCMCIA_RAYCS
 	  To compile this driver as a module, choose M here: the module will be
 	  called ray_cs.  If unsure, say N.
 
+config WL1271_WLAN
+	tristate "WL1271 TI's SDIO based wireless card"
+	select WIRELESS_EXT
+	select CRYPTO
+	select WEXT_SPY
+	select WEXT_PRIV
+	---help---
+	This driver support both the standard Linux Wireless Extensions
+	and TI's proprietary API, so both the Linux Wireless Tools and this
+	module support 2.4 GHz 802.11 b/g/n standrd.
+
 config LIBERTAS_THINFIRM
 	tristate "Marvell 8xxx Libertas WLAN driver support with thin firmware"
 	depends on MAC80211
Signature · 6 lines
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1286967439-705-3-git-send-email-csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org

#4 lore raw

RE: [RFC: WL1271 DC supprot on OMAP3EVM 2/5] ARM: Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC

Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org
Sent: Wednesday, October 13, 2010 4:27 PM
To: [email protected]
Cc: [email protected]; Sanjay Kumar Champati
Subject: [RFC: WL1271 DC supprot on OMAP3EVM 2/5] ARM:
Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC

From: Sanjay Kumar Champati <csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org>

* Apply MMC2 support patch before apply this patch
* Modified the "Kconfig" and "board-omap3evm.c" files to support standard SDIO driver for WL1271 DC

---
 arch/arm/mach-omap2/board-omap3evm.c |   13 ++++++++++++-
 drivers/mmc/core/sdio_ops.c          |    7 ++++++-
 drivers/net/wireless/Kconfig         |   11 +++++++++++
 3 files changed, 29 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/board-omap3evm.c +4 -0
index 6b45b6e..06fab2e 100644
@@ -79,6 +79,10 @@
 #define OMAP3EVM_ETHR_ID_REV	0x50
 #define OMAP3EVM_ETHR_GPIO_IRQ	176
 #define OMAP3EVM_SMSC911X_CS	5
+#ifdef CONFIG_WL1271_WLAN
+#define OMAP3EVM_WLAN_EN	150
+#define OMAP3EVM_WLAN_IRQ	149
+#endif
 
 extern struct regulator_consumer_supply twl4030_vmmc1_supply;
 extern struct regulator_consumer_supply twl4030_vsim_supply;

arch/arm/mach-omap2/board-omap3evm.c static int · line 758

Quoted 7 lines
arch/arm/mach-omap2/board-omap3evm.c +2 -1
@@ -749,7 +753,14 @@ static int 
 omap3evm_twl_gpio_setup(struct device *dev,
 	twl4030_vmmc1_supply.dev = mmc[0].dev;
 	twl4030_vsim_supply.dev = mmc[0].dev;
 	twl4030_vmmc2_supply.dev = mmc[1].dev;
-
+#ifdef CONFIG_WL1271_WLAN
+	omap_mux_init_gpio(OMAP3EVM_WLAN_EN, OMAP_PIN_OUTPUT);

Check for return value

arch/arm/mach-omap2/board-omap3evm.c static int omap3evm_twl_gpio_setup(struct device *dev, · line 761

Quoted 4 lines
arch/arm/mach-omap2/board-omap3evm.c +4 -0
+	if (gpio_request(OMAP3EVM_WLAN_EN, "WLAN_ENABLE"))
+		printk(KERN_ERR "Fail to get WLAN Enable GPIO\n");
+	gpio_direction_output(OMAP3EVM_WLAN_EN, 1);
+	mdelay(100);

You may add a comment to mention why this needs to be 100.

arch/arm/mach-omap2/board-omap3evm.c static int omap3evm_twl_gpio_setup(struct device *dev, · line 762

Quoted 1 line
arch/arm/mach-omap2/board-omap3evm.c +1 -0
+	omap_mux_init_gpio(OMAP3EVM_WLAN_IRQ, OMAP_PIN_INPUT);

Check for return value

Quoted 53 lines
arch/arm/mach-omap2/board-omap3evm.c +1 -0
+#endif
 	/*
 	 * Most GPIOs are for USB OTG.  Some are mostly sent to
arch/arm/mach-omap2/board-omap3evm.c +0 -0
 	 * the P2 connector; notably LEDA for the LCD backlight.
drivers/mmc/core/sdio_ops.c +3 -0
index 4eb7825..4213ee0 100644
@@ -114,6 +114,9 @@ int mmc_io_rw_direct(struct mmc_card 
 *card, int write, unsigned fn,
 
 	return 0;
 }
+#ifdef CONFIG_WL1271_WLAN
+EXPORT_SYMBOL(mmc_io_rw_direct);
+#endif
 
 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,

unsigned addr, int incr_addr, u8 *buf, unsigned blocks,
unsigned blksz)

drivers/mmc/core/sdio_ops.c +3 -1
@@ -181,4 +184,6 @@ int mmc_io_rw_extended(struct mmc_card 
 *card, int write, unsigned fn,
 
 	return 0;
 }
-
+#ifdef CONFIG_WL1271_WLAN
+EXPORT_SYMBOL(mmc_io_rw_extended);
+#endif
drivers/net/wireless/Kconfig +0 -0
index 56dd665..dc319b7 100644
@@ -31,6 +31,17 @@ config PCMCIA_RAYCS
 	  To compile this driver as a module, choose M here: 

the module will be

drivers/net/wireless/Kconfig +9 -0
 	  called ray_cs.  If unsure, say N.
 
+config WL1271_WLAN
+	tristate "WL1271 TI's SDIO based wireless card"
+	select WIRELESS_EXT
+	select CRYPTO
+	select WEXT_SPY
+	select WEXT_PRIV
+	---help---
+	This driver support both the standard Linux Wireless Extensions
+	and TI's proprietary API, so both the Linux Wireless 

Tools and this

drivers/net/wireless/Kconfig +2 -0
+	module support 2.4 GHz 802.11 b/g/n standrd.
+
 config LIBERTAS_THINFIRM
 	tristate "Marvell 8xxx Libertas WLAN driver support 
Quoted 4 lines

with thin firmware"
depends on MAC80211

Signature · 1 line
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

Re: [RFC: WL1271 DC supprot on OMAP3EVM 2/5] ARM: Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC

In reply to a message not in the archive

drivers/net/wireless/Kconfig config PCMCIA_RAYCS · line 43

Quoted 10 lines · On Wed, 2010-10-13 at 16:27 +0530, csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@pub…
drivers/net/wireless/Kconfig +10 -0
+config WL1271_WLAN
+	tristate "WL1271 TI's SDIO based wireless card"
+	select WIRELESS_EXT
+	select CRYPTO
+	select WEXT_SPY
+	select WEXT_PRIV
+	---help---
+	This driver support both the standard Linux Wireless Extensions
+	and TI's proprietary API, so both the Linux Wireless Tools and this
+	module support 2.4 GHz 802.11 b/g/n standrd.

Err, no? For once, you aren't actually adding a driver, and secondly, you don't get to add drivers that need WIRELESS_EXT or any of the other wext crap outside staging.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw

RFC 3/5 ARM: Supported for BT enable on OMAP3EVM for WL1271 DC

In reply to a message not in the archive

From: Sanjay Kumar Champati <csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org>

* Midified "tty_io.c" and "Kconfig" files to suuport BT enable for WL1271

---
 drivers/bluetooth/Kconfig |    7 +++
 drivers/char/tty_io.c     |  110 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+), 0 deletions(-)
drivers/bluetooth/Kconfig +7 -0
index 652367a..2ed159c 100644
@@ -195,5 +195,12 @@ config BT_MRVL_SDIO
 	  Say Y here to compile support for Marvell BT-over-SDIO driver
 	  into the kernel or say M to compile it as module.
 
+config BT_WL1271
+	bool "WL1271 Bluetooth driver support"
+	depends on BT_HCIUART
+	help
+	The core driver to support WL1271 Bluetooth devices.
+	Say Y here to compile WL1271 Bluetooth driver into the kernel.
+
 endmenu
 
drivers/char/tty_io.c +110 -0

134 lines not on this page · raw message

Signature · 6 lines
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#7 lore raw

RFC 4/5 ARM: Added ALSA audio support for WL1271 DC over the PCM interface (OMAP37XX)

In reply to a message not in the archive

From: Sanjay Kumar Champati <csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org>

* Add "wl1271bt.c" & "wl1271bt.h" in the PS kernel to support PCM interface for OMAP37XX
* Modified "Makefile" file to compile "wl1271bt.c" & "wl1271bt.h" files
* Modified "omap3evm.c" file to support Audio codec for WL1271 DC

---
 sound/soc/omap/Kconfig    |    6 +++
 sound/soc/omap/Makefile   |    2 +
 sound/soc/omap/omap3evm.c |   81 +++++++++++++++++++++++++++++++++++++++++++-
 sound/soc/omap/wl1271bt.c |   59 ++++++++++++++++++++++++++++++++
 sound/soc/omap/wl1271bt.h |   16 +++++++++
 5 files changed, 162 insertions(+), 2 deletions(-)
 create mode 100644 sound/soc/omap/wl1271bt.c
 create mode 100644 sound/soc/omap/wl1271bt.h
sound/soc/omap/Kconfig +6 -0
index 61952aa..68054c2 100644
@@ -116,3 +116,9 @@ config SND_OMAP_SOC_IGEP0020
 	select SND_SOC_TWL4030
 	help
 	  Say Y if you want to add support for Soc audio on IGEP v2 board.
+
+config SND_OMAP_SOC_WL1271BT
+	tristate "WL1271 Bluetooth Codec support"
+	default n
+	help
+	Say Y if you want to add support for WL1271 on OMAP3EVM board.
sound/soc/omap/Makefile +2 -0
index 19283e5..684b8f2 100644
@@ -18,6 +18,7 @@ snd-soc-omap3pandora-objs := omap3pandora.o
 snd-soc-omap3beagle-objs := omap3beagle.o
 snd-soc-zoom2-objs := zoom2.o
 snd-soc-igep0020-objs := igep0020.o
+snd-soc-wl1271bt-objs := wl1271bt.o
 
 obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o
 obj-$(CONFIG_SND_OMAP_SOC_AMS_DELTA) += snd-soc-ams-delta.o
@@ -31,3 +32,4 @@ obj-$(CONFIG_SND_OMAP_SOC_OMAP3_PANDORA) += snd-soc-omap3pandora.o
 obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o
 obj-$(CONFIG_SND_OMAP_SOC_ZOOM2) += snd-soc-zoom2.o
 obj-$(CONFIG_SND_OMAP_SOC_IGEP0020) += snd-soc-igep0020.o
+obj-$(CONFIG_SND_OMAP_SOC_WL1271BT) += snd-soc-wl1271bt.o
sound/soc/omap/omap3evm.c +79 -2

125 lines not on this page · raw message

sound/soc/omap/wl1271bt.c new file +59 -0

59 lines not on this page · raw message

sound/soc/omap/wl1271bt.h new file +16 -0
new file mode 100644
index 0000000..769f9a9
@@ -0,0 +1,16 @@
+/*
+ * wl1271bt.h  --  ALSA SoC WL1271 Bluetooth codec driver header
+ *
+ * Author: Sinoj M. Issac, <sinoj at mistralsolutions.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef WL1271BT_H
+#define WL1271BT_H
+
+extern struct snd_soc_dai wl1271bt_dai;
+
+#endif /* WL1271BT_H */
Signature · 6 lines
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw
In reply to a message not in the archive

Hi Sanjay,

Quoted 10 lines · On Wed, 2010-10-13 at 12:57 +0200, ext csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/…

From: Sanjay Kumar Champati <csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org>

Sanjay Kumar Champati (5):
ARM: Supported MMC 2 features for OMAP3EVM
ARM: Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC
ARM: Supported for BT enable on OMAP3EVM for WL1271 DC
ARM: Added ALSA audio support for WL1271 DC over the PCM interface

    (OMAP37XX)

Supported BT and WLAN configuration for WL1271 over the OMAP37XX

Nobody (or at least most of us) don't even understand what exactly the purpose of your patchset it. Can you try to explain what you're trying to achieve?

Also, you should clean things up, put platform-specific things where they belong etc. You really must review your implementation from an architectural point of view. If you have questions, ask here first. In most cases a patch describes things better than a thousand words, but it is certainly not the case here. ;)

Signature · 7 lines
Cheers,
Luca.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#9 lore raw

RFC 1/5 ARM: Supported MMC 2 features for OMAP3EVM

In reply to csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org

From: Sanjay Kumar Champati <[email protected]>

* Modified "board-omap3evm.c" file for MMC2 support
* Modified "mmc-twl4030.c" and "mmc-twl4030.h" file for MMC2 power support

---
 arch/arm/mach-omap2/board-omap3evm.c |   15 +++++++++++++++
 arch/arm/mach-omap2/mmc-twl4030.c    |    1 +
 arch/arm/mach-omap2/mmc-twl4030.h    |    2 ++
 3 files changed, 18 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap3evm.c +15 -0
index d2c8dcf..6b45b6e 100644
@@ -611,6 +611,13 @@ static struct twl4030_hsmmc_info mmc[] = {
 		.gpio_cd	= -EINVAL,
 		.gpio_wp	= 63,
 	},
+	{
+		.mmc            = 2,
+		.wires          = 4,
+		.gpio_cd        = -EINVAL,
+		.gpio_wp        = -EINVAL,
+		.ocr_mask	= 0x00000080,
+	},
 	{}	/* Terminator */
 };
 
@@ -741,6 +748,7 @@ static int omap3evm_twl_gpio_setup(struct device *dev,
 	/* link regulators to MMC adapters */
 	twl4030_vmmc1_supply.dev = mmc[0].dev;
 	twl4030_vsim_supply.dev = mmc[0].dev;
+	twl4030_vmmc2_supply.dev = mmc[1].dev;
 
 	/*
 	 * Most GPIOs are for USB OTG.  Some are mostly sent to
@@ -949,6 +957,7 @@ static int __init omap3_evm_i2c_init(void)
 	 */
 	omap3evm_twldata.vmmc1 = &vmmc1_data;
 	omap3evm_twldata.vsim = &vsim_data;
+	omap3evm_twldata.vmmc2 = &vmmc2_data;
 
 	omap_register_i2c_bus(1, 2600, omap3evm_i2c_boardinfo,
 			ARRAY_SIZE(omap3evm_i2c_boardinfo));
@@ -1067,6 +1076,12 @@ static struct omap_board_mux omap35x_board_mux[] __initdata = {
 				OMAP_PIN_OFF_INPUT_PULLUP | OMAP_PIN_OFF_OUTPUT_LOW |
 				OMAP_PIN_OFF_WAKEUPENABLE),
 #endif
+	OMAP3_MUX(SDMMC2_CLK, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
+	OMAP3_MUX(SDMMC2_CMD, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
+	OMAP3_MUX(SDMMC2_DAT0, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
+	OMAP3_MUX(SDMMC2_DAT1, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
+	OMAP3_MUX(SDMMC2_DAT2, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
+	OMAP3_MUX(SDMMC2_DAT3, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
 
 	{ .reg_offset = OMAP_MUX_TERMINATOR },
 };
arch/arm/mach-omap2/mmc-twl4030.c +1 -0
index 0c3c72d..c56f8c7 100644
@@ -124,6 +124,7 @@ static int twl_mmc_late_init(struct device *dev)
 			}
 			hsmmc[i].vcc = reg;
 			mmc->slots[0].ocr_mask = mmc_regulator_get_ocrmask(reg);
+			mmc->slots[1].ocr_mask = mmc_regulator_get_ocrmask(reg);
 
 			/* allow an aux regulator */
 			reg = regulator_get(dev, "vmmc_aux");
arch/arm/mach-omap2/mmc-twl4030.h +2 -0
index a47e685..88bcf46 100644
@@ -34,3 +34,5 @@ static inline void twl4030_mmc_init(struct twl4030_hsmmc_info *info)
 }
 
 #endif
+extern struct regulator_consumer_supply twl4030_vmmc2_supply;
+extern struct regulator_init_data vmmc2_data;
Signature · 1 line
1.6.3.3
#10 lore raw

RFC 5/5 Supported BT and WLAN configuration for WL1271 over the OMAP37XX

In reply to csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org

From: Sanjay Kumar Champati <[email protected]>

* Modified the "omap3_evm_defconfig" file to support WLAN and BT configuration for WL1271

---
 arch/arm/configs/omap3_evm_defconfig |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)
arch/arm/configs/omap3_evm_defconfig +24 -3
index a18b22e..676cd99 100644
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.32
-# Tue Jan  5 13:03:54 2010
+# Sun Oct 10 05:00:18 2010
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -492,10 +492,29 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
 # CONFIG_HAMRADIO is not set
 # CONFIG_CAN is not set
 # CONFIG_IRDA is not set
-# CONFIG_BT is not set
+CONFIG_BT=y
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
+CONFIG_BT_RFCOMM=y
+CONFIG_BT_RFCOMM_TTY=y
+
+#
+# Bluetooth device drivers
+#
+CONFIG_BT_HCIUART=y
+CONFIG_BT_HCIUART_H4=y
+CONFIG_BT_HCIUART_BCSP=y
+CONFIG_BT_HCIUART_LL=y
+CONFIG_BT_WL1271=y
 # CONFIG_AF_RXRPC is not set
 CONFIG_WIRELESS=y
+CONFIG_WIRELESS_EXT=y
+CONFIG_WEXT_CORE=y
+CONFIG_WEXT_PROC=y
+CONFIG_WEXT_SPY=y
+CONFIG_WEXT_PRIV=y
 # CONFIG_CFG80211 is not set
+CONFIG_WIRELESS_EXT_SYSFS=y
 # CONFIG_LIB80211 is not set
 
 #
@@ -740,6 +759,7 @@ CONFIG_SMSC911X=y
 # CONFIG_NETDEV_1000 is not set
 # CONFIG_NETDEV_10000 is not set
 CONFIG_WLAN=y
+CONFIG_WL1271_WLAN=y
 # CONFIG_USB_ZD1201 is not set
 # CONFIG_HOSTAP is not set
 
@@ -1302,6 +1322,7 @@ CONFIG_SND_SOC=y
 CONFIG_SND_OMAP_SOC=y
 CONFIG_SND_OMAP_SOC_MCBSP=y
 CONFIG_SND_OMAP_SOC_OMAP3EVM=y
+CONFIG_SND_OMAP_SOC_WL1271BT=y
 CONFIG_SND_SOC_I2C_AND_SPI=y
 # CONFIG_SND_SOC_ALL_CODECS is not set
 CONFIG_SND_SOC_TWL4030=y
@@ -2004,7 +2025,7 @@ CONFIG_CRYPTO_HW=y
 CONFIG_BITREVERSE=y
 CONFIG_GENERIC_FIND_LAST_BIT=y
 CONFIG_CRC_CCITT=y
-# CONFIG_CRC16 is not set
+CONFIG_CRC16=y
 # CONFIG_CRC_T10DIF is not set
 # CONFIG_CRC_ITU_T is not set
 CONFIG_CRC32=y
Signature · 1 line
1.6.3.3
#11 lore raw
In reply to csanjay-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org

Hi Sanjay,

Quoted 7 lines · On Wed, Oct 13, 2010 at 12:57 PM, <[email protected]> wrote:

Sanjay Kumar Champati (5):
 ARM: Supported MMC 2 features for OMAP3EVM
 ARM: Supported for Standard SDIO driver on OMAP3EVM for WL1271 DC
 ARM: Supported for BT enable on OMAP3EVM for WL1271 DC
 ARM: Added ALSA audio support for WL1271 DC over the PCM interface (OMAP37XX)
 Supported BT and WLAN configuration for WL1271 over the OMAP37XX

There are many things to say here but maybe the most important one is that it seems you are trying to push changes that are only relevant for an out-of-tree driver, and such changes will never be accepted.

Why don't you try out the mainline wl1271 driver on your board and come back with the necessary changes for that ?

Thanks,
Ohad.

Quoted 15 lines

 arch/arm/configs/omap3_evm_defconfig |   27 +++++++- arch/arm/mach-omap2/board-omap3evm.c |   28 ++++++++- arch/arm/mach-omap2/mmc-twl4030.c    |    1 + arch/arm/mach-omap2/mmc-twl4030.h    |    2 + drivers/bluetooth/Kconfig            |    7 ++ drivers/char/tty_io.c                |  110 ++++++++++++++++++++++++++++++++++ drivers/mmc/core/sdio_ops.c          |    7 ++- drivers/net/wireless/Kconfig         |   11 ++++ sound/soc/omap/Kconfig               |    6 ++ sound/soc/omap/Makefile              |    2 +

 sound/soc/omap/omap3evm.c            |   81 ++++++++++++++++++++++++-
 sound/soc/omap/wl1271bt.c            |   59 ++++++++++++++++++
 sound/soc/omap/wl1271bt.h            |   16 +++++
 13 files changed, 350 insertions(+), 7 deletions(-)
Quoted 8 lines

 create mode 100644 sound/soc/omap/wl1271bt.c
 create mode 100644 sound/soc/omap/wl1271bt.h

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html