Commit Graph

138 Commits

Author SHA1 Message Date
Sven Schnelle
5e3734963a bcwc_pcie: add missing bcwc_buffer.c and bcwc_buffer.h 2015-11-25 20:17:58 +01:00
Sven Schnelle
6072fbbdbb bcwc_pcie: cleanup probe function 2015-11-24 21:19:32 +01:00
Sven Schnelle
c38439aeb9 bcwc_pcie: allow to set framerate 2015-11-23 23:31:55 +01:00
Sven Schnelle
1f22dd2da2 bcwc_pcie: add variable for wait_event_interruptible() 2015-11-23 20:03:02 +01:00
Sven Schnelle
5c8ecaef7f bcwc_pcie: allow to set arbitry frame sizes 2015-11-23 16:02:04 +01:00
Sven Schnelle
e30a82d258 bcwc_pcie: fix goto statements 2015-11-23 16:01:30 +01:00
Sven Schnelle
a9e95f2793 bcwc_pcie: remove waitqueue from wq to cmd_wq 2015-11-23 16:00:55 +01:00
Sven Schnelle
61f779af56 bcwc_pcie: add bcwc_firmware_start() function 2015-11-23 15:58:21 +01:00
Sven Schnelle
c8431e7fbb bcwc_pcie: fix return code check of wait_event_interruptible_timeout() 2015-11-23 15:50:29 +01:00
Sven Schnelle
a55acf2846 bcwc_pcie: check return value from bcwc_channel_ringbuf_send()
It might return NULL, which would cause a kernel crash.
2015-11-23 15:49:53 +01:00
Sven Schnelle
5f5b38e4cc bcwc_pcie: set channel lock based on channel type 2015-11-23 15:48:56 +01:00
Sven Schnelle
60d31c8571 bcwc_pcie: call bcwc_buffer_queued handler 2015-11-23 15:46:44 +01:00
Sven Schnelle
58a71ab52b bcwc_pcie: simplify ringbuffer handling 2015-11-23 15:45:04 +01:00
Sven Schnelle
c29ff9e9bf bcwc_pcie: update README.md 2015-11-23 15:00:40 +01:00
Sven Schnelle
7225545e4b bcwc_pcie: add channel type enum 2015-11-23 14:44:27 +01:00
Sven Schnelle
4e3d87fb36 bcwc_pcie: add various functions to stop firmware 2015-11-23 14:42:00 +01:00
Sven Schnelle
f1301ae599 bcwc_pcie: remove bcwc_channel_ringbuf_mark_entry_available() 2015-11-22 20:50:42 +01:00
Sven Schnelle
21d37eea24 bcwc_pcie: don't mark sharedmalloc free requests 2015-11-22 20:29:51 +01:00
Sven Schnelle
5cf27e2c53 bcwc_pcie: re-add debug messages 2015-11-22 08:05:16 +01:00
Sven Schnelle
1eeaf7d305 bcwc_pcie: set nice name in v4l2 info 2015-11-22 08:04:48 +01:00
Sven Schnelle
1667a2bc0b bcwc_pcie: remove a few debug messages 2015-11-22 08:02:41 +01:00
Sven Schnelle
91821fc228 first version that actually streams ;-) 2015-11-21 21:58:30 +01:00
Sven Schnelle
10a0652a5d bcwc_pci: add video 4 linux skeleton 2015-11-17 19:57:02 +01:00
Sven Schnelle
703c02342c bcwc_pcie: Fix removal of module
the IRQ workqueue was called after channel info was freed, which was
crashing the kernel sometimes. Also fix the isp powerdown sequence,
to stop ISP properly if firmware crashes.
2015-11-14 20:56:21 +01:00
Sven Schnelle
44ae35299e bcwc_pcie: add basic camera configuration commands 2015-11-09 14:35:17 +01:00
Sven Schnelle
5d5387a52a bcwc_pcie: fix tx queue index reset 2015-11-09 14:21:38 +01:00
Sven Schnelle
9c79ac0863 bcwc_pcie: reset ringbuffer index if current index is above size 2015-11-07 22:34:57 +01:00
Sven Schnelle
c97e4a9172 bcwc_pcie: powerdown cmd doesn't send a response
The old code checked for stop command, which was wrong.
2015-11-03 22:40:32 +01:00
Sven Schnelle
7373fe8cbb bcwc_pcie: Wait for command completion based on events 2015-11-03 22:34:03 +01:00
Sven Schnelle
49d54ff767 bcwc_pcie: add isp command definitions to header file 2015-10-30 22:50:09 +01:00
Sven Schnelle
bc55f7059f add .gitignore 2015-10-30 20:48:26 +01:00
Sven Schnelle
c2fe3a7afb bcwc_pci: switch drv code to dynamic printk 2015-10-30 20:46:58 +01:00
Sven Schnelle
65511bb668 bcwc_pcie: switch isp debug to dynamic printk 2015-10-30 20:43:34 +01:00
Sven Schnelle
bfe4b4bd71 bcwc_pcie: switch ringbuf debug to dynamic printk 2015-10-30 20:37:32 +01:00
Sven Schnelle
07686d56a1 bcwc_pcie: power down hardware 2015-10-29 23:13:29 +01:00
Sven Schnelle
bd4650a2f7 bcwc_pcie: minor irq handling fixes 2015-10-29 22:29:31 +01:00
Sven Schnelle
b1f6b9d8dc bcwc_pcie: stop isp and free memory regions after unload 2015-10-29 22:28:04 +01:00
Sven Schnelle
3e4fc4c1fc bcwc_pcie: add start stop functions for firmware 2015-10-29 22:08:25 +01:00
Sven Schnelle
4373ccf675 bcwc_pcie: prototype irq/ringbuffer handling 2015-10-29 21:59:23 +01:00
Sven Schnelle
092c126af5 bcwc_pcie: release memory regions if a single pci_request_region() fails 2015-10-29 21:51:36 +01:00
Sven Schnelle
9e6f0eb34a bcwc_pcie: add ringbuffer handlign functions 2015-10-29 21:50:57 +01:00
Sven Schnelle
fb8782e240 bcwc_pcie: enable/disable interrupts in SoC 2015-10-26 21:38:16 +01:00
Sven Schnelle
ee3d53047d bcwc_pcie: Check return value of bcwc_hw_init() 2015-10-26 21:21:12 +01:00
Sven Schnelle
6966bb66d6 bcwc_pcie: add waiting for magic value from firmware 2015-10-26 21:19:49 +01:00
Sven Schnelle
e9abeff9fb bcwc_pcie: add channel pointer to private struct 2015-10-26 21:11:30 +01:00
Sven Schnelle
a3f7381da8 Add channel information private struct 2015-10-26 20:51:32 +01:00
Sven Schnelle
01ace6554c bcwc_pcie: set firmware args 2015-10-26 19:52:19 +01:00
Sven Schnelle
568ab1d098 bcwc_pcie: set 0x200 in pci register 0x94 2015-10-26 11:21:58 +01:00
Sven Schnelle
87f54c8095 bcwc_pcie: remove duplicate pci_set_master() 2015-10-26 11:19:32 +01:00
Sven Schnelle
6e8bdbbaf5 bcwc_pcie: also request memory for s2 mem region
and use our own root for the memory resource allocator to prevent
conflicts with system resource memory allocation.
2015-10-26 09:12:02 +01:00