public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips
@ 2010-03-23 16:38 Pavan Savoy
  0 siblings, 0 replies; 3+ messages in thread
From: Pavan Savoy @ 2010-03-23 16:38 UTC (permalink / raw)
  To: alan, linux-kernel

patch below,

 > On Mon, Mar 22, 2010 at 04:19:12PM -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/misc/Kconfig        |    1 +
 >
 > Why 'misc'?  Why not 'char' like all the other ldiscs?
 >
 > Or 'drivers/ldisc' to be more specific?

 >We've discussed having /tty or drivers/tty for a while. The ldiscs are
 >currently everywhere - drivers/net, isdn, char ....

 >I am not sure an ldisc directory helps though - slip and ppp are in
 >drivers/net for example and clearly belong there.
 >  #define N_V253               19      /* Codec control over voice 
modem */
 > +#define N_TI_SHARED  20      /* for TI's WL7 connectivity chips */
 >Be more specific or some future TI shared bus protocol might cause
 >confusion N_TI_WL7 sounds fine.
 >Alan

Yes, I just felt that drivers which belong no-where are put up in 
drivers/misc.
Oh and name now changed to N_TI_WL, not WL7 because it kinda works with 
WL6 chips with BT and FM only too, WL7 has the extra GPS core.


 From 4770551c9ae22ee35b3a9ef5cc9395f218962021 Mon Sep 17 00:00:00 2001
From: Pavan Savoy <pavan_savoy@ti.com>
Date: Mon, 22 Mar 2010 14:37:04 -0400
Subject: [PATCH 1/7] serial: TTY: new ldisc for TI BT/FM/GPS chips

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 related	[flat|nested] 3+ messages in thread
* [re-worked] New ldisc for WiLink7.0
@ 2010-03-22 21:19 pavan_savoy
  2010-03-22 21:19 ` [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips pavan_savoy
  0 siblings, 1 reply; 3+ messages in thread
From: pavan_savoy @ 2010-03-22 21:19 UTC (permalink / raw)
  To: gregkh; +Cc: alan, pavan_savoy, linux-kernel



Greg/Alan & the linux-kernel community,

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] 3+ messages in thread

end of thread, other threads:[~2010-03-23 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23 16:38 [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips Pavan Savoy
  -- strict thread matches above, loose matches on Subject: below --
2010-03-22 21:19 [re-worked] New ldisc for WiLink7.0 pavan_savoy
2010-03-22 21:19 ` [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips pavan_savoy
2010-03-23 15:20   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox