Ok, On TTY/4-wire UART, BT talks standard HCI, and HCI-LL for power management as in hci_ll.c/hciattach_ti.c which is already upstream.
And in a very similar way, FM talks over what is known as "channel 8" and GPS over "channel 9", Although these are not standard.
So, basically data going/coming to/out of chip is
1,2,3,4 - HCI
30,31,32,33 for HCI-LL
8 - FM
9 - GPS.
The chip side PM would be fine, and is being done so, st_kim.c creates the rfkill entries, and controls them locally, also allows applications to control them.
But ldisc can't be install upon boot, because UART clks would be used up for no reason at all.
Yes, couple were discussed, like creating a device node, and UIM would open device node, and ldisc driver then can do a fasync/SIGIO upon it - Sounds complex for a simplistic job.
Any more suggestion ?
requirement is the daemon should open/set-baud/and then TIOCSETD only upon requirement for either BT, FM or GPS.
Well, the idea is the driver isn't forgotten when this sort of thing happens.
Controversial (may be wrong) concepts like sending signal from kernel to user-space, parsing the script request via firmware class, creating a root kobject just to create a sysfs entry.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
--