From: Timo Wischer
Since ARMv7 hardware cache coherence is supported.
"The SCU maintains coherency between the individual data caches in the
Cortex-A5 MPCore processor using a variation of the MOESI protocol" [1].
Therefore this patch enables the MMAP access to the status and control
structures.
From: Timo Wischer
If there is a hardware sound card linked to the loopback device
the sound timer of the hardware sound card will be used for this
loopback device. Such a link will be created when snd_pcm_link() was
called.
Linked dummy and loopback devices will be ignored.
This feature can be
From: Timo Wischer
so all functions can use the same.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index 3105757..85a1519 100644
--- a/sound/drivers/aloop.c
+++ b/
From: Timo Wischer
This commit does not change the behaviour. It only seperates the jiffies
timer specific implementation from the generic part.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --gi
From: Timo Wischer
to do synchronous audio forwarding between hardware sound card and aloop
devices. Such an audio route could look like the following:
Sound card -> Loopback application -> ALSA loop device -> arecord
In this case the loopback device should use the sound timer of the sound
card.
From: Timo Wischer
snd_pcm_link() can be called by the user as long as the device is not
yet started. Therefore currently a driver which wants to iterate over
the linked substreams has to do this at the start trigger. But the start
trigger should not block for a long time. Therefore there is no c
From: Timo Wischer
This commit only refectors the implementation. It does not change the
behaviour.
It is required to support other timers (e.g sound timer).
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 113 +-
1 file changed, 94 inser
From: Timo Wischer
to allow the usage of timer callbacks from interrupt context.
For example the sound timer.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 33 +++--
1 file changed, 19 insertions(+), 14 deletions(-)
diff --git a/sound/drivers/aloop.c b/so
From: Timo Wischer
Describe the unit of the variables used to calculate the hw pointer
depending on jiffies ticks.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index
From: Timo Wischer
This is required for additional timer implementations which could detect
errors and want to throw them.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/sound/drivers/aloop.c b/sound
From: Timo Wischer
This is required for additional timer implementations which could detect
errors and want to throw them.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/drivers/aloop.c b/sound/driver
With the following patch set any sound timer can be used as timer source
for the aloop devices if selected. It can be select by the additional
timer_source kernel module parameter:
-2 the jiffies timer will be used as done without this patch (default)
-1 the sound timer will be selected dependi
From: Timo Wischer
Currently snd_aloop supports only S16 and S32 audio sample formats. With
this patch the S24 formats are also supported.
Signed-off-by: Timo Wischer
---
sound/drivers/aloop.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sound/drivers/aloop.c b/sound/
From: Jiada Wang
rsnd driver supports SSIU now, let's use it.
Then, BUSIF DMA settings on rcar_sound,ssi (= rxu, txu) are
no longer needed.
Applies commit 8d14bfa074db ("arm64: dts: renesas: r8a7796: add SSIU
support for sound") and commit 10bd03fa896e ("arm64: dts: renesas:
r8a7796: remove BUSIF
From: Jiada Wang
Currently each SSI unit 's busif mode/adinr/dalign address is
registered by: (in busif4 case)
RSND_GEN_M_REG(SSI_BUSIF4_MODE, 0x500, 0x80)
RSND_GEN_M_REG(SSI_BUSIF4_ADINR,0x504, 0x80)
RSND_GEN_M_REG(SSI_BUSIF4_DALIGN, 0x508, 0x80)
But according to user manual 41.1.4 Register Con
From: Jiada Wang
rsnd driver supports SSIU now, let's use it.
Then, BUSIF DMA settings on rcar_sound,ssi (= rxu, txu) are
no longer needed.
Applies commit 8d14bfa074db ("arm64: dts: renesas: r8a7796: add SSIU
support for sound") for r8a77965.
Signed-off-by: Jiada Wang
Signed-off-by: Timo Wische
From: Jiada Wang
commit 78bc93b3ffb2 ("arm64: dts: renesas: r8a7796: Add address
properties to rcar_sound port nodes") added missing #address-cells
and #size-cells for sound ports.
But, these are based on platform, not on SoC. This patch cleanups it.
Signed-off-by: Jiada Wang
Signed-off-by: Tim
From: Jiada Wang
Currently each SSI unit 's busif mode/adinr/dalign address is
registered by: (in busif4 case)
RSND_GEN_M_REG(SSI_BUSIF4_MODE, 0x500, 0x80)
RSND_GEN_M_REG(SSI_BUSIF4_ADINR,0x504, 0x80)
RSND_GEN_M_REG(SSI_BUSIF4_DALIGN, 0x508, 0x80)
But according to user manual 41.1.4 Register Con
From: Jiada Wang
Currently each SSI unit 's busif dma address is calculated by
following calculation formulation:
0xec54 + 0x1000 * id + busif / 4 * 0xA000 + busif % 4 * 0x400
But according to user manual 41.1.4 Register Configuration
ssi9 4/5/6/7 busif data register address
(SSI9_4_BUSIF/SS
19 matches
Mail list logo