1. 23 4月, 2011 1 次提交
    • P
      drivers:misc:ti-st: handle delayed tty receive · 764b0c4b
      Pavan Savoy 提交于
      When certain technologies shutdown their interface without waiting for
      the acknowledgement from the chip. The receive_buf from the TTY would be
      invoked a while after the relevant technology is unregistered.
      
      This patch introduces a new flag "is_registered" which maintains the
      state of protocols BT, FM or GPS and thereby removes the need to clear
      the protocol data from ST when protocols gets unregistered.
      
      This fixes corner cases when HCI RESET is sent down from bluetooth stack
      and the receive_buf is called from tty after 250ms before which
      bluetooth would have unregistered from the system.
      OR - when FM application decides to close down the device without
      sending a power-off FM command resulting in some RDS data or interrupt
      data coming in after the driver is unregistered.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      764b0c4b
  2. 10 3月, 2011 1 次提交
  3. 05 2月, 2011 6 次提交
  4. 15 10月, 2010 1 次提交
  5. 06 10月, 2010 2 次提交
    • P
      staging: ti-st: move TI_ST from staging to misc/ · a0cc2f3b
      Pavan Savoy 提交于
      move the 3 source files st_core.c, st_kim.c and st_ll.c
      from staging to drivers/misc/.
      
      Texas Instrument's WiLink 7 chipset packs wireless technologies like
      Bluetooth, FM, GPS and WLAN into a single die.
      Among these the Bluetooth, FM Rx/Tx and GPS are interfaced to a apps processor
      over a single UART.
      
      This line discipline driver allows various protocol drivers such as Bluetooth
      BlueZ driver, FM V4L2 driver and GPS simple character device driver
      to communicate with its relevant core in the chip.
      
      Each protocol or technologies use a logical channel to communicate with chip.
      Bluetooth uses the HCI-H4 [channels 1-4], FM uses a CH-8 and
      GPS a CH-9 protocol. The driver also constitutes the TI HCI-LL Power
      Management protocol which use channels 30-33.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a0cc2f3b
    • P
      staging: ti-st: mv ti_wilink_st header · e5558679
      Pavan Savoy 提交于
      Move the header to a standard linux device driver location.
      This should pave the way for other drivers to be moved into the relevant
      directories.
      
      ti_wilink_st.h is a common header file used by the TI's shared transport device
      driver for WiLink chipsets. Each individual protocol drivers like bluetooth
      driver, FM V4L2 driver and GPS drivers will make use of this header.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e5558679
  6. 25 9月, 2010 1 次提交
    • P
      Staging: ti-st: remove st_get_plat_device · d3654cd2
      Pavan Savoy 提交于
      In order to support multiple ST platform devices, a new symbol
      'st_get_plat_device' earlier needed to be exported by the arch/XX/brd-XX.c
      file which intends to add the ST platform device.
      
      On removing this dependency, now inside ST driver maintain the array of
      ST platform devices that would be registered.
      As of now let id=0, as and when we end up having such platforms
      where mutliple ST devices can exist, id would come from
      protocol drivers (BT, FM and GPS) as to on which platform device
      they want to register to.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Anca Emanuel <anca.emanuel@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d3654cd2
  7. 21 9月, 2010 1 次提交
  8. 01 9月, 2010 2 次提交
  9. 28 7月, 2010 1 次提交
  10. 23 7月, 2010 4 次提交
  11. 09 7月, 2010 1 次提交
    • P
      Staging: ti-st: remove global references · 38d9df49
      Pavan Savoy 提交于
      Providing a context which can be passed around the driver, the KIM's platform
      driver's struct device to be used to dev_set_drvdata and dev_get_drvdata.
      The ST core's data is passed around using tty's disc_data and in other
      cases the ST KIM's platform device is exposed from the board-XX.c which
      adds KIM platform device whose dev is used.
      
      Thereby remove the need for the global reference struct kim_data_s *kim_gdata;
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      38d9df49
  12. 19 6月, 2010 1 次提交
  13. 12 5月, 2010 1 次提交