162306a36Sopenharmony_ciWhat: /sys/devices/platform/kim/dev_name 262306a36Sopenharmony_ciDate: January 2010 362306a36Sopenharmony_ciKernelVersion: 2.6.38 462306a36Sopenharmony_ciContact: "Pavan Savoy" <pavan_savoy@ti.com> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci Name of the UART device at which the WL128x chip 762306a36Sopenharmony_ci is connected. example: "/dev/ttyS0". 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci The device name flows down to architecture specific board 1062306a36Sopenharmony_ci initialization file from the ATAGS bootloader 1162306a36Sopenharmony_ci firmware. The name exposed is read from the user-space 1262306a36Sopenharmony_ci daemon and opens the device when install is requested. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciWhat: /sys/devices/platform/kim/baud_rate 1562306a36Sopenharmony_ciDate: January 2010 1662306a36Sopenharmony_ciKernelVersion: 2.6.38 1762306a36Sopenharmony_ciContact: "Pavan Savoy" <pavan_savoy@ti.com> 1862306a36Sopenharmony_ciDescription: 1962306a36Sopenharmony_ci The maximum reliable baud-rate the host can support. 2062306a36Sopenharmony_ci Different platforms tend to have different high-speed 2162306a36Sopenharmony_ci UART configurations, so the baud-rate needs to be set 2262306a36Sopenharmony_ci locally and also sent across to the WL128x via a HCI-VS 2362306a36Sopenharmony_ci command. The entry is read and made use by the user-space 2462306a36Sopenharmony_ci daemon when the ldisc install is requested. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciWhat: /sys/devices/platform/kim/flow_cntrl 2762306a36Sopenharmony_ciDate: January 2010 2862306a36Sopenharmony_ciKernelVersion: 2.6.38 2962306a36Sopenharmony_ciContact: "Pavan Savoy" <pavan_savoy@ti.com> 3062306a36Sopenharmony_ciDescription: 3162306a36Sopenharmony_ci The WL128x makes use of flow control mechanism, and this 3262306a36Sopenharmony_ci entry most often should be 1, the host's UART is required 3362306a36Sopenharmony_ci to have the capability of flow-control, or else this 3462306a36Sopenharmony_ci entry can be made use of for exceptions. 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ciWhat: /sys/devices/platform/kim/install 3762306a36Sopenharmony_ciDate: January 2010 3862306a36Sopenharmony_ciKernelVersion: 2.6.38 3962306a36Sopenharmony_ciContact: "Pavan Savoy" <pavan_savoy@ti.com> 4062306a36Sopenharmony_ciDescription: 4162306a36Sopenharmony_ci When one of the protocols Bluetooth, FM or GPS wants to make 4262306a36Sopenharmony_ci use of the shared UART transport, it registers to the shared 4362306a36Sopenharmony_ci transport driver, which will signal the user-space for opening, 4462306a36Sopenharmony_ci configuring baud and install line discipline via this sysfs 4562306a36Sopenharmony_ci entry. This entry would be polled upon by the user-space 4662306a36Sopenharmony_ci daemon managing the UART, and is notified about the change 4762306a36Sopenharmony_ci by the sysfs_notify. The value would be '1' when UART needs 4862306a36Sopenharmony_ci to be opened/ldisc installed, and would be '0' when UART 4962306a36Sopenharmony_ci is no more required and needs to be closed. 50