drivers:misc: ti-st: move from rfkill to sysfs
authorPavan Savoy <pavan_savoy@ti.com>
Fri, 4 Feb 2011 08:23:10 +0000 (02:23 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 20:41:20 +0000 (12:41 -0800)
commitec60d0ad20ff8796dc41b30a9dce485478ccd263
tree9a0a96e59fb0f193ad25177a54fe16612e2f8545
parent5c88b02196a99332dacf305c8757674dd7a303ff
drivers:misc: ti-st: move from rfkill to sysfs

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: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/ABI/testing/sysfs-platform-kim [new file with mode: 0644]
drivers/misc/ti-st/st_kim.c
include/linux/ti_wilink_st.h