Commit Graph

27 Commits

Author SHA1 Message Date
Sven Schnelle
5cf27e2c53 bcwc_pcie: re-add debug messages 2015-11-22 08:05:16 +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
7373fe8cbb bcwc_pcie: Wait for command completion based on events 2015-11-03 22:34:03 +01:00
Sven Schnelle
c2fe3a7afb bcwc_pci: switch drv code to dynamic printk 2015-10-30 20:46:58 +01:00
Sven Schnelle
07686d56a1 bcwc_pcie: power down hardware 2015-10-29 23:13:29 +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
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
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
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
Sven Schnelle
99b97043e7 bcwc_pcie: return status of bcwc_hw_init() 2015-10-25 12:58:12 +01:00
Patrik Jakobsson
796dadb7b1 isp: Add simple S2 memory allocator
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-08-16 22:22:23 +02:00
Patrik Jakobsson
93b79c2bed bcwc_pcie: Add missing iounmap and pci release of S2 mem
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-08-22 01:06:29 +02:00
Patrik Jakobsson
3c2a63e9af bcwc_pcie: Add some more info on the GPLv2
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-08-09 14:28:28 +02:00
Patrik Jakobsson
539bb171d6 bcwc_pcie: Allocate S2 mem and add read/write macros
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-08-09 14:27:22 +02:00
Patrik Jakobsson
630e9d095e bcwc_pcie: Move target DDR speed into dev_priv
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-06-29 22:36:43 +02:00
Patrik Jakobsson
66d13133a0 bcwc_pcie: DDR PPL programming stuff
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-06-27 23:36:30 +02:00
Patrik Jakobsson
6d560f7dfd bcwc_pcie: Enable PCI bus mastering
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-04-30 22:41:22 +02:00
Patrik Jakobsson
84ba5fbab0 bcwc_pcie: Name PCI bars, rework reg writes and more stuff
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-04-05 23:16:04 +02:00
Patrik Jakobsson
90577c49cc bcwc_pcie: Skeleton for power up/down sequence
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-03-25 00:04:35 +01:00
Patrik Jakobsson
64f1d692ff bcwc_pcie: Store BAR lengts in driver private
We probably need this since we're going to be probing all over the io
mapped memory.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-03-24 16:39:04 +01:00
Patrik Jakobsson
15bbb553d4 bcwc_pcie: Add pci driver skeleton
Register pci driver, irq handler, map pci bars. You know the drill.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2014-03-16 22:45:44 +01:00