On 12/14/2016 09:38 AM, Arnd Bergmann wrote:
> On Wednesday, December 14, 2016 1:11:42 AM CET Holger Dengler wrote:
>>
>> diff --git a/include/uapi/linux/flexcard.h b/include/uapi/linux/flexcard.h
>> new file mode 100644
>> index 000..4e9f07b4
>> --- /dev
On 12/15/2016 05:38 AM, Vinod Koul wrote:
> On Wed, Dec 14, 2016 at 01:11:53AM +0100, Holger Dengler wrote:
>> The Flexcard interface design split packet receive and transmit. All
>> received packets and card status information are multiplexed with a
>> Flexcard specific
On 12/14/2016 09:42 AM, Arnd Bergmann wrote:
> On Wednesday, December 14, 2016 1:11:49 AM CET Holger Dengler wrote:
>> The Flexcard PCI BAR0 contain registers for configuration but also
>> for informational purpose like error counter, statistical information
>> and some time
/misc/. If someone know a better place for
the posix_clock, please let me know.
The irq part of the mfd driver has been mainly reworked (thanks to Thomas
and Sebastian for their input). The irq-demux is now implementet without a
loop and the irq_chips share the irq-table and functions.
Holger Dengler
The Flexcard comprise an interrupt controller for the attached
tinys, timer, a Flexray related trigger and a second one for DMA.
Both controllers share a single IRQ line.
Add the DMA Controller interrupts.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Lee Jones
: Holger Dengler
cc: Lee Jones
---
drivers/mfd/flexcard_core.c | 85 +
1 file changed, 85 insertions(+)
diff --git a/drivers/mfd/flexcard_core.c b/drivers/mfd/flexcard_core.c
index 55bcfec..fc5b033 100644
--- a/drivers/mfd/flexcard_core.c
+++ b/drivers/mfd
The Flexcard timestamp counter can be triggered from two external
trigger inputs or an internal clock at 1 MHz, 10 Mhz or 100 MHz.
Add support for timestamp trigger selection.
Signed-off-by: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Arnd Bergmann
cc: Greg Kroah-Hartman
---
drivers
-by: Holger Dengler
cc: Arnd Bergmann
cc: Greg Kroah-Hartman
---
drivers/mfd/Kconfig | 1 +
drivers/misc/Kconfig | 6 ++
drivers/misc/Makefile| 1 +
drivers/misc/flexcard_misc.c | 165 +++
4 files changed, 173 insertions
ringbuffer driver and packet demultiplexer.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Vinod Koul
---
drivers/dma/Kconfig | 9 ++
drivers/dma/Makefile| 1 +
drivers/dma/flexcard/Makefile | 2 +
drivers/dma/flexcard/core.c | 292
The Flexcard comprise an interrupt controller for the attached
tinys, timer, a Flexray related trigger and a second one for DMA.
Both controllers share a single IRQ line.
Add an interrupt domain for the non-DMA interrupts.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Lee
dex 000..146f0f3
--- /dev/null
+++ b/drivers/misc/flexcard_posixclock.c
@@ -0,0 +1,240 @@
+/*
+ * Eberspächer Flexcard PMC II - posix clock driver
+ *
+ * Copyright (c) 2014 - 2016, Linutronix GmbH
+ * Author: Benedikt Spranger
+ * Holger Dengler
+ *
+ * This program is free software;
the DMA receive channel.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Lee Jones
---
drivers/mfd/flexcard_core.c | 67 +
1 file changed, 67 insertions(+)
diff --git a/drivers/mfd/flexcard_core.c b/drivers/mfd/flexcard_core.c
index
The Eberspaecher Flexcard PMC II is a PMC (PCI Mezzanine Card) II
carrier board. The carrier board can take up to 4 exchangeable physical
layer boards for e.g. CAN, FlexRay or Ethernet.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Lee Jones
---
drivers/mfd/Kconfig
The Flexcard offers a Flexray network synchronized counter with a
selectable resolution of 1us, 100ns or 10ns. Add an appropriate MFD-cell
to use the counter.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Lee Jones
---
drivers/mfd/flexcard_core.c | 40
The Flexcard PCI BAR0 contain registers for configuration and
informational purpose. Add an appropriate MFD-cell for these registers.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
cc: Lee Jones
---
drivers/mfd/flexcard_core.c | 58
Add device attributes for common flexcard information access. The
attribiutes are read-only execpt "uid" (user ID register).
The "uid" attribute can also be used to change the user-defined ID of a
Flexcard.
Signed-off-by: Benedikt Spranger
Signed-off-by: Holger Dengler
c
Hi John,
On 03/26/2015 05:34 PM, John Stultz wrote:
> On Thu, Mar 26, 2015 at 4:01 AM, Holger Dengler wrote:
>> On 03/26/2015 10:41 AM, Daniel Lezcano wrote:
>>>
>>> config CLKSRC_FLEXCARD
>>> bool
>>> select CLKSRC_MMIO
>>
&
if MFD_FLEXCARD is selected.
>> +depends on MFD_FLEXCARD
>> +select CLKSRC_MMIO
>> +help
>> + This is the clocksource function driver for the
>> + Eberspaecher Flexcard PMC II carrier board. The
>> + Flexcard provide a Flexray synchro
: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Samuel Ortiz
cc: Lee Jones
---
drivers/mfd/flexcard/core.c | 107 ++-
include/linux/mfd/flexcard.h | 6 +++
include/uapi/linux/Kbuild| 1 +
3 files changed, 112 insertions(+), 2 deletions(-)
diff
From: Benedikt Spranger
The Eberspaecher Flexcard PMC II offers a Flexray network synchronized
counter with a selectable resolution of 1us, 100ns or 10ns. Add basic
support for the timestamp counter with 1us resolution, which is the
standard Flexray bus resolution.
Signed-off-by: Holger Dengler
From: Benedikt Spranger
The Flexcard timestamp counter can be triggered from two external
trigger inputs or an internal clock at 1 MHz, 10 Mhz or 100 MHz.
Add support for timestamp trigger selection.
Signed-off-by: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Daniel Lezcano
cc: Thomas
From: Benedikt Spranger
The Eberspaecher Flexcard PMC II is a PMC (PCI Mezzanine Card) II
carrier board. The carrier board can take up to 4 exchangeable physical
layer boards for e.g. CAN, FlexRay or Ethernet.
Signed-off-by: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Samuel Ortiz
cc
.
Add a Flexcard DMA ringbuffer driver and packet demultiplexer.
Signed-off-by: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Samuel Ortiz
cc: Lee Jones
---
drivers/mfd/Kconfig | 9 ++
drivers/mfd/flexcard/Makefile | 3 +
drivers/mfd/flexcard/dma.c | 286
.
Add a platform device for the DMA receive channel.
Signed-off-by: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Samuel Ortiz
cc: Lee Jones
---
drivers/mfd/flexcard/core.c | 60 +
drivers/mfd/flexcard/flexcard.h | 5
2 files changed, 65
From: Benedikt Spranger
Add an UIO device for each Flexcard Flexray related trigger. The trigger
devide into:
- Flexray cycle start (CCYS)
- Flexray timer 0 (CCxT0)
- Bus wakeup (WAKE)
The UIO IRQ devices can be used to synchronize an application
with these events.
Signed-off-by: Holger
From: Benedikt Spranger
The Flexcard comprise an interrupt controller for the attached
tinys, timer, a Flexray related trigger and a second one for DMA.
Both controllers share a single IRQ line.
Add an interrupt domain for the DMA Controller interrupts.
Signed-off-by: Holger Dengler
Signed
From: Benedikt Spranger
The Flexcard offers a Flexray network synchronized counter with a
selectable resolution of 1us, 100ns or 10ns. Add an appropriate MFD-cell
to use the counter.
Signed-off-by: Holger Dengler
Signed-off-by: Benedikt Spranger
cc: Samuel Ortiz
cc: Lee Jones
---
drivers
From: Benedikt Spranger
The Flexcard comprise an interrupt controller for the attached
tinys, timer, a Flexray related trigger and a second one for DMA.
Both controllers share a single IRQ line.
Add an interrupt domain for the non-DMA interrupts.
Signed-off-by: Holger Dengler
Signed-off-by
From: Benedikt Spranger
Add device attributes for common flexcard information access. The
attribiutes are read-only execpt "uid" (user ID register).
The "uid" attribute can also be used to change the user-defined ID of a
Flexcard.
Signed-off-by: Holger Dengler
Signed-off-b
The Eberspaecher Flexcard PMC II is a PMC (PCI Mezzanine Card) II
carrier board. The carrier board can take up to 4 exchangeable physical
layer boards for CAN, FlexRay or Ethernet.
This patchset adds support for the common infrastructure of the carrier
board.
This series of patches apply on v4.0-r
30 matches
Mail list logo