#include <linux/platform_device.h>
#include <linux/jiffies.h>
#include <linux/firmware.h>
#include <linux/delay.h>
#include <linux/wait.h>
#include <linux/gpio.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/sched.h>
#include <linux/sysfs.h>
#include <linux/tty.h>
#include <linux/skbuff.h>
#include <linux/ti_wilink_st.h>
#include <linux/module.h>
Go to the source code of this file.
#define MAX_ST_DEVICES 3 /* Imagine 1 on each UART for now */ |
#define pr_fmt |
( |
|
fmt | ) |
"(stk) :" fmt |
module_platform_driver |
( |
kim_platform_driver |
| ) |
|
st_kim_ref - reference the core's data This references the per-ST platform device in the arch/xx/ board-xx.c file. This would enable multiple such platform devices to exist on a given platform
Definition at line 660 of file st_kim.c.
st_kim_start - called from ST Core upon 1st registration This involves toggling the chip enable gpio, reading the firmware version from chip, forming the fw file name based on the chip version, requesting the fw, parsing it and perform download(send/recv).
Definition at line 456 of file st_kim.c.
st_kim_stop - stop communication with chip. This can be called from ST Core/KIM, on the- (a) last un-register when chip need not be powered there-after, (b) upon failure to either install ldisc or download firmware. The function is responsible to (a) notify UIM about un-installation, (b) flush UART if the ldisc was installed. (c) invoke platform's chip disabling routine.
Definition at line 514 of file st_kim.c.