Obtain the number of channels for the Input Terminal from the
Logical Cluster Descriptor. This achieves a useful minimal parsing
of this unit so it can be used in other units in the topology.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
sound/usb/mixer.c | 8 ++--
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/uapi/lin
Connectors descriptor.
Tested with an UAC3 device with UAC2 as legacy configuration.
The connector status can be read with `amixer` and the interrupt
is also caught with `alsactl monitor`.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/linux/usb/audio-v2.h | 7 +++
i
Obtain the number of channels for the Input Terminal from the
Logical Cluster Descriptor. This achieves a useful minimal parsing
of this unit so it can be used in other units in the topology.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
sound/usb/mixer.c | 4 ++--
bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor.
Hence, checking for pitch control as if it was UAC2 doesn't make
any sense. Use the defined UAC3 offsets instead.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
sound/usb/stream.c | 9 -
1 file chan
://patchwork.kernel.org/patch/10340851/
[4]: https://www.spinics.net/lists/alsa-devel/msg71617.html
Based on linux-next tag: next-20180510
Jorge Sanjuan (4):
ALSA: usb-audio: UAC3. Add support for mixer unit.
ALSA: usb-audio: Use Class Specific EP for UAC3 devices.
ALSA: usb-audio: UAC3 Add support
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/uapi/lin
for the Headset Adapter
profile and enables the interrupt status pipe creation for BADD devices.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 45 -
1 file changed, 32 insertions(+), 13 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index
-directional type codes have been defined so they can be used as
inferred values
for the Input and Output terminals for this adapter profile.
--
Based on tag: next-20180612
Jorge Sanjuan (2):
ALSA: usb-audio: Add bi-directional terminal types.
ALSA: usb-audio: UAC3. Add insertion control
Define the bi-directional USB terminal types for audio devices.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/uapi/linux/usb/audio.h b/include/uapi/linux/usb/audio.h
index 13d98e6e0db1..74e520fb944f 100644
An UAC3 BADD device may also include an interrupt status pipe
to report changes on the HEADSET ADAPTER terminals. The creation
of the status pipe is dependent on the device reporting that it
has it.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 8 +---
1 file changed, 5 insertions
Define the bi-directional USB terminal types for audio devices.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/uapi/linux/usb/audio.h b/include/uapi/linux/usb/audio.h
index 13d98e6e0db1..74e520fb944f 100644
The HEADSET ADAPTER profile for BADD devices is meant to support
Insertion Control for the Input and Output Terminals of the headset.
This patch defines the BADD inferred input and output terminals and
builds the connector controls.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 17
Change build_connector_control() and get_connector_control_name()
so they take `struct usb_mixer_interface` as input argument instead
of `struct mixer_build`.
This is preliminary work to add support for connectors control
for UAC3 BADD devices. No functional change.
Signed-off-by: Jorge Sanjuan
for this profile so the status pipe
creation should also happen for BADD devices.
Also, the bi-directional type codes have been defined so they can be used
as inferred values for the Input and Output terminals for this adapter
profile.
Based on tag: next-20180612
Jorge Sanjuan (4):
ALSA: usb
From: Edward Cragg
Add a callback to configure TDM settings for the Tegra30
I2S ASoC 'platform' driver.
Signed-off-by: Ben Dooks
Signed-off-by: Edward Cragg
[jorge.sanj...@codethink.co.uk: Style fixes]
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.c | 34
of this
driver was fixed at 2 channels for simplicity, and not implementing TDM.
Signed-off-by: Edward Cragg
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/sound/soc/tegra/tegra30_i2s.c b
From: Edward Cragg
Fix typo in macro TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOTS_MASK.
Signed-off-by: Edward Cragg
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/tegra/tegra30_i2s.h b/sound/soc/tegra
]
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c
index ff1996f215ed..e26c19ef7439 100644
--- a/sound/soc/tegra/tegra30_i2s.c
+++ b/sound/soc
This patchset adds support for TDM audio on Tegra30 hardware.
It adds the DAI's `set_tdm_slot` callback and enables a tegra
pcm to have up to 8 channels.
It also includes support for other audio formats supported by
the Tegra30 HW and fixes a broken macro needed for setting the
TDM on the
the device doesn't mean audio streaming will occur.
Signed-off-by: Jorge Sanjuan
---
sound/usb/pcm.c| 24 +++-
sound/usb/stream.c | 6 +-
2 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 99ec9d5caa58..bbc7116c9543
n state D1 if the Power Domain exists. The patch
"ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks"
puts the logic for doing so inside the PCM's logic. Something to
improve on that is to also tie up those D1<->D0 state changes
to runtime PM maybe.
Jorge Sanjuan (4):
ALSA
(bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.h | 2 ++
sound/usb/stream.c | 66 +++---
2 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/sound
(interrupts) on the units.
When the usb_driver gets resumed, the state D0 (fully powered) will
be set. This ties up the UAC3 Power Domains to the runtime PM.
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.c | 9 +
sound/usb/pcm.c | 48
sound/usb
.
The Power Domains are optional for UAC3 configuration but all
UAC3 devices shall include at least one BADD configuration where
the support for Power Domains is compulsory.
This patch adds a set of features/helpers to parse these power
domains and change their status.
Signed-off-by: Jorge Sanjuan
the device doesn't mean audio streaming will occur.
Signed-off-by: Jorge Sanjuan
---
sound/usb/pcm.c| 20 +++-
sound/usb/stream.c | 6 +-
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 99ec9d5caa58..266f7028d01b 100644
(interrupts) on the units.
When the usb_driver gets resumed, the state D0 (fully powered) will
be set. This ties up the UAC3 Power Domains to the runtime PM.
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.c | 9 +
sound/usb/pcm.c | 48
sound/usb
(bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.h | 2 ++
sound/usb/stream.c | 66 +++---
2 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/sound
.
The Power Domains are optional for UAC3 configuration but all
UAC3 devices shall include at least one BADD configuration where
the support for Power Domains is compulsory.
This patch adds a set of features/helpers to parse these power
domains and change their status.
Signed-off-by: Jorge Sanjuan
lso tie up those D1<->D0 state changes
to runtime PM maybe.
Jorge Sanjuan (4):
ALSA: usb-audio: Initial Power Domain support
ALSA: usb-audio: AudioStreaming Power Domain parsing
ALSA: usb-audio: Add UAC3 Power Domains to suspend/resume
ALSA: usb-audio: Operate UAC3 Power Domains in PCM
.
The Power Domains are optional for UAC3 configuration but all
UAC3 devices shall include at least one BADD configuration where
the support for Power Domains is compulsory.
This patch adds a set of features/helpers to parse these power
domains and change their status.
Signed-off-by: Jorge Sanjuan
s/disables this feature (?).
Power Domains affecting other units independently are required to be
bypassed via a Selector Unit first before the host can change the
power state. This sceneario is not covered in this patchset.
based on next-20180719
Jorge Sanjuan (4):
ALSA: usb-audio: Initial Po
(bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.h | 2 ++
sound/usb/stream.c | 66 +++---
2 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/sound
(interrupts) on the units.
If the usb_driver gets resumed, the state D1 (idle) will be
set.
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.c | 9 +
sound/usb/pcm.c | 30 ++
sound/usb/pcm.h | 2 ++
3 files changed, 41 insertions(+)
diff --git a/sound/usb/card.c b
), the Power Domain will be set to D0 state.
This is the way the host lets the device now which Terminal
is going to be actively used and it is for the device to
manage its own internal resources on that UAC3 Power Domain.
Signed-off-by: Jorge Sanjuan
---
sound/usb/pcm.c| 34
readability/writability when the control is defined as
bit pairs (UAC2 and UAC3).
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index a51f2320a3dd..bfb3484096a6 100644
useful controls for the new Multi Function Processing Unit
so no control will get created once this unit is parsed.
Signed-off-by: Jorge Sanjuan
---
include/linux/usb/audio-v3.h | 15 +
include/uapi/linux/usb/audio.h | 49
sound/usb/mixer.c
to enable/dissable the Processing Units.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 54 --
1 file changed, 44 insertions(+), 10 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index ca963e94ec03..a51f2320a3dd 100644
-by: Jorge Sanjuan
---
sound/usb/mixer.c | 58 +++
1 file changed, 41 insertions(+), 17 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 87f18cb74ca3..73e811f86a95 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -2376,25
he overlap.
This patch proposes an unified approach by always using the most
comprehensive spec version to define them all (in this case UAC3).
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 36 +++-
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a
controls bitmap.
Based on: next-20180711
Jorge Sanjuan (5):
ALSA: usb-audio: Add support for Selector Units in UAC3
ALSA: usb-audio: Processing Unit controls parsing in UAC2
ALSA: usb-audio: Add support for Processing Units in UAC3
ALSA: usb-audio: Unify virtual type units type to UAC3
On 2018-04-13 23:24, Ruslan Bilovol wrote:
Recently released USB Audio Class 3.0 specification
contains BADD (Basic Audio Device Definition) document
which describes pre-defined UAC3 configurations.
BADD support is mandatory for UAC3 devices, it should be
implemented as a separate USB device
From: Michael Drake
The channel mapping is defined by bChRelationship, not bChPurpose.
Signed-off-by: Michael Drake
---
sound/usb/stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/stream.c
bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor.
Hence, checking for pitch control as if it was UAC2 doesn't make
any sense. Use the defined UAC3 offsets instead.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
sound/usb/stream.c | 17 +++--
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/uapi/lin
Connectors descriptor.
Tested with an UAC3 device with UAC2 as legacy configuration.
The connector status can be read with `amixer` and the interrupt
is also caught with `alsactl monitor`.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/linux/usb/audio-v2.h | 7 +++
i
of [4].
[1]: https://patchwork.kernel.org/patch/10298179/
[2]: https://patchwork.kernel.org/patch/10305847/
[3]: https://patchwork.kernel.org/patch/10340851/
[4]: https://www.spinics.net/lists/alsa-devel/msg71617.html
Based on linux-next tag: next-20180420
Jorge Sanjuan (3):
ALSA: usb-audio
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/uapi/lin
hael Drake <michael.dr...@codethink.co.uk>
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
sound/usb/stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/stream.c b/sound/usb/stream.c
index 6a8f5843334e..956be9f7c72a 100644
--- a/sound/usb
Connectors descriptor.
Tested with an UAC3 device with UAC2 as legacy configuration.
The connector status can be read with `amixer` and the interrupt
is also caught with `alsactl monitor`.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
include/linux/usb/audio-v2.h | 7 +++
i
bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor.
Hence, checking for pitch control as if it was UAC2 doesn't make
any sense. Use the defined UAC3 offsets instead.
Signed-off-by: Jorge Sanjuan <jorge.sanj...@codethink.co.uk>
---
sound/usb/stream.c | 9 -
1 file chan
verison of [4].
[1]: https://patchwork.kernel.org/patch/10298179/
[2]: https://patchwork.kernel.org/patch/10305847/
[3]: https://patchwork.kernel.org/patch/10340851/
[4]: https://www.spinics.net/lists/alsa-devel/msg71617.html
Based on linux-next tag: next-20180420
Jorge Sanjuan (3):
ALSA: usb-audio
Obtain the number of channels for the Input Terminal from the
Logical Cluster Descriptor. This achieves a useful minimal parsing
of this unit so it can be used in other units in the topology.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 8 ++--
1 file changed, 6 insertions(+), 2
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 19 +++--
sound/usb
://patchwork.kernel.org/patch/10340851/
[4]: https://www.spinics.net/lists/alsa-devel/msg71617.html
Based on linux-next tag: next-20180510
Jorge Sanjuan (4):
ALSA: usb-audio: UAC3. Add support for mixer unit.
ALSA: usb-audio: Use Class Specific EP for UAC3 devices.
ALSA: usb-audio: UAC3 Add support
Connectors descriptor.
Tested with an UAC3 device with UAC2 as legacy configuration.
The connector status can be read with `amixer` and the interrupt
is also caught with `alsactl monitor`.
Signed-off-by: Jorge Sanjuan
---
include/linux/usb/audio-v2.h | 7 +++
include/linux/usb/audio-v3.h | 14
bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor.
Hence, checking for pitch control as if it was UAC2 doesn't make
any sense. Use the defined UAC3 offsets instead.
Signed-off-by: Jorge Sanjuan
---
sound/usb/stream.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
Obtain the number of channels for the Input Terminal from the
Logical Cluster Descriptor. This achieves a useful minimal parsing
of this unit so it can be used in other units in the topology.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 4 ++--
1 file changed, 2 insertions(+), 2
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 19 +++--
sound/usb
On 2018-04-13 23:24, Ruslan Bilovol wrote:
Recently released USB Audio Class 3.0 specification
contains BADD (Basic Audio Device Definition) document
which describes pre-defined UAC3 configurations.
BADD support is mandatory for UAC3 devices, it should be
implemented as a separate USB device
Connectors descriptor.
Tested with an UAC3 device with UAC2 as legacy configuration.
The connector status can be read with `amixer` and the interrupt
is also caught with `alsactl monitor`.
Signed-off-by: Jorge Sanjuan
---
include/linux/usb/audio-v2.h | 7 +++
include/linux/usb/audio-v3.h | 14
of [4].
[1]: https://patchwork.kernel.org/patch/10298179/
[2]: https://patchwork.kernel.org/patch/10305847/
[3]: https://patchwork.kernel.org/patch/10340851/
[4]: https://www.spinics.net/lists/alsa-devel/msg71617.html
Based on linux-next tag: next-20180420
Jorge Sanjuan (3):
ALSA: usb-audio
From: Michael Drake
The channel mapping is defined by bChRelationship, not bChPurpose.
Signed-off-by: Michael Drake
---
sound/usb/stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/stream.c b/sound/usb/stream.c
index 6a8f5843334e..956be9f7c72a 100644
---
bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor.
Hence, checking for pitch control as if it was UAC2 doesn't make
any sense. Use the defined UAC3 offsets instead.
Signed-off-by: Jorge Sanjuan
---
sound/usb/stream.c | 17 +++--
1 file changed, 15 insertions(+), 2
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 13 +++--
sound/usb
is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 13 +--
sound/usb
From: Michael Drake
The channel mapping is defined by bChRelationship, not bChPurpose.
Fixes: 9a2fe9b801f5 ("ALSA: usb: initial USB Audio Device Class 3.0
support")
Reviewed-by: Ruslan Bilovol
Signed-off-by: Michael Drake
Signed-off-by: Jorge Sanjuan
---
sound/usb/stream.c | 2
verison of [4].
[1]: https://patchwork.kernel.org/patch/10298179/
[2]: https://patchwork.kernel.org/patch/10305847/
[3]: https://patchwork.kernel.org/patch/10340851/
[4]: https://www.spinics.net/lists/alsa-devel/msg71617.html
Based on linux-next tag: next-20180420
Jorge Sanjuan (3):
ALSA: usb-audio
Connectors descriptor.
Tested with an UAC3 device with UAC2 as legacy configuration.
The connector status can be read with `amixer` and the interrupt
is also caught with `alsactl monitor`.
Signed-off-by: Jorge Sanjuan
---
include/linux/usb/audio-v2.h | 7 +++
include/linux/usb/audio-v3.h | 14
bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor.
Hence, checking for pitch control as if it was UAC2 doesn't make
any sense. Use the defined UAC3 offsets instead.
Signed-off-by: Jorge Sanjuan
---
sound/usb/stream.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
readability/writability when the control is defined as
bit pairs (UAC2 and UAC3).
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index a51f2320a3dd..bfb3484096a6 100644
useful controls for the new Multi Function Processing Unit
so no control will get created once this unit is parsed.
Signed-off-by: Jorge Sanjuan
---
include/linux/usb/audio-v3.h | 15 +
include/uapi/linux/usb/audio.h | 49
sound/usb/mixer.c
to enable/dissable the Processing Units.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 54 --
1 file changed, 44 insertions(+), 10 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index ca963e94ec03..a51f2320a3dd 100644
he overlap.
This patch proposes an unified approach by always using the most
comprehensive spec version to define them all (in this case UAC3).
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 36 +++-
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a
controls bitmap.
Based on: next-20180711
Jorge Sanjuan (5):
ALSA: usb-audio: Add support for Selector Units in UAC3
ALSA: usb-audio: Processing Unit controls parsing in UAC2
ALSA: usb-audio: Add support for Processing Units in UAC3
ALSA: usb-audio: Unify virtual type units type to UAC3
-by: Jorge Sanjuan
---
sound/usb/mixer.c | 58 +++
1 file changed, 41 insertions(+), 17 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 87f18cb74ca3..73e811f86a95 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -2376,25
From: Edward Cragg
Add a callback to configure TDM settings for the Tegra30
I2S ASoC 'platform' driver.
Signed-off-by: Ben Dooks
Signed-off-by: Edward Cragg
[jorge.sanj...@codethink.co.uk: Style fixes]
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.c | 34
]
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c
index ff1996f215ed..e26c19ef7439 100644
--- a/sound/soc/tegra/tegra30_i2s.c
+++ b/sound/soc
This patchset adds support for TDM audio on Tegra30 hardware.
It adds the DAI's `set_tdm_slot` callback and enables a tegra
pcm to have up to 8 channels.
It also includes support for other audio formats supported by
the Tegra30 HW and fixes a broken macro needed for setting the
TDM on the
of this
driver was fixed at 2 channels for simplicity, and not implementing TDM.
Signed-off-by: Edward Cragg
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/sound/soc/tegra/tegra30_i2s.c b
From: Edward Cragg
Fix typo in macro TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOTS_MASK.
Signed-off-by: Edward Cragg
Signed-off-by: Jorge Sanjuan
---
sound/soc/tegra/tegra30_i2s.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/tegra/tegra30_i2s.h b/sound/soc/tegra
lso tie up those D1<->D0 state changes
to runtime PM maybe.
Jorge Sanjuan (4):
ALSA: usb-audio: Initial Power Domain support
ALSA: usb-audio: AudioStreaming Power Domain parsing
ALSA: usb-audio: Add UAC3 Power Domains to suspend/resume
ALSA: usb-audio: Operate UAC3 Power Domains in PCM
the device doesn't mean audio streaming will occur.
Signed-off-by: Jorge Sanjuan
---
sound/usb/pcm.c| 20 +++-
sound/usb/stream.c | 6 +-
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 99ec9d5caa58..266f7028d01b 100644
(interrupts) on the units.
When the usb_driver gets resumed, the state D0 (fully powered) will
be set. This ties up the UAC3 Power Domains to the runtime PM.
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.c | 9 +
sound/usb/pcm.c | 48
sound/usb
(bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.h | 2 ++
sound/usb/stream.c | 66 +++---
2 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/sound
.
The Power Domains are optional for UAC3 configuration but all
UAC3 devices shall include at least one BADD configuration where
the support for Power Domains is compulsory.
This patch adds a set of features/helpers to parse these power
domains and change their status.
Signed-off-by: Jorge Sanjuan
.
The Power Domains are optional for UAC3 configuration but all
UAC3 devices shall include at least one BADD configuration where
the support for Power Domains is compulsory.
This patch adds a set of features/helpers to parse these power
domains and change their status.
Signed-off-by: Jorge Sanjuan
(bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.h | 2 ++
sound/usb/stream.c | 66 +++---
2 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/sound
(interrupts) on the units.
When the usb_driver gets resumed, the state D0 (fully powered) will
be set. This ties up the UAC3 Power Domains to the runtime PM.
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.c | 9 +
sound/usb/pcm.c | 48
sound/usb
the device doesn't mean audio streaming will occur.
Signed-off-by: Jorge Sanjuan
---
sound/usb/pcm.c| 24 +++-
sound/usb/stream.c | 6 +-
2 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 99ec9d5caa58..bbc7116c9543
n state D1 if the Power Domain exists. The patch
"ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks"
puts the logic for doing so inside the PCM's logic. Something to
improve on that is to also tie up those D1<->D0 state changes
to runtime PM maybe.
Jorge Sanjuan (4):
ALSA
(bTerminalLink) and adds a
reference to them in the usb audio substreams (snd_usb_substream).
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.h | 2 ++
sound/usb/stream.c | 66 +++---
2 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/sound
.
The Power Domains are optional for UAC3 configuration but all
UAC3 devices shall include at least one BADD configuration where
the support for Power Domains is compulsory.
This patch adds a set of features/helpers to parse these power
domains and change their status.
Signed-off-by: Jorge Sanjuan
s/disables this feature (?).
Power Domains affecting other units independently are required to be
bypassed via a Selector Unit first before the host can change the
power state. This sceneario is not covered in this patchset.
based on next-20180719
Jorge Sanjuan (4):
ALSA: usb-audio: Initial Po
(interrupts) on the units.
If the usb_driver gets resumed, the state D1 (idle) will be
set.
Signed-off-by: Jorge Sanjuan
---
sound/usb/card.c | 9 +
sound/usb/pcm.c | 30 ++
sound/usb/pcm.h | 2 ++
3 files changed, 41 insertions(+)
diff --git a/sound/usb/card.c b
), the Power Domain will be set to D0 state.
This is the way the host lets the device now which Terminal
is going to be actively used and it is for the device to
manage its own internal resources on that UAC3 Power Domain.
Signed-off-by: Jorge Sanjuan
---
sound/usb/pcm.c| 34
-directional type codes have been defined so they can be used as
inferred values
for the Input and Output terminals for this adapter profile.
--
Based on tag: next-20180612
Jorge Sanjuan (2):
ALSA: usb-audio: Add bi-directional terminal types.
ALSA: usb-audio: UAC3. Add insertion control
Define the bi-directional USB terminal types for audio devices.
Signed-off-by: Jorge Sanjuan
---
include/uapi/linux/usb/audio.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/uapi/linux/usb/audio.h b/include/uapi/linux/usb/audio.h
index 13d98e6e0db1..74e520fb944f 100644
for the Headset Adapter
profile and enables the interrupt status pipe creation for BADD devices.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 45 -
1 file changed, 32 insertions(+), 13 deletions(-)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index
The HEADSET ADAPTER profile for BADD devices is meant to support
Insertion Control for the Input and Output Terminals of the headset.
This patch defines the BADD inferred input and output terminals and
builds the connector controls.
Signed-off-by: Jorge Sanjuan
---
sound/usb/mixer.c | 17
1 - 100 of 104 matches
Mail list logo