summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound
AgeCommit message (Collapse)Author
2018-12-24ASoC: sgtl5000: Allow LRCLK pad drive strength to be changedFabio Estevam
Introduce the "lrclk-strength" property to allow LRCLK pad drive strength to be changed via device tree. When running a stress playback loop test on a mx6dl wandboard channel swap can be noticed on about 10% of the times. While debugging this issue I noticed that when probing the SGTL5000 LRCLK pin with the scope the swap did not happen. After removing the probe the swap started to happen again. After changing the LRCLK pad drive strength to the maximum value the issue is gone. Same fix works on a mx6dl Colibri board as well. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 91dca475d4368bef170fe9b20bb2005b241cc4bc)
2018-12-13ENGR00305648-1 ASoC: imx-sgtl5000: Support non-ssi cpu-daiNicolin Chen
The current imx-sgtl5000 driver always attaches the cpu-dai to ssi while in fact it could be attached to other cpu-dais like SAI. Thus this patch use a general code to support another cpu-dai. And meanwhile update the devicetree for i.MX6 Series. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> (cherry picked from commit f9302eb42ad8f597b46e681b5ad402af3fb7dd9d)
2018-09-05MLK-19432-1: ASoC: imx-ak5558: limit max rate as function of sample bitsViorel Suman
According to AK5558 MCLK frequence must not exceed 36.864 MHz. Limit maximum supported rate as function of max MCLK frequency, sample bits and number of slots. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> (cherry picked from commit 236796cad225daa39d5b77d763a1d964dd4de4c9)
2018-09-05MLK-18898-2: ASoC: imx-ak4458: refine mclk rate calculationViorel Suman
The existing implementation calculates mclk rate as function of audio sample rate multiplied to multiplier taken from Table 5. However this is not accurate for Manual Setting Mode - tables 3 & 4 from AK4458 RM defines rate (LRCK/FS) and frame width (MCLK/16fs..1152fs) ranges as parameters to calculate mclk frequency. Aside of this - adjust bclk:mclk ratio from machine driver as function of "compatible" id. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> (cherry picked from commit 527b8b7032dcb75c14bb2790330ab96743d83b16)
2018-08-24MLK-19168-4: ASoC: fsl_rpmsg_i2s: support more codecShengjiu Wang
support more codecs, codec is specified by compatible string Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-19042-1: ASoC: fsl_rpmsg_i2s: support low power audioShengjiu Wang
Add two new message command I2S_TX_POINTER and I2S_RX_POINTER, which are used to get the hw pointer in m4 side. For in low power audio mode, m4 won't send notification every period, the notification only be sent when hw pointer reach end of buffer, so we need these command to get the position of hw pointer, user can use it to calculate the timestamp. Restructure send message and recv message together for i2s_rpmsg, that every send message has a recv message. so the i2s_send_message can store the recv message indepedently. one reason is that the receive message is async withe send message. The low power audio is disabled in default, user need to enabled it by add "fsl,enable-lpa" in dts. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2018-08-24MLK-18682-6: ASoC: imx-ak4497: refine 1:1 bclk:mclk ratio supportViorel Suman
Use a specific compatible string for 850D in order to limit DSD MCLK frequency for platforms newer than 850D. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2018-08-24MLK-18574: ASoC: fsl_spdif: specify the spdif in imx8mmShengjiu Wang
specify the spdif in imx8mm for the ipg clock is higher that it can support 192kHz Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2018-08-24MLK-16784-2 documentation: sound: add documentation for PDMCosmin-Gabriel Samoila
Add documentation for micfil IP. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-17747: dsp: use the name of dsp instead of hifiWeiguang Kong
In order to avoid the name problem going forward with integration with Qcom, Qcom has their own dsp and hifi is competitor, so the hifi name should not be used in our code. So use the name of dsp instead of hifi to fix this problem. Signed-off-by: Weiguang Kong <weiguang.kong@nxp.com>
2018-08-24MLK-15070-2: ASoC: fsl: Add machine driver for AK4497Daniel Baluta
This glues SAI interface with AK4497 DAC codec on i.MX boards. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15070-1: ASoC: codecs: Add support for AK4497 DACDaniel Baluta
AK4497 is a 32-bit 2ch DAC, supporting up to 6 types of digital filters and accepts up to 768kHz PCM data and 22.4MHz DSD data. This is based on original code received from Asahi Kasei with the following modifications: * there is now a .component_driver inside snd_soc_codec_driver holding the controls, dapm_widgets and dap_routes. * Remove akdbgprt * Use module_i2c_driver * Add NXP copyright * Use symbolic names for registers * Fix coding style issues * fix function parameters indentation * remove multiple empty newlines * convert C++ style comments to C style comments * fix spaces and tabs at the end of the line. * remove braces {} for single block statements * Make pointers const * Fix lines over 80 chars * Don't initialize statics to 0 * Use usleep_range instead of msleep * Fx vendor prefix * Add DT bindings documentation for ak4497 codec * Remove regmap default functions * Use devm_kzalloc * Fix MAX_REGISTERS value * Add $self as module author * Remove .owner field * Make ak4497_init_reg return void Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15071-2: ASoC: fsl: Add machine driver for AK5558Shengjiu Wang
Add machine driver for i.MX boards that have AK5558 ADC attached to SAI. Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15071-1: ASoC: codecs: Add AK5558 ADC driverMihai Serban
The AK555x series is a 32-bit, 768 kHz sampling, differential input A/D converter for digital audio systems. The datasheet is available here: https://www.akm.com/akm/en/file/datasheet/AK5558VN.pdf Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15033-2: ASoC: fsl: Add machine driver for AK4458Mihai Serban
Add machine driver for i.MX boards that have AK4458 DAC attached to SAI. Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15033-1: ASoC: codecs: Add support for AK4458 DACMihai Serban
The AK4458 is a 32-bit 8ch Premium DAC, its datasheet is available here: https://www.akm.com/akm/en/file/datasheet/AK4458VN.pdf Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-16929-3: dts: arm64: fsl imx8mq evk pdm mic supportAdrian Alonso
Add pdm mic support on imx8mq evk platform Hardware modifications connect PDM mic: PDM pin SAI-3 pad Test point ------------------------------------ BCLK SAI3_RXC TP1802 DATA SAI3_RXD TP1804 Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-16601: ARM64: dts: imx8mq: support spdif on mscale evkShengjiu Wang
Enable the spdif1 on mscale evk, the tx is tested with fly wire to MX51EXP (sch-26109) board, rx is not tested(waiting the audio board). Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24MLK-13946-4: ASoC: imx-cdnhdmi: refine machine driver for api changesShengjiu Wang
Since commit 3f5780eb4520 ("MLK-16538-2: hdmi api: Relocate hdmi api soure code") change the api. And hdmi video driver provide a new api for hdmi audio. Machine driver need to be updated accrodingly Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-16130-2: ASoC: fsl: add machine driver for cadence hdmiShengjiu Wang
The machine driver will call the API which is provided by the cadence to configure the audio features. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24MLK-16077-5: ARM64: dts: support wm8960 in imx8qxp mek boardShengjiu Wang
Add sound card node for imx8qxp mek board Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24MLK-13975: ASoC: fsl: add AMIX device driverViorel Suman
Add audio mixer device driver. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2018-08-24MLK-15937-4: ASoC: fsl_spdif: Use DMA workaround for SPDIFDaniel Baluta
Similar with commit 2f756e7aa88407 ("MLK-15004-4: ASoC: fsl_esai: esai workaround for imx8qxp Rev1") this is needed because of a hardware issue where SPDIF DMA request signal is active low but the DMA input is active high. The workaround uses GPT to convert DMA request signal to EDMA. Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24MLK-15927-2: ARM64: dts: iMX8QM and iMX8QXP use specific SAI compatibility ↵Mihai Serban
string For iMX8QM and iMX8QXP the SAI device driver must to add a constraint on the period size because of EDMA requirements. Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15317-6: ARM64: dts: Add support for MQS in im8xpDaniel Baluta
We introduce a new dts for MQS which is supported by imx8qxp with debug base board v2. Connection in debug board is: MQS_LEFT: SEAF_B_G39 MQS_RIGHT: SEAF_B_G38 This is similar with imx8qm. Note that these pins are shared with SPDIF. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-15317-3: ASoC: fsl_mqs: Add support for MQS dummy codec in imx8qxpDaniel Baluta
MQS on i.mx8 QXP uses the same register as i.mx8 QM so we only need to add compatible string here. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-13945-2: ASoC: imx_mqs: specify clock name in machine driverShengjiu Wang
specify clock name in machine driver. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24MLK-13945-1: ASoC: fsl_mqs: refine the mqs driver for support imx8qmShengjiu Wang
IOMUXC_GPR2 register is not used for imx8, there is a new register designed for this usage in imx8, so it also need the ipg clock. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24MLK-13947: ASoC: fsl_spdif: introduce SoC specific dataShengjiu Wang
Introduce a SoC data struct which contains the differences between the different SoCs this driver supports. This makes it easy to support more differences without having to introduce a new switch/case each time. And in imx8qm, the spdif has two interrupt numbers and the burst size should be 2 for EDMA limitation to support dual FIFO. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24MLK-15140-3: ASoC: codecs: add wm8524 codec driverShengjiu Wang
Add wm8524 driver, there is no i2c interface for it. Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24MLK-15140-2: ASoC: fsl: add machine driver for wm8524Shengjiu Wang
This a simple machine driver for wm8524. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24MLK-15109-1: ASoC: fsl_esai: introduce SoC specific dataShengjiu Wang
Introduce a SoC data struct which contains the differences between the different SoCs this driver supports. This makes it easy to support more differences without having to introduce a new switch/case each time. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24MLK-15004-6: Document: sound: update document for audioShengjiu Wang
update compatible string for imx-audio-cs42888.txt and fsl,esai.txt Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24MLK-14997-3: Document: Add fsl,hifi4 compatibility documentShengjiu Wang
add hifi4 document Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24ASoC: fsl: refine the asrc driver for imx8qmViorel Suman
The clock source of ASRC in imx8qm is changed. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-08-24ASoC: fsl: Add machine driver for i2s xtorViorel Suman
Add I2S XTOR machine driver. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2018-08-24ASoC: fsl_acm: add audio clock mux driverViorel Suman
Add audio clock mux (ACM) driver. The Audio Clock Mux (ACM) is a collection of control registers and multiplexers that are used to route the audio source clocks to the audio peripherals. Each audio peripheral has its dedicated audio clock mux and control register. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24dts: arm64: imx8qm: Add ESAI node, fix SAI clocksViorel Suman
Add ESAI node and the related EDMA configuration: channels and interrupts. Use a proper index name for SAI clocks. Add the missing compatible string in the ESAI documentation. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2018-08-24MLK-13904-3: ASoC: fsl: add audio machine driver base on rpmsgShengjiu Wang
Add machine driver, which is using the dummy codec. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Acked-by: Robin Gong <yibin.gong@nxp.com>
2018-08-24MLK-13904-1: ASoC: fsl: add audio cpu dai driver base on rpmsgShengjiu Wang
Add the cpu dai driver, as the rpmsg_send api can't be used in atomic context, so using the workqueue instead of calling rpmsg_send() directly. The detail communication stack is defined in header file. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Acked-by: Robin Gong <yibin.gong@nxp.com>
2018-08-24MLK-11479-11 ASoC: imx-wm8962: Add non-SSI cpu dai supportNicolin Chen
cherry-pick below patch from v3.14.y: ENGR00307635-5 ASoC: imx-wm8962: Add non-SSI cpu dai support The current imx-wm8962 machine driver is designed for SSI as CPU DAI only while as its name we should make the driver more generic to any other CPU DAI on i.MX serires -- ESAI, SAI for example. So this patch makes the driver more general so as to support those non-SSI cases. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> (cherry picked from commit b6fca438dde1b4c0bbdee31729871d601f287dc9)
2018-08-24MLK-11479-06 ASoC: fsl: Add WM8962 jack detecting supportNicolin Chen
cherry-pick below patch from v3.14.y: ENGR00277715-3 ASoC: fsl: Add WM8962 jack detecting support There're two GPIOs connected to the headphone jack and microphone jack, thus add the states detection. Reviewed-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com> (cherry picked from commit f85ca1dd664178328bd813651e91d612787b6926)
2018-08-23MLK-11429-21: ASoC: fsl: port si476x machine driver from imx_3.10.yShengjiu Wang
cherry-pick below patch from imx_3.14.y ENGR00330403-3: ASoC: fsl: port si476x machine driver from imx_3.10.y Port si476x machine dirver for i.MX series SoC and binding doc from imx_3.10.y Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 05a68db09806fe5b0aa927dd94cf69b1b0c0fa5a)
2018-08-23MLK-11429-21: ASoC: imx-cs42888: port cs42888 machine driver from imx_3.10.yShengjiu Wang
cherry-pick below patch from imx_3.14.y ENGR00330403-1: ASoC: imx-cs42888: port cs42888 machine driver from imx_3.10.y Port the cs42888 machine driver from imx_3.10.y and do update according to new esai driver and asrc driver. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 7ed3aac83630a38eb397ed92f815a28e07198748)
2018-08-23MLK-9723-5: ASoC: imx-mqs: add mqs machine driverShengjiu Wang
Implement machine driver for mqs, which use the sai as cpu dai. sai work on master mode. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit cac9eb41debc6444d753dc936cdf76874260b9e4)
2018-08-23MLK-9723-4: ASoC: fsl_mqs: add mqs codec driverShengjiu Wang
Implement codec driver for mqs. mqs is a very simple IP. which support: Word length: 16bit. DAI format: Left-Justified, slave mode. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 9da6bdd2072b850e9bb910512123eff7d80a0e2f)
2018-08-23MLK-11179 ASoC: fsl: implement specify audio DMA buffer size from devicetreeZidan Wang
If the property "fsl,dma-buffer-size" is present, using the specified buffer size. Otherwise, using the default audio buffer size. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> (cherry picked from commit bba153dd92a4f58b81c4c26fb3a95c45445c65e0)
2016-11-07ASoC: omap-abe-twl6040: fix typo in bindings documentationH. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Acked-by: Peter Ujfalusi <perter.ujfalusi@ti.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
2016-09-29Merge remote-tracking branches 'asoc/topic/tas5086', 'asoc/topic/tegra', ↵Mark Brown
'asoc/topic/tlv320aic31xx', 'asoc/topic/tlv320dac33' and 'asoc/topic/topology' into asoc-next
2016-09-29Merge remote-tracking branches 'asoc/topic/sgtl5000', 'asoc/topic/simple', ↵Mark Brown
'asoc/topic/stac9766', 'asoc/topic/sti' and 'asoc/topic/sunxi' into asoc-next