Skip to content

RFC si4713 : USB driver

Dinesh Ram linux-media 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5si4713 : Reorganized drivers/media/radio directorydrivers/media/radio/Kconfig drivers/media/radio/Makefile drivers/media/radio/radio-si4713.c +7 more+2055 -20410 replies
2/5si4713 : Modified i2c driver to handle cases where interrupts are not useddrivers/media/radio/si4713/si4713.c drivers/media/radio/si4713/si4713.h+63 -480 replies
3/5si4713 : Bug fix for si4713_tx_tune_power() method in the i2c driverdrivers/media/radio/si4713/si4713.c+8 -80 replies
4/5si4713 : HID blacklist Si4713 USB development boarddrivers/hid/hid-core.c drivers/hid/hid-ids.h+3 -00 replies
5/5si4713 : Added the USB driver for Si4713drivers/media/radio/si4713/Kconfig drivers/media/radio/si4713/Makefile drivers/media/radio/si4713/radio-usb-si4713.c+554 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] si4713 : USB driver

This patch series adds USB support for the SiLabs development board which contains the Si4713 FM transmitter chip.
This device can transmit audio through FM.
It can transmit RDS and RBDS signals as well.

Documentation for this product can be accessed here :
http://www.silabs.com/products/audiovideo/fmtransmitters/Pages/si471213.aspx

Note : All the patches are on top of the latest version of the media-git tree as on 20-August-2013 (15:30 Europe time)

In the source tree, drivers/media/radio has been reorganized to include a new folder drivers/media/radio/si4713 which contains all the si4713 related files.

Modified and renamed files :
-----------------------------------
drivers/media/radio/si4713-i2c.c ==> drivers/media/radio/si4713/si4713.c drivers/media/radio/si4713-i2c.h ==> drivers/media/radio/si4713/si4713.h drivers/media/radio/radio-si4713.c ==> drivers/media/radio/si4713/radio-i2c-si4713.c

New files :
-------------
drivers/media/radio/si4713/radio-usb-si4713.c

The existing i2c driver has been modified to add support for cases where the interrupt is not enabled.
Checks have been introduced at several places in the code to test if an interrupt is set or not. The development board is plugged into the host through USB and does not use interrupts. To get a valid response, within a specified timeout, the device is polled instead.

The USB driver has been developed by analyzing the the USB traffic obtained by sniffing the USB bus. A sequence of commands are sent during device startup, the specifics of which are not obvious. Nevertheless they seem to be necessary for the proper fuctioning of the device.

The i2c driver assumes a 2-wire bus mode.