* Re: [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc
@ 2010-03-24 20:47 Pavan Savoy
0 siblings, 0 replies; 4+ messages in thread
From: Pavan Savoy @ 2010-03-24 20:47 UTC (permalink / raw)
To: pavan_savoy, Greg KH; +Cc: alan, linux-kernel
--- On Wed, 24/3/10, Greg KH <gregkh@suse.de> wrote:
> From: Greg KH <gregkh@suse.de>
> Subject: Re: [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc
> To: pavan_savoy@ti.com
> Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org, pavan_savoy@yahoo.co.in
> Date: Wednesday, 24 March, 2010, 8:00 AM
> On Tue, Mar 23, 2010 at 03:41:10PM
> -0500, pavan_savoy@ti.com
> wrote:
> > From: Pavan Savoy <pavan_savoy@ti.com>
> >
> > This change adds the Kconfig and Make file for TI's
> > ST line discipline driver and the BlueZ driver for BT
> > core of the TI BT/FM/GPS combo chip.
> >
> > Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
> > ---
> > drivers/staging/Kconfig
> | 2 ++
> > drivers/staging/Makefile
> | 1 +
>
> To add a new staging driver, I need a TODO file that lists
> what needs to
> be done to the code in order to get it merged into the main
> portion of
> the kernel, and who is responsible for it. Look at
> the other
> drivers/staging/*/TODO files for examples of what to do.
Oh - BTW, I've added patches on tree
http://github.com/PavanSavoy/testGit/tree/patch_branch
also, got by git clone git clone git://github.com/PavanSavoy/testGit.git
and checking out --track -b patch_branch origin/patch_branch
have fixed the ordering of patches and TODO/ABI moved into staging.
Just in case, you decide to put this in staging/ i can re-mail them too.
> thanks,
>
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
^ permalink raw reply [flat|nested] 4+ messages in thread* [v3] New ldisc for WiLink7.0
@ 2010-03-23 20:41 pavan_savoy
2010-03-23 20:41 ` [PATCH 1/7] serial: TTY: new ldisc for TI BT/FM/GPS chips pavan_savoy
0 siblings, 1 reply; 4+ messages in thread
From: pavan_savoy @ 2010-03-23 20:41 UTC (permalink / raw)
To: gregkh, alan; +Cc: pavan_savoy, linux-kernel, pavan_savoy
Greg / Alan,
Moved to staging directory as suggested.
All the patches have been modified to now go into drivers/staging/
> Texas Instruments has introduced it's new series of WiLink chipsets
> which has Bluetooth, WLAN, FM-Rx and FM-Tx and GPS on 1 single chip.
> This series of chipsets allow apps processor to interface with the chip
> over a single UART mux-ed for all 3 (BT,FM and GPS) cores on chip and
> SDIO for WLAN.
>
> The following list of patches introduces a new line discipline which allows
> such muxing to happen, and 3 different BT, FM and GPS drivers would sit on
> top of this driver (registering/unregistering) and glue this to relevant s/w
> stacks.
>
> This has been verified to work on TI's OMAP platforms(34xx,36xx and 44xx).
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/7] serial: TTY: new ldisc for TI BT/FM/GPS chips
2010-03-23 20:41 [v3] New ldisc for WiLink7.0 pavan_savoy
@ 2010-03-23 20:41 ` pavan_savoy
2010-03-23 20:41 ` [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc pavan_savoy
0 siblings, 1 reply; 4+ messages in thread
From: pavan_savoy @ 2010-03-23 20:41 UTC (permalink / raw)
To: gregkh, alan; +Cc: pavan_savoy, linux-kernel, pavan_savoy
From: Pavan Savoy <pavan_savoy@ti.com>
A new N_TI_WL line discipline added for TI BT/FM/GPS
combo chips which make use of same TTY to communicate
with chip. This is to be made use of individual protocol
BT/FM/GPS drivers.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
include/linux/tty.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 4409967..8288ee1 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -23,7 +23,7 @@
*/
#define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */
#define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */
-#define NR_LDISCS 20
+#define NR_LDISCS 21
/* line disciplines */
#define N_TTY 0
@@ -48,6 +48,7 @@
#define N_PPS 18 /* Pulse per Second */
#define N_V253 19 /* Codec control over voice modem */
+#define N_TI_WL 20 /* for TI's WL connectivity chips */
/*
* This character is the same as _POSIX_VDISABLE: it cannot be used as
--
1.5.4.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc
2010-03-23 20:41 ` [PATCH 1/7] serial: TTY: new ldisc for TI BT/FM/GPS chips pavan_savoy
@ 2010-03-23 20:41 ` pavan_savoy
2010-03-24 2:28 ` Greg KH
2010-03-24 2:30 ` Greg KH
0 siblings, 2 replies; 4+ messages in thread
From: pavan_savoy @ 2010-03-23 20:41 UTC (permalink / raw)
To: gregkh, alan; +Cc: pavan_savoy, linux-kernel, pavan_savoy
From: Pavan Savoy <pavan_savoy@ti.com>
This change adds the Kconfig and Make file for TI's
ST line discipline driver and the BlueZ driver for BT
core of the TI BT/FM/GPS combo chip.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/Kconfig | 2 ++
drivers/staging/Makefile | 1 +
drivers/staging/ti-st/Kconfig | 24 ++++++++++++++++++++++++
drivers/staging/ti-st/Makefile | 7 +++++++
4 files changed, 34 insertions(+), 0 deletions(-)
create mode 100644 drivers/staging/ti-st/Kconfig
create mode 100644 drivers/staging/ti-st/Makefile
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index 5589616..209fe00 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -141,5 +141,7 @@ source "drivers/staging/dt3155/Kconfig"
source "drivers/staging/crystalhd/Kconfig"
+source "drivers/staging/ti-st/Kconfig"
+
endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index ec45d4b..b41aa1a 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -52,3 +52,4 @@ obj-$(CONFIG_PCMCIA_NETWAVE) += netwave/
obj-$(CONFIG_FB_SM7XX) += sm7xx/
obj-$(CONFIG_DT3155) += dt3155/
obj-$(CONFIG_CRYSTALHD) += crystalhd/
+obj-$(CONFIG_TI_ST) += ti-st/
diff --git a/drivers/staging/ti-st/Kconfig b/drivers/staging/ti-st/Kconfig
new file mode 100644
index 0000000..120e8db
--- /dev/null
+++ b/drivers/staging/ti-st/Kconfig
@@ -0,0 +1,24 @@
+#
+# TI's shared transport line discipline and the protocol
+# drivers (BT, FM and GPS)
+#
+menu "Texas Instruments shared transport line discipline"
+config TI_ST
+ tristate "shared transport core driver"
+ select FW_LOADER
+ help
+ This enables the shared transport core driver for TI
+ BT / FM and GPS combo chips. This enables protocol drivers
+ to register themselves with core and send data, the responses
+ are returned to relevant protocol drivers based on their
+ packet types.
+
+config ST_BT
+ tristate "BlueZ bluetooth driver for ST"
+ depends on BT
+ select TI_ST
+ help
+ This enables the Bluetooth driver for TI BT/FM/GPS combo devices.
+ This makes use of shared transport line discipline core driver to
+ communicate with the BT core of the combo chip.
+endmenu
diff --git a/drivers/staging/ti-st/Makefile b/drivers/staging/ti-st/Makefile
new file mode 100644
index 0000000..0167d1d
--- /dev/null
+++ b/drivers/staging/ti-st/Makefile
@@ -0,0 +1,7 @@
+#
+# Makefile for TI's shared transport line discipline
+# and its protocol drivers (BT, FM, GPS)
+#
+obj-$(CONFIG_TI_ST) += st_drv.o
+st_drv-objs := st_core.o st_kim.o st_ll.o
+obj-$(CONFIG_ST_BT) += bt_drv.o
--
1.5.4.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc
2010-03-23 20:41 ` [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc pavan_savoy
@ 2010-03-24 2:28 ` Greg KH
2010-03-24 2:30 ` Greg KH
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-03-24 2:28 UTC (permalink / raw)
To: pavan_savoy; +Cc: alan, linux-kernel, pavan_savoy
On Tue, Mar 23, 2010 at 03:41:10PM -0500, pavan_savoy@ti.com wrote:
> From: Pavan Savoy <pavan_savoy@ti.com>
>
> This change adds the Kconfig and Make file for TI's
> ST line discipline driver and the BlueZ driver for BT
> core of the TI BT/FM/GPS combo chip.
>
> Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
> ---
> drivers/staging/Kconfig | 2 ++
> drivers/staging/Makefile | 1 +
> drivers/staging/ti-st/Kconfig | 24 ++++++++++++++++++++++++
> drivers/staging/ti-st/Makefile | 7 +++++++
Again, you just broke the build.
Please fix the ordering of your patches.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc
2010-03-23 20:41 ` [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc pavan_savoy
2010-03-24 2:28 ` Greg KH
@ 2010-03-24 2:30 ` Greg KH
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-03-24 2:30 UTC (permalink / raw)
To: pavan_savoy; +Cc: alan, linux-kernel, pavan_savoy
On Tue, Mar 23, 2010 at 03:41:10PM -0500, pavan_savoy@ti.com wrote:
> From: Pavan Savoy <pavan_savoy@ti.com>
>
> This change adds the Kconfig and Make file for TI's
> ST line discipline driver and the BlueZ driver for BT
> core of the TI BT/FM/GPS combo chip.
>
> Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
> ---
> drivers/staging/Kconfig | 2 ++
> drivers/staging/Makefile | 1 +
To add a new staging driver, I need a TODO file that lists what needs to
be done to the code in order to get it merged into the main portion of
the kernel, and who is responsible for it. Look at the other
drivers/staging/*/TODO files for examples of what to do.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-24 20:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-24 20:47 [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc Pavan Savoy
-- strict thread matches above, loose matches on Subject: below --
2010-03-23 20:41 [v3] New ldisc for WiLink7.0 pavan_savoy
2010-03-23 20:41 ` [PATCH 1/7] serial: TTY: new ldisc for TI BT/FM/GPS chips pavan_savoy
2010-03-23 20:41 ` [PATCH 2/7] drivers:staging: Kconfig, Makefile for TI's ST ldisc pavan_savoy
2010-03-24 2:28 ` Greg KH
2010-03-24 2:30 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®