1. 17 8月, 2012 1 次提交
  2. 10 5月, 2012 1 次提交
  3. 23 8月, 2011 1 次提交
    • P
      drivers:misc:ti-st: platform hooks for chip states · 0d7c5f25
      Pavan Savoy 提交于
      Certain platform specific or Host-WiLink Interface specific actions would be
      required to be taken when the chip is being enabled and after the chip is
      disabled such as configuration of the mux modes for the GPIO of host connected
      to the nshutdown of the chip or relinquishing UART after the chip is disabled.
      
      Similar actions can also be taken when the chip is in deep sleep or when the
      chip is awake. Performance enhancements such as configuring the host to run
      faster when chip is awake and slower when chip is asleep can also be made
      here.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0d7c5f25
  4. 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
  5. 05 2月, 2011 4 次提交
    • P
      drivers:misc: ti-st: remove multiple gpio handling · 781a7395
      Pavan Savoy 提交于
      TI shared transport driver previously intended to expose rfkill
      entries for each of the protocol gpio that the chip would have.
      However now in case such gpios exist, which requires to be enabled
      for a specific protocol, the responsibility lay on protocol driver.
      This patch removes the request/free of multiple gpios, rfkill struct
      references and also removes the chip_toggle function.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      781a7395
    • P
      drivers:misc: ti-st: firmware download optimization · ef04d121
      Pavan Savoy 提交于
      To fasten the process of firmware download, the chip allows
      disabling of the command complete event generation from host.
      In these cases, only few very essential commands would have
      the command complete events and hence the wait associated with
      them.
      
      So now the driver would wait for a command complete event, only
      when it comes across a wait event during firmware parsing.
      This would also mean we need to skip not just the change baud
      rate command but also the wait for it.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ef04d121
    • P
      drivers:misc: ti-st: move from rfkill to sysfs · ec60d0ad
      Pavan Savoy 提交于
      The communication between ST KIM and UIM was interfaced
      over the /dev/rfkill device node.
      Move the interface to a simpler less abusive sysfs entry
      mechanism and document it in Documentation/ABI/testing/
      under sysfs-platform-kim.
      
      Shared transport driver would now read the UART details
      originally received by bootloader or firmware as platform
      data.
      The data read will be shared over sysfs entries for the user-space
      UIM or other n/w manager/plugins to be read, and assist the driver
      by opening up the UART, setting the baud-rate and installing the
      line discipline.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ec60d0ad
    • P
      drivers:misc: ti-st: register with channel IDs · 5c88b021
      Pavan Savoy 提交于
      The architecture of shared transport had begun with individual
      protocols like bluetooth, fm and gps telling the shared transport
      what sort of protocol they are and then expecting the ST driver
      to parse the incoming data from chip and forward data only
      relevant to the protocol drivers.
      
      This change would mean each protocol drivers would also send
      information to ST driver as to how to intrepret their protocol
      data coming out of the chip.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5c88b021
  6. 15 10月, 2010 1 次提交
  7. 06 10月, 2010 3 次提交
    • 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
    • P
      staging: ti-st: drop the __KERNEL__ · c7afa08d
      Pavan Savoy 提交于
      ti_wilink_st.h had the line discipline number which the user-space
      daemon refers to, to install and un-install the line discipline upon
      request from the shared transport driver via rfkill device.
      
      On moving this line discipline number to standard location of tty.h
      drop the __KERNEL__ flag in the header, since the header file would
      no longer be used by user-space.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c7afa08d
    • P
      tty.h: new ldisc for TI WiLink ST · 40fb29a7
      Pavan Savoy 提交于
      Texas Instrument's WiLink7 connectivity devices pack wireless connectivity
      technologies like Bluetooth, FM Radio Receiver and Transmitter, GPS and WLAN
      into a single die.
      The BT, FM and GPS core on the chip are interfaced to application
      processors via a single UART.
      
      This line discipline driver allows such different technologies to be used
      simultaneous and independent of each other.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      40fb29a7
  8. 21 9月, 2010 1 次提交