aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08ASoC: p1022_ds: Switch to SPDX identifierAndra Danciu1-11/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mx27vis-aic32x4: Switch to SPDX identifierAndra Danciu1-22/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc8610_hpcd: Switch to SPDX identifierAndra Danciu1-11/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc5200_psc_i2s: Switch to SPDX identifierAndra Danciu1-7/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc5200_psc_ac97: Switch to SPDX identifierAndra Danciu1-10/+6
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc5200_dma: Switch to SPDX identifierAndra Danciu1-7/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-ssi: Switch to SPDX identifierAndra Danciu2-37/+26
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-spdif: Switch to SPDX identifierAndra Danciu1-10/+3
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-pcm-fiq: Switch to SPDX identifierAndra Danciu1-13/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-mc13783: Switch to SPDX identifierAndra Danciu1-14/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-es8328: Switch to SPDX identifierAndra Danciu1-11/+4
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-audmux: Switch to SPDX identifierAndra Danciu1-18/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: fsl-dma: Switch to SPDX identifierAndra Danciu2-19/+12
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: eukrea-tlv320: Switch to SPDX identifierAndra Danciu1-16/+10
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-pcm: Switch to SPDX identifierAndra Danciu1-5/+1
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: cs42l51: change mic bias DAPMOlivier Moysan1-1/+2
Use SND_SOC_DAPM_SUPPLY for mic bias DAPM instead of deprecated SND_SOC_DAPM_MICBIAS. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: fsl_esai: Support synchronous modeS.j. Wang1-7/+14
In ESAI synchronous mode, the clock is generated by Tx, So we should always set registers of Tx which relate with the bit clock and frame clock generation (TCCR, TCR, ECR), even there is only Rx is working. Signed-off-by: Shengjiu Wang <[email protected]> Acked-by: Nicolin Chen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: topology: fix big-endian checkPierre-Louis Bossart1-1/+3
Use an explicit define to avoid Sparse issues coming from the use of cpu_to_be32 Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: topology: fix endianness issuesPierre-Louis Bossart1-121/+170
Use le16/32/64_to_cpu() as needed to make Sparse happy. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-tdmout: add g12a supportJerome Brunet1-0/+13
The axg tdmout driver just need a different skew offset to operate correctly on the g12a SoC family. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-tdm-formatter: rework quirks settingsJerome Brunet4-14/+35
The g12a tdmout requires a different signal skew offset than the axg. With this change, the skew offset is added as a parameter of the tdm formatters to prepare the addition of the g12a support. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-frddr: add g12a supportJerome Brunet1-3/+140
On the axg, frddr could only be connected to 1 downstream element, so the playback was possible on 1 interface only at a time. On the g12a, the frddr may connect and wait for the request of up to 3 downstream elements. With this, it possible for single playback to be played on several interfaces at the same time. Like the toddr fifo, the g12a frddr also need to take care of resetting the read pointer to the initial fifo address when preparing a playback. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-toddr: add g12a supportJerome Brunet1-0/+53
Since the g12a SoC fifo can set the fifo initial start address, we must make sure to actually reset the write pointer to this address when starting a capture. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-fifo: add g12a supportJerome Brunet2-3/+33
The g12a fifos gained the ability to set the initial address of the pointer within the buffer, instead of defaulting to the buffer start address. It is not very useful to us (yet) but we need to put a copy the buffer start address in the related register for the fifo to work properly on the g12a SoC family Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: add g12a compatiblesJerome Brunet5-5/+12
Add new compatible strings for the g12a devices. Audio wise, the g12a is fairly to close to the axg, yet some differences need to be handled. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: core: remove link components before cleaning up card resourcesRanjani Sridharan1-0/+11
When the card is registered by the machine driver, dai link components are probed after the snd_card is created. This is done in snd_soc_bind_card() which calls snd_soc_instantiate_card() to first create the snd_card and then probes the link components by calling soc_probe_link_components(). The snd_card is used by the component driver to add the kcontrols associated with dapm widgets to the card. When the machine driver is unregistered, the snd_card is freed when the card resources are cleaned up. But the snd_card needs to be valid while unloading the topology dapm widgets in order to remove the kcontrols from the card. Since, unloading topology is done when the component driver is removed, the link components should be removed in snd_soc_unbind_card(). This will ensure that the kcontrols are removed before the card resources are cleaned up and the snd_card itself is freed. Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add adc volume controlOlivier Moysan1-0/+3
Add ADC boost volume control for CS42L51 codec. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add power managementOlivier Moysan3-2/+129
Add sleep PM callbacks to support system low power modes. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add support of master modeOlivier Moysan1-3/+27
Add support of master mode for cs42l51 cirrus audio codec. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add reset managementOlivier Moysan1-0/+15
Manage cs42l51 audio codec reset pin. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add regulator managementOlivier Moysan3-1/+50
Add cs42l51 audio codec power supply management through regulator framework. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: dt-bindings: update cs42l51 bindingsOlivier Moysan1-0/+16
Add compatible, reg, regulator, and reset to Cirrus CS42L51 audio codec bindings. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: wm_adsp: Avoid calling snd_compr_stop_error from WDT expiryCharles Keepax1-6/+4
It is unsafe to call snd_compr_stop_error from outside of the compressed ops. Firstly the compressed device lock needs to be held and secondly it queues error work to issue a trigger stop which should not happen after the stream has been freed. To avoid these issues use the same trick used for the IRQ handling, simply send a snd_compr_fragment_elapsed to cause user-space to wake on the poll, then report the error when user-space issues the pointer request after it wakes. Fixes: a2bcbc1b9ac2f ("ASoC: wm_adsp: Shutdown any compressed streams on DSP watchdog timeout") Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2019-04-04ASoC: max98357a: add missing supported ratesJerome Brunet1-0/+3
According the publicly available datasheet (and some test) the max98357a also supports 32, 44.1 and 88.2 kHz sample rate. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: tlv320aic32x4: Add Playback PowerTune ControlsAnnaliese McDermond2-0/+11
PowerTune controls the power level of the chip. On playback this indirectly controls things like the gain of the various output amplifiers. This can allow for the decrease of output levels from the codec. This adds controls for those power levels to the driver. Signed-off-by: Annaliese McDermond <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: tlv320aic32x4: Add Switch for Setting Common Mode VoltageAnnaliese McDermond1-0/+7
Add a switch for setting common mode voltage. This can allow for higher drive levels on the amplifier outputs. Signed-off-by: Annaliese McDermond <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: Mark RXFIFO_DATA as volatile and preciousSugar Zhang1-0/+13
This patch marks RXFIFO_DATA as precious to avoid being read outside a call from the driver, such as regmap debugfs Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: sprd: Fix spelling mistake "faied" -> "failed"Colin Ian King1-2/+2
There are two identical spelling mistakes in dev_err messages. Fix them. Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Mukesh Ojha <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: Correct PDM_CTRL0 reg valueSugar Zhang1-2/+5
This patch fix the wrong reg value for rk322x/rk322xh, cuz there is no STORE JUSTIFIED MODE on it. on rk322x/rk322xh, the same bit means PDM_MODE/RESERVED, if the bit is set to RESERVED, the controller will not work. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: adjust waterlevel in frame unitSugar Zhang1-1/+2
This patch make the waterlevel more reasonable, because the pdm controller share the single FIFO(128 entries) with each channel. adjust waterlevel in frame to meet the vad or dma frames request. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04dt-bindings: sound: add compatible for rk1808Sugar Zhang1-0/+1
This patch adds bindings for rk1808 soc. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: add compatible for rk1808Sugar Zhang1-0/+2
This patch adds support for rk1808, the pdm controller is the same as rk3308. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04dt-bindings: sound: rockchip: add compatible for rk3308/px30Sugar Zhang1-0/+4
This patch adds bindings for rk3308/px30. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: fixup pdm fractional divSugar Zhang2-42/+139
This patch adds support fractional div for rk3308. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04Merge branch 'asoc-5.1' into asoc-5.2Mark Brown16-33/+181
2019-04-04ASoC: rockchip: pdm: optimize clear logicSugar Zhang1-3/+2
There is no need to reset controller every time, do this once in pdm_probe. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: add default regsSugar Zhang1-0/+8
This patch add default regs value for controller. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: using left justified store modeSugar Zhang2-0/+4
This patch set left justified store mode default. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: change dma burst to 8Sugar Zhang1-1/+1
This patch decreases the transfer bursts to avoid the fifo overrun. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: rockchip: pdm: fix regmap_ops hang issueSugar Zhang1-0/+2
This is because set_fmt ops maybe called when PD is off, and in such case, regmap_ops will lead system hang. enale PD before doing regmap_ops. Signed-off-by: Sugar Zhang <[email protected]> Signed-off-by: Mark Brown <[email protected]>